[texworks] Latex->PS -> PDF
Minh Duc Thai
thmduc at gmail.com
Thu Dec 3 08:09:06 CET 2009
1. Creat a .bat file (e.g. dvipspdf.bat) with the following line:
@echo off
miktex-pdftex -synctex=1 -undump=latex %1 && dvips "%~dpn1.dvi" -o "%~
dpn1.ps" && ps2pdf "%~dpn1.ps"
2. Place the file created in 1) to the same folder of TeXworks or in the
<MiKTeX_installation_folder>\miktex\miktex\bin or even in the Windows
directory or anywhere listed in the ``Paths for TeX and related programs''
on the tab Typesetting in TeXworks Preferences page. (This step makes the
command available to TeXworks).
3. Define a new ``Processing tools'' (e.g. DVIPSPDF) on the tab Typesetting
in TeXworks Preferences page *with only one argument is $fullname*.
Please see two attachment files for details.
On Thu, Dec 3, 2009 at 8:41 AM, David Arnold <dwarnold45 at suddenlink.net>wrote:
> Bruno,
>
> Yes. This is on a Windows machine that I need help.
>
> D.
>
>
> On Dec 2, 2009, at 2:45 PM, Bruno Voisin wrote:
>
> Le 2 déc. 2009 à 22:56, David Arnold a écrit :
>>
>> We have some pstricks graphs in some files. The files will compile using
>>> the Latex->PS->PDF option in Texniccenter.
>>>
>>> How can we set up an engine in Texworks to accomplish the same thing?
>>>
>>
>> If you're on Mac OS X or Linux that should be easy using the simpdftex
>> script. You just have to create a new processing tool in TeXworks, namely
>>
>> <Capture d’écran 2009-12-02 à 23.21.35.png>
>>
>> I called mine dviLaTeX, but the name is arbitrary.
>>
>> On Windows I don't know whether there exists a similar script. IIRC
>> TeXnicCenter is a windows program, meaning this is your case?
>>
>> Bruno Voisin
>>
>
>
--
Minh Duc Thai - StudentID: 0711040
Faculty of Mathematics and Computer Science
University of Science
Vietnam National University - Ho Chi Minh City
227 Nguyen Van Cu street, District 5, Ho Chi Minh City, Vietnam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20091203/02191fe4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DVIPSPDF.png
Type: image/png
Size: 15424 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20091203/02191fe4/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DVIPSPDF_bat.png
Type: image/png
Size: 19795 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20091203/02191fe4/attachment-0003.png>
More information about the texworks
mailing list