Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/code/elpa/auctex-13.2.1/style/swedish.el

19 lines
492 B
EmacsLisp
Raw Permalink Normal View History

2022-08-25 17:42:37 +00:00
;;; swedish.el --- Setup AUCTeX for editing Swedish text. -*- lexical-binding: t; -*-
;;; Commentary:
;;
;; Apparently the Swedes use ''this style'' quotations.
(require 'tex)
(require 'latex)
(TeX-add-style-hook
"swedish"
(lambda ()
(unless (eq (car TeX-quote-language) 'override)
(setq TeX-quote-language
`("swedish" "''" ,TeX-close-quote ,TeX-quote-after-quote)))
(setq LaTeX-babel-hyphen-language "swedish")
(run-hooks 'TeX-language-sv-hook))
TeX-dialect)