diff --git a/README.org b/README.org index 5701377..33c7e59 100644 --- a/README.org +++ b/README.org @@ -13,13 +13,13 @@ - [[#key-bindings][Key bindings]] * Description - This layer adds support for conlanging. + This layer adds features for conlanging. ** Features - Generate graphviz trees based on Elisp trees - Replace some text by its runic equivalent (supports the Mattér and Eittlandic languages) - - Adds phonetics to Ňyqy text + - Adds phonetics to Proto-Ñyqy text - Provides custom shortcuts ** Graphviz trees @@ -65,9 +65,9 @@ [[file:img/vowels-example.png]] This example tree is only a binary tree, but a single node can have up to ten - children. See some examples in the [[https://labs.phundrak.fr/phundrak/langue-phundrak-fr/blob/master/nyqy.org][Ňyqy source file]]. + children. See some examples in the [[https://labs.phundrak.com/phundrak/langue-phundrak-fr/blob/master/proto-nyqy.org][Ñyqy source file]]. - It is planned to merge [[https://labs.phundrak.fr/phundrak/distinctive-features-chooser][this project]] into this layer in order to facilitate + It is planned to merge [[https://labs.phundrak.com/phundrak/distinctive-features-chooser][this project]] into this layer in order to facilitate the creation of trees based on distinctive features. * Install @@ -85,16 +85,17 @@ * Key bindings - | Key Binding | Description | - |---------------+-------------------------------------------------------------------------| - | ~SPC l e l~ | (org-mode only) Translate Einnlandish transliteration into native latin | - | ~SPC l e r~ | (org-mode only) Translate Einnlandish transliteration into runes | - | ~SPC l m L~ | (org-mode only) Translate Mattér transliteration into LaTeX runes | - | ~SPC l m l~ | (org-mode only) Translate Mattér transliteration into native latin | - | ~SPC l m r~ | (org-mode only) Translate Mattér transliteration into runes | - | ~SPC o l e o~ | Open Eittlandic file | - | ~SPC o l h o~ | Open Hjelp file | - | ~SPC o l m o~ | Open Mattér file | - | ~SPC o l n o~ | Open Ňyqy file | - | ~SPC o l o~ | Open the conlanging directory | - | ~SPC o l t o~ | Open Tãso file | + | Key Binding | Description | + |---------------+-----------------------------------------------------------------------| + | ~SPC m l e l~ | (org-mode only) Translate Eittlandic transliteration into LaTeX runes | + | ~SPC m l e r~ | (org-mode only) Translate Eittlandic transliteration into runes | + | ~SPC m l m L~ | (org-mode only) Translate Mattér transliteration into LaTeX runes | + | ~SPC m l m l~ | (org-mode only) Translate Mattér transliteration into native latin | + | ~SPC m l m r~ | (org-mode only) Translate Mattér transliteration into runes | + | ~SPC o l e o~ | Open Eittlandic file | + | ~SPC o l h o~ | Open Hjelp file | + | ~SPC o l m o~ | Open Mattér file | + | ~SPC o l n o~ | Open Proto-Ñyqy file | + | ~SPC o l o~ | Open the working conlanging directory | + | ~SPC o l O~ | Open the root conlanging directory | + | ~SPC o l t o~ | Open Proto-Tãso file | diff --git a/funcs.el b/funcs.el index 8476fd9..9d2c5e5 100644 --- a/funcs.el +++ b/funcs.el @@ -1,9 +1,9 @@ ;;; funcs.el --- Conlanging Layer functions File for Spacemacs ;; -;; Copyright (c) 2019-2020 Lucien Cartier-Tilet +;; Copyright (c) 2018-2020 Lucien Cartier-Tilet ;; -;; Author: Lucien Cartier-Tilet -;; URL: https://github.com/syl20bnr/spacemacs +;; Author: Lucien Cartier-Tilet +;; URL: https://labs.phundrak.com/phundrak/conlang-layer ;; ;; This file is not part of GNU Emacs. ;; diff --git a/keybindings.el b/keybindings.el index 35666fa..2752aec 100644 --- a/keybindings.el +++ b/keybindings.el @@ -1,9 +1,9 @@ -;;; packages.el --- conlanging layer packages file for Spacemacs. +;;; keybindings.el --- conlanging layer packages file for Spacemacs. ;; -;; Copyright (c) 2012-2018 Sylvain Benner & Contributors +;; Copyright (c) 2018-2020 Lucien Cartier-Tilet ;; -;; Author: Lucien Cartier-Tilet -;; URL: https://github.com/syl20bnr/spacemacs +;; Author: Lucien Cartier-Tilet +;; URL: https://labs.phundrak.com/phundrak/conlang-layer ;; ;; This file is not part of GNU Emacs. ;; @@ -14,15 +14,15 @@ (spacemacs/declare-prefix "olho" "hjelp.org") (spacemacs/declare-prefix "olm" "Mattér") (spacemacs/declare-prefix "olmo" "matter.org") -(spacemacs/declare-prefix "ole" "Einnlanda") -(spacemacs/declare-prefix "oleo" "eittlanda.org") -(spacemacs/declare-prefix "oln" "Ñyqy") -(spacemacs/declare-prefix "olno" "nyqy.org") +(spacemacs/declare-prefix "ole" "Eittlandic") +(spacemacs/declare-prefix "oleo" "eittland.org") +(spacemacs/declare-prefix "oln" "Proto-Ñyqy") +(spacemacs/declare-prefix "olno" "proto-nyqy.org") (spacemacs/declare-prefix "olne" "nyqy.org (English)") (spacemacs/declare-prefix "olo" "Conlang root directory") (spacemacs/declare-prefix "olo" "Conlang directory") -(spacemacs/declare-prefix "olt" "Tãso") -(spacemacs/declare-prefix "olto" "taso.org") +(spacemacs/declare-prefix "olt" "Proto-Tãso") +(spacemacs/declare-prefix "olto" "proto-taso.org") (spacemacs/declare-prefix-for-mode 'org-mode "ml" "conlanging") (spacemacs/declare-prefix-for-mode 'org-mode @@ -30,43 +30,37 @@ (spacemacs/declare-prefix-for-mode 'org-mode "mlm" "Mattér") -(spacemacs/set-leader-keys "oleo" - (lambda () - (interactive) - (find-file "~/Documents/conlanging/content/eittland.org")) - "olho" - (lambda () - (interactive) - (find-file "~/Documents/conlanging/content/hjelp.org")) - "olmo" - (lambda () - (interactive) - (find-file "~/Documents/conlanging/content/matter.org")) - "olno" - (lambda () - (interactive) - (find-file "~/Documents/conlanging/content/nyqy.org")) - "olne" - (lambda () - (interactive) - (find-file "~/Documents/conlanging/content/en/nyqy.org")) - "olO" - (lambda () - (interactive) - (dired "~/Documents/conlanging/")) - "olo" - (lambda () - (interactive) - (dired "~/Documents/conlanging/content")) - "olto" - (lambda () - (interactive) - (find-file "~/Documents/conlanging/content/taso.org"))) +(spacemacs/set-leader-keys + "oleo" (lambda () + (interactive) + (find-file "~/Documents/conlanging/content/eittland.org")) + "olho" (lambda () + (interactive) + (find-file "~/Documents/conlanging/content/hjelp.org")) + "olmo" (lambda () + (interactive) + (find-file "~/Documents/conlanging/content/matter.org")) + "olno" (lambda () + (interactive) + (find-file "~/Documents/conlanging/content/proto-nyqy.org")) + "olne" (lambda () + (interactive) + (find-file "~/Documents/conlanging/content/en/nyqy.org")) + "olO" (lambda () + (interactive) + (dired "~/Documents/conlanging/")) + "olo" (lambda () + (interactive) + (dired "~/Documents/conlanging/content")) + "olto" (lambda () + (interactive) + (find-file "~/Documents/conlanging/content/proto-taso.org"))) -(spacemacs/set-leader-keys-for-major-mode - 'org-mode "ler" 'conlanging/eittlanda-to-runes - "lel" 'conlanging/eittlanda-to-latex "lmr" - 'conlanging/matter-to-runes "lml" 'conlanging/matter-to-native-latin +(spacemacs/set-leader-keys-for-major-mode 'org-mode + "ler" 'conlanging/eittlanda-to-runes + "lel" 'conlanging/eittlanda-to-latex + "lmr" 'conlanging/matter-to-runes + "lml" 'conlanging/matter-to-native-latin "lmL" 'conlanging/matter-to-latex) ;;; keybindings.el ends here