Re: perfbook build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 12, 2014 at 10:18:05AM -0800, Paul E. McKenney wrote:
> And I take it that just adding braces doesn't work either, the discussion in
> http://tex.stackexchange.com/questions/102119/why-doesnt-lstinline-work-in-table-column
> notwithstanding?
> 
> 	{\co{struct task_struct}}
> 
> Or:
> 
> 	{ \co{struct task_struct} }

No, neither.

/me searches a bit more, gets lucky...

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.

Maybe I should let the guys know that it still triggers...

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux