1 May 06:00
Re: replace include with file?
Sotiris Fragkiskos <sfranky <at> gmail.com>
2009-05-01 04:00:05 GMT
2009-05-01 04:00:05 GMT
this is just what i needed, thank you very much!! It's just that, i can't seem to find that in the winedt directory!!
On Fri, May 1, 2009 at 12:04 AM, WinEdt Team <support <at> winedt.com> wrote:
Yes. The macro %B\Macros\Samles\Expand.edt does that. You canhello everyone!is there a way in winedt i can replace every
\include{file.tex} in my latex project with the respective file's contents?
thanks very much
take a look and possibly change things around (if needed) and
then execute the command:
Exe('%B\Macros\Samles\Expand.edt');
This one will create and open a new file
%P\%N-Expanded%T
rather than overwriting the original main file.
Also, this one will expand \input and \include directives and
it will also expand any included files inside included files.
This can all be changed but it will take some modifications to
the macro. It is best that you build the tree before executing
the macro so that included filenames can be properly qualified
(especially if the files are in different folders).
Best regards,
alex
Best regards,
alex
RSS Feed