Add design file
This commit is contained in:
parent
c7795fed0c
commit
84eb5da7f5
3
.gitignore
vendored
3
.gitignore
vendored
@ -11,4 +11,5 @@
|
|||||||
*.~undo-tree
|
*.~undo-tree
|
||||||
|
|
||||||
# Flycheck
|
# Flycheck
|
||||||
flycheck_*
|
flycheck_*
|
||||||
|
*.html
|
||||||
|
27
design.org
Normal file
27
design.org
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#+title: ~org-conlang~ design
|
||||||
|
#+author: Lucien Cartier-Tilet
|
||||||
|
#+email: lucien@phundrak.com
|
||||||
|
|
||||||
|
* Representing Dictionaries in org-mode
|
||||||
|
The way I have always been writing dictionaries in org-mode was to
|
||||||
|
write a list of words in a dedicated heading in their language’s
|
||||||
|
dedicated file. But I believe this is not how it should be done.
|
||||||
|
Instead, only one file should act as my database in which I will store
|
||||||
|
as many words as needed.
|
||||||
|
|
||||||
|
The location of the dictionary must be presented with
|
||||||
|
|
||||||
|
* Word links
|
||||||
|
An issue I was facing when working on the initial drafts of
|
||||||
|
~org-conlang~ was how to link two words together. The answer:
|
||||||
|
[[file:./ol-conlang.el][ol-conlang]]. Words can be first categorized by language, and then they
|
||||||
|
can be stored individually. This would make URIs look something like
|
||||||
|
~language/word~. This is necessary in case two languages both have a
|
||||||
|
word spelled the same way, such as English and Mbabaram /dog/ --- which
|
||||||
|
funnily enough both mean the same thing.
|
||||||
|
|
||||||
|
To specify to org-mode these are custom links, they need to have a
|
||||||
|
dedicated prefix, ~conlang~. To make it more cohesive, I decided to
|
||||||
|
separate the name of the language and the word itself with a colon as
|
||||||
|
well. Thus, the link towards the English word /dog/ is
|
||||||
|
~[[conlang:english:dog]]~.
|
Reference in New Issue
Block a user