axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] build-improvements and latex


From: Ralf Hemmecke
Subject: Re: [Axiom-developer] build-improvements and latex
Date: Sat, 21 Oct 2006 20:46:02 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060909)

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} )

@




reply via email to

[Prev in Thread] Current Thread [Next in Thread]