help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

M-x tex-print eliminates colors


From: Joe Fineman
Subject: M-x tex-print eliminates colors
Date: Thu, 15 Feb 2007 01:29:30 GMT
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

I am running Emacs 21.3.1 and LaTeX 2e under Windows XP (for dummies
%^).  When I run the .tex file

----------------------------------------------------------------------
\documentclass[10pt]{article}
\usepackage{newcent}
\usepackage[dvips]{graphics,lscape,color}
\usepackage{newcent}
\pagestyle{empty}
\setlength{\oddsidemargin}{0in}
\setlength{\topmargin}{0in}
\setlength{\textheight}{9.5in}
\setlength{\textwidth}{7in}
\begin{document}
\setlength{\baselineskip}{.1667in}
\noindent
black \textcolor{red}{red} \textcolor{green}{green}
\textcolor{blue}{blue} black
\end{document}
----------------------------------------------------------------------

from the Emacs shell and look at the resulting .dvi file with Yap, the
appropriate colors appear.  When I print it from the Yap window on my
hp all-in-one, the colors appear in the printout.

When I run it using M-x tex-buffer, the colors likewise appear in the
.dvi file as viewed in Yap.  However, when I follow that up with M-x
tex-print, the resulting printout is black & white, except that the
green word appears gray.  Also, the line appears about 18 mm higher on
the page.

tex-dvi-print-command's value is 
"dvips -f * | gsprint - "

Here is the relevant stretch of the *tex-shell* buffer:
----------------------------------------------------------------------
C:\usr\own\f\tex>latex "\nonstopmode\input" _TZ_3224-OEMCOMPUTER.tex
latex "\nonstopmode\input" _TZ_3224-OEMCOMPUTER.tex
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
LaTeX2e <2003/12/01>
Babel <v3.8a> and hyphenation patterns for english, french, german, ngerman, du
mylang, nohyphenation, loaded.

(_TZ_3224-OEMCOMPUTER.tex (C:\texmf\tex\latex\base\article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(C:\texmf\tex\latex\base\size10.clo)) (C:\texmf\tex\latex\psnfss\newcent.sty)
(C:\texmf\tex\latex\graphics\graphics.sty (C:\texmf\tex\latex\graphics\trig.sty
) (C:\texmf\tex\latex\00miktex\graphics.cfg)
(C:\texmf\tex\latex\graphics\dvips.def))
(C:\texmf\tex\latex\graphics\lscape.sty) (C:\texmf\tex\latex\graphics\color.sty
(C:\texmf\tex\latex\00miktex\color.cfg)
(C:\texmf\tex\latex\graphics\dvipsnam.def))
No file _TZ_3224-OEMCOMPUTER.aux.
(C:\texmf\tex\latex\psnfss\ot1pnc.fd) [1] (_TZ_3224-OEMCOMPUTER.aux) )
Output written on _TZ_3224-OEMCOMPUTER.dvi (1 page, 412 bytes).
Transcript written on _TZ_3224-OEMCOMPUTER.log.

C:\usr\own\f\tex>dvips -f c:/usr/own/f/tex/_TZ_3224-OEMCOMPUTER.dvi | gsprint - 
&
dvips -f c:/usr/own/f/tex/_TZ_3224-OEMCOMPUTER.dvi | gsprint - &
This is dvips(k) 5.94b Copyright 2004 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.02.14:1056' -> 
<tex.pro><8r.enc>AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
<texps.pro><special.pro><color.pro>. [1] Loading CenturySchL-Roma font from 
C:\gs\fonts/c059013l.pfb... 2273176 855818 1617480 329009 1 done.

Copyright (C) 2003, Ghostgum Software Pty Ltd.  All Rights Reserved.
2003-09-03 gsprint 1.6
Page 1, PRINT
----------------------------------------------------------------------

Is there a remedy for this behavior?  Thank you for your attention.
-- 
---  Joe Fineman    joe_f@verizon.net

||:  The doctorate, which once meant you could start teaching,  :||
||:  now means you can stop learning.                           :||



reply via email to

[Prev in Thread] Current Thread [Next in Thread]