If you use a special 'syntax' or syntaxes for the locator part it will in all likelihood not be too hard to parse that too if you provide a description and/or some examples. If you show me I'll do my best to cover it. It is not clear to me how year or author are suppressed in the MMD format. It would be used from the command line like this: # TODO: handle indented code blocks (non-trivial), Use open qw(:std :utf8) # undeclared streams in UTF-8 #$%&-+?~/_ letters and numbers, and start with a letter, number or _ conversion to Pandoc's format is trivial.Ī perl script which covers the basic format from the MMD manual page I linked to is very simple: If your citekeys (the KEY part in `` don't contain any characters other than. The two variants `` and ``Īre not a problem it is easy to write a regular expression which covers both and passes the data to a reformatting routine. I'm sure it would not be too hard to write a preprocessor in Perl or Python which converts MMD-style citations into Pandoc-style ones. If you can describe in what way do your MMD citation links differ from the ones shown at > the published year, the authors aso which makes it complicated. The two formats have the options of showing/not showing > the way I have used it so far, but I can see that some editors have more Unfortunately this is not done easily with search and replace.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |