On Thu, Oct 18, 2007 at 09:11:07PM +0200, Andre Poenitz wrote:
> 
> Has anybody recently actually tried to compile the UserGuide?
> 
> On my machine LaTeX simply does not finish. Run by hand I get stuff
> like
> 
> 
> ! Use of [EMAIL PROTECTED] doesn't match its definition.
> [EMAIL PROTECTED] #1->\def [EMAIL PROTECTED] {
>                                     #1}\ifx [EMAIL PROTECTED] [EMAIL 
> PROTECTED] \let
> [EMAIL PROTECTED]
> l.4770 ...{http://wiki.lyx.org/Bib\TeX{}/Programs}
>                                                   \\
> ?

Commands such as \url and \index don't like latex macros in their
argument, and the UserGuide is full of them:

$ egrep "\\(url|index)[{].*(LyX|TeX).*[}]" UserGuide.tex | wc -l
46

This is due to the LyX -> \LyX and TeX -> \TeX translations performed
by LyX.

When the words LyX or TeX (or LaTeX, or BibTeX, or ...) appear in the
argument of one of those commands, they should be marked as ERT in
order to avoid their translation to a macro.

-- 
Enrico

Reply via email to