From owner-freebsd-ports Tue Apr 2 6: 8:37 2002 Delivered-To: freebsd-ports@freebsd.org Received: from hotmail.com (f211.law15.hotmail.com [64.4.23.211]) by hub.freebsd.org (Postfix) with ESMTP id 13C8B37B41F; Tue, 2 Apr 2002 06:08:14 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 2 Apr 2002 06:08:13 -0800 Received: from 63.198.196.28 by lw15fd.law15.hotmail.msn.com with HTTP; Tue, 02 Apr 2002 14:08:12 GMT X-Originating-IP: [63.198.196.28] From: "Camille Zavala" To: tg@FreeBSD.org Cc: ports@FreeBSD.org Subject: bug in noweb 2.9a port under 4.5-stable Date: Tue, 02 Apr 2002 06:08:12 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Apr 2002 14:08:13.0909 (UTC) FILETIME=[D41DF850:01C1DA4F] Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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