[Top][All Lists]

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

Re: [AUCTeX] preview of itemize

From: Ralf Angeli
Subject: Re: [AUCTeX] preview of itemize
Date: Thu, 19 Jun 2008 19:12:07 +0200

* Fabian Braennstroem (2008-06-18) writes:

>     I am having a small problem to preview itemize
>     environments. I just see the 'dots' of the items, but
>     there is no text.
>     I am using emacs 22.1.1 and auctex 11.84 with these
>     settings in my tex file for preview:
> \usepackage[sections,displaymath,textmath,graphics,floats]{preview}
> \PreviewEnvironment{itemize} 
> \PreviewEnvironment{enumerate}
> \PreviewEnvironment{verbatim} 
> \PreviewEnvironment{equation} 
> \PreviewMacro[!]{\label}
> \PreviewMacro[!]{\cite}
> \PreviewMacro[!]{\ref}
> \ifPreview
> \AtBeginDocument{\RequirePackage[dvips]{color}
> \pagecolor{black}
> \color{white}}
> \fi 
> \usepackage{color}

If I use this as the preamble of an article document containing only an
itemize environment with two items I see the text, but not the bullets.
This is with

$ latex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6

I'm not sure why you want to preview the whole itemize environment.
Wouldn't it better to preview only the bullets?  Since in your case the
bullets are shown you could use something like

> I use these local variables:
> % Local Variables:
> % default-input-method: "german-postfix"
> % Local IspellDict: german8

Are you sure the above line is effective?

> % mode: latex
> % TeX-master: "master"
> % latex-mode: t

What is this good for?  There already is a "mode: latex" line.

> % preview-scale-function: 1.3
> % reftex-mode: t
> % cdlatex-mode: t

A safer bet would probably be something like

% mode: reftex
% mode: cdlatex

It's peculiar in any case.  I'd just use the means of activation
suggested in the respective manual.


reply via email to

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