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

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

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

Post by yoyoimut »

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:

Code: Select all

\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
ledpstricksproblem.jpg (20.16 KiB) Viewed 20780 times
How to solve this problem ?

Thank you in advance.

regards,

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

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

Post by CrazyHorse »

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?

Post by yoyoimut »

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
ledpstricksstrangeerror.jpg (123.38 KiB) Viewed 20775 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.
Adobe Reader show the pstricks, Yap does not.


Other information that might be useful:
  1. I run on Win 7
  2. Miktex 2.9 (several minutes ago downloaded from the newest mirror)
  3. ghostscript and ghostview (newest)
  4. Led (the newest)
  5. ledconfig.jpg
    ledconfig.jpg (120.61 KiB) Viewed 20760 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?

Post by CrazyHorse »

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?

Post by yoyoimut »

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