von Latecher » Do 20. Jun 2024, 20:17
Hallo LaTeX-Eingeweihte,
ich vermute, dass meine Themenfrage mit einem Projekt lösbar ist. Ich komme aber schon mit einem Minimalbeispiel nicht klar. Das hat folgende Dateien:
Hauptdokument main.tex:
\documentclass[fleqn,a4paper,12pt]{article}
\begin{document}
\LaTeX ist
\input{sub}
\end{document}
Inkludiertes Dokument sub.tex:
Projektdatei main.tps:
[FormatInfo]
Type=TeXnicCenterProjectInformation
Version=4
[ProjectInfo]
MainFile=main.tex
UseBibTeX=0
UseMakeIndex=0
ActiveProfile=LaTeX ⇨ PDF
ProjectLanguage=de
ProjectDialect=DE
Project Session Datei main.tps
[FormatInfo]
Type=TeXnicCenterProjectSessionInformation
Version=2
[SessionInfo]
FrameCount=0
ActiveFrame=-1
Wenn ich mit ctrl+shift+F5 aus main heraus kompiliere, ist alles o. k..
Von sub.tex aus kompiliert, erhalte ich sub.log
his is pdfTeX, Version 3.141592653-2.6-1.40.25 (MiKTeX 23.10.12) (preloaded format=pdflatex 2024.1.7) 20 JUN 2024 20:00
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**./sub.tex
(sub.tex
LaTeX2e <2023-11-01>
L3 programming layer <2023-11-09>
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 i
ntuitiv.
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Missing character: There is no i in font nullfont!
Missing character: There is no n in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no u in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no v in font nullfont!
Missing character: There is no . in font nullfont!
)
! Emergency stop.
<*> ./sub.tex
*** (job aborted, no legal \end found)
Here is how much of TeX's memory you used:
18 strings out of 474586
442 string characters out of 5745682
1923558 words of memory out of 5000000
22304 multiletter control sequences out of 15000+600000
558069 words of font info for 36 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
15i,0n,18p,55b,14s stack positions out of 10000i,1000n,20000p,200000b,200000s
! ==> Fatal error occurred, no output PDF file produced!
Was mache ich hier falsch?
Viele Grüße, Latecher
Hallo LaTeX-Eingeweihte,
ich vermute, dass meine Themenfrage mit einem Projekt lösbar ist. Ich komme aber schon mit einem Minimalbeispiel nicht klar. Das hat folgende Dateien:
Hauptdokument main.tex:
[code]
\documentclass[fleqn,a4paper,12pt]{article}
\begin{document}
\LaTeX ist
\input{sub}
\end{document}
[/code]
Inkludiertes Dokument sub.tex:
[code]
intuitiv.
[/code]
Projektdatei main.tps:
[code]
[FormatInfo]
Type=TeXnicCenterProjectInformation
Version=4
[ProjectInfo]
MainFile=main.tex
UseBibTeX=0
UseMakeIndex=0
ActiveProfile=LaTeX ⇨ PDF
ProjectLanguage=de
ProjectDialect=DE
[/code]
Project Session Datei main.tps
[code]
[FormatInfo]
Type=TeXnicCenterProjectSessionInformation
Version=2
[SessionInfo]
FrameCount=0
ActiveFrame=-1
[/code]
Wenn ich mit ctrl+shift+F5 aus main heraus kompiliere, ist alles o. k..
Von sub.tex aus kompiliert, erhalte ich sub.log
[code]
his is pdfTeX, Version 3.141592653-2.6-1.40.25 (MiKTeX 23.10.12) (preloaded format=pdflatex 2024.1.7) 20 JUN 2024 20:00
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**./sub.tex
(sub.tex
LaTeX2e <2023-11-01>
L3 programming layer <2023-11-09>
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 i
ntuitiv.
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Missing character: There is no i in font nullfont!
Missing character: There is no n in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no u in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no t in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no v in font nullfont!
Missing character: There is no . in font nullfont!
)
! Emergency stop.
<*> ./sub.tex
*** (job aborted, no legal \end found)
Here is how much of TeX's memory you used:
18 strings out of 474586
442 string characters out of 5745682
1923558 words of memory out of 5000000
22304 multiletter control sequences out of 15000+600000
558069 words of font info for 36 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
15i,0n,18p,55b,14s stack positions out of 10000i,1000n,20000p,200000b,200000s
! ==> Fatal error occurred, no output PDF file produced!
[/code]
Was mache ich hier falsch?
Viele Grüße, Latecher