* Trouble building perfbook
@ 2015-10-13 5:52 Andrew Donnellan
2015-10-13 13:31 ` Paul E. McKenney
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Donnellan @ 2015-10-13 5:52 UTC (permalink / raw)
To: perfbook
Hi perfbook list,
I'm having trouble building perfbook (latest git) - am encountering a
weird fatal TeX error. I'm using the current TeXLive 2015 from Debian
stable.
The TeX logfile is available at [0].
I've taken a look at the section of perfbook_flat.tex that it refers to,
and I can't see anything particularly out of the ordinary. My LaTeX-fu
isn't quite good enough to figure out what's going on here - any
assistance would be appreciated!
Andrew
[0] http://pastebin.com/r4rMzF4d
--
Andrew Donnellan Software Engineer, OzLabs
andrew.donnellan@au1.ibm.com Australia Development Lab, Canberra
+61 2 6201 8874 (work) IBM Australia Limited
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Trouble building perfbook
2015-10-13 5:52 Trouble building perfbook Andrew Donnellan
@ 2015-10-13 13:31 ` Paul E. McKenney
2015-10-14 0:27 ` Andrew Donnellan
0 siblings, 1 reply; 4+ messages in thread
From: Paul E. McKenney @ 2015-10-13 13:31 UTC (permalink / raw)
To: Andrew Donnellan; +Cc: perfbook
On Tue, Oct 13, 2015 at 04:52:14PM +1100, Andrew Donnellan wrote:
> Hi perfbook list,
>
> I'm having trouble building perfbook (latest git) - am encountering
> a weird fatal TeX error. I'm using the current TeXLive 2015 from
> Debian stable.
>
> The TeX logfile is available at [0].
>
> I've taken a look at the section of perfbook_flat.tex that it refers
> to, and I can't see anything particularly out of the ordinary. My
> LaTeX-fu isn't quite good enough to figure out what's going on here
> - any assistance would be appreciated!
>
>
> Andrew
>
>
> [0] http://pastebin.com/r4rMzF4d
This looks like the same LaTeX bug that Borislav Petkov ran into
some time back. He came up with the workaround below, does this
work for you?
Just out of curiosity, what distro are you using? I haven't run into
this myself on either Ubuntu 12.04 or 14.04.
Thanx, Paul
------------------------------------------------------------------------
Apparently, it is still an open bug which seems unresolved even in tex
upstream, AFAICT:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752773
I tried the suggested workaround first by replacing \lstinline in
/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty
with it but it complained about an undefined command. Then I went and
did this:
\newcommand\lstinline[1][]{%
\leavevmode\bgroup % \hbox\bgroup --> \bgroup
\def\lst@boxpos{b}%
\lsthk@PreSet\lstset{flexiblecolumns,#1}%
\lsthk@TextStyle
\ifnum\iffalse{\fi`}=\z@\fi
\@ifnextchar\bgroup{%
\ifnum`{=\z@}\fi%
\afterassignment\lst@InlineG \let\@let@token}{%
\ifnum`{=\z@}\fi\lstinline@}}
and the pdf was built successfully.
This this goes into
/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty
which is part of texlive-latex-recommended. It needs to be fixed in the
distro.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Trouble building perfbook
2015-10-13 13:31 ` Paul E. McKenney
@ 2015-10-14 0:27 ` Andrew Donnellan
2015-10-14 0:53 ` Paul E. McKenney
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Donnellan @ 2015-10-14 0:27 UTC (permalink / raw)
To: paulmck; +Cc: perfbook
On 14/10/15 00:31, Paul E. McKenney wrote:
> This looks like the same LaTeX bug that Borislav Petkov ran into
> some time back. He came up with the workaround below, does this
> work for you?
Appears to work - thanks!
> Just out of curiosity, what distro are you using? I haven't run into
> this myself on either Ubuntu 12.04 or 14.04.
Debian 8.2 without backports. As it turns out that shipped with TeXLive
2014.20141024. It appears the Debian bug you linked was fixed in
2015.20150625, which my home machine running Debian testing would have
picked up by now, but I generally prefer more stable things for my IBM
machine...
Andrew
--
Andrew Donnellan Software Engineer, OzLabs
andrew.donnellan@au1.ibm.com Australia Development Lab, Canberra
+61 2 6201 8874 (work) IBM Australia Limited
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Trouble building perfbook
2015-10-14 0:27 ` Andrew Donnellan
@ 2015-10-14 0:53 ` Paul E. McKenney
0 siblings, 0 replies; 4+ messages in thread
From: Paul E. McKenney @ 2015-10-14 0:53 UTC (permalink / raw)
To: Andrew Donnellan; +Cc: perfbook
On Wed, Oct 14, 2015 at 11:27:46AM +1100, Andrew Donnellan wrote:
> On 14/10/15 00:31, Paul E. McKenney wrote:
> >This looks like the same LaTeX bug that Borislav Petkov ran into
> >some time back. He came up with the workaround below, does this
> >work for you?
>
> Appears to work - thanks!
Very good!
> >Just out of curiosity, what distro are you using? I haven't run into
> >this myself on either Ubuntu 12.04 or 14.04.
>
> Debian 8.2 without backports. As it turns out that shipped with
> TeXLive 2014.20141024. It appears the Debian bug you linked was
> fixed in 2015.20150625, which my home machine running Debian testing
> would have picked up by now, but I generally prefer more stable
> things for my IBM machine...
Well, at least a fix is in the works. ;-)
Thanx, Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-14 0:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13 5:52 Trouble building perfbook Andrew Donnellan
2015-10-13 13:31 ` Paul E. McKenney
2015-10-14 0:27 ` Andrew Donnellan
2015-10-14 0:53 ` Paul E. McKenney
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.