bug-auctex
[Top][All Lists]
Advanced

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

bug#20488: acknowledged by developer (Re: bug#20488: Problems with Icela


From: Joseph Timothy Foley
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)




reply via email to

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