%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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) 27 JUN 2025 08:32 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: (/u 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: 018: \c@subsubsection=\count83 019: \c@paragraph=\count84 020: \c@subparagraph=\count85 021: \c@figure=\count86 022: \c@table=\count87 023: \abovecaptionskip=\skip41 024: \belowcaptionskip=\skip42 025: \bibindent=\dimen102 026: ) 027: (/tmp/Slides/Input.aux) 028: \openout1 = `Input.aux'. 029: 030: LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6. 031: LaTeX Font Info: ... okay on input line 6. 032: LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6. 033: LaTeX Font Info: ... okay on input line 6. 034: LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6. 035: LaTeX Font Info: ... okay on input line 6. 036: LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6. 037: LaTeX Font Info: ... okay on input line 6. 038: LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6. 039: LaTeX Font Info: ... okay on input line 6. 040: LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6. 041: LaTeX Font Info: ... okay on input line 6. 042: 043: ! Undefined control sequence. 044: l.15 \ifthenelse 045: {\lengthtest{ \ft pt > 0 pt}} 046: Here is how much of TeX's memory you used: 047: 217 strings out of 493013 048: 2359 string characters out of 6135682 049: 53286 words of memory out of 5000000 050: 3849 multiletter control sequences out of 15000+600000 051: 3640 words of font info for 14 fonts, out of 8000000 for 9000 052: 1141 hyphenation exceptions out of 8191 053: 23i,0n,17p,140b,36s stack positions out of 5000i,500n,10000p,200000b,80000s 054: 055: ! ==> Fatal error occurred, no output PDF file produced! 056: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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: 07: \c@subsubsection=\count83 08: \c@paragraph=\count84 09: \c@subparagraph=\count85 10: \c@figure=\count86 11: \c@table=\count87 12: \abovecaptionskip=\skip41 13: \belowcaptionskip=\skip42 14: \bibindent=\dimen102 15: ) 16: (/tmp/Slides/Input.aux) 17: \openout1 = `Input.aux'. 18: 19: LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6. 20: LaTeX Font Info: ... okay on input line 6. 21: LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6. 22: LaTeX Font Info: ... okay on input line 6. 23: LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6. 24: LaTeX Font Info: ... okay on input line 6. 25: LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6. 26: LaTeX Font Info: ... okay on input line 6. 27: LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6. 28: LaTeX Font Info: ... okay on input line 6. 29: LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6. 30: LaTeX Font Info: ... okay on input line 6. 31: 32: ! Undefined control sequence. 33: l.15 \ifthenelse 34: {\lengthtest{ \ft pt > 0 pt}} 35: Here is how much of TeX's memory you used: 36: 217 strings out of 493013 37: 2359 string characters out of 6135682 38: 53286 words of memory out of 5000000 39: 3849 multiletter control sequences out of 15000+600000 40: 3640 words of font info for 14 fonts, out of 8000000 for 9000 41: 1141 hyphenation exceptions out of 8191 42: 23i,0n,17p,140b,36s stack positions out of 5000i,500n,10000p,200000b,80000s 43: 44: ! ==> Fatal error occurred, no output PDF file produced! 45: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ############################### Latex source file: /tmp/Slides/Input.tex No of lines/chars: 26, 427 chars ############################### 001: \documentclass{report} 002: %%% Original latex doc: /usr/local/Slides/2_Palestras/2020/01_Latex_Friends/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: ###############################