Graphics, Figures & Tablespstricks graphics won't show

Information and discussion about graphics, figures & tables in LaTeX documents.
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

pstricks graphics won't show

Post by ghostanime2001 »

When I install a basic miktex and I compile my code everything works perfectly with xelatex. However after I install all the packages and updates and refresh the FNDB database and update formats and then re-compile my code i can't see my graphics anymore. I have --enable-write18 and -shell-escape enabled for pdflatex. Why does it not compile after installing all packages and updates but works perfectly with basic miktex ?

Code: Select all

\documentclass{article}
\usepackage{pstricks}
\pagestyle{empty}
\begin{document}
\psgrid[gridwidth=1pt,subgridwidth=0.1pt,subgriddiv=4](-3,-3)(3,3)
\rput[b]{0}(3,2){C}
\multirput{0}(0,0)(0.25,0.25){5}{x}
\uput{2pt}[0]{0}(3,2){a}
\uput{4pt}[dr]{0}(1,1){o}
\end{document}
Last edited by ghostanime2001 on Tue Nov 20, 2012 10:50 pm, edited 3 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

pstricks graphics won't show

Post by cgnieder »

Do you get any warnings or other hints in the log file? Have you checked that the right packages are loaded (by putting \listfiles to your preamble)?

Regards
site moderator & package author
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: pstricks graphics won't show

Post by ghostanime2001 »

I have uploaded .log file
Attachments
tutorial.log
(7.02 KiB) Downloaded 319 times
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: pstricks graphics won't show

Post by ghostanime2001 »

I have now loaded auto-pst-pdf package and -shell-escape arguement to pdflatex and re-compiled my code and still can't see any graphics.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Re: pstricks graphics won't show

Post by cgnieder »

This is strange... Comparing your log file to mine I can see no apparent differences. The output looks fine on my side... I'm out of ideas. Could it be your PDF viewer?

Regards
site moderator & package author
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: pstricks graphics won't show

Post by ghostanime2001 »

I am using Adobe Acrobat 11 (XI) it is already on the adobe website.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: pstricks graphics won't show

Post by Stefan Kottwitz »

Try a different reader or post your pdf here as attachment.

Stefan
LaTeX.org admin
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: pstricks graphics won't show

Post by ghostanime2001 »

adobe reader 11 ? or should I use one of adobe reader/acrobat 10 ?
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: pstricks graphics won't show

Post by ghostanime2001 »

I have attached my PDF file.
Attachments
tutorial.pdf
(2.31 KiB) Downloaded 270 times
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

pstricks graphics won't show

Post by ghostanime2001 »

I uninstalled acrobat XI and installed reader XI and it worked! (windows 7 test only!) I don't know why... Do your code compile with acrobat XI ?
Post Reply