%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% pdflatex logfile: /tmp/Slides/Input.log Return code: 256 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 001: This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2023.3.11) 6 MAY 2025 15:26 002: entering extended mode 003: restricted \write18 enabled. 004: %&-line parsing enabled. 005: **/tmp/Slides/Input.tex 006: (/tmp/Slides/Input.tex 007: LaTeX2e <2017/01/01> patch level 3 008: Babel <3.9r> and hyphenation patterns for 83 language(s) loaded. 009: (/usr/share/texlive/texmf-dist/tex/latex/base/report.cls 010: Document Class: report 2014/09/29 v1.4h Standard LaTeX document class 011: (/us 012: ! Undefined control sequence. 013: l.15 \ifthenelse 014: {\lengthtest{ \ft pt > 0 pt}} 015: ! ==> Fatal error occurred, no output PDF file produced! 016: Transcript written on /tmp/Slides/Input.log. 017: \c@subsubsection=\count83 018: \c@paragraph=\count84 019: \c@subparagraph=\count85 020: \c@figure=\count86 021: \c@table=\count87 022: \abovecaptionskip=\skip41 023: \belowcaptionskip=\skip42 024: \bibindent=\dimen102 025: ) 026: (/tmp/Slides/Input.aux) 027: \openout1 = `Input.aux'. 028: 029: LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6. 030: LaTeX Font Info: ... okay on input line 6. 031: LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6. 032: LaTeX Font Info: ... okay on input line 6. 033: LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6. 034: LaTeX Font Info: ... okay on input line 6. 035: LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6. 036: LaTeX Font Info: ... okay on input line 6. 037: LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6. 038: LaTeX Font Info: ... okay on input line 6. 039: LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6. 040: LaTeX Font Info: ... okay on input line 6. 041: 042: ! Undefined control sequence. 043: l.15 \ifthenelse 044: {\lengthtest{ \ft pt > 0 pt}} 045: Here is how much of TeX's memory you used: 046: 217 strings out of 493013 047: 2359 string characters out of 6135682 048: 53286 words of memory out of 5000000 049: 3849 multiletter control sequences out of 15000+600000 050: 3640 words of font info for 14 fonts, out of 8000000 for 9000 051: 1141 hyphenation exceptions out of 8191 052: 23i,0n,17p,128b,36s stack positions out of 5000i,500n,10000p,200000b,80000s 053: 054: ! ==> Fatal error occurred, no output PDF file produced! 055: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Latex source file: /tmp/Slides/Input.tex Return code: 256 I think it starts here: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 01: ! Undefined control sequence. 02: l.15 \ifthenelse 03: {\lengthtest{ \ft pt > 0 pt}} 04: ! ==> Fatal error occurred, no output PDF file produced! 05: Transcript written on /tmp/Slides/Input.log. 06: \c@subsubsection=\count83 07: \c@paragraph=\count84 08: \c@subparagraph=\count85 09: \c@figure=\count86 10: \c@table=\count87 11: \abovecaptionskip=\skip41 12: \belowcaptionskip=\skip42 13: \bibindent=\dimen102 14: ) 15: (/tmp/Slides/Input.aux) 16: \openout1 = `Input.aux'. 17: 18: LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6. 19: LaTeX Font Info: ... okay on input line 6. 20: LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6. 21: LaTeX Font Info: ... okay on input line 6. 22: LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6. 23: LaTeX Font Info: ... okay on input line 6. 24: LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6. 25: LaTeX Font Info: ... okay on input line 6. 26: LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6. 27: LaTeX Font Info: ... okay on input line 6. 28: LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6. 29: LaTeX Font Info: ... okay on input line 6. 30: 31: ! Undefined control sequence. 32: l.15 \ifthenelse 33: {\lengthtest{ \ft pt > 0 pt}} 34: Here is how much of TeX's memory you used: 35: 217 strings out of 493013 36: 2359 string characters out of 6135682 37: 53286 words of memory out of 5000000 38: 3849 multiletter control sequences out of 15000+600000 39: 3640 words of font info for 14 fonts, out of 8000000 for 9000 40: 1141 hyphenation exceptions out of 8191 41: 23i,0n,17p,128b,36s stack positions out of 5000i,500n,10000p,200000b,80000s 42: 43: ! ==> Fatal error occurred, no output PDF file produced! 44: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ############################### Latex source file: /tmp/Slides/Input.tex No of lines/chars: 26, 415 chars ############################### 001: \documentclass{report} 002: %%% Original latex doc: /usr/local/Slides/1_Disciplines/4_Latex/09_Programming/02_Conditionals/Input.tex 003: 004: %Conditional file include. 005: %No packages needed! 006: \begin{document} 007: \IfFileExists{Test} 008: { 009: Test.tex exists! 010: \input{Test.tex} 011: }{ 012: Test.tex non-existent! 013: } 014: 015: \ifthenelse{\lengthtest{ \ft pt > 0 pt}} 016: { 017: %do something 018: } 019: { 020: %do something else 021: } 022: \end{document} 023: 024: 025: 026: ###############################