29 Jul 21:48
Improved flexibility of the TeXify, PDFTeXify etc. macros
From: Remo <rcasch <at> yahoo.com>
Subject: Improved flexibility of the TeXify, PDFTeXify etc. macros
Newsgroups: gmane.editors.winedt
Date: 2008-07-29 19:49:33 GMT
Subject: Improved flexibility of the TeXify, PDFTeXify etc. macros
Newsgroups: gmane.editors.winedt
Date: 2008-07-29 19:49:33 GMT
If have a proposal for a (hopefully) little modification of the way the
standard TeX macros (TeXify etc.) work.
My use case looks as follows:
With WinEdt 5.5 I edit files that are part of a bigger LaTeX file (only
the contents without the documentclass and package stuff). Every file
can be processed separately using a wrapper file that calls the WinEdt
file with the \input directive. But that means that WinEdt has to be
able to TeXify a file which is not currently opened but dynamically
created. In my projects there exists also a main file that (using a
different wrapper file) can be TeXified.
To write the necessary macros it would be very helpful if there would be
a way to call the TeXify, PDFTeXify etc. macros with the name of the
file to be processed as a parameter, for example stored in %$('TeXify-
Parameters-OnTheFly');. If %$('TeXify-Parameters-OnTheFly'); is set and
not empty, the settings in %$('TeXify-Parameters'); are ignored. I know
that I can customize the file name in the Execution Modes window or that
I could simply save and change %$('TeXify-Parameters'); before calling
TeXify.edt (and restore it afterwards), but the macros still contain
references to %P/%N, for example when checking whether target files (%P
\%N.dvi, %P\%N.pdf) exist.
If I change the standard macros myself I will have to do that again with
every new version. With this change it would be possible to use the
macros in a modular way within the self-written ones.
Of course I also appreciate ideas of how to do that with the given (and
- by the way - very flexible and sophisticated) macros.
(Continue reading)
RSS Feed