vicbab / rtftomd

Converts from RTF to MD with Pandoc, then RegEx cleanup in preparation for use with Stylo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What it is

RTFTOMD is a pre-CMS software used in conjunction with Stylo, a Markdown CMS.

What it does

  1. (facultative) Converts from RTF to MD with Pandoc
  2. Lints & formats the manuscript in preparation for use with Stylo.
  3. Parses the bibliography with Anystyle and Serrano.
  4. Automatically adds the bibliography to a Zotero subcollection. (TODO: create a new subcollection for the article, properly formatted)
  5. (TODO) Replaces inline/footnote citations with citation keys in the manuscript.
  6. (TODO) Automatically adds the manuscript to Stylo

Specifically made for Lampadaire. Planned to be made more flexible in the near future.

How to use it

Usage: app.rb [options]

"-f", "--file FILE", "File to parse"

"-b", "--bib FILE", "MD file to parse bibliography"

"-r", "--ref REF", "Reference to search"

"-l", "--lint FILE", "Lint the file"

About

Converts from RTF to MD with Pandoc, then RegEx cleanup in preparation for use with Stylo.

License:MIT License


Languages

Language:Ruby 100.0%