timtylin / scholdoc

Fork of Pandoc for the implementation of a ScholarlyMarkdown parser
scholdoc.scholarlymarkdown.com
GNU General Public License v2.0
335 stars 16 forks source link

Support for abbreviations #24

Open abbiekressner opened 7 years ago

abbiekressner commented 7 years ago

As far as I know, Scholdoc (like Pandoc) does not handle abbreviations when converting to LaTex (of course, correct me if I am wrong). It would be so great though if Scholdoc included support for abbreviations, since abbreviations are very regularly used in academic writing. One possible solution is to do something similar to MultiMarkdown's abbreviation handling:

When exporting to LaTeX, the acronym package is used; this means that the first usage will result in full text (short), and subsequent uses will result in short.

Could this be accomplished rather simply with a scholdoc filter? If so, let me know. I'm a noobie with filters.

Anyway, keep up the great work! Cheers!

abbiekressner commented 7 years ago

It looks like someone has something working here using panflute, so I'm guessing that it would be pretty straightforward to port it over to a scholdoc filter.