auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: preview of itemize


From: Fabian Braennstroem
Subject: [AUCTeX] Re: preview of itemize
Date: Thu, 19 Jun 2008 21:15:11 +0200
User-agent: slrn/0.9.8.1pl1 (Debian)

Hi Ralf,

* Ralf Angeli <address@hidden> wrote:
> * 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'll check the version at office.

> 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
> \PreviewMacro{\item}
Sounds good, I'll test it.

>
>> 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.

Thanks for the hints of the variables, I'll will remove some
and adjust the last two.

Thanks!
Greetings!
 Fabian





reply via email to

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