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: Re: M-x tex-print eliminates colors
Date: Tue, 20 Feb 2007 02:21:54 GMT	[thread overview]
Message-ID: <u3b51y3ek.fsf@verizon.net> (raw)
In-Reply-To: uire4mcoa.fsf@verizon.net

Joe Fineman <joe_f@verizon.net> writes:

> 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 - "

FWIW, I have happened on the answer.  The problem is not in TeX, but
deep down in gsprint, which needs to be told to accept colors:

"dvips -f * | gsprint -color - "

So much for that.  But colors in .jpg & .eps files still do not make
it thru \includegraphics.  So I may be back.
-- 
---  Joe Fineman    joe_f@verizon.net

||:  The regnant bitch permits no comment on her:    :||
||:  Once it was Sex, then Death, and now Dishonor.  :||

      parent reply	other threads:[~2007-02-20  2:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15  1:29 M-x tex-print eliminates colors Joe Fineman
2007-02-15  9:57 ` 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 [this message]

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=u3b51y3ek.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).