bug-gnu-emacs
[Top][All Lists]
Advanced

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

Latex, utf8, and verbatim in GNU Emacs 22.1.1


From: Ásványi Tibor
Subject: Latex, utf8, and verbatim in GNU Emacs 22.1.1
Date: Fri, 22 Feb 2008 15:38:14 +0100

Dear Sir/Madam,

I tried to use emacs editor with the utf-8 character set.

The letters with accents in the verbatim environment
appear in a strange way.

When I compile the LaTeX file into dvi, everything is good.
Even if I copy and paste the text, the characters appear correctly.
Even if I mistype the text '\begin{verbatim}', the characters appear correctly, 
again.
Please, help me, because I am used to edit my files through emacs!

%%% This is the content of a test file:

\documentclass[a4paper]{article}

\usepackage[utf8]{inputenc}
\usepackage{t1enc}
\usepackage[magyar]{babel}

\begin{document}

Some letters with accents: öüóőúéáűí ÖÜÓŐÚÉÁŰÍ

\begin{verbatim}
The same letters with accents: öüóőúéáűí ÖÜÓŐÚÉÁŰÍ
\end{verbatim}

\verb|The same letters with accents, again: öüóőúéáűí ÖÜÓŐÚÉÁŰÍ|

\end{document}

%%% Try to copy it and paste into a GNU Emacs 22.1.1 (Windows XP) buffer.

I also appended the relevant LaTeX and dvi files to this letter.

Regards,
Ásványi Tibor

Attachment: utf8verb.dvi
Description: utf8verb.dvi

Attachment: utf8verb.tex
Description: utf8verb.tex


reply via email to

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