auctex  

Re: [AUCTeX] auctex preview in emacs

Ralf Angeli
Sun, 27 Dec 2009 08:02:20 -0800

* Kenneth Pedersen (2009-12-27) writes:

> I just started using auctex 11-85 within emacs v.23 on linux with latex, and I
> can't get the preview function to work properly, on shortcut C-c C-p C-p, 
> when I
> include \usepackage[utf8]{inputenc}.
> I have a number of different packages included, in the document.
>
> \usepackage[utf8]{inputenc}
> \usepackage[T1]{fontenc}
> \usepackage[danish]{babel}
> \usepackage{amssymb}
> \usepackage{amsfonts}
> \usepackage{amsmath}
> \usepackage{ulem}
> \usepackage{graphicx}
>
> When I comment out \usepackage[utf8]{inputenc}, the preview works fine, except
> that now, all the danish characters look wierd. I there some way, to make 
> auctex
> or emacs work with utf8?
> So that the preview window will pop up, when I include the utf8 package ?
>
> Hope I provided enough information.

It would be nice if you could include a complete minimal example.  For
example, preview-latex works fine with the following file contents:

\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
\section{København}
\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 

-- 
Ralf


_______________________________________________
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex