Variables documentation

This commit is contained in:
Lucien Cartier-Tilet 2020-01-29 22:01:38 +01:00
parent 6f26d36bae
commit 72da663163
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 88 additions and 73 deletions

161
funcs.el
View File

@ -111,70 +111,81 @@ whose first element equals `elem'"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Mattér ; ; Mattér ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq conlanging//matter-latin-to-runes '((", *" . "") (defvar conlanging//matter-latin-to-runes '((", *" . "")
("\\. *" . "") ("\\. *" . "")
(" +" . "") (" +" . "")
("ċ" . "") ("ċ" . "")
("ch" . "") ("ch" . "")
("ae" . "") ("ae" . "")
("æ" . "") ("æ" . "")
("dh" . "") ("dh" . "")
("z" . "") ("z" . "")
("ð" . "") ("ð" . "")
("th" . "") ("th" . "")
("s" . "") ("s" . "")
("þ" . "") ("þ" . "")
("w" . "") ("w" . "")
("ƿ" . "") ("ƿ" . "")
("g" . "") ("g" . "")
("" . "") ("" . "")
("ea" . "") ("ea" . "")
("f" . "") ("f" . "")
("u" . "") ("u" . "")
("o" . "") ("o" . "")
("r" . "") ("r" . "")
("c" . "") ("c" . "")
("h" . "") ("h" . "")
("n" . "") ("n" . "")
("i" . "") ("i" . "")
("j" . "") ("j" . "")
("p" . "") ("p" . "")
("v" . "") ("v" . "")
("t" . "") ("t" . "")
("b" . "") ("b" . "")
("e" . "") ("e" . "")
("m" . "") ("m" . "")
("l" . "") ("l" . "")
("d" . "") ("d" . "")
("é" . "") ("é" . "")
("a" . "") ("a" . "")
("y" . ""))) ("y" . ""))
"Equivalence between the Mattér orthography in the Latin script
and the Runic script. The first element of a pair is the Latin
script orthography, the second is the Runic equivalent.")
(setq conlanging//matter-latin-to-native '((" +" . " ") (defvar conlanging//matter-latin-to-native '((" +" . " ")
("ch" . "ċ") ("ch" . "ċ")
("ae" . "æ") ("ae" . "æ")
("th" . "þ") ("th" . "þ")
("s" . "þ") ("s" . "þ")
("dh" . "ð") ("dh" . "ð")
("z" . "ð") ("z" . "ð")
("w" . "ƿ") ("w" . "ƿ")
("j" . "i"))) ("j" . "i"))
"Equivalence between the Mattér orthography in its native Latin
script and the transliterated Mattér Latin script. The first
element of a pair is the transliterated Latin script orthography,
the second is the native Latin script equivalent.")
(setq conlanging//matter-latin-to-latex '((", *" . ":") (defvar conlanging//matter-latin-to-latex '((", *" . ":")
("\\. *" . "*") ("\\. *" . "*")
(" +" . ".") (" +" . ".")
("ch" . "I") ("ch" . "I")
("ċ" . "I") ("ċ" . "I")
("ae" . "æ") ("ae" . "æ")
("ea" . "\\\\ea") ("ea" . "\\\\ea")
("ƿ" . "w") ("ƿ" . "w")
("dh" . "s") ("dh" . "s")
("z" . "s") ("z" . "s")
("ð" . "s") ("ð" . "s")
("th" . "þ") ("th" . "þ")
("s" . "þ") ("s" . "þ")
("v" . "\\\\ng") ("v" . "\\\\ng")
("é " . "\\\\oe"))) ("é " . "\\\\oe"))
"Equivalence between the Mattér orthography in the Latin script
and the LaTeX code for the Runic script. The first element of a
pair is the Latin script orthography, the second is the Runic
LaTeX code equivalent.")
(defun conlanging/matter-to-runes () (defun conlanging/matter-to-runes ()
"Replaces transliterated Mattér with its runic writing system" "Replaces transliterated Mattér with its runic writing system"
@ -193,8 +204,8 @@ latin writing system"
(conlanging//replace-char-by-table conlanging//matter-latin-to-latex)) (conlanging//replace-char-by-table conlanging//matter-latin-to-latex))
(defun conlanging/matter-org-export-runes (text) (defun conlanging/matter-org-export-runes (text)
"Replaces transliterated Mattér with its corresponding runes during org-mode "Replaces the transliterated Mattér `text' with its
export" corresponding runes during org-mode export"
(interactive) (interactive)
(if (org-export-derived-backend-p org-export-current-backend (if (org-export-derived-backend-p org-export-current-backend
'latex) 'latex)
@ -206,15 +217,19 @@ export"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Eittlanda ; ; Eittlanda ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq conlanging//eittlanda-latin-to-latex '((", *" . "\\\\tripledot") (defvar conlanging//eittlanda-latin-to-latex '((", *" . "\\\\tripledot")
("\\. *" . "\\\\tripledot") ("\\. *" . "\\\\tripledot")
(" +" . ":") (" +" . ":")
("hv" . "x") ("hv" . "x")
("ø" . "\\\\o") ("ø" . "\\\\o")
("œ" . "\\\\oO") ("œ" . "\\\\oO")
("v" . "w") ("v" . "w")
("ó" . "v") ("ó" . "v")
("ń" . "\\\\ndot"))) ("ń" . "\\\\ndot"))
"Equivalence between the Eittlandic orthography in the Latin
script and the LaTeX code for the Runic script. The first element
of a pair is the Latin script orthography, the second is the
Runic LaTeX code equivalent.")
(defvar conlanging//eittlanda-latin-to-runes '((", *" . "") (defvar conlanging//eittlanda-latin-to-runes '((", *" . "")
("\\. *" . "") ("\\. *" . "")