TheComamba / LoreTex

LoreTex is an extension to the Tex language for compiling pdf documents, providing an interface to define characters, places and more, and then generate a glossary containing those entities that are relevant to your story.
MIT License
0 stars 0 forks source link

Implement Dictionaries #5

Open TheComamba opened 1 year ago

TheComamba commented 1 year ago

A little code for this feature already exists in the file dictionary.lua, from the time before feature branches and pull requests.

It would nice to give RpgTex a table input and have it print that table in a user defined version. For example, you can give it a dictionary for a fictional language containing the columns "English", "Grey Elvish", "Elvish Spelling" and "Pronounciation", and then make it print the table in that column order, with rows sorted alphanumerically by the "English" column, and then print it again with only the columns "Grey Elvish" and "English", rows sorted by the (now) first column.