wolfgangmm / tei-simple-pm

An implementation of the TEI Simple ODD extensions for processing models in XQuery.
http://showcases.exist-db.org/exist/apps/tei-simple/index.html
20 stars 9 forks source link

Error generating LaTeX PDF #11

Open joewiz opened 9 years ago

joewiz commented 9 years ago

When loading baldwin's LaTeX, I get this error:

(URL: http://localhost:8080/exist/apps/tei-simple/modules/latex.xql?odd=teisimple.odd&doc=/test/baldwin.xml)

<exception>
  <path>/db/apps/tei-simple/modules/latex.xql</path>
  <message>
exerr:ERROR /Users/joe/workspace/exist/webapp/teisimple-temp/baldwin-7b3f2378-20150525-013417.pdf (No such file or directory) [at line 84, column 37]
</message>
</exception>

The error log from console is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<execution exitCode="1">
    <commandline>/usr/texbin/pdflatex -interaction=nonstopmode baldwin-7b3f2378-20150525-013417 </commandline>
    <stdout>
        <line>This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded
            format=pdflatex)</line>
        <line> restricted \write18 enabled.</line>
        <line>entering extended mode</line>
        <line>(./baldwin-7b3f2378-20150525-013417.tex</line>
        <line>LaTeX2e &lt;2014/05/01&gt;</line>
        <line>Babel &lt;3.9k&gt; and hyphenation patterns for 78 languages loaded.</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/base/book.cls</line>
        <line>Document Class: book 2007/10/19 v1.4h Standard LaTeX document class</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/base/bk11.clo))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/babel-english/english.ldf</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.def)))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/colortbl/colortbl.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/tools/array.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/color.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/color.cfg)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/pdftex-def/pdftex.def</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/infwarerr.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/xcolor/xcolor.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/color.cfg))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/ulem/ulem.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/marginfix/marginfix.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/geometry/geometry.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/keyval.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ifpdf.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/ifvtex.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/ifxetex/ifxetex.sty))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/graphicx.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/graphics.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/trig.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/graphics.cfg)))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/hyperref/hyperref.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/oberdiek/auxhook.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/oberdiek/kvoptions.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/hyperref/pd1enc.def)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/hyperref.cfg)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/url/url.sty))</line>
        <line/>
        <line>Package hyperref Message: Driver (autodetected): hpdftex.</line>
        <line/>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/hyperref/hpdftex.def</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/tools/longtable.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/morefloats/morefloats.sty)</line>
        <line>No file baldwin-7b3f2378-20150525-013417.aux.</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/context/base/supp-pdf.mkii</line>
        <line>[Loading MPS to PDF converter (version 2006.09.02).]</line>
        <line>)</line>
        <line>*geometry* driver: auto-detecting</line>
        <line>*geometry* detected driver: pdftex</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/oberdiek/grfext.sty)</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/latex/hyperref/nameref.sty</line>
        <line>(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))</line>
        <line>[1{/usr/local/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]</line>
        <line>! Missing number, treated as zero.</line>
        <line>&lt;to be read again&gt; </line>
        <line> F</line>
        <line>l.31 Simion Suggs, JR. \\ [Frontispiece Image]</line>
        <line> </line>
        <line>! Illegal unit of measure (pt inserted).</line>
        <line>&lt;to be read again&gt; </line>
        <line> F</line>
        <line>l.31 Simion Suggs, JR. \\ [Frontispiece Image]</line>
        <line> </line>
        <line/>
        <line>Underfull \hbox (badness 10000) in paragraph at lines 31--32</line>
        <line/>
        <line/>
        <line>! LaTeX Error: There's no line here to end.</line>
        <line/>
        <line>See the LaTeX manual or LaTeX Companion for explanation.</line>
        <line>Type H &lt;return&gt; for immediate help.</line>
        <line> ... </line>
        <line> </line>
        <line>l.57 \\M</line>
        <line> Y FRIENDS</line>
        <line/>
        <line>! LaTeX Error: There's no line here to end.</line>
        <line/>
        <line>See the LaTeX manual or LaTeX Companion for explanation.</line>
        <line>Type H &lt;return&gt; for immediate help.</line>
        <line> ... </line>
        <line> </line>
        <line>l.59 \\I</line>
        <line> N THE VALLEY OF THE SHENANDOAH,</line>
        <line/>
        <line>! LaTeX Error: There's no line here to end.</line>
        <line/>
        <line>See the LaTeX manual or LaTeX Companion for explanation.</line>
        <line>Type H &lt;return&gt; for immediate help.</line>
        <line> ... </line>
        <line> </line>
        <line>l.61 \\T</line>
        <line> his Volume</line>
        <line/>
        <line>! LaTeX Error: There's no line here to end.</line>
        <line/>
        <line>See the LaTeX manual or LaTeX Companion for explanation.</line>
        <line>Type H &lt;return&gt; for immediate help.</line>
        <line> ... </line>
        <line> </line>
        <line>l.63 \\I</line>
        <line> S RESPECTFULLY DEDICATED.</line>
        <line/>
        <line>Package Fancyhdr Warning: \headheight is too small (12.0pt): </line>
        <line> Make it at least 13.59999pt.</line>
        <line> We now make it that large for the rest of the document.</line>
        <line> This may cause the page layout to be inconsistent, however.</line>
        <line/>
        <line>[2] [3] [4] (/usr/local/texlive/2014/texmf-dist/tex/latex/base/omscmr.fd)</line>
        <line>[5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]</line>
        <line>! Undefined control sequence.</line>
        <line>\reserved@a -&gt;\@nil </line>
        <line> </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Argument of \@firstoftwo has an extra }.</line>
        <line>&lt;inserted text&gt; </line>
        <line> \par </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>Runaway argument?</line>
        <line>! Paragraph ended before \@firstoftwo was complete.</line>
        <line>&lt;to be read again&gt; </line>
        <line> \par </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Undefined control sequence.</line>
        <line>\reserved@a -&gt;\@nil </line>
        <line> </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@icentercr doesn't match its definition.</line>
        <line>\@ifnextchar ...eserved@d =#1\def \reserved@a {#2}</line>
        <line> \def \reserved@b {#3}\futu...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@xifnch doesn't match its definition.</line>
        <line>\@ifnch ...ptoken \let \reserved@c \@xifnch \else </line>
        <line> \ifx \@let@token \reserved...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@xifnch doesn't match its definition.</line>
        <line>\@ifnch ...ptoken \let \reserved@c \@xifnch \else </line>
        <line> \ifx \@let@token \reserved...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Undefined control sequence.</line>
        <line>\reserved@a -&gt;\@nil </line>
        <line> </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Argument of \@firstoftwo has an extra }.</line>
        <line>&lt;inserted text&gt; </line>
        <line> \par </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>Runaway argument?</line>
        <line>! Paragraph ended before \@firstoftwo was complete.</line>
        <line>&lt;to be read again&gt; </line>
        <line> \par </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Undefined control sequence.</line>
        <line>\reserved@a -&gt;\@nil </line>
        <line> </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@icentercr doesn't match its definition.</line>
        <line>\@ifnextchar ...eserved@d =#1\def \reserved@a {#2}</line>
        <line> \def \reserved@b {#3}\futu...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@xifnch doesn't match its definition.</line>
        <line>\@ifnch ...ptoken \let \reserved@c \@xifnch \else </line>
        <line> \ifx \@let@token \reserved...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@xifnch doesn't match its definition.</line>
        <line>\@ifnch ...ptoken \let \reserved@c \@xifnch \else </line>
        <line> \ifx \@let@token \reserved...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Undefined control sequence.</line>
        <line>\reserved@a -&gt;\@nil </line>
        <line> </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Argument of \@firstoftwo has an extra }.</line>
        <line>&lt;inserted text&gt; </line>
        <line> \par </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>Runaway argument?</line>
        <line>! Paragraph ended before \@firstoftwo was complete.</line>
        <line>&lt;to be read again&gt; </line>
        <line> \par </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Undefined control sequence.</line>
        <line>\reserved@a -&gt;\@nil </line>
        <line> </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@icentercr doesn't match its definition.</line>
        <line>\@ifnextchar ...eserved@d =#1\def \reserved@a {#2}</line>
        <line> \def \reserved@b {#3}\futu...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@xifnch doesn't match its definition.</line>
        <line>\@ifnch ...ptoken \let \reserved@c \@xifnch \else </line>
        <line> \ifx \@let@token \reserved...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@xifnch doesn't match its definition.</line>
        <line>\@ifnch ...ptoken \let \reserved@c \@xifnch \else </line>
        <line> \ifx \@let@token \reserved...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Undefined control sequence.</line>
        <line>\reserved@a -&gt;\@nil </line>
        <line> </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Argument of \@firstoftwo has an extra }.</line>
        <line>&lt;inserted text&gt; </line>
        <line> \par </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>Runaway argument?</line>
        <line>! Paragraph ended before \@firstoftwo was complete.</line>
        <line>&lt;to be read again&gt; </line>
        <line> \par </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Undefined control sequence.</line>
        <line>\reserved@a -&gt;\@nil </line>
        <line> </line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@icentercr doesn't match its definition.</line>
        <line>\@ifnextchar ...eserved@d =#1\def \reserved@a {#2}</line>
        <line> \def \reserved@b {#3}\futu...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@xifnch doesn't match its definition.</line>
        <line>\@ifnch ...ptoken \let \reserved@c \@xifnch \else </line>
        <line> \ifx \@let@token \reserved...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>! Use of \@xifnch doesn't match its definition.</line>
        <line>\@ifnch ...ptoken \let \reserved@c \@xifnch \else </line>
        <line> \ifx \@let@token \reserved...</line>
        <line>l.179 ...\textit{vs.}\\ SWINK, \textit{Slander.}}}</line>
        <line> </line>
        <line>)</line>
        <line>! Incomplete \iffalse; all text was ignored after line 179.</line>
        <line>&lt;inserted text&gt; </line>
        <line> \fi </line>
        <line>&lt;*&gt; baldwin-7b3f2378-20150525-013417</line>
        <line> </line>
        <line>! Emergency stop.</line>
        <line>&lt;*&gt; baldwin-7b3f2378-20150525-013417</line>
        <line> </line>
        <line>! ==&gt; Fatal error occurred, no output PDF file produced!</line>
        <line>Transcript written on baldwin-7b3f2378-20150525-013417.log.</line>
    </stdout>
</execution>
joewiz commented 9 years ago

Unfortunately I don't know LaTeX, so I can't diagnose or speculate, but I thought I'd report it.

I'm using MacTeX 20140525.

joewiz commented 9 years ago

(No worries if this works for you and it's just not working for me with MacTeX.)