%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% pdflatex logfile: /tmp/Slides/TikZ.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 16:32 002: entering extended mode 003: restricted \write18 enabled. 004: %&-line parsing enabled. 005: **/tmp/Slides/TikZ.tex 006: (/tmp/Slides/TikZ.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: 013: ! LaTeX Error: Can be used only in preamble. 014: 015: See the LaTeX manual or LaTeX Companion for explanation. 016: Type H for immediate help. 017: ... 018: 019: l.4 \usepackage 020: {xcolor} 021: ! ==> Fatal error occurred, no output PDF file produced! 022: Transcript written on /tmp/Slides/TikZ.log. 023: 024: (/tmp/Slides/TikZ.aux) 025: \openout1 = `TikZ.aux'. 026: 027: LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3. 028: LaTeX Font Info: ... okay on input line 3. 029: LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3. 030: LaTeX Font Info: ... okay on input line 3. 031: LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3. 032: LaTeX Font Info: ... okay on input line 3. 033: LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3. 034: LaTeX Font Info: ... okay on input line 3. 035: LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3. 036: LaTeX Font Info: ... okay on input line 3. 037: LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3. 038: LaTeX Font Info: ... okay on input line 3. 039: 040: 041: ! LaTeX Error: Can be used only in preamble. 042: 043: See the LaTeX manual or LaTeX Companion for explanation. 044: Type H for immediate help. 045: ... 046: 047: l.4 \usepackage 048: {xcolor} 049: Here is how much of TeX's memory you used: 050: 217 strings out of 493013 051: 2486 string characters out of 6135682 052: 53286 words of memory out of 5000000 053: 3849 multiletter control sequences out of 15000+600000 054: 3640 words of font info for 14 fonts, out of 8000000 for 9000 055: 1141 hyphenation exceptions out of 8191 056: 23i,0n,17p,140b,36s stack positions out of 5000i,500n,10000p,200000b,80000s 057: 058: ! ==> Fatal error occurred, no output PDF file produced! 059: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Latex source file: /tmp/Slides/TikZ.tex Return code: 256 I think it starts here: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 01: ! LaTeX Error: Can be used only in preamble. 02: 03: See the LaTeX manual or LaTeX Companion for explanation. 04: Type H for immediate help. 05: ... 06: 07: l.4 \usepackage 08: {xcolor} 09: ! ==> Fatal error occurred, no output PDF file produced! 10: Transcript written on /tmp/Slides/TikZ.log. 11: 12: (/tmp/Slides/TikZ.aux) 13: \openout1 = `TikZ.aux'. 14: 15: LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3. 16: LaTeX Font Info: ... okay on input line 3. 17: LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3. 18: LaTeX Font Info: ... okay on input line 3. 19: LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3. 20: LaTeX Font Info: ... okay on input line 3. 21: LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3. 22: LaTeX Font Info: ... okay on input line 3. 23: LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3. 24: LaTeX Font Info: ... okay on input line 3. 25: LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3. 26: LaTeX Font Info: ... okay on input line 3. 27: 28: 29: ! LaTeX Error: Can be used only in preamble. 30: 31: See the LaTeX manual or LaTeX Companion for explanation. 32: Type H for immediate help. 33: ... 34: 35: l.4 \usepackage 36: {xcolor} 37: Here is how much of TeX's memory you used: 38: 217 strings out of 493013 39: 2486 string characters out of 6135682 40: 53286 words of memory out of 5000000 41: 3849 multiletter control sequences out of 15000+600000 42: 3640 words of font info for 14 fonts, out of 8000000 for 9000 43: 1141 hyphenation exceptions out of 8191 44: 23i,0n,17p,140b,36s stack positions out of 5000i,500n,10000p,200000b,80000s 45: 46: ! ==> Fatal error occurred, no output PDF file produced! 47: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ############################## Latex source file: /tmp/Slides/TikZ.tex No of lines/chars: 56, 985 chars ############################## 001: \documentclass{report} 002: %%% Original latex doc: /usr/local/Slides/1_Disciplines/4_Latex/06_PreAmbles/TikZ.tex 003: \begin{document} 004: \usepackage{xcolor} 005: \usepackage{graphicx} 006: \usepackage{ifthen} 007: \usepackage{xifthen} 008: 009: \usepackage{amssymb,amsmath,amsthm} 010: 011: \usepackage{pgfplots} 012: 013: 014: \usepackage{pgf,pgffor} 015: 016: 017: \usepackage{tikz} 018: \usepackage{tkz-euclide} 019: \usetkzobj{all} 020: \usetikzlibrary 021: { 022: shapes.geometric, 023: arrows, 024: calc, 025: intersections, 026: arrows.meta, 027: decorations.markings, 028: positioning, 029: math, 030: angles, 031: quotes, 032: patterns,3d, 033: backgrounds, 034: fillbetween 035: } 036: 037: %%Usage: \gettikzxy{(P)}{\px}{\py} 038: \makeatletter 039: \newcommand{\gettikzxy}[3]{% 040: \tikz@scan@one@point\pgfutil@firstofone#1\relax 041: \edef#2{\the\pgf@x}% 042: \edef#3{\the\pgf@y}% 043: \pgfmathparse{#2/28.3465} \let#2\pgfmathresult; 044: \pgfmathparse{#3/28.3465} \let#3\pgfmathresult; 045: } 046: \makeatother 047: \pgfplotsset{compat=1.14} 048: 049: \tikzstyle{arrow} = [thick,-,>=stealth] 050: \tikzstyle{myarrow} = [thick,->,>=stealth] 051: 052: 053: 054: 055: \end{document} 056: ##############################