[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
preview-latex + beamer +
From: |
Giacomo Boffi |
Subject: |
preview-latex + beamer + |
Date: |
Wed, 23 Mar 2011 17:54:21 +0100 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b29 (linux) |
[xpost+f/up]
i'm using xemacs 21.5.29 with auctex 11.86 + preview patches
i have two files
,----[ pollo.tex ]
\documentclass{article}
\usepackage{fontspec}
\setsansfont[Mapping=tex-text,Numbers=Lining]{Candara}
\usepackage{graphicx}
\begin{document}
\[\includegraphics{sin}\]
tet
\[\alpha\sin\sin{n}\]
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-engine: xetex
%%% End:
`----
,----[ pullo.tex ]
\documentclass{beamer}
\usepackage{fontspec}
\setsansfont[Mapping=tex-text,Numbers=Lining]{Candara}
\usepackage{graphicx}
\usepackage[displaymath,textmath,sections]{preview}
\PreviewEnvironment*{frame}
\begin{document}
\begin{frame}
\[\includegraphics{sin}\]
tet
\[\alpha\sin\sin{n}\]
\end{frame}\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-engine: xetex
%%% End:
`----
the difference being that the second is intended to produce slides.
as you can see, the files must be processed with xelatex
with the first file, i can do a C- C-p C-d and have the previews
inserted in my buffer
with the second file, preview-latex cannot find its stuff
the difference is that in the first case preview-latex uses the
sequence of internal commands
Preview-LaTeX -> Preview-PDF2DSC -> Preview-Ghostscript
while in the second case it uses
Preview-LaTeX -> Preview-DviPS -> error
so that an error is due, as Preview-DviPS can't find a dvi, because
xelatex produces a pdf
i can't understand why preview-latex does not use Preview-PDF2DSC in
both cases and what should i do to overcome this problem
Followup-To: comp.emacs
--
MMAX>>Il vero problema è che non hai i culo peloso, non armo.
IsaZ> Senti, non è che potresti mettere delle note a piè di pagina?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- preview-latex + beamer +,
Giacomo Boffi <=