On 10/21/2006 06:21 PM, Bill Page wrote:
On October 21, 2006 11:55 AM Ralf Hemmecke wrote:
The pamphlet ending is a bit misleading. It is a perfect latex file.

latex Rosetta.pamplet

In a sense you are right. Running that file through noweave (with any option you like) doesn't give a proper (standalone) latex file.

Yes, you are right. One of the advantages of the patch that Tim made
to noweb was that (usually) one does not need to make the distinction
between a noweb format file and a pure latex format file because the
default handling of undefined chunk names is less disruptive.

That has nothing to do with the issue that src/doc/Rosetta.pamphlet does not contain any code chunk nor any unescaped << (in Gold, Silver or build-improvements).

Rosetta.pamphlet is a full latex file with \documentclass, \begin{document} ... \end{document}. If you do

noweave Rosetta.pamphlet > Rosetta.tex

then noweave adds some commands that are defined in noweb.sty (no matter whether you add switches like -n or -delay). Since Rosetta.pamphlet does not have any \usepackage in it, latex cannot succeed.

In fact src/doc/Makefile.pamplet has a target where I don't see 'noweave'.

Ralf

${DVI}/Rosetta.dvi: ${IN}/Rosetta.pamphlet
        @echo 5 building ${DVI}/Rosetta.dvi from ${IN}/Rosetta.pamphlet
        @(cd ${MID} ; \
        cp ${IN}/Rosetta.pamphlet ${MID} ; \
        if [ -z ${NOISE} ] ; then \
         (latex Rosetta.pamphlet --interaction nonstopmode >${TMP}/trace ; \
          latex Rosetta.pamphlet --interaction nonstopmode >${TMP}/trace ) ; \
        else \
         (latex Rosetta.pamphlet --interaction nonstopmode ; \
          latex Rosetta.pamphlet --interaction nonstopmode ) ; \
        fi ; \
        cp Rosetta.dvi ${DVI} )

@


_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to