* Re: Latex, utf8, and verbatim in GNU Emacs 22.1.1 [not found] <88C55C9C92561741A80422B15F25C4BF10865985CF@exch02.inf.elte.hu> @ 2008-02-23 20:23 ` Reiner Steib 2008-02-24 22:13 ` Jason Rumney [not found] ` <C75567BD93ADC04E93B93B356AB9F87A074D3D05@Exch03.inf.elte.hu> 0 siblings, 2 replies; 3+ messages in thread From: Reiner Steib @ 2008-02-23 20:23 UTC (permalink / raw) To: Ásványi Tibor; +Cc: emacs-devel, rms, handa 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/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Latex, utf8, and verbatim in GNU Emacs 22.1.1 2008-02-23 20:23 ` Latex, utf8, and verbatim in GNU Emacs 22.1.1 Reiner Steib @ 2008-02-24 22:13 ` Jason Rumney [not found] ` <C75567BD93ADC04E93B93B356AB9F87A074D3D05@Exch03.inf.elte.hu> 1 sibling, 0 replies; 3+ messages in thread From: Jason Rumney @ 2008-02-24 22:13 UTC (permalink / raw) To: Ásványi Tibor, rms, handa, emacs-devel Reiner Steib wrote: > 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". > Thanks for tracking down the cause. I have made a change in Emacs 22 so that on Windows only truetype fonts are considered for displaying unicode. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <C75567BD93ADC04E93B93B356AB9F87A074D3D05@Exch03.inf.elte.hu>]
* Re: Latex, utf8, and verbatim in GNU Emacs 22.1.1 [not found] ` <C75567BD93ADC04E93B93B356AB9F87A074D3D05@Exch03.inf.elte.hu> @ 2008-02-24 22:31 ` Reiner Steib 0 siblings, 0 replies; 3+ messages in thread From: Reiner Steib @ 2008-02-24 22:31 UTC (permalink / raw) To: Ásványi Tibor; +Cc: emacs-devel [Please include the emacs-devel mailing list in replies.] On Sun, Feb 24 2008, Ásványi Tibor wrote: >>>So my guess is that the your "courier" font is not a "unicode font".<< > > You must be right. But this is a problem with the Windows version of > GNU Emacs 22.1.1. Is not it? > After all, I experienced this problem in the Windows version of GNU > Emacs 22.1.1. I don't know about Windows. Show us the output of `M-x describe-char RET' when point is on ö inside the verbatim environment; I'm quite sure that Windows users are able to suggest a unicode font replacing your current font. > (In Linux, I use GNU Emacs 21.3, and there is no problem with the > verbatim environment of the LaTeX files.) Fortification may differ from Emacs 21 to 22. > If I use the alltt environment instead of the verbatim environment, > GNU Emacs 22.1.1 (for Windows) displays each of the characters correctly. So it seem you don't use AUCTeX[1] (which treats alltt just like verbatim, AFAIK), but the Emacs-builtin LaTeX mode[2]. [1] ,----[ <f1> m ] | LaTeX mode: | Major mode in AUCTeX for editing LaTeX files. | See info under AUCTeX for full documentation. `---- [2] ,----[ <f1> m ] | LaTeX mode: | Major mode for editing files of input for LaTeX. `---- Reiner ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-24 22:31 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <88C55C9C92561741A80422B15F25C4BF10865985CF@exch02.inf.elte.hu> 2008-02-23 20:23 ` Latex, utf8, and verbatim in GNU Emacs 22.1.1 Reiner Steib 2008-02-24 22:13 ` Jason Rumney [not found] ` <C75567BD93ADC04E93B93B356AB9F87A074D3D05@Exch03.inf.elte.hu> 2008-02-24 22:31 ` Reiner Steib
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).