emacs-devel
[Top][All Lists]
Advanced

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

Re: latin-ltx.el: german and french quotation marks


From: Reiner Steib
Subject: Re: latin-ltx.el: german and french quotation marks
Date: Thu, 06 May 2004 21:09:29 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

On Sun, May 02 2004, Karl Eichwalder wrote:

> Once again, I like to ask to add german and french quotation marks to
> latin-ltx.

I second that.  This has been asked in German editor newsgroups
several times.

> Here is a german example text:
>
>     ‚deutsche‘ „Anführungszeichen“
>
> Here comes my proposal (I don't know how to edit latin-ltx.el to provide
> a patch):
[...]
>     \"` = \glqq => „
>     \"` = \grqq => “

This is the same input string for both in the first column.

> French quotations:
>           \flq  => ‹ 
>           \frq  => ›    (dont confuse it with: 〉)
>     \"< = \flqq => «
>     \"> = \frqq => »

I've been using something similar for a while (using `quail-defrule').
After changing this for use in `latin-ltx.el', the relevant entries
are:

--8<---------------cut here---------------start------------->8---
 ;; Quotation marks:
 ;; LaTeX like...
 ("\\lq"   ?\‘)  ;; U+2018 : LEFT SINGLE QUOTATION MARK
 ("\\rq"   ?\’)  ;; U+2019 : RIGHT SINGLE QUOTATION MARK
 ("\\glq"  ?\‚)  ;; U+201A : SINGLE LOW-9 QUOTATION MARK
 ("\\grq"  ?\‘)  ;; U+2018 : LEFT SINGLE QUOTATION MARK
 ("\\lqq"  ?\“)  ;; U+201C : LEFT DOUBLE QUOTATION MARK
 ("\\rqq"  ?\”)  ;; U+201D : RIGHT DOUBLE QUOTATION MARK
 ("\\glqq" ?\„)  ;; U+201E : DOUBLE LOW-9 QUOTATION MARK
 ("\\grqq" ?\“)  ;; U+201C : LEFT DOUBLE QUOTATION MARK
 ("\\flq"  ?\‹)  ;; U+2039
 ("\\frq"  ?\›)  ;; U+203A
 ("\\flqq" ?\«)  ;; U+00AB
 ("\\frqq" ?\»)  ;; U+00BB
 ;;
 ;; (""    ?\‛)  ;; U+201B mirrored 9
 ;; (""    ?\‟)  ;; U+201F mirrored 99
 ;;
 ;; babel-like...
 ;; (quote + char(s) for German)
 ("\","  ?\‚)  ;; U+201A : SINGLE LOW-9 QUOTATION MARK
 ("\",," ?\„)  ;; U+201E : DOUBLE LOW-9 QUOTATION MARK
 ("\"`"  ?\‘)  ;; U+2018 : LEFT SINGLE QUOTATION MARK
 ("\"'"  ?\’)  ;; U+2019 : RIGHT SINGLE QUOTATION MARK
 ("\"``" ?\“)  ;; U+201C : LEFT DOUBLE QUOTATION MARK
 ("\"''" ?\”)  ;; U+201D : RIGHT DOUBLE QUOTATION MARK
 ("\"<"    ?\«)  ;; U+00AB
 ("\">"    ?\»)  ;; U+00BB
 ;; short versions:
 (",," ?\„) ;; U+201E : DOUBLE LOW-9 QUOTATION MARK
 ("``" ?\“) ;; U+201C : LEFT DOUBLE QUOTATION MARK
 ("''" ?\”) ;; U+201D : RIGHT DOUBLE QUOTATION MARK
--8<---------------cut here---------------end--------------->8---

Attached is a gzipped patch against `latin-ltx.el'.  Maybe some of the
shorter input strings are discussible.

--8<---------------cut here---------------start------------->8---
2004-05-06  Reiner Steib  <address@hidden>

        * quail/latin-ltx.el: Added quotation marks (including German and
        French).
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

Attachment: latin-ltx-02-quotes.patch.gz
Description: German and French quotation marks


reply via email to

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