Template-Latex v2.17 -------------------- The Template-Latex modules add LaTeX support for the Template Toolkit. They allow you to create LaTeX documents using the full power of the Template Toolkit. The generated output can then be filtered through the 'latex', 'pdflatex' and/or 'dvips' programs to create PDF, DVI and PostScript documents. To use the Template-Latex module you'll first need to install LaTeX on your system and make sure the above programs are available. Answer the following questions to confirm their locations, then run 'make', 'make test' and 'make install'. latex path [] pdflatex path [] dvips path [] Argument "6.36_02" isn't numeric in numeric ge (>=) at Makefile.PL line 77. Checking if your kit is complete... Looks good Writing Makefile for Template-Latex cp lib/Template/Plugin/Latex.pm blib/lib/Template/Plugin/Latex.pm cp lib/Template/Latex.pm blib/lib/Template/Latex.pm Manifying blib/man3/Template::Plugin::Latex.3 Manifying blib/man3/Template::Latex.3 PERL_DL_NONLAZY=1 /Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/latex........1..13 ok 1 - set latex path ok 2 - get latex path ok 3 - set pdflatex path ok 4 - get pdflatex path ok 5 - set dvips path ok 6 - get dvips path ok 7 - got paths ok 8 - paths latex ok 9 - paths pdflatex ok 10 - paths dvips ok 11 - new latex ok 12 - new pdflatex ok 13 - new dvips ok t/latex2dvi....1..9 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 3 tests Template process failed: latex error - latex cannot be found, please specify its location FAILED 4: - template text 1 process FAILED: [% USE Latex;\n out = FILTER la... FAILED 5: - (obviously did not match expected) not ok 4 - template text 1 process FAILED: [% USE Latex;\n out = FILTER la... not ok 5 - (obviously did not match expected) Template process failed: latex error - latex cannot be found, please specify its location FAILED 6: - template text 2 process FAILED: [% USE Latex format="dvi";\n ou... FAILED 7: - (obviously did not match expected) not ok 6 - template text 2 process FAILED: [% USE Latex format="dvi";\n ou... not ok 7 - (obviously did not match expected) FAILED 9: - template text 3 did not match expected ok 8 - template text 3 processed OK: [% USE Latex;\n TRY; \n out ... MATCH FAILED input: [[% USE Latex;\n TRY; \n out = FILTER latex("dvi") \n-%]\n\documentclass{article}\n\begin{document}\n\section{Introduction}\n\badmacro\nThis is the introduction.\n\end{document}\n[% END; \n out | head(100, 1);\n CATCH latex;\n "ERROR: $error";\n END\n-%]\n] expect: [ERROR: latex error - latex exited with errors:\n! Undefined control sequence.\nl.4 \badmacro] output: [ERROR: latex error - latex cannot be found, please specify its location] not ok 9 - template text 3 did not match expected FAILED tests 4-7, 9 Failed 5/9 tests, 44.44% okay t/latex2pdf....1..9 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 3 tests Template process failed: latex error - pdflatex cannot be found, please specify its location FAILED 4: - template text 1 process FAILED: [% USE Latex;\n out = FILTER la... FAILED 5: - (obviously did not match expected) not ok 4 - template text 1 process FAILED: [% USE Latex;\n out = FILTER la... not ok 5 - (obviously did not match expected) Template process failed: latex error - pdflatex cannot be found, please specify its location FAILED 6: - template text 2 process FAILED: [% USE Latex format="pdf";\n ou... FAILED 7: - (obviously did not match expected) not ok 6 - template text 2 process FAILED: [% USE Latex format="pdf";\n ou... not ok 7 - (obviously did not match expected) FAILED 9: - template text 3 did not match expected ok 8 - template text 3 processed OK: [% USE Latex;\n TRY; \n out ... MATCH FAILED input: [[% USE Latex;\n TRY; \n out = FILTER latex("pdf") \n-%]\n\documentclass{article}\n\begin{document}\n\section{Introduction}\n\badmacro\nThis is the introduction.\n\end{document}\n[% END; \n out | head(100, 1);\n CATCH latex;\n "ERROR: $error";\n END\n-%]\n] expect: [ERROR: latex error - pdflatex exited with errors:\n! Undefined control sequence.\nl.4 \badmacro] output: [ERROR: latex error - pdflatex cannot be found, please specify its location] not ok 9 - template text 3 did not match expected FAILED tests 4-7, 9 Failed 5/9 tests, 44.44% okay t/latex2ps.....1..9 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 3 tests Template process failed: latex error - latex cannot be found, please specify its location FAILED 4: - template text 1 process FAILED: [% USE Latex;\n out = FILTER la... FAILED 5: - (obviously did not match expected) not ok 4 - template text 1 process FAILED: [% USE Latex;\n out = FILTER la... not ok 5 - (obviously did not match expected) Template process failed: latex error - latex cannot be found, please specify its location FAILED 6: - template text 2 process FAILED: [% USE Latex format="ps";\n out... FAILED 7: - (obviously did not match expected) not ok 6 - template text 2 process FAILED: [% USE Latex format="ps";\n out... not ok 7 - (obviously did not match expected) FAILED 9: - template text 3 did not match expected ok 8 - template text 3 processed OK: [% USE Latex;\n TRY; \n out ... MATCH FAILED input: [[% USE Latex;\n TRY; \n out = FILTER latex("ps") \n-%]\n\documentclass{article}\n\begin{document}\n\section{Introduction}\n\badmacro\nThis is the introduction.\n\end{document}\n[% END; \n out | head(100, 1);\n CATCH latex;\n "ERROR: $error";\n END\n-%]\n] expect: [ERROR: latex error - latex exited with errors:\n! Undefined control sequence.\nl.4 \badmacro] output: [ERROR: latex error - latex cannot be found, please specify its location] not ok 9 - template text 3 did not match expected FAILED tests 4-7, 9 Failed 5/9 tests, 44.44% okay t/output.......1..9 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 3 tests Template process failed: latex error - pdflatex cannot be found, please specify its location FAILED 4: - template text 1 process FAILED: [% USE Latex;\n FILTER latex(fi... FAILED 5: - (obviously did not match expected) not ok 4 - template text 1 process FAILED: [% USE Latex;\n FILTER latex(fi... not ok 5 - (obviously did not match expected) Template process failed: latex error - latex cannot be found, please specify its location FAILED 6: - template text 2 process FAILED: [% USE Latex;\n FILTER latex(ou... FAILED 7: - (obviously did not match expected) not ok 6 - template text 2 process FAILED: [% USE Latex;\n FILTER latex(ou... not ok 7 - (obviously did not match expected) Template process failed: latex error - latex cannot be found, please specify its location FAILED 8: - template text 3 process FAILED: [% USE Latex;\n FILTER latex(fi... FAILED 9: - (obviously did not match expected) not ok 8 - template text 3 process FAILED: [% USE Latex;\n FILTER latex(fi... not ok 9 - (obviously did not match expected) FAILED tests 4-9 Failed 6/9 tests, 33.33% okay t/plugin.......1..41 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 19 tests ok 4 - template text 1 processed OK: [% TRY; \n hello | latex;\n ... ok 5 - template text 1 matched expected ok 6 - template text 2 processed OK: [[% USE Latex %]] ok 7 - template text 2 matched expected ok 8 - template text 3 processed OK: [% USE Latex -%]\n[% TRY;\n "h... ok 9 - template text 3 matched expected ok 10 - template text 4 processed OK: [% USE Latex format="nonsense"-%... ok 11 - template text 4 matched expected ok 12 - template text 5 processed OK: [% USE Latex -%]\n[% TRY;\n "h... ok 13 - template text 5 matched expected ok 14 - template text 6 processed OK: [% USE Latex -%]\n[% TRY;\n "h... ok 15 - template text 6 matched expected FAILED 17: - template text 7 did not match expected ok 16 - template text 7 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex("example.pdf");\n CATCH latex;\n error | head(42);\n END\n%]\n] expect: [latex error - pdflatex exited with errors:] output: [latex error - pdflatex cannot be found, pl] not ok 17 - template text 7 did not match expected FAILED 19: - template text 8 did not match expected ok 18 - template text 8 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex("EXAMPLE.PDF");\n CATCH latex;\n error | head(42);\n END\n%]\n] expect: [latex error - pdflatex exited with errors:] output: [latex error - pdflatex cannot be found, pl] not ok 19 - template text 8 did not match expected FAILED 21: - template text 9 did not match expected ok 20 - template text 9 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex("example.ps");\n CATCH latex;\n error | head(39);\n END\n%]\n] expect: [latex error - latex exited with errors:] output: [latex error - latex cannot be found, pl] not ok 21 - template text 9 did not match expected FAILED 23: - template text 10 did not match expected ok 22 - template text 10 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex("example.dvi");\n CATCH latex;\n error | head(39);\n END\n%]\n] expect: [latex error - latex exited with errors:] output: [latex error - latex cannot be found, pl] not ok 23 - template text 10 did not match expected FAILED 25: - template text 11 did not match expected ok 24 - template text 11 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex(output="example.pdf");\n CATCH latex;\n error | head(42);\n END\n%]\n] expect: [latex error - pdflatex exited with errors:] output: [latex error - pdflatex cannot be found, pl] not ok 25 - template text 11 did not match expected FAILED 27: - template text 12 did not match expected ok 26 - template text 12 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex(format="pdf");\n CATCH latex;\n error | head(42);\n END\n%]\n] expect: [latex error - pdflatex exited with errors:] output: [latex error - pdflatex cannot be found, pl] not ok 27 - template text 12 did not match expected FAILED 29: - template text 13 did not match expected ok 28 - template text 13 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex(output="example.ps");\n CATCH latex;\n error | head(39);\n END\n%]\n] expect: [latex error - latex exited with errors:] output: [latex error - latex cannot be found, pl] not ok 29 - template text 13 did not match expected FAILED 31: - template text 14 did not match expected ok 30 - template text 14 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex(output="example.ps", format="pdf");\n CATCH latex;\n error | head(42);\n END\n%]\n] expect: [latex error - pdflatex exited with errors:] output: [latex error - pdflatex cannot be found, pl] not ok 31 - template text 14 did not match expected FAILED 33: - template text 15 did not match expected ok 32 - template text 15 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex("example.dvi");\n CATCH latex;\n error | head(39);\n END\n%]\n] expect: [latex error - latex exited with errors:] output: [latex error - latex cannot be found, pl] not ok 33 - template text 15 did not match expected FAILED 35: - template text 16 did not match expected ok 34 - template text 16 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex("pdf");\n CATCH latex;\n error | head(42);\n END\n%]\n] expect: [latex error - pdflatex exited with errors:] output: [latex error - pdflatex cannot be found, pl] not ok 35 - template text 16 did not match expected FAILED 37: - template text 17 did not match expected ok 36 - template text 17 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex("ps");\n CATCH latex;\n error | head(39);\n END\n%]\n] expect: [latex error - latex exited with errors:] output: [latex error - latex cannot be found, pl] not ok 37 - template text 17 did not match expected FAILED 39: - template text 18 did not match expected ok 38 - template text 18 processed OK: [% USE Latex -%]\n[% TRY;\n "h... MATCH FAILED input: [[% USE Latex -%]\n[% TRY;\n "hello world" FILTER latex("dvi");\n CATCH latex;\n error | head(39);\n END\n%]\n] expect: [latex error - latex exited with errors:] output: [latex error - latex cannot be found, pl] not ok 39 - template text 18 did not match expected FAILED 41: - template text 19 did not match expected ok 40 - template text 19 processed OK: [% USE Latex filter='pdf' format... MATCH FAILED input: [[% USE Latex filter='pdf' format='pdf' -%]\n[% TRY;\n "hello world" FILTER pdf("example.pdf");\n CATCH latex;\n error | head(42);\n END\n%]\n] expect: [latex error - pdflatex exited with errors:] output: [latex error - pdflatex cannot be found, pl] not ok 41 - template text 19 did not match expected FAILED tests 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41 Failed 13/41 tests, 68.29% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/latex2dvi.t 9 5 4-7 9 t/latex2pdf.t 9 5 4-7 9 t/latex2ps.t 9 5 4-7 9 t/output.t 9 6 4-9 t/plugin.t 41 13 17 19 21 23 25 27 29 31 33 35 37 39 41 Failed 5/6 test scripts. 34/90 subtests failed. Files=6, Tests=90, 3 wallclock secs ( 1.27 cusr + 0.67 csys = 1.94 CPU) Failed 5/6 test programs. 34/90 subtests failed. make: *** [test_dynamic] Error 255