ugeorge / phdb

PhD personal academic database. Offers tools to manage and track ideas and info points from literature surveys.
GNU General Public License v2.0
1 stars 0 forks source link

Text-to-LaTeX and Text-to-HTML parser/generator #1

Open ugeorge opened 10 years ago

ugeorge commented 10 years ago

Currently LaTeX is generated using ad hoc modules. Could it be done using a grammar? Need to check that.

ugeorge commented 10 years ago

A grammar is irrelevant. Although elegant in some situations, it is too much of an overkill. Since much of the backend syntax is one-to-one transformation or in the worst case identifiable through regular expressions, it can be easily and efficiently solved with dictionaries and minimal sets of functions.

ugeorge commented 10 years ago

will use docutils publisher having reStructuredText as markup

ugeorge commented 10 years ago

Both LaTeX and HTML parsing/generation will have two stages:

ugeorge commented 10 years ago

added the HTML generation to this same issue. Will be used later on for embedding in the zotero plugin