Re: rel-0-9; Some inline math is shown at the beginning of the line

David Kastrup <[email protected]> Sat, 19 Mar 2005 00:44:13 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
David Kastrup <[email protected]> writes:

> Sebastian Schubert <[email protected]> writes:
>
>> When I run preview-latex, some of my inline formulas are shown correctly
>> (first two in the example below), some are shown at the beginning of the
>> line while the code is still visible (the others). Actually, I can't say
>> exactly when it happens.
>>
>> \documentclass{article}
>> \begin{document}
>> Eine Punktladung $Q$ befinde sich im Koordinatenursprung, deren
>> Ladungsdichte lautet dann $\rho(\vec{x})=3DQ\delta(\vec x)$.  Wenn auf b=
eiden
>> Seiten =FCber eine Kugel $K$ mit dem Radius $r$ und
>> \end{document}
>
> Do you have the ability to use the CVS version of AUCTeX?  If not,
> does it help if you do
> C-h f __region__.tex RET

Ouch.  Make this C-x C-f __region__.tex RET

> C-x RET f mule-utf-8 RET
> (or whatever encoding your main buffer is in)?
>
> The problem is that the encoding for __region__.tex is autoselected,
> and if the choice differs from that of your main file...
>
> I think I have this fixed in AUCTeX now.

--=20
David Kastrup, Kriemhildstr. 15, 44793 Bochum