GNU bug report logs - #20488
Problems with Icelandic quotation marks

Previous Next

Package: auctex;

Reported by: Joseph Timothy Foley <foley <at> ru.is>

Date: Sat, 2 May 2015 23:02:02 UTC

Severity: normal

Tags: notabug

Done: Mosè Giordano <mose <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joseph Timothy Foley <foley <at> ru.is>
To: "20488 <at> debbugs.gnu.org" <20488 <at> debbugs.gnu.org>
Subject: bug#20488: acknowledged by developer (Re: bug#20488: Problems with Icelandic quotation marks)
Date: Mon, 4 May 2015 11:56:40 +0000
Thank you for that solution, though it has a minor error in it:
You sent:
(add-to-list 'TeX-quote-language-alist
      '("icelandic" "\"'" "\"'" nil))

When it should be:
(add-to-list 'TeX-quote-language-alist
      '("icelandic" "\"`" "\"'" nil))
Note the right single quote.

In the AUCTex distribution, it appears that this is supposed to be
already set via icelandic.el. Am I confused about how TeX-quote-language
vs TeX-quote-language-alist works?

in elpa/auctex-11.88.3/style/icelandic.el

(TeX-add-style-hook
 "icelandic"
 (lambda ()
   (set-syntax-table LaTeX-icelandic-mode-syntax-table)
   (unless (eq (car TeX-quote-language) 'override)
     (setq TeX-quote-language '("icelandic" "\"`" "\"'" t)))
   (setq LaTeX-babel-hyphen-language "icelandic")
   ;; Fontification of quotation marks.
   (when (fboundp 'font-latex-add-quotes)
     (font-latex-add-quotes '("\"`" "\"'"))
     (font-latex-add-quotes '("\"<" "\">" french)))
   (run-hooks 'TeX-language-is-hook))
 LaTeX-dialect)




This bug report was last modified 10 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.