[pstricks] b5 paper problems
Rafael Castro Triguero
me1catrr at uco.es
Fri Dec 9 20:02:49 CET 2005
Joel Salomon escribió:
> On 12/8/05, Rafael Castro Triguero <me1catrr at uco.es> wrote:
>
>> Thanks, but it doesn't run. I save the next script called "try.bat" in
>> the same folder of the TextoBase.tex file:
>>
>> @echo off
>> set TextoBase=%1
>> latex %TextoBase%.tex
>> dvips -Ppdf -o %TextoBase%-pics.ps %TextoBase%.dvi
>> ps2pdf -dAutoRotatePages#/None %TextoBase%-pics.ps %TextoBase%-pics.pdf
>>
>> I try to run it in the command prompt of WinEdt and not run. But if I
>> put line by line, it runs. What is the matter?
>>
>
> I'm still not sure why you want to use %TextoBase% when you already
> have %1, but I don't think that should affect anything. What is the
> exact text you're entering in WinEdt's command prompt? Is it
> try TextoBase
> or
> try.bat TextoBase
> or something else? Can you try the "%1" version I posted and see if that works?
>
> I really don't know how well WinEdt handles batch files, so I'm hoping
> the problem lies in the batch file—that I can fix¹. Have you tried
> running the batch file from a command prompt outside WinEdt?
>
> Good luck,
> --Joel
>
> ¹ As in the joke about a doctor asked to cure a flu who suggested the
> patient stand by an open window, wet and cold. "That'll cure me?" the
> patient asks. "No," the doctor says, "but it'll turn your flu into
> pneumonia—and that I can cure."
>
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
Good joke,gg.
I have done try.bat TextoBase like you told me, and I have tried but the
only file generated is the dvi.file. The command prompt shows: "DVI
can't be opened" so I supposed that the script failed in the next rows
dvips -Ppdf -o %TextoBase%-pics.ps %TextoBase%.dvi
ps2pdf -dAutoRotatePages#/None %TextoBase%-pics.ps %TextoBase%-pics.pdf
but it is something strange.
Lot of thanks for being so comprensive.
--
-----------------------------------------------------
PhD. Student Rafael Castro Triguero
University of Córdoba
Polithecnical School
Menéndez Pidal Avenue
14004 Córdoba
Spain
University:
Tel : +34-957-218329
Fax : +34-957-218316
E-Mail: me1catrr at uco.es
Home:
Santa Ana de la Albaida nº 14
Villa Mª José
Urbanización Olivar Viejo
14011 Córdoba
Spain
Tel.: +34-957-403398
Mobile : +34-699-039885
----------------------------------------------------
More information about the PSTricks
mailing list