On Fri, Dec 12, 2014 at 07:47:37PM +0100, Borislav Petkov wrote: > 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... Nice!!! You put this above definition in perfbook.tex? Thanx, Paul -- 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