[Okular-devel] [Bug 202612] New: (DVI) no pstricks color at top of a page
Laurent Claessens
moky.math at gmail.com
Wed Aug 5 13:01:30 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=202612
Summary: (DVI) no pstricks color at top of a page
Product: okular
Version: unspecified
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: okular-devel at kde.org
ReportedBy: moky.math at gmail.com
Version: 4.3 (using KDE 4.3.0)
OS: Linux
Installed from: Ubuntu Packages
When I use the command \green (or whatever color) for a text which appears at
the top of a page, okular prints it in black.
Example :
------------ example-1.tex -----------
\documentclass[a4paper,12pt]{book}
\usepackage{pstricks}
\begin{document}
Hello
\vspace{19.5cm}
End of the page
{\green Green ?}
Au revoir.
\end{document}
----------- end of example-1.tex ----------
The text "Green ?" appears in black. If I remove the \vspace, everithing is
correct.
I have a strange example-2.tex. If I put my text in a theorem environment, the
word "theorem" appears in green, but not the text.
------------ example-2.tex -----------
\documentclass[a4paper,12pt]{book}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{pstricks}
\newtheoremstyle{PourLesCouleurs}%
{9pt}{9pt}%
{\green}%
{}%
{\bfseries}{}%
{0pt}%
{}%
\theoremstyle{PourLesCouleurs}
\newtheorem{hum}{Theorem}
\begin{document}
Hello
\vspace{19.5cm}
End of the page
\begin{hum}
This text should be in green.
\end{hum}
Au revoir.
\end{document}
----------- end of example-1.tex ----------
The word "Theorem 1" is in green, but not the text.
In both cases, compiling with pdflatex and opening (with okular) the pdf file
works.
I think that the bug is from okular because I do not have that problem with
Evince.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Okular-devel
mailing list