* Latex, utf8, and verbatim in GNU Emacs 22.1.1
@ 2008-02-22 14:38 Ásványi Tibor
2008-02-24 10:09 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Ásványi Tibor @ 2008-02-22 14:38 UTC (permalink / raw
To: bug-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]
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 #2: utf8verb.dvi --]
[-- Type: application/octet-stream, Size: 512 bytes --]
[-- Attachment #3: utf8verb.tex --]
[-- Type: application/octet-stream, Size: 419 bytes --]
\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}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Latex, utf8, and verbatim in GNU Emacs 22.1.1
2008-02-22 14:38 Latex, utf8, and verbatim in GNU Emacs 22.1.1 Ásványi Tibor
@ 2008-02-24 10:09 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2008-02-24 10:09 UTC (permalink / raw
To: Ásványi Tibor; +Cc: bug-gnu-emacs@gnu.org
Ásványi Tibor <asvanyi@inf.elte.hu> writes:
> 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.
Please describe in detail what you consider strange. The attached dvi
file looks perfectly good here.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-24 10:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-22 14:38 Latex, utf8, and verbatim in GNU Emacs 22.1.1 Ásványi Tibor
2008-02-24 10:09 ` Andreas Schwab
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).