Groups | Search | Server Info | Login | Register


Groups > comp.programming.literate > #69

Re: !Undefined control sequence in a NOWEB document

From Sergio Spina <sergio.am.spina@gmail.com>
Newsgroups comp.programming.literate
Subject Re: !Undefined control sequence in a NOWEB document
Date 2012-08-30 11:32 -0400
Organization albasani.net
Message-ID <k1o11s$31e$1@labrador.cs.tufts.edu> (permalink)
References <sfid-h-20120829-132704-+14.83-1@multi.osbf.lua> <k1luub$tni$1@labrador.cs.tufts.edu> <sfid-H-20120830-113211-+34.45-1@multi.osbf.lua>

Show all headers | View raw


Hi Norman.

Sifting through the code I found that \nwstartdeflinemarkup and \nwenddeflinemarkup are defined in noweb.sty (LaTeX support for noweb) but not in nwmac.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ì 29 agosto 2012 22:43:58 UTC+2, Sergio Spina ha scritto:
> I'm writing a TeX-noweb document. I compile it with
> 
> 
> 
>     noweave -tex -filter "elide comment" texcode.nw > documentation.tex
> 
> 
> 
> but when I try to compile the resulting file with
> 
> 
> 
>     xetex -halt-on-error documentation.tex
> 
> 
> 
> I obtain the following error message
> 
> 
> 
>     ! Undefined control sequence.
> 
>     <argument> ...on}\endmoddef \nwstartdeflinemarkup 
> 
>                                                   \nwenddeflinemarkup
> 
> 
> 
> It seems that `\nwenddeflinemarkup` is not recognized. If i delete from the document all the sequences
> 
> 
> 
>     \nwstartdeflinemarkup\nwenddeflinemarkup
> 
> 
> 
> the document compile without exceptions.
> 
> 
> 
> What can be the problem?

Back to comp.programming.literate | Previous | NextPrevious in thread | Find similar


Thread

!Undefined control sequence in a NOWEB document Sergio Spina <sergio.am.spina@gmail.com> - 2012-08-29 16:43 -0400
  [?] Re: !Undefined control sequence in a NOWEB document Norman Ramsey <fellswalker@gmail.com> - 2012-08-29 16:47 -0400
    Re: [?] Re: !Undefined control sequence in a NOWEB document Sergio Spina <sergio.am.spina@gmail.com> - 2012-08-30 05:12 -0400
  Re: !Undefined control sequence in a NOWEB document Sergio Spina <sergio.am.spina@gmail.com> - 2012-08-30 11:32 -0400

csiph-web