auctex
[Top][All Lists]
Advanced

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

[AUCTeX] problems in TeX-expand-list and TeX-command-list


From: Uwe Brauer
Subject: [AUCTeX] problems in TeX-expand-list and TeX-command-list
Date: Fri, 25 Jan 2008 17:08:57 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)

Hello

I recently changed to 11.84 and have some difficulties with my old
TeX-expand-list and TeX-command-list.

I would like to use from a tex (or a noweb file extensions nw) 
the following commands
    -  nountangle -matlab -w30 this.nw > this.m
    -  noweave test.nw > test.tex
    -  /usr/share/tex4ht/oolatex test.tex
    -  hevea test.tex
the last two are no problem
via customiz-optione
TeX-command-list I insert

[INS] [DEL] Name: hevea
            Command: /usr/bin/hevea %t
            How: [Value Menu] TeX-run-command
            Prompt: [Toggle]  on (non-nil)
            Modes: [Value Menu] All
            Menu elements:
            [INS]
[INS] [DEL] Name: oolatex
            Command: /usr/share/tex4ht/oolatex %t
            How: [Value Menu] TeX-run-command
            Prompt: [Toggle]  on (non-nil)
            Modes: [Value Menu] All
            Menu elements:
            [INS]

The first two are more complicated I set


[INS] [DEL] Name: nountangle matlab
            Command: nountangle -matlab -w30 %W > %M
            How: [Value Menu] TeX-run-command
            Prompt: [Toggle]  on (non-nil)
            Modes: [Value Menu] All
            Menu elements:
            [INS]
[INS] [DEL] Name: noweave
            Command: noweave %W > %t
            How: [Value Menu] TeX-run-command
            Prompt: [Toggle]  on (non-nil)
            Modes: [Value Menu] All
            Menu elements:
            [INS]


And I had to define %W %M via customiz-optione TeX-expand-list:
[INS] [DEL] Key: %W
            Expander: file
            Arguments:
            [INS] [DEL] "nw"
            [INS] [DEL] nil
            [INS]
[INS] [DEL] Key: %M
            Expander: file
            Arguments:
            [INS] [DEL] "m"
            [INS] [DEL] t
            [INS]

Here I followed the logic of dvi
[INS] [DEL] Key: %d
            Expander: file
            Arguments:
            [INS] [DEL] "dvi"
            [INS] [DEL] t
            [INS]

However when calling for example noweave I obtain in the modeline
noweave nonlinfd.nw.nw > nonlinfd.nw.tex

Which is wrong I played around with the file expander and the last two
t or nil settings no way.

Can somebody please help?


thanks


Uwe Brauer 





reply via email to

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