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.
Can you please attach the generated dvi files for the two documents above?
Created attachment 35859 [details] DVI output of example-1.tex Output of latex example-1.tex for the source \documentclass[a4paper,12pt]{book} \usepackage{pstricks} \begin{document} Hello \vspace{19.5cm} End of the page {\green Green ?} Au revoir. \end{document}
Created attachment 35860 [details] DVI output of example-2.tex output by latex example-2.tex of \documentclass[ \usepackage{ams \usepackage{ams \usepackage{pst \newtheoremstyl {9pt}{9 {\green {}% {\bfser {0pt}% {}% \theoremstyle{P \newtheorem{hum \begin{document Hello \vspace{19.5cm} End of the page \begin{hum} This text s \end{hum} Au revoir. \end{document}
I can confirm this bug. Using KDE 4.4 RC2. Will add my own minimal example.
Created attachment 40333 [details] minimal example - tex file
Created attachment 40334 [details] minimal example - dvi file
I will also paste my LaTeX code here. As you can see, I only use the pacakge dvips. --------------------------------------- \documentclass{article} \usepackage[dvips]{color} \begin{document} \vspace*{18cm} \color{blue} This coloured text is split in two pages In the second page all colour is lost. This coloured text is split in two pages In the second page all colour is lost. This coloured text is split in two pages In the second page all colour is lost. This coloured text is split in two pages In the second page all colour is lost. \end{document}
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.