[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.86; png images too large under latex beamer
From: |
Jacques Jayez |
Subject: |
Re: [Bug-AUCTeX] 11.86; png images too large under latex beamer |
Date: |
Sun, 24 Oct 2010 21:48:57 +0200 |
This indeed accounts for the problem I had. Declaring dvips is risky in
conjunction with preview. Why I get something whereas you get nothing remains
somewhat mysterious. Anyway, I thank you for your help. I made a minimal
example for the benefit of those who'd want to try dvips and see what happens.
\documentclass[dvips]{article}
\begin{document}
$A^2$
\end{document}
Starting preview on $A^2$, I obtain of good image of A squared but with a lot
of white space around. Suppressing dvips in the preamble gives me back a normal
preview image.
Jacques Jayez
>
> * Jacques Jayez (2010-10-24) writes:
>
>> Your demand to simplify the file led to some progress: I noticed I had
>> a dvips declaration at the upper level:
>> \documentclass[...,dvips]{beamer}. It seems that the symptom
>> disappears when I suppress the call to dvips. You can try reproduce
>> the alternation with the following simplified demo.tex, first running
>> preview with dvips (=> problem for me) and next without it (normal
>> behavior). I must confess that I don't remember why I put a call to
>> dvips in the file in the first place ... Anyway, I don't understand
>> what kind of interaction we have here (if I'm not mistaken in
>> supposing that there is an interaction at all).
>
> In my case, executing `C-c C-p C-d' with the file opened in Emacs will
> just yield "LaTeX found no preview images". So the example does not
> work here. Perhaps you have some additional customizations.
>
> Anyway, regarding the `dvips' option, the following text taken from the
> preview-latex manual might explain some things:
>
> ,----[ (info "(preview-latex)Package options") ]
> | `dvips'
> | If this option is specified as a class option or to other
> | packages, several packages pass things like page size information
> | to Dvips, or cause crop marks or draft messages written on pages.
> | This seriously hampers the usability of previews. If this option
> | is specified, the changes will be undone if possible.
> `----
>
> --
> Ralf