LaTeX forum ⇒ LEd ⇒ PSTricks cannot be displayed in LED. How to solve it?

Information and discussion about LEd, an integrated LaTeX environment for Windows
yoyoimut
Posts: 120
Joined: Mon Oct 19, 2009 6:58 am

PSTricks cannot be displayed in LED. How to solve it?

The following link does not help me, so I create a new one.
http://www.latex-community.org/forum/vi ... s&start=10

I have a minimal code as follows:

\documentclass[dvipsnames]{article}

\usepackage{pstricks,lipsum}

\begin{document}

\section{Test}
\lipsum[1]

\fbox{%
\begin{pspicture}(4,4)
\psline{->}(3,3)
\end{pspicture}}

\end{document}


and the output :

ledpstricksproblem.jpg (20.16 KiB) Viewed 9932 times

How to solve this problem ?

regards,

yoyo
Last edited by yoyoimut on Fri Dec 03, 2010 9:19 am, edited 1 time in total.

LaTeXguide.org • LaTeX-Cookbook.net

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

PSTricks cannot be displayed in LED. How to solve it?

yoyoimut wrote:The following link does not help me, so I create a new one.
http://www.latex-community.org/forum/vi ... s&start=10

did you run the sequenz latex->dvips->ps2pdf?
And did you viewed the ps or pdf output?

Herbert

yoyoimut
Posts: 120
Joined: Mon Oct 19, 2009 6:58 am

PSTricks cannot be displayed in LED. How to solve it?

CrazyHorse wrote:did you run the sequenz latex->dvips->ps2pdf?
And did you viewed the ps or pdf output?

Herbert

Experiment 1:
1. Clean up the folder containing the input file (except for the file input).
2. Click the green PLAY button to execute latex.exe. The dvi viewer on the right display the output, but there is no pstricks figure displayed.
3. Using YAP dvi viewer, I open the resulting dvi file. YAP displays the output with pstricks object. Close the YAP to release the file handle.
4. Do step 2 and 3 consecutively 2 times more to make sure it is not related to dependency between auxilary files.

The following figure shows the results, one on LED, the other one on YAP.
ledpstricksstrangeerror.jpg (123.38 KiB) Viewed 9927 times

Experiment 2:
Next I did dvi->ps (either from LED or from DOS) 3 times. No difference.
Illustrator can display the output with pstricks but LED still the same, no pstricks object displayed.

Experiment 3:
Finally I did ps2pdf (from DOS only because LED has no this option)3 times. No difference also.

Other information that might be useful:

1. I run on Win 7
5. ledconfig.jpg (120.61 KiB) Viewed 9912 times

Thank you.

yoyo
Last edited by yoyoimut on Tue Nov 30, 2010 11:31 pm, edited 1 time in total.

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

PSTricks cannot be displayed in LED. How to solve it?

yoyoimut wrote:
CrazyHorse wrote:did you run the sequenz latex->dvips->ps2pdf?
And did you viewed the ps or pdf output?

Herbert

Experiment 1:
1. Clean up the folder containing the input file (except for the file input).
2. Click the green PLAY button to execute latex.exe. The dvi viewer on the right display the output, but there is no pstricks figure displayed.
3. Using YAP dvi viewer, I open the resulting dvi file. YAP displays the output with pstricks object. Close the YAP to release the file handle.
4. Do step 2 and 3 consecutively 2 times more to make sure it is not related to dependency between auxilary files.

The following figure shows the results, one on LED, the other one on YAP.
ledpstricksstrangeerror.jpg

The internal previewer of LED cannot handle postscript code ...
Use always yap or gsview

Herbert

yoyoimut
Posts: 120
Joined: Mon Oct 19, 2009 6:58 am

Re: PSTricks cannot be displayed in LED. How to solve it?

@Herbert, thanks. I must wait for the LED update.