Bug 164900 - Okular omits pstricks figures in DVI-Files
Summary: Okular omits pstricks figures in DVI-Files
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: DVI backend (show other bugs)
Version: 0.6.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 09:25 UTC by Andreas Kern
Modified: 2008-07-15 00:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kern 2008-06-25 09:25:26 UTC
Version:           0.6.5 (using KDE 4.0.5)
Installed from:    Fedora RPMs
OS:                Linux

Figures created with PSTricks in Latex are not shown if Okular displays the DVI-file directly.

Using dvipdf to convert dvi->pdf and displaying the resulting pdf shows the figure correctly.

Reproduction:
1. Create a simple tex-document:
==================================
\documentclass[a4paper,10pt]{report}
\usepackage{pstricks}
\begin{document}
\begin{pspicture}(6,6)
  %% Triangle in red:
  \psline[linecolor=red](1,1)(5,1)(1,4)(1,1)
  %% Bezier curve in green:
  \pscurve[linecolor=green,linewidth=2pt,%
    showpoints=true](5,5)(3,2)(4,4)(2,3)
  %% Circle in blue with radius 1:
  \pscircle[linecolor=blue,linestyle=dashed](3,2.5){1}
\end{pspicture}
\end{document}
=====================================

2. compile using latex (e.g. kile: ALT+2)

3. Display DVI-File in Okular -> The page is empty

4. Invoke "dvipdf $whatever$.dvi" from the commandline

5. Display PDF-File in Okular -> Figure is shown.


KDVI was able to show those figure correctly, i think this feature is not only useful but also required für Okular, as long as KDVI is omitted from KDE4.
Comment 1 Luigi Toscano 2008-07-15 00:32:34 UTC
SVN commit 832544 by ltoscano:

Backport of r832543

Correctly intercept standard output.
Thanks, Pino!

CCBUG: 164900



 M  +1 -0      dviRenderer_prescan.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=832544
Comment 2 Luigi Toscano 2008-07-15 00:33:06 UTC
SVN commit 832545 by ltoscano:

Backport of r832543

Correctly intercept standard output.
Thanks, Pino!

CCBUG: 164900



 M  +1 -0      dviRenderer_prescan.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=832545
Comment 3 Pino Toscano 2008-07-15 00:39:01 UTC
Luigi committed the fix also in trunk, see:
http://websvn.kde.org/?view=rev&revision=832543