unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joe Fineman <joe_f@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: M-x tex-print eliminates colors
Date: Thu, 15 Feb 2007 01:29:30 GMT	[thread overview]
Message-ID: <uire4mcoa.fsf@verizon.net> (raw)

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	other threads:[~2007-02-15  1:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15  1:29 Joe Fineman [this message]
2007-02-15  9:57 ` M-x tex-print eliminates colors Peter Dyballa
2007-02-16 19:34 ` Peter Dyballa
     [not found] ` <mailman.4629.1171654458.2155.help-gnu-emacs@gnu.org>
2007-02-17  1:59   ` Joe Fineman
2007-02-20  2:21 ` Joe Fineman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uire4mcoa.fsf@verizon.net \
    --to=joe_f@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).