In TeXnicCenter von inkludierter Datei aus kompilieren
Verfasst: 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:
Inkludiertes Dokument sub.tex:
Projektdatei main.tps:
Project Session Datei main.tps
Wenn ich mit ctrl+shift+F5 aus main heraus kompiliere, ist alles o. k..
Von sub.tex aus kompiliert, erhalte ich sub.log
Was mache ich hier falsch?
Viele Grüße, Latecher
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}
intuitiv.
[FormatInfo] Type=TeXnicCenterProjectInformation Version=4 [ProjectInfo] MainFile=main.tex UseBibTeX=0 UseMakeIndex=0 ActiveProfile=LaTeX ⇨ PDF ProjectLanguage=de ProjectDialect=DE
[FormatInfo] Type=TeXnicCenterProjectSessionInformation Version=2 [SessionInfo] FrameCount=0 ActiveFrame=-1
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!
Viele Grüße, Latecher