On Thu, Dec 11, 2014 at 08:59:22PM +0100, Borislav Petkov wrote: > On Thu, Dec 11, 2014 at 11:32:30AM -0800, Paul E. McKenney wrote: > > Or the newer version of latex doesn't like the \co{} macro definition. > > > > One hack-around is to replace the definition on line 38 of perfbook.tex > > with something like this: > > > > \newcommand{\co}[1]{\url{#1}} > > > > Does that help, modulo the resulting bogus links? > > Nah, this chokes on the '#' char: > > ! Illegal parameter number in definition of \Hy@tempa. > <to be read again> > d > l.876 two \co{#define} > statements, giving us not one but two ways to create > ? > ! Emergency stop. > <to be read again> > d > l.876 two \co{#define} > statements, giving us not one but two ways to create > End of file on the terminal! > --- That is odd given that URLs really can contain "#"... > Btw, don't waste too much time with it before you can reproduce it > yourself and can actually confirm it is a latex issue. I might be > missing packages or so... although updating texlive-latex-* works out > fine and pulls in whatever it needs. > > Btw, it looks like it has trouble with this custom defined command. Built-in > stuff works: > > --- > diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex > index c98f3a78652f..e227fe7363fb 100644 > --- a/toolsoftrade/toolsoftrade.tex > +++ b/toolsoftrade/toolsoftrade.tex > @@ -1242,7 +1242,7 @@ but may be implemented straightforwardly as follows: > \hline > \hline > Thread Management > - & \co{pthread_t} > + & \L test I am guessing that \L chokes on underscores, otherwise, it would be an attractive alternative to \co{}. (It does choke on underscores in my old environment.) > & \co{struct task_struct} \\ > \cline{2-3} > & \co{pthread_create()} > -- > > I need to investigate more. Please let me know how it goes! 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