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: Re: M-x tex-print eliminates colors Date: Tue, 20 Feb 2007 02:21:54 GMT Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171939267 11850 80.91.229.12 (20 Feb 2007 02:41:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2007 02:41:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 20 03:41:01 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 1HJKw7-00035t-LE for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Feb 2007 03:40:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJKw6-0006ow-QR for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Feb 2007 21:40:58 -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:NYBkAJdr4NNtnWg1RZ3tc5Y7i3g= Original-Lines: 49 Original-NNTP-Posting-Host: 141.154.35.40 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: trndny04 1171938114 141.154.35.40 (Mon, 19 Feb 2007 21:21:54 EST) Original-NNTP-Posting-Date: Mon, 19 Feb 2007 21:21:54 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:145733 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:41337 Archived-At: Joe Fineman 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. :||