axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Latex and axiom.sty.tex


From: Ralf Hemmecke
Subject: Re: [Axiom-developer] Latex and axiom.sty.tex
Date: Tue, 24 Oct 2006 20:13:35 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060909)

I don't think that this is a problem with TEXINPUTS. \usepackage finally uses \include to get the file into memory. \input however, appends ".tex" by default.

I think axiom.sty.tex should never be generated. How did you get that file anyway? Ah... I see that build-improvements/src/scripts/document.in seems to generate it.

Actually, I ran into a similar problem with ALLPROSE. All files look like FILE.nw. My first try was

notangle FILE.nw > FILE
noweave FILE.nw > FILE.tex

But exactly for the reason of .sty files, I've changed my mind and now say

noweave FILE.nw > FILE.nw.tex

Maybe that could be a suggestion for Axiom. The .tex files are generated anyway so their name does not matter.

Ralf

On 10/24/2006 07:29 PM, Waldek Hebisch wrote:
Waldek Hebisch <address@hidden> writes:

| There is a problem running Latex in a directory where axiom.sty.tex
| is present: Latex seeing '\usepackage{axiom}' picks 'axiom.sty.tex'
| from current directory and bombs seeing duplicate '\documentclass'.
| | This affects running Latex in src/doc directory.

I usually do out of source build so I don't see this problem.  Thanks
for the notice.


This affect also out of source build: both 'document' and 'latex' are
run in src/doc subdirectory of build directory. 'document' creates
'axiom.sty.tex' and 'latex' sees it.
The problem may depend on default setting of TEXINPUTS, I have Latex
intallation from Debian 'texlive-full' package (with default settings).





reply via email to

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