LaTeX forum ⇒ LEdPSTricks 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?

Postby yoyoimut » Tue Nov 30, 2010 6:23 am

The following link does not help me, so I create a new one.
viewtopic.php?f=45&t=9440&hilit=LED+pstricks&start=10



I have a minimal code as follows:

  1. \documentclass[dvipsnames]{article}
  2.  
  3.  
  4. \usepackage{pstricks,lipsum}
  5.  
  6. \begin{document}
  7.  
  8. \section{Test}
  9. \lipsum[1]
  10.  
  11. \fbox{%
  12. \begin{pspicture}(4,4)
  13. \psline{->}(3,3)
  14. \end{pspicture}}
  15.  
  16. \end{document}


and the output :

ledpstricksproblem.jpg
ledpstricksproblem.jpg (20.16 KiB) Viewed 4308 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.

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

Postby CrazyHorse » Tue Nov 30, 2010 9:10 am

yoyoimut wrote:The following link does not help me, so I create a new one.
viewtopic.php?f=45&t=9440&hilit=LED+pstricks&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

Postby yoyoimut » Tue Nov 30, 2010 10:45 am

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 4303 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 4288 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

Postby CrazyHorse » Tue Nov 30, 2010 3:01 pm

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

Postby yoyoimut » Fri Dec 03, 2010 9:18 am

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


Return to “LEd”

Who is online

Users browsing this forum: No registered users and 1 guest