I tried to reproduce the problem on a new project :
Just create a new project, create a new Latex file using the Article
template and drop the following:
\usepackage{pstricks}
\usepackage{pdfsync}
And you'll be able to see the problem ...
So I guess I have to move from:
\usepackage{pdfsync}
to:
\ifpdf
\usepackage{pdfsync}
\fi
Is there any solution to use PSTricks and still have the PDF
synchronization ?
Thanks,
Sylvain
Le 31 août 07 à 13:38, Brad Miller a écrit :
I cannot reproduce the problem on my machine. I think that there
was some problem with processing the master file that I fixed in
subversion post 1414.
I've also noticed that even if I have \usepackage{pstricks}, If I
also have \usepackage[pdftex]{graphicx} in the same file latex will
decide to write a pdf file rather than a dvi file. So throwing in
a \usepackage{pstricks} may not be having the effect you think.
Brad
On 8/31/07, Sylvain Desvé <[EMAIL PROTECTED]> wrote:
I'm using a master file. I specified it using the "File Preferences >
Set Master File". I also have an environment variable in the project
scope (TM_LATEX_MASTER).
For the moment I have no PSTricks drawing in my latex document, I
just tried adding the package. When I don't import the package, the
"Typeset & View" window says that it's running pfdlatex on master.tex
and if I import the package it says it's running latex on master.tex.
I use the teTeX distribution which I installed using MacPorts.
Thanks,
Sylvain
Le 30 août 07 à 23:02, Brad Miller a écrit :
> The issue you reference *should* be handled correctly by the new
> Typeset & View command.
> It should detect that you have included pstricks and then run plain
> latex, followed by divps and then ps2pdf.
>
> Are you using a master file? If so how is it specified?
>
> When you run typeset & view Does the output verify that you are
> running latex? On what file?
>
> Thanks,
>
> Brad
>
> --
> Brad Miller
> Assistant Professor, Computer Science
> Luther College
>
> On 8/30/07, Sylvain Desvé<[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I tried using the pstricks package to draw in my latex file.
>>
>> The "Typeset & View" command fails with the following:
>>
>> This is dvips(k) 5.95a Copyright 2005 Radical Eye Software
>> ( www.radicaleye.com) dvips:
>> ! DVI file can't be opened. Error: /undefinedfilename in
>> (master.ps) Operand stack:
>> Execution stack: %interp_exit .runexec2 --nostringval-- --
>> nostringval-- --nostringval--
>> 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
>> false 1 %stopped_push
>> Dictionary stack: --dict:1145/1684(ro)(G)-- --dict:0/20(G)-- --
>> dict:70/200(L)-- Current
>> allocation mode is local Last OS error: 2 GPL Ghostscript 8.60:
>> Unrecoverable error, exit code 1
>>
>> This issue was adressed here:
>> http://henrik.nyh.se/2006/10/textmate-latex-bundle-and-
compiling-
>> to-pdf-via-ps)
>>
>> But I'm using build 1414 and the Latex bundle has been fully
>> refactored since so I thought
>> the "typeset via PS" feature had been forgotten in the new
bundle. If
>> not, forgive me.
>>
>> Thanks,
>> Sylvain Desvé
>> _______________________________________________
>> textmate-dev mailing list
>> [email protected]
>> http://lists.macromates.com/mailman/listinfo/textmate-dev
>
>
> _______________________________________________
> textmate-dev mailing list
> [email protected]
> http://lists.macromates.com/mailman/listinfo/textmate-dev
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev
--
Brad Miller
Assistant Professor, Computer Science
Luther College
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev