rel-0-8-1; Default options are always used, even when package is loaded
Frank Küster <[email protected]> Mon, 21 Feb 2005 14:53:40 +0100
| Newsgroups | gmane.emacs.latex.preview.devel |
|---|---|
| Message-ID | <E1D3E0K-0002WM-00__35948.1547297493$1108997375$gmane$org@alhambra.kuesterei.ch> |
Remember to cover the basics. Including a minimal LaTeX example
file exhibiting the problem might help.
I am working on a large, multifile document. In the master file,
preview.sty is called just before \begin{document}:
,----
| %% Preview
| \usepackage[footnotes,graphics,floats,textmath,displaymath]{preview}
| \PreviewEnvironment[{[]{}}]{tabular}
| \PreviewEnvironment[{[]{}{}}]{tabularx}
| \PreviewEnvironment[{}{}]{dilution}
| \PreviewEnvironment[{}{}]{buffer}
| % always load preview last!
|
|
| \begin{document}
`----
After this, a couple of files are \include'd, and the first of these
consists mainly of \input commands.
I am actually working on one of the \input' files, and
preview-document (or preview-buffer) tries to render sectioning
commands. This doesn't work (I don't complain about that; I'm using
non-standard sectioning commands here, from my labook.cls), but it
shouldn't occur with
\usepackage[footnotes,graphics,floats,textmath,displaymath]{preview}
What seems to happen is that preview-latex uses the Default Option
list although the package is loaded.
This used to work before; I think it simply didn't try to render my
sectioning commands, but I am not sure about that - perhaps it tried
and succeeded.
Regards, Frank
Emacs : GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-02-04 on trouble, modified by Debian
Package: rel-0-8-1
current state:
==============
Output from running `gs -h':
GPL Ghostscript 8.01 (2004-01-30)
Copyright (C) 2004 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 PostScriptLevel3 PDF
Available devices:
x11 x11alpha x11cmyk x11gray2 x11gray4 x11mono bmpmono bmpgray bmpsep1
bmpsep8 bmp16 bmp256 bmp16m bmp32b deskjet djet500 laserjet ljetplus
ljet2p ljet3 ljet3d ljet4 ljet4d lj5mono lj5gray cdeskjet cdjcolor
cdjmono cdj550 pj pjxl pjxl300 uniprint ijs bj10e bj200 bjc600 bjc800
faxg3 faxg32d faxg4 pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pbm
pbmraw pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw pksm
pksmraw tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack tiff12nc
tiff24nc psmono psgray psrgb bit bitrgb bitcmyk png16m pnggray pngmono
png256 png16 jpeg jpeggray pdfwrite pswrite epswrite pxlmono pxlcolor
bbox ap3250 appledmp cdj500 cfax cif cljet5 cljet5pr declj250 dfaxhigh
dfaxlow djet500c dnj650c eps9mid eps9high epson epsonc escp hl7x0 ibmpro
imagen iwhi iwlo iwlq jetp3852 lbp8 lj3100sw lp8000 lq850 lips3 lj250
lj4dith lp2563 m8510 miff24 necp6 oce9050 plan9bm oki182 okiibm paintjet
pjetxl r4081 sj48 st800 stcolor t4693d2 t4693d4 t4693d8 tek4696 gdi stp
cljet5c spotrgb spotcmyk devicen xcf nullpage
Search path:
. : /usr/share/gs-gpl/8.01/lib : /usr/share/gs-gpl/fonts :
/var/lib/defoma/gs.d/dirs/fonts : /usr/share/fonts/type1 :
/usr/share/ghostscript/fonts : /usr/local/lib/ghostscript/fonts
For more information, see /usr/share/doc/gs-gpl/Use.htm.
Report bugs to [email protected], using the form in Bug-form.htm.
(setq
AUC-TeX-version "11.55"
LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
image-types '(png gif tiff jpeg xpm pbm postscript xbm)
preview-image-type 'png
preview-image-creators '((postscript (open preview-eps-open) (place preview-eps-place))
(dvipng (open preview-dvipng-open) (place preview-gs-place) (close preview-dvipng-close))
(png (open preview-gs-open png ("-sDEVICE=png16m")) (place preview-gs-place)
(close preview-gs-close))
(jpeg (open preview-gs-open jpeg ("-sDEVICE=jpeg")) (place preview-gs-place)
(close preview-gs-close))
(pnm (open preview-gs-open pbm ("-sDEVICE=pnmraw")) (place preview-gs-place)
(close preview-gs-close))
(tiff (open preview-gs-open tiff ("-sDEVICE=tiff12nc")) (place preview-gs-place)
(close preview-gs-close))
)
preview-gs-command "gs"
preview-gs-options '("-q" "-dSAFER" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4"
"-dGraphicsAlphaBits=4")
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 \"\\nonstopmode\\PassOptionsToPackage{" ("," . preview-required-option-list)
"}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-default-preamble
"\\fi}\\input{%t}\"")
preview-required-option-list '("active" "tightpage" "auctex")
preview-default-option-list '("displaymath" "floats" "graphics" "textmath" "sections" "footnotes")
preview-default-preamble '("\\RequirePackage[" ("," . preview-default-option-list) "]{preview}")
preview-LaTeX-command-replacements nil
preview-dump-replacements '(preview-LaTeX-command-replacements
("\\`\\(e?\\(pdf\\)?e?\\(la\\)?tex\\)\\(\\( -\\([^ \"]\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'"
"\\1 -ini \"&\\1\" " preview-format-name ".ini \\7")
)
preview-undump-replacements '(("\\`\\(e?\\(pdf\\)?e?\\(la\\)?tex\\)\\(\\( -\\([^ \"]\\|\"[^\"]*\"\\)*\\)*\\).*\\input{\\([^}]*\\)}.*\\'" "\\1 \"&" preview-format-name "\" \\7")
)
preview-auto-cache-preamble t
)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
preview-latex-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click