From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Fineman Newsgroups: gmane.emacs.help Subject: M-x tex-print eliminates colors Date: Thu, 15 Feb 2007 01:29:30 GMT Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171503674 7105 80.91.229.12 (15 Feb 2007 01:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Feb 2007 01:41:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 15 02:41:07 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HHVcQ-0001lL-NA for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Feb 2007 02:41:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHVcQ-00046E-B5 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Feb 2007 20:41:06 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!130.81.64.211.MISMATCH!cycny01.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny04.POSTED!099a252d!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:AIa1zaU5RXlFl8ahMnOiMKg/f+I= Original-Lines: 79 Original-NNTP-Posting-Host: 68.162.238.190 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: trndny04 1171502970 68.162.238.190 (Wed, 14 Feb 2007 20:29:30 EST) Original-NNTP-Posting-Date: Wed, 14 Feb 2007 20:29:30 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:145620 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41226 Archived-At: 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 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' -> <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. . [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. :||