Article View: comp.text.tex
Article #11707Change the Latex.edt to do some more things in winedt56.
From: Hongyi Zhao
Date: Mon, 21 Jul 2008 02:41
Date: Mon, 21 Jul 2008 02:41
38 lines
2278 bytes
2278 bytes
Hi all,
I'm a chinese user of winedt, I sometimes use the gbk2uni, which is
developed by ctex, to generate bookmarks in pdf. To do this, I must
change the default latex command into this:
gbk2uni my_tex_file
latex my_tex_file
In the winedt 5.5, this can be easily done by changing the latex.edt
macro in the following place like this:
WinEdt Team\WinEdt\Exec\MiKTeX\latex.edt
I change the following content in the above file for my purpose:
----------------------------------
// *** Execute it!!!
SetOK(1); // Just in case
// The following line is added by me to exec the GBK2UNI before the
latex command.
WinExe('','gbk2uni.exe "%N"', '%P', 'GBK2UNI ...', 1000, %!2, '', '',
'', %!1);
WinExe('','%!3','%P','LaTeX ...', %!0, %!2,>
'', '%b\_Out.log', '%b\_Err.log',%!1);
-----------------------------------------
My issue is, in the winedt 5.6 the latex.edt is changed very much. So
how can I make the similar change so that I can perform my specific
commands sequence?
Any help would be appreciated!
Sincerely yours,
--
Hongyi Zhao <hongyi.zhao@gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
Technical Details
Message-ID:
<g60t0k$6p5$2@news.cn99.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f9e16,1b74fc58ecffb6b7,start X-Google-Thread: fee42,1b74fc58ecffb6b7,start X-Google-Thread: 10ee61,1b74fc58ecffb6b7,start X-Google-Attributes: gidf9e16,gidfee42,gid10ee61,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!not-for-mail From: Hongyi Zhao <hongyi.zhao@gmail.com> Newsgroups: comp.text.tex,de.comp.text.tex,fr.comp.text.tex Subject: Change the Latex.edt to do some more things in winedt56. Date: Mon, 21 Jul 2008 10:41:24 +0800 Organization: Bentium Ltd. (CN99) Lines: 38 Message-ID: <g60t0k$6p5$2@news.cn99.com> NNTP-Posting-Host: 159.226.135.215 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.cn99.com 1216608084 6949 159.226.135.215 (21 Jul 2008 02:41:24 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Mon, 21 Jul 2008 02:41:24 +0000 (UTC) User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)