Skip to content
/ rtftomd Public

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

License

Notifications You must be signed in to change notification settings

vicbab/rtftomd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages