[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Latex, utf8, and verbatim in GNU Emacs 22.1.1
From: |
Reiner Steib |
Subject: |
Re: Latex, utf8, and verbatim in GNU Emacs 22.1.1 |
Date: |
Sat, 23 Feb 2008 21:23:09 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.90 (gnu/linux) |
On Fri, Feb 22 2008, Ásványi Tibor wrote:
> 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.
Text inside verbatim is displayed using the face `tex-verbatim' [1]
(or `font-latex-verbatim-face' when using AUCTeX [2]).
So my guess is that the your "courier" font is not a "unicode font".
Bye, Reiner.
[1]
(defface tex-verbatim
;; '((t :inherit font-lock-string-face))
'((t :family "courier"))
"Face used to highlight TeX verbatim environments."
:group 'tex)
,----[ M-x describe-char RET ]
| character: ö (2294, #o4366, #x8f6, U+00F6)
| charset: latin-iso8859-1
| [...]
| display: by this font (glyph code)
| -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1 (#xF6)
|
| There are text properties here:
| face tex-verbatim
| fontified t
`----
[2]
(defface fixed-pitch
'((t :family "courier"))
"The basic fixed-pitch face."
:group 'basic-faces)
,----[ M-x describe-char RET ]
| character: ö (2294, #o4366, #x8f6, U+00F6)
| charset: latin-iso8859-1
| [...]
| display: by this font (glyph code)
| -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1 (#xF6)
|
| There are text properties here:
| face font-latex-verbatim-face
| fontified t
`----
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- Re: Latex, utf8, and verbatim in GNU Emacs 22.1.1,
Reiner Steib <=