[Okular-devel] [Bug 164900] New: Okular omits pstricks figures in DVI-Files
Andreas Kern
Kern.Schatten at gmx.net
Wed Jun 25 09:25:27 CEST 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=164900
Summary: Okular omits pstricks figures in DVI-Files
Product: okular
Version: 0.6.5
Platform: Fedora RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: okular-devel kde org
ReportedBy: Kern.Schatten gmx net
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.
More information about the Okular-devel
mailing list