unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <reiner.steib@gmx.de>
Subject: Re: latin-ltx.el: german and french quotation marks
Date: Thu, 06 May 2004 21:09:29 +0200	[thread overview]
Message-ID: <v9n04lv0d2.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: shisffnwc9.fsf@tux.gnu.franken.de

[-- Attachment #1: Type: text/plain, Size: 2752 bytes --]

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  <Reiner.Steib@gmx.de>

	* 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 #2: German and French quotation marks --]
[-- Type: application/x-gzip, Size: 767 bytes --]

[-- Attachment #3: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2004-05-06 19:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-14  2:40 latin-ltx.el: german and french quotation marks Karl Eichwalder
2004-05-02  7:04 ` Karl Eichwalder
2004-05-06 19:09   ` Reiner Steib [this message]
2004-05-06 20:00     ` David Kastrup
2004-05-06 22:36       ` Stefan Monnier
2004-05-07  7:32         ` David Kastrup
2004-05-07 14:44           ` Stefan Monnier
2004-05-07 16:36             ` David Kastrup
2004-05-06 21:06   ` Stefan Monnier

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=v9n04lv0d2.fsf@marauder.physik.uni-ulm.de \
    --to=reiner.steib@gmx.de \
    /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).