[Top][All Lists]

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

[Bug-AUCTeX] rel-0-9-1; color-theme.el PDFLaTeX vs LaTeX

From: Patrick Drechsler
Subject: [Bug-AUCTeX] rel-0-9-1; color-theme.el PDFLaTeX vs LaTeX
Date: Tue, 05 Apr 2005 22:16:50 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Remember to cover the basics.  Including a minimal LaTeX example
file exhibiting the problem might help.

Just a small problem.

Here's the minimal example:

some text.

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 

My default compilation mode is PDFLaTeX - set via customize: 

| (custom-set-variables
|   ;; custom-set-variables was added by Custom.
|   ;; If you edit it by hand, you could mess it up, so be careful.
|   ;; Your init file should contain only one such instance.
|   ;; If there is more than one, they won't work right.
|  '(LaTeX-math-menu-unicode nil)
|  '(TeX-PDF-mode t)
| ;; [...]
|  '(show-paren-mode t nil (paren)))

I also use color-theme.el (Version 6.4.2). My display setup has a
dark background color and a light font color. I've used the theme
"gnome2" for this example and included in my ~/.emacs:

,----[ ~/.emacs ]
| (require 'color-theme)
| (if window-system (color-theme-gnome2))

To reproduce the error:

1. Create a new directory including the above snipplet as a new
   *.tex file.

2. `C-c C-t C-p' into LaTeX-mode (if it's not default).

3. Run `C-c C-c' twice (LaTeX).

4. Preview with `C-c C-p C-b'. This results in image
   "PDpreview_latex.png" (see attachment).

5. Delete everything but the *.tex file.

6. Just to be on the safe side: Close Emacs and start a new

7. Open the *.tex file and switch to PDFLaTeX-mode using `C-c C-t

8. Repeat steps 3 and 4. I end up with the image shown in
   "PDpreview_pdflatex.png" (wrong colors).

If you need more information about my setup do not hesitate to

The color-theme I'm using in practice (customized...) has a much
darker color making it close to impossible to read. That is why I
used "gnome2" for the example.

Besides this small flaw I'm a happy camper and would like to
thank the AUCTeX/Preview-LaTeX team for their great work!



Emacs  : GNU Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-03-25 on trurl
Package: rel-0-9-1

current state:

Output from running `gs -h':
ESP Ghostscript 7.05.6 (2003-02-05)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
   x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 x11mono
   x11rg16x x11rg32x appledmp iwhi iwlo iwlq t4693d2 t4693d4 t4693d8 tek4696
   ap3250 dmprt epson eps9mid eps9high epsonc lp8000 lq850 st800 stcolor
   photoex escp escpc escpage lp8800c lp8300c lp8500c lp3000c lp8200c
   lp8000c alc2000 alc4000 alc8500 lp2000 lp2200 lp9400 lp8900 lp8700 lp8100
   lp7700 lp8600f lp8400f lp8300f lp1900 lp9600s lp9300 lp9600 lp8600 lp1800
   epl5800 epl5900 epl2050 epl2050p epl2120 mj700v2c mj500c mj6000c mj8000c
   hl1250 hl1240 hl7x0 samsunggdi atx23 atx24 atx38 coslw2p coslwxl cdeskjet
   cdjcolor cdjmono cdj500 cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdj1600
   chp2200 deskjet djet500 djet500c dnj650c djet820c paintjet pj pjetxl pjxl
   pjxl300 dj505j picty180 laserjet ljet2p ljet3 ljet3d ljet4 ljet4pjl
   lj4dithp lj3100sw ljet4d lj4dith ljetplus lj5mono lj5gray cljet5 cljet5c
   cljet5pr declj250 lj250 dl2100 fs600 bj10e bj10v bj10vh bj200 bjcmono
   bjcgray bjccmyk bjccolor bjc600 bjc800 bjc880j lips2p lips3 lips4 lips4v
   lbp8 lbp310 lbp320 lxm5700m lxm3200 lex7000 lex5700 lex3200 lex2050 fmpr
   fmlbp md50Mono md50Eco md1xMono md2k md5k la50 la70 la75 la75plus ln03
   lp2563 ccr cp50 ibmpro imagen jetp3852 m8510 necp6 npdl pr201 pr150
   pr1000 pr1000_4 oce9050 oki182 oki4w okiibm ml600 r4081 rpdl sj48 jj100
   xes pbm pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw
   pksm pksmraw plan9bm inferno dfaxhigh dfaxlow faxg3 faxg32d faxg4 cfax
   bff tiffcrle tiffg3 tiffg32d tiffg4 tiff12nc tiff24nc tifflzw tiffpack
   psmono psgray psrgb bbox bit bitrgb bitcmyk sunhmono mgrmono mgrgray2
   mgrgray4 mgrgray8 mgr4 mgr8 cgmmono cgm8 cgm24 cif jpeg jpeggray miff24
   pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pcx2up pngmono pnggray png16
   png256 png16m pnga sgirgb mag16 mag256 bmpmono bmpgray bmpsep1 bmpsep8
   bmp16 bmp256 bmp16m bmp32b bmpamono bmpa16 bmpa16m bmpa256 bmpa32b
   bmpasep1 bmpasep8 pdfwrite pswrite epswrite pxlmono pxlcolor ijs cups
   omni uniprint pcl3 hpdjplus hpdjportable hpdj310 hpdj320 hpdj340 hpdj400
   hpdj500 hpdj500c hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600
   hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c
   hpdj1120c hpdj stp nullpage
Search path:
   . : /usr/share/ghostscript/7.05/lib : /usr/share/ghostscript/fonts
For more information, see /usr/share/ghostscript/7.05/doc/Use.htm.
Report bugs to address@hidden, using the form in Bug-form.htm.

 AUC-TeX-version "11.55"
 LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
 image-types '(png gif tiff jpeg xpm xbm pbm postscript)
 preview-image-type 'png
 preview-image-creators '((dvipng
                           (open preview-gs-open
                           (place preview-gs-place)
                           (close preview-dvipng-close))
                          (png (open preview-gs-open) (place
                           (close preview-gs-close))
                          (jpeg (open preview-gs-open)
                           (place preview-gs-place) (close
                          (pnm (open preview-gs-open) (place
                           (close preview-gs-close))
                          (tiff (open preview-gs-open)
                           (place preview-gs-place) (close
 preview-dvipng-image-type 'png
 preview-dvipng-command "dvipng -picky -noghostscript %d -o 
 preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
 preview-gs-command "gs"
 preview-gs-options '("-q" "-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS"
                      "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4")
 preview-gs-image-type-alist '((png png "-sDEVICE=png16m")
                               (dvipng png "-sDEVICE=png16m")
                               (jpeg jpeg "-sDEVICE=jpeg")
                               (pnm pbm "-sDEVICE=pnmraw")
                               (tiff tiff "-sDEVICE=tiff12nc"))
 preview-fast-conversion t
 preview-prefer-TeX-bb nil
 preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
 preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
 preview-scale-function 'preview-scale-from-face
 preview-LaTeX-command '("%l
                         ("," . preview-required-option-list)
preview-default-preamble "\\fi}\\input{%t}\"")
 preview-required-option-list '("active" "tightpage" "auctex")
 preview-default-option-list '("displaymath" "floats" "graphics"
                               "sections" "footnotes")
 preview-default-preamble '("\\RequirePackage["
                            ("," . preview-default-option-list)
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
                             ("\\`\\([^ ]+\\)\\(\\( -\\([^
 \"]\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini \"&\\1\" "
 preview-format-name ".ini \\5")
 preview-undump-replacements '(("\\`\\([^ ]+\\)\\(\\( -\\([^
 \"]\\|\"[^\"]*\"\\)*\\)*\\).*\\input{\\([^}]*\\)}.*\\'" "\\1 \"&"
 preview-format-name "\" \\5")
 preview-auto-cache-preamble 'ask

Attachment: PDpreview_latex.png
Description: PNG image

Attachment: PDpreview_pdflatex.png
Description: PNG image

reply via email to

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