General ⇒ Problem with Luatex
Problem with Luatex
Hi,
We got a problem with one of our sites. This site is for testing people and their skills. We migrated it to an unbuntu 14.04 server and installed the livetext-full package, but we dont seem te get the rapports working....
It gives the following error:
ii [Loading MPS to PDF converter (version 2006.09.02).] ))))) (/var/www/aanhetwerknu/texmf/tex/generic/compare.tex (/var/www/aanhetwerknu/texmf/tex/generic/cwebxmac.tex) Underfull \vbox (badness 10000) has occurred while \output is active ! Undefined control sequence. \pgfutil@EveryShipout@Output ...ipout@Org@Shipout \box \pgfutil@@Output@Box \normaloutput ...no #3\else #2\fi }\fi \vfill #1}} \global \advance \pageno ... {\normaloutput \page \lheader \rheader } \eject {-\par \break \N ... \ifnum \gdepth <\secpagedepth \vfil \eject \else \vskip 0pt plus .5 \... l.3 \N0 1. Comparing text files. ? ! Emergency stop. \pgfutil@EveryShipout@Output ...ipout@Org@Shipout \box \pgfutil@@Output@Box \normaloutput ...no #3\else #2\fi }\fi \vfill #1}} \global \advance \pageno ... {\normaloutput \page \lheader \rheader } \eject {-\par \break \N ... \ifnum \gdepth <\secpagedepth \vfil \eject \else \vskip 0pt plus .5 \... l.3 \N0 1. Comparing text files. ! ==> Fatal error occurred, no output PDF file produced! Transcript written on document.log.
We got a problem with one of our sites. This site is for testing people and their skills. We migrated it to an unbuntu 14.04 server and installed the livetext-full package, but we dont seem te get the rapports working....
It gives the following error:
ii [Loading MPS to PDF converter (version 2006.09.02).] ))))) (/var/www/aanhetwerknu/texmf/tex/generic/compare.tex (/var/www/aanhetwerknu/texmf/tex/generic/cwebxmac.tex) Underfull \vbox (badness 10000) has occurred while \output is active ! Undefined control sequence. \pgfutil@EveryShipout@Output ...ipout@Org@Shipout \box \pgfutil@@Output@Box \normaloutput ...no #3\else #2\fi }\fi \vfill #1}} \global \advance \pageno ... {\normaloutput \page \lheader \rheader } \eject {-\par \break \N ... \ifnum \gdepth <\secpagedepth \vfil \eject \else \vskip 0pt plus .5 \... l.3 \N0 1. Comparing text files. ? ! Emergency stop. \pgfutil@EveryShipout@Output ...ipout@Org@Shipout \box \pgfutil@@Output@Box \normaloutput ...no #3\else #2\fi }\fi \vfill #1}} \global \advance \pageno ... {\normaloutput \page \lheader \rheader } \eject {-\par \break \N ... \ifnum \gdepth <\secpagedepth \vfil \eject \else \vskip 0pt plus .5 \... l.3 \N0 1. Comparing text files. ! ==> Fatal error occurred, no output PDF file produced! Transcript written on document.log.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Problem with Luatex
Hi and welcome Ralph,
Common, really? As a linux server admin, you can do better than that.
Build a minimal working example, show the exact error message and tell us more about the environment. Right now, i cannot even give an educated guess but to ask you, if all packages are up-to-date.
Common, really? As a linux server admin, you can do better than that.
Build a minimal working example, show the exact error message and tell us more about the environment. Right now, i cannot even give an educated guess but to ask you, if all packages are up-to-date.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with Luatex
Welcome to the forum!
Yes, we need some more information.
Stefan
Yes, we need some more information.
\pgfutil@EveryShipout@Output
unknown sounds like pgf is missing. At least seeing the .log file would be helpful. You could post it here as attachment to a post.Stefan
LaTeX.org admin
Re: Problem with Luatex
Hi,
Be gentle with me. i am no latex expert
I looked for the document.log with find command but no luck
Here is some more info:
We use an ubuntu 14.04 server and have texlive 2014 installed in:
/usr/local/texlive/2014/bin/x86_64-linux/
The software had this mac livetex in the past:
//define('PDFTEX_PATH', '/usr/local/texlive/2013/bin/x86_64-darwin/luatex');
I changed it to:
define('PDFTEX_PATH', '/usr/local/texlive/2014/bin/x86_64-linux/luatex');
i checked the version with tex --version is ok
I checked the pgf with pdflatex is ok
The errors are comming from this script (i think...)
%% PGF deletes footer AND header lines from the shipout, this HACK puts them BACK
\catcode`@=11
\newbox\pgfutil@@Output@Box
\def\shipout{%
\ifhmode\hskip\else\vskip\fi 1sp
\afterassignment\pgfutil@@Delayed@EveryShipout@Test
\setbox\pgfutil@@Output@Box=}
\def\pgfutil@@Delayed@EveryShipout@Test{%
\ifdim\lastskip=\z@ % it was \shipout\vbox or \shipout\hbox
\expandafter\aftergroup
\fi
\pgfutil@@EveryShipout@Test}
\def\pgfutil@@EveryShipout@Test{%
\unskip % remove the skip used as signal
\ifvoid\pgfutil@@Output@Box
\expandafter\aftergroup
\fi
\pgfutil@EveryShipout@Output}
\def\pgfutil@EveryShipout@Output{%
\setbox\pgfutil@@Output@Box=\vbox{
\setbox\z@=\hbox{%
\pgfutil@abe
\unhbox\pgfutil@abb
\pgfutil@abc
\global\let\pgfutil@abc\pgfutil@empty
}%
\wd\z@=\z@\ht\z@=\z@\dp\z@=\z@\box\z@
\ifhbox\pgfutil@@Output@Box\unhbox\else\unvbox\fi\pgfutil@@Output@Box
}%
\pgfutil@@EveryShipout@Org@Shipout\box\pgfutil@@Output@Box
}
\catcode`@=12
These are php files for the rapport scrips of the software.
The CV is also Livetex as is the certificate and they are both working.
Be gentle with me. i am no latex expert

I looked for the document.log with find command but no luck

Here is some more info:
We use an ubuntu 14.04 server and have texlive 2014 installed in:
/usr/local/texlive/2014/bin/x86_64-linux/
The software had this mac livetex in the past:
//define('PDFTEX_PATH', '/usr/local/texlive/2013/bin/x86_64-darwin/luatex');
I changed it to:
define('PDFTEX_PATH', '/usr/local/texlive/2014/bin/x86_64-linux/luatex');
i checked the version with tex --version is ok
I checked the pgf with pdflatex is ok
The errors are comming from this script (i think...)
%% PGF deletes footer AND header lines from the shipout, this HACK puts them BACK
\catcode`@=11
\newbox\pgfutil@@Output@Box
\def\shipout{%
\ifhmode\hskip\else\vskip\fi 1sp
\afterassignment\pgfutil@@Delayed@EveryShipout@Test
\setbox\pgfutil@@Output@Box=}
\def\pgfutil@@Delayed@EveryShipout@Test{%
\ifdim\lastskip=\z@ % it was \shipout\vbox or \shipout\hbox
\expandafter\aftergroup
\fi
\pgfutil@@EveryShipout@Test}
\def\pgfutil@@EveryShipout@Test{%
\unskip % remove the skip used as signal
\ifvoid\pgfutil@@Output@Box
\expandafter\aftergroup
\fi
\pgfutil@EveryShipout@Output}
\def\pgfutil@EveryShipout@Output{%
\setbox\pgfutil@@Output@Box=\vbox{
\setbox\z@=\hbox{%
\pgfutil@abe
\unhbox\pgfutil@abb
\pgfutil@abc
\global\let\pgfutil@abc\pgfutil@empty
}%
\wd\z@=\z@\ht\z@=\z@\dp\z@=\z@\box\z@
\ifhbox\pgfutil@@Output@Box\unhbox\else\unvbox\fi\pgfutil@@Output@Box
}%
\pgfutil@@EveryShipout@Org@Shipout\box\pgfutil@@Output@Box
}
\catcode`@=12
These are php files for the rapport scrips of the software.
The CV is also Livetex as is the certificate and they are both working.
- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Problem with Luatex
Hi Ralph,
don't worry
on the Internet sometimes it sounds rough what was meant a quick request for details.
I'm using TeX Live, Ubuntu as well, work with servers, script with PHP, but cannot do much with the current information.
I'm sure LuaTeX is running and the path is ok, because you got a (La)TeX error message. The cause must be in the code. Try providing a complete code sample here, which brings that error.
Stefan
don't worry

I'm using TeX Live, Ubuntu as well, work with servers, script with PHP, but cannot do much with the current information.
I'm sure LuaTeX is running and the path is ok, because you got a (La)TeX error message. The cause must be in the code. Try providing a complete code sample here, which brings that error.
Stefan
LaTeX.org admin
Re: Problem with Luatex
I put the PHP code in an attachment is this ok?
- Attachments
-
- personal-report.rar
- (6.58 KiB) Downloaded 233 times
- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Problem with Luatex
I can see that your PHP script generates TeX code and stores it in the variable $tex.
Since we are a TeX forum, we can work with TeX, less with PHP, maybe you are able to print the $tex output so we can see it here?
Stefan
Since we are a TeX forum, we can work with TeX, less with PHP, maybe you are able to print the $tex output so we can see it here?
Stefan
LaTeX.org admin
Re: Problem with Luatex
Im sorry but i cannot solve this. We gonna outsource this problem to a freelancer, we spend allot of time on this but i am working blind without latex understanding.
We gonna put this on the jobboardsm but if some one has interest please let me know.
We gonna put this on the jobboardsm but if some one has interest please let me know.
- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Problem with Luatex
As far as I see, that hack above relies on an older version of PGF and doesn't work with PGF 3.0. Simply remove it and test if your document works then. Perhaps you don't need this workaround any more. If you still would need it, then it would need to be adjusted to PGF 3.0 which comes with TeX Live 2014.
Stefan
Stefan
LaTeX.org admin
Re: Problem with Luatex
I have removed the hack and it try's to make the pdf but gives an error of a damaged file. Oh wel.... maybe one step closer!