unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ásványi Tibor" <asvanyi@inf.elte.hu>
To: "bug-gnu-emacs@gnu.org" <bug-gnu-emacs@gnu.org>
Subject: Latex, utf8, and verbatim in GNU Emacs 22.1.1
Date: Fri, 22 Feb 2008 15:38:14 +0100	[thread overview]
Message-ID: <88C55C9C92561741A80422B15F25C4BF10865985CF@exch02.inf.elte.hu> (raw)

[-- 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}

             reply	other threads:[~2008-02-22 14:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 14:38 Ásványi Tibor [this message]
2008-02-24 10:09 ` Latex, utf8, and verbatim in GNU Emacs 22.1.1 Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=88C55C9C92561741A80422B15F25C4BF10865985CF@exch02.inf.elte.hu \
    --to=asvanyi@inf.elte.hu \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).