Re: perfbook build error

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

 



On Thu, Dec 11, 2014 at 01:14:29PM -0800, Paul E. McKenney wrote:
> On Thu, Dec 11, 2014 at 09:22:38PM +0100, Borislav Petkov wrote:
> > On Thu, Dec 11, 2014 at 12:10:14PM -0800, Paul E. McKenney wrote:
> > > > ! 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 "#"...
> > 
> > I'm reading the error message like it has a problem with the "#" in
> > "#define" but I might be wrong.
> 
> Yep, that is my feeling as well.  And so \url{#define} would mean
> the name "define" in the current document.  Which admittedly would be
> more meaningful in an html document.

Does wrapping the \co{} in mbox help?  Please see the patch below for
an example.

Your environment apparently does handle \co{} in other environments,
as there are a lot of them in Chapter 1.  So if mbox fixes it for you,
I would be OK mboxing all the \co{}s in tables.

							Thanx, Paul

------------------------------------------------------------------------

diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex
index c98f3a78652f..a5b530fc989e 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}
+		& \mbox{\co{pthread_t}}
 			& \co{struct task_struct} \\
 	\cline{2-3}
 		& \co{pthread_create()}

--
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