thomas | 27 Jan 00:24
Picon
Gravatar

11.86; correct "--engine" setup/customization to generate pdf output with ConTeXt

--=-=-=
Content-Type: text/plain

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report. In addition check if the bug is reproducable with an
up-to-date version of AUCTeX. So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.

If the bug is triggered by a specific (La)TeX file, you should try
to produce a minimal sample file showing the problem and include it
in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

I tried to set the variable ConTeXt-engine  to "pdftex" nil or 'pdftex 
with no success.

the context-buffer:

--=-=-=
Content-Type: text/plain
Content-Disposition: inline
Content-Description: context-source

\starttext
(Continue reading)

Uwe Siart | 11 Jan 15:54
Picon

2011-09-18; setspace support throws error


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  In addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.

If the bug is triggered by a specific (La)TeX file, you should try
to produce a minimal sample file showing the problem and include it
in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------
When I find a document that includes "\usepackage{setspace}" I get the
error

,----
| Wrong type argument: stringp, quote
`----

To reproduce the error simply find a file containing

\documentclass{minimal}
\usepackage{setspace}
\begin{document}
\end{document}

(Continue reading)

XeCycle | 30 Dec 07:10
Picon

preview-1.286; Foreground always black with XeLaTeX


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

When TeX-engine set to xelatex, foreground color fixed to black.

Steps to reproduce:

1. Start emacs with -q (Confirmed with both Emacs 24 and 23)

2. M-x set-background-color to black and M-x set-foreground-color
   to white

3. Evaluate these AUCTeX loading configuration:

--8<---------------cut here---------------start------------->8---
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(setq TeX-engine-alist
      '((xelatex "XeLaTeX" "xetex" "xelatex" "xelatex")))
(add-hook 'LaTeX-mode-hook
          '(lambda ()
             (setq TeX-engine 'xelatex)))
--8<---------------cut here---------------end--------------->8---

4. Find an arbitrary LaTeX document, and C-c C-p C-d.

Also found that if I don't set TeX-engine to xelatex as above,
color is fine.  And I tried using the builtin 'xetex engine,
foreground color is also black.
(Continue reading)

sam sirlin | 27 Dec 08:55
Picon
Favicon

11.86; auctex/preview menu broken with emacs 23.3

auctex is much appreciated, however I've found an annoying bug with recent emacs.

I have a simple .emacs file with:

  (setq debug-on-error t)
  (load "auctex.el" nil t t)
  ;(setq TeX-auto-save t)
  ;(setq TeX-parse-self t)
  ;(setq-default TeX-master nil)
  (load "preview-latex.el" nil t t)

Then

1. start emacs on any .tex file
    note the LaTeX pull-down menu works fine
2. load some other program file in another window, e.g.
    ^x 5 f file.m
    now the LaTeX pull-down menu is not functional -- still there, but
    nothing in it. The same thing happens to the Command pull-down menu,
    however the other menus (including Preview) are not affected.

This happens on linux, freebsd.

This does not happen with emacs 23.2.

The file do have to be opened in different windows to see the bug.

Rather than a matlab file.m (emacs things obj-c) file, a file.c also
has the same effect. In fact even opening another .tex file triggers
the problem in the original file, though the new one is ok.
(Continue reading)

劉世家 | 26 Dec 04:07
Picon

11.86; I report this bug


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  In addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.

If the bug is triggered by a specific (La)TeX file, you should try
to produce a minimal sample file showing the problem and include it
in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------
there is preview and command in menu bar, but the preview don't work,
when I try the preview(the menu bar botton),it shows the a forbidden
mark(red circle white line)the "$balabalabala$" just disappares, and
right click the forbidden mark chose "show error" it says this:
Please help me solve this problem. And Merry Xmars.

Emacs  : GNU Emacs 23.3.1 (x86_64-apple-darwin10.7.0, NS apple-appkit-1038.35)
of 2011-04-20 on s210-2.pubnet.titech.ac.jp
Package: 11.86

current state:
==============
(setq
AUCTeX-date "2010-02-21"
(Continue reading)

Damien Cassou | 16 Dec 22:49
Picon
Gravatar

2011-09-18; wrong-type-argument sequencep 1

Hi,

Evaluating (comment-padright "%" 0) in a LaTeX file triggers a
"wrong-type-argument sequencep 1". This only happens if AUCTeX is
loaded. Reproducing in a clean environment is trivial (at least in Emacs 24):

1) Create a ~/tmp/main.tex file with:
=======================
\documentclass{article}

\begin{document}

\end{document}
=======================

2) Create a ~/tmp/test.el file with:
=======================
(load "/usr/share/emacs/24.0.92/lisp/newcomment.el.gz")
(add-to-list 'load-path "~/.emacs.d/el-get/auctex")
(load "auctex.el" nil t t)
(find-file "~/tmp/main.tex")
(toggle-debug-on-error)
(message "%s" (comment-padright "%" 0))
=======================

3) launch emacs with:

$ emacs -Q --eval '(load "~/test.el")'

Some more information follows.
(Continue reading)

Peter Dalgaard | 23 Nov 11:16
Picon
Favicon

11.86; Vertical bars and fontification

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

(System info below.) 

Apologies if it is a config error at my end, but I've done a fair share of searching, and I can't find anything.
The only thing I have out of the ordinary is (I think)

 '(LaTeX-babel-hyphen-after-hyphen nil)
 '(LaTeX-verbatim-environments (quote ("verbatim" "verbatim*" "vcode")))

In a nutshell,

\documentclass{article}

\begin{document}
\begin{tabular}{|c|c|}%|

\end{tabular}
\end{document}

I'm getting this fontified as if the vertical bars were delimiting verbatim text. If I leave off the %|, I get
the rest of the file fontified to Courier which quite counterproductive (or was, until I found the
workaround). 

---------

Be sure to consult the FAQ section in the manual before submitting
a bug report.  In addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So please upgrade to the version
(Continue reading)

Bob Floyd | 7 Nov 20:45
Picon

LaTeX found no preview images

Hi,

 

I'm new to AUCTeX so I'm trying to figure out what it's doing at the same time as learning it.

 

What I'm doing:

  1. In Emacs, I Mark a region in my source file

  2. From the menus: Preview -> for Region

What happens:

   3. THE MESSAGE: LaTeX found no preview images

 

Attached are the "_region_" files - they appear to be Ok??

Below is the output of "ESC-x preview-report-bug".

 

Hope you can suggest something!

 

Bob

 

------------------------------------------------------------------------------------------------------------

 

Emacs  : GNU Emacs 23.3.1 (i386-mingw-nt6.1.7601)

of 2011-03-07 on 3249CTO

Package: 11.86

 

current state:

==============

(setq

AUCTeX-version "11.86"

LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))

image-types '(png gif tiff jpeg xpm xbm pbm)

preview-image-type 'png

preview-image-creators '((dvipng

                                                   (open preview-gs-open preview-dvipng-process-setup)

                                                   (place preview-gs-place)

                                                   (close preview-dvipng-close))

                                                  (png (open preview-gs-open) (place preview-gs-place)

                                                   (close preview-gs-close))

                                                  (jpeg (open preview-gs-open)

                                                   (place preview-gs-place) (close preview-gs-close))

                                                  (pnm (open preview-gs-open) (place preview-gs-place)

                                                   (close preview-gs-close))

                                                  (tiff (open preview-gs-open)

                                                   (place preview-gs-place) (close preview-gs-close))

                                                  )

preview-dvipng-image-type 'png

preview-dvipng-command "dvipng -picky -noghostscript %d -o \"%m/prev%%03d.png\""

preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"

preview-gs-command "GSWIN32C.EXE"

preview-gs-options '("-q" "-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted"

                                      "-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 \"\\nonstopmode\\nofiles\\PassOptionsToPackage{"

                                                ("," . preview-required-option-list)

                                                "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-default-preamble "\\fi}\"%' %t")

preview-required-option-list '("active" "tightpage" "auctex"

                                                                (preview-preserve-counters "counters"))

preview-preserve-counters nil

preview-default-option-list '("displaymath" "floats" "graphics" "textmath"

                                                       "sections" "footnotes")

preview-default-preamble '("\\RequirePackage["

                                                    ("," . preview-default-option-list)

                                                    "]{preview}[2004/11/05]")

preview-LaTeX-command-replacements nil

preview-dump-replacements '(preview-LaTeX-command-replacements

                                                     ("\\`\\([^ ]+\\)\\(\\( +-\\([^ \\\\\"]\\|\\\\\\.\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini -interaction=nonstopmode \"&\\1\" " preview-format-name ".ini \\5")

                                                     )

preview-undump-replacements '(("\\`\\([^ ]+\\) .*? \"\\\\input\" \\(.*\\)\\'"

                                                                "\\1 -interaction=nonstopmode \"&"

                                                                preview-format-name "\" \\2")

                                                       )

preview-auto-cache-preamble 'ask

preview-TeX-style-dir "c:/Program Files (x86)/Emacs-23.3.rc2/emacs-23.3.rc2/site-lisp/auctex/latex"

)

 

Output from running `GSWIN32C.EXE -h':

GPL Ghostscript 9.04 (2011-08-05)

Copyright (C) 2011 Artifex Software, Inc.  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

Default output device: display

Available devices:

   bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m bmp256

   bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor cdjmono

   cups declj250 deskjet devicen display djet500 djet500c eps9high eps9mid

   epson epsonc epswrite ibmpro ijs jetp3852 jpeg jpegcmyk jpeggray laserjet

   lbp8 lj250 ljet2p ljet3 ljet3d ljet4 ljet4d ljetplus m8510 mswindll

   mswinpr2 necp6 nullpage pamcmyk32 pamcmyk4 pbm pbmraw pcx16 pcx24b pcx256

   pcxcmyk pcxgray pcxmono pdfwrite pgm pgmraw pgnm pgnmraw pj pjxl pjxl300

   pkmraw plan planc plang plank planm plib plibc plibg plibk plibm png16

   png16m png256 pngalpha pnggray pngmono pngmonod pnm pnmraw ppm ppmraw

   ps2write psdcmyk psdrgb psmono pswrite pxlcolor pxlmono r4081 spotcmyk

   st800 stcolor svg t4693d2 t4693d4 t4693d8 tek4696 tiff12nc tiff24nc

   tiff32nc tiff48nc tiff64nc tiffcrle tiffg3 tiffg32d tiffg4 tiffgray

   tifflzw tiffpack tiffscaled tiffscaled24 tiffscaled8 tiffsep tiffsep1

   txtwrite uniprint

Search path:

   C:\Program Files (x86)\gs\gs9.04\bin ;

   C:\Program Files (x86)\gs\gs9.04\lib ;

   C:\Program Files (x86)\gs\gs9.04\fonts ; %rom%Resource/Init/ ;

   %rom%lib/ ; c:/gs/gs9.04/Resource/Init ; c:/gs/gs9.04/lib ;

   c:/gs/gs9.04/Resource/Font ; c:/gs/fonts

Initialization files are compiled into the executable.

For more information, see c:/gs/gs9.04/doc/Use.htm.

Please report bugs to bugs.ghostscript.com.

Attachment (_region_.dvi): application/octet-stream, 2132 bytes
Attachment (_region_.log): application/octet-stream, 5807 bytes
Attachment (_region_.tex): application/octet-stream, 499 bytes
Attachment (_region_.output): application/octet-stream, 3695 bytes
Andrei Zorine | 3 Nov 09:13
Picon

11.85; double greater sign and font locking problem

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  In addition check if the bug is reproducable with an
up-to-date version of AUCTeX.  So please upgrade to the version
available from http://www.gnu.org/software/auctex/ if your
installation is older than the one available from the web site.

If the bug is triggered by a specific (La)TeX file, you should try
to produce a minimal sample file showing the problem and include it
in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

In my writings I use '<<' and '>>' for quotation marks in accordance with 
Russian typographic tradition. I noticed that font locking fails to parse 
things correctly everithing after the enclosing '>>' inclusive. Please tell me 
how to fix this.

Emacs  : GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.0)
 of 2011-03-04 on yellow, modified by Debian
Package: 11.85

current state:
==============
(setq
 AUCTeX-date "2008-02-10"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto"
		  "/usr/share/emacs/23.1/site-lisp/auctex/style"
		  "/var/lib/auctex/emacs23")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
		     TeX-run-TeX nil
		     (plain-tex-mode texinfo-mode ams-tex-mode) :help
		     "Run plain TeX")
		    ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
		     (latex-mode doctex-mode) :help "Run LaTeX")
		    ("Makeinfo" "makeinfo %t" TeX-run-compile nil
		     (texinfo-mode) :help "Run Makeinfo with Info output")
		    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
		     (texinfo-mode) :help "Run Makeinfo with HTML output")
		    ("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t"
		     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
		    ("ConTeXt" "texexec --once --texutil %(execopts)%t"
		     TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
		    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
		     (context-mode) :help "Run ConTeXt until completion")
		    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
		     "Run BibTeX")
		    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
		    ("Print" "%p" TeX-run-command t t :help "Print the file")
		    ("Queue" "%q" TeX-run-background nil t :help
		     "View the printer queue" :visible TeX-queue-command)
		    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
		     "Generate PostScript file")
		    ("Index" "makeindex %s" TeX-run-command nil t :help
		     "Create index file")
		    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
		     :help "Check LaTeX file for correctness")
		    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
		     t :help "Spell-check the document")
		    ("Clean" "TeX-clean" TeX-run-function nil t :help
		     "Delete generated intermediate files")
		    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
		     "Delete generated intermediate and output files")
		    ("Other" "" TeX-run-command t t :help
		     "Run an arbitrary command")
		    ("MyLaTeX" "pdftex -interaction=nonstopmode \\&mylatex %t"
		     TeX-run-TeX nil (latex-mode) :help
		     "Run LaTeX with custom mylatex.fmt")
		    )
 )

carrion.jose | 22 Oct 01:51
Picon

11.86; Preview background darker than frame background

My preview images appear darker than they should be.  Example:

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\begin{document}
\begin{displaymath}
  a^2 + b^2 = c^2
\end{displaymath} 
\end{document}
--8<---------------cut here---------------end--------------->8---

C-c C-p C-d gives the result: http://tinypic.com/r/2r5g8rk/7

I am using color-theme.el Version: 6.6.0 and I get similar results with
other themes that have non-white backgrounds.  I don't get this behavior
with a white background.

José

Emacs  : GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35)
 of 2011-03-09 on black.porkrind.org
Package: 11.86

Run buffer contents:

Running `Preview-LaTeX' on `test' with ``pdflatex -ini -interaction=nonstopmode "&pdflatex"
prv_test.ini  
"\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}"
"\input" test.tex''
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) (INITEX)
 restricted \write18 enabled.
entering extended mode
(./prv_test.ini
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/local/texlive/2011/texmf-dist/tex/latex/carlisle/mylatex.ltx)
(/usr/local/texlive/2011/texmf-dist/tex/latex/tools/.tex File ignored))
No auxiliary output files.

(./test.tex (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo)) )
Beginning to dump on file prv_test.fmt
 (format=prv_test 2011.10.21)
6605 strings of total length 109497
48490 memory locations dumped; current usage is 219&46653
3612 multiletter control sequences
\font\nullfont=nullfont
\font\OMX/cmex/m/n/5=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m/it/5=cmmi5
\font\OML/cmm/m/it/7=cmmi7
\font\OML/cmm/m/it/10=cmmi10
\font\OMS/cmsy/m/n/5=cmsy5
\font\OMS/cmsy/m/n/7=cmsy7
\font\OMS/cmsy/m/n/10=cmsy10
\font\OT1/cmr/m/n/12=cmr12
\font\OT1/cmr/m/n/8=cmr8
\font\OT1/cmr/bx/n/10=cmbx10
\font\OT1/cmr/bx/it/10=cmbxti10
\font\OT1/cmr/m/it/10=cmti10
\font\OT1/cmtt/m/n/10=cmtt10
\font\OT1/cmss/m/n/10=cmss10
5716 words of font info for 21...

[...]

	... arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
CUSTOMISED FORMAT. Preloaded files:
        .
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
        .
No file test.aux.
(/usr/local/texlive/2011/../texmf-local/tex/latex/preview/preview.sty
(/usr/local/texlive/2011/../texmf-local/tex/latex/preview/prtightpage.def)
(/usr/local/texlive/2011/../texmf-local/tex/latex/preview/prauctex.def
No auxiliary output files.

(/usr/local/texlive/2011/../texmf-local/tex/latex/preview/prauctex.cfg))
(/usr/local/texlive/2011/../texmf-local/tex/latex/preview/prfootnotes.def)
Preview: Fontsize 10pt
Preview: PDFoutput 1
)
./test.tex:5: Preview: Snippet 1 started.
<-><->

l.5 \begin{displaymath}

Preview: Tightpage -32891 -32891 32891 32891
./test.tex:7: Preview: Snippet 1 ended.(1496405+0x22609920).
<-><->

l.7 \end{displaymath}

[1{/Users/xxxxx/Library/texlive/2011/texmf-var/fonts/map/pdftex/updmap/pdftex.ma
p}] )
(see the transcript file for additional information)</usr/local/texlive/2011/te
xmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/local/texlive/2011/tex
mf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/local/texlive/2011/texmf
-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb>
Output written on test.pdf (1 page, 23063 bytes).
Transcript written on test.log.

Preview-LaTeX exited as expected with code 1 at Fri Oct 21 19:15:29
Running `Preview-PDF2DSC' with ``pdf2dsc test.pdf test.prv/tmp44740EYW/preview.dsc''

Preview-PDF2DSC finished at Fri Oct 21 19:15:30
Running `Preview-Ghostscript' with ``/usr/local/bin/gs
-dOutputFile\=\(test.prv/tmp44740EYW/pr1-\%d.png\) -q -dSAFER -dNOPAUSE -DNOPLATFONTS
-dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 -sDEVICE\=png16m -r110.522x110.836''

Preview-Ghostscript finished at Fri Oct 21 19:15:30

current state:
==============
(setq
 AUCTeX-version "11.86"
 LaTeX-command-style '(("" "%(PDF)%(latex) %S%(PDFout)"))
 image-types '(png gif tiff jpeg xpm xbm pbm)
 preview-image-type 'png
 preview-image-creators '((dvipng
                           (open preview-gs-open preview-dvipng-process-setup)
                           (place preview-gs-place)
                           (close preview-dvipng-close))
                          (png (open preview-gs-open) (place preview-gs-place)
                           (close preview-gs-close))
                          (jpeg (open preview-gs-open)
                           (place preview-gs-place) (close preview-gs-close))
                          (pnm (open preview-gs-open) (place preview-gs-place)
                           (close preview-gs-close))
                          (tiff (open preview-gs-open)
                           (place preview-gs-place) (close preview-gs-close))
                          )
 preview-dvipng-image-type 'png
 preview-dvipng-command "dvipng -picky -noghostscript %d -o \"%m/prev%%03d.png\""
 preview-pdf2dsc-command "pdf2dsc %s.pdf %m/preview.dsc"
 preview-gs-command "/usr/local/bin/gs"
 preview-gs-options '("-q" "-dSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted"
                      "-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 \"\\nonstopmode\\nofiles\\PassOptionsToPackage{"
                         ("," . preview-required-option-list)
                         "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" preview-default-preamble
"\\fi}\"%' %t")
 preview-required-option-list '("active" "tightpage" "auctex"
                                (preview-preserve-counters "counters"))
 preview-preserve-counters nil
 preview-default-option-list '("displaymath" "floats" "graphics" "textmath"
                               "sections" "footnotes")
 preview-default-preamble '("\\RequirePackage["
                            ("," . preview-default-option-list)
                            "]{preview}[2004/11/05]")
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
                             ("\\`\\([^ ]+\\)\\(\\( +-\\([^ \\\\\"]\\|\\\\\\.\\|\"[^\"]*\"\\)*\\)*\\)\\(.*\\)\\'" "\\1 -ini
-interaction=nonstopmode \"&\\1\" " preview-format-name ".ini \\5")
                             )
 preview-undump-replacements '(("\\`\\([^ ]+\\) .*? \"\\\\input\" \\(.*\\)\\'"
                                "\\1 -interaction=nonstopmode \"&"
                                preview-format-name "\" \\2")
                               )
 preview-auto-cache-preamble t
 preview-TeX-style-dir nil
 )

Output from running `/usr/local/bin/gs -h':
GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  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
Default output device: bbox
Available devices:
   alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 appledmp
   atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh
   bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmono bmp16 bmp16m
   bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500
   cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cfax cgm24
   cgm8 cgmmono chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cp50
   cups declj250 deskjet devicen dfaxhigh dfaxlow dj505j djet500 djet500c
   dl2100 dnj650c epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 epl5900
   epl6100 epl6200 eps9high eps9mid epson epsonc epswrite escp escpage faxg3
   faxg32d faxg4 fmlbp fmpr fs600 gdi hl1240 hl1250 hl7x0 hpdj1120c hpdj310
   hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510 hpdj520 hpdj540 hpdj550c
   hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c
   hpdj870c hpdj890c hpdjplus hpdjportable ibmpro ijs imagen imdi inferno
   iwhi iwlo iwlq jetp3852 jj100 jpeg jpegcmyk jpeggray la50 la70 la75
   la75plus laserjet lbp310 lbp320 lbp8 lex2050 lex3200 lex5700 lex7000
   lips2p lips3 lips4 lips4v lj250 lj3100sw lj4dith lj4dithp lj5gray lj5mono
   ljet2p ljet3 ljet3d ljet4 ljet4d ljet4pjl ljetplus ln03 lp1800 lp1900
   lp2000 lp2200 lp2400 lp2500 lp2563 lp3000c lp7500 lp7700 lp7900 lp8000
   lp8000c lp8100 lp8200c lp8300c lp8300f lp8400f lp8500c lp8600 lp8600f
   lp8700 lp8800c lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c lp9300
   lp9400 lp9500c lp9600 lp9600s lp9800c lps4500 lps6500 lq850 lx5000
   lxm3200 lxm5700m m8510 mag16 mag256 md1xMono md2k md50Eco md50Mono md5k
   mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 mj500c mj6000c
   mj700v2c mj8000c ml600 necp6 npdl nullpage oce9050 oki182 oki4w okiibm
   omni oprp opvp paintjet pam pbm pbmraw pcl3 pcx16 pcx24b pcx256 pcx2up
   pcxcmyk pcxgray pcxmono pdfwrite pgm pgmraw pgnm pgnmraw photoex picty180
   pj pjetxl pjxl pjxl300 pkm pkmraw pksm pksmraw plan9bm png16 png16m
   png256 png48 pngalpha pnggray pngmono pnm pnmraw ppm ppmraw pr1000
   pr1000_4 pr150 pr201 ps2write psdcmyk psdrgb psgray psmono psrgb pswrite
   pxlcolor pxlmono r4081 rinkj rpdl samsunggdi sgirgb sj48 spotcmyk st800
   stcolor sunhmono svg t4693d2 t4693d4 t4693d8 tek4696 tiff12nc tiff24nc
   tiff32nc tiffcrle tiffg3 tiffg32d tiffg4 tiffgray tifflzw tiffpack
   tiffsep uniprint wtscmyk wtsimdi xcf xes
Search path:
   . : %rom%Resource/Init/ : %rom%lib/ :
   /usr/local/share/ghostscript/8.64/Resource/Init :
   /usr/local/share/ghostscript/8.64/lib :
   /usr/local/share/ghostscript/8.64/Resource/Font :
   /usr/local/share/ghostscript/fonts :
   /usr/local/share/fonts/default/ghostscript :
   /usr/local/share/fonts/default/Type1 :
   /usr/local/share/fonts/default/TrueType : /usr/lib/DPS/outline/base :
   /usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType :
   /usr/share/cups/fonts
Initialization files are compiled into the executable.
For more information, see /usr/local/share/ghostscript/8.64/doc/Use.htm.
Please report bugs to bugs.ghostscript.com.

--

-- 
José R. Carrión
GPG: 0x4d051321

David Reitter | 13 Oct 17:42
Picon
Gravatar

11.86; menu function undocumented


I did C-h k, then selected the "Use XeTeX Engine" menu item.
Rather than getting a link to the source code, a meaningful command name, and some documentation, the
self-documenting editor produced the output below.

Presumably, the menu is automatically generated, and documentation of the commands is ignored / not
passed into the menu bar map.

===
<menu-bar> <Command> <TeXing Options> <Use XeTeX engine> runs the
command menu-function-67, which is an interactive Lisp function.

(menu-function-67)

Not documented.
====

Emacs  : GNU Emacs 24.0.90.3 (x86_64-apple-darwin11.1.0, NS apple-appkit-1138.00)
of 2011-10-12 on elin.andrew.cmu.edu - Aquamacs Distribution 3.xdev
Package: 11.86

current state:
==============
(setq
AUCTeX-date "2010-02-21"
window-system 'ns
LaTeX-version "2e"
TeX-style-path '("/Users/dr/ae24.git/nextstep/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex/style"
		  "/Users/dr/Library/Application Support/Aquamacs Emacs/auctex/auto"
"/Users/dr/Library/Application Support/Aquamacs Emacs/auctex/style" "auto" "style")
TeX-auto-save nil
TeX-parse-self t
TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
(plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX")
		    ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX")
		    ("Makeinfo" "makeinfo %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output")
		    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with
HTML output")
		    ("AmSTeX" "%(PDF)amstex %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
		    ("ConTeXt" "texexec --once --texutil %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run
ConTeXt once")
		    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion")
		    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("View" "%V"
TeX-run-discard-or-function nil t :help "Run Viewer")
		    ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help
"View the printer queue" :visible TeX-queue-command)
		    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help "Generate PostScript file") ("Index"
"makeindex %s" TeX-run-command nil t :help "Create index file")
		    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness")
		    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document")
		    ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files")
		    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files")
		    ("Other" "" TeX-run-command t t :help "Run an arbitrary command") ("Jump to PDF" "%V"
TeX-run-discard-or-function nil t :help "Run Viewer"))
)


Gmane