auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Installation of Auctex 11.83


From: Christophe FARGES
Subject: Re: [AUCTeX] Installation of Auctex 11.83
Date: Thu, 27 Jul 2006 09:51:19 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.12) Gecko/20050915



    ;;...
    (add-hook 'LaTeX-mode-hook
              (function (lambda()
                 ;; Add some commands to `TeX-command-list'
              (LaTeX-add-environments
                   '("theoreme")
                   '("corollaire")
                   '("definition")
                   '("remarque")
                   '("algo")
                   '("demo")
                   '("preuve")                    '("afaire")
              '("areecrire"))
                  (add-to-list
                   'TeX-command-list
                   '("PDFLaTeX" "pdflatex '\\nonstopmode\\input{%t}'"
                 TeX-run-command nil nil))
                  (add-to-list
                   'TeX-command-list
                   '("Acroread" "acroread %s.pdf"
                 TeX-run-silent t nil))
                  (add-to-list
                   'TeX-command-list
                   '("xpdf" "xpdf %s.pdf" TeX-run-silent t nil))
                  (add-to-list
                   'TeX-command-list

Again, all of the above stuff is very, very, wrong.  AUCTeX has its
own ways of dealing with PDF files.


Hello,

Now that preview works well, I come back on the above problem you mentionned. Should I remove the above lines concerning PDF? If so, how should I run xpdf and acroread.

Another thing, I'd like to generate PS and PDF files using special dvips and ps2pdf options like this:
dvips -Ppdf -G0 -ta4 file
ps2pdf -dCompatibilityLevel=1.3 -dMAxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sPAPERSIZE=letter file.ps
Is it possible to do it with auctex in Xemacs? How should I do this?
Finally, I use Latex toolbar.
When preview is turned on and if I click Open, the box disappears and in the echo area is displayed: Window height 0 too small (after splitting). I saw this is a bug with Auctex preview and Xemacs. Has it been solved? If not, is it possible that Xemacs asks for which file to open in the echo area? How can I do that?
Do you know how I can add buttons to it? For example, I'd like to have:
- a button to launch pslatex (or maybe use the existing gv button to launch the pslatex command when first hit and gv when button is hit a second time => the way that the DVI button works)
- a button to launch pdflatex (same as above)
- a button to launch dvips (with the previously mentionned options)
- a button to launch  ps2pdf (with the previously mentionned options)

Thanks a lot!
Christophe




reply via email to

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