Path: csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!labrador.cs.tufts.edu!not-for-mail From: Sergio Spina Newsgroups: comp.programming.literate Subject: Re: !Undefined control sequence in a NOWEB document Date: Thu, 30 Aug 2012 11:32:12 -0400 (EDT) Organization: albasani.net Lines: 59 Sender: nr@labrador.cs.tufts.edu Approved: Litprog auto-moderator Message-ID: References: NNTP-Posting-Host: fBRYmeD0sjtzqVsMIvRVV1orFNxxPWThM1XgIE3AUKU= Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: news.albasani.net Zu0gVnZx0tyq7uFSga+i7cHEWdH9hqnQttsYOPeSjLgSqf397ujCsXPsU3c5RYa3lmeFFjGcVNl794U5aNmcuQ== X-Complaints-To: abuse@albasani.net NNTP-Posting-Date: Thu, 30 Aug 2012 15:32:13 +0000 (UTC) Errors-To: /dev/null Cancel-Lock: sha1:S7aX1mK4gNr43ThgSjnCUENqDfU= Xref: csiph.com comp.programming.literate:69 Hi Norman. Sifting through the code I found that \nwstartdeflinemarkup and \nwenddefli= nemarkup are defined in noweb.sty (LaTeX support for noweb) but not in nwma= c.tex (plain TeX support for noweb). If i call noweave with the option "-tex" it wraps the noweb code into a TeX= casing with a "\input nwmac.tex" as first instruction. Maybe this is the root of the problem. Regards. Il giorno mercoled=EC 29 agosto 2012 22:43:58 UTC+2, Sergio Spina ha scritt= o: > I'm writing a TeX-noweb document. I compile it with >=20 >=20 >=20 > noweave -tex -filter "elide comment" texcode.nw > documentation.tex >=20 >=20 >=20 > but when I try to compile the resulting file with >=20 >=20 >=20 > xetex -halt-on-error documentation.tex >=20 >=20 >=20 > I obtain the following error message >=20 >=20 >=20 > ! Undefined control sequence. >=20 > ...on}\endmoddef \nwstartdeflinemarkup=20 >=20 > \nwenddeflinemarkup >=20 >=20 >=20 > It seems that `\nwenddeflinemarkup` is not recognized. If i delete from t= he document all the sequences >=20 >=20 >=20 > \nwstartdeflinemarkup\nwenddeflinemarkup >=20 >=20 >=20 > the document compile without exceptions. >=20 >=20 >=20 > What can be the problem?