Date: Tue, 02 Apr 2002 06:08:12 -0800 From: "Camille Zavala" <litperl@hotmail.com> To: tg@FreeBSD.org Cc: ports@FreeBSD.org Subject: bug in noweb 2.9a port under 4.5-stable Message-ID: <F211P4QUNyAjEOr060s00003763@hotmail.com>
next in thread | raw e-mail | index | archive | help
Synopsis: The %def directive hurts LaTeX if an identifier starts with `$' Environment: OS = FreeBSD 4.5-stable Port = noweb (/usr/ports/devel/noweb, 2.9a) To Repeat: % portupgrade noweb % portupgrade tetex % wget http://www.desinger.com/try/noweb/noweb-2.9a-bug.nw % noweb noweb-2.9a-bug.nw % pdflatex noweb-2.9a-bug.tex The crucial part is that the noweb file has a line: @ %def $variable The identifier on the %def line begins with a dollar sign, like Perl variables will tend to do. Expected: pdflatex should complete without errors, like it does on Windows (ack! phft!) using noweb 2.10a + Cygwin with MiKTeX. What actually happens: pdflatex gets all choked up. Sorry about these bum line breaks, but here's sample output from "@ %defs $os": ! Undefined control sequence. \OT1\textdollar ->\hmode@bgroup \ifdim \fontdimen \@ne \font >\z@ \slshape \... l.39 ...identdefs{\\{{\nwixident{{\$}os}}{:doos}}} \nwendcode{}\nwbegindocs{2... Files are available at: http://www.desinger.com/try/noweb/ Let me know if you need more info. /cdz _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F211P4QUNyAjEOr060s00003763>