Skip to content

A rough and ready LaTeX -> Markdown preprocessor that preserves figure references.

Notifications You must be signed in to change notification settings

danielmaitre/latex-pandoc-preprocessor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latex to Markdown Preprocessor

Annoyed that Pandoc doesn't correctly handle figure labels? Well, this module is just for you!

ltmd uses regex to extract figures, references, and mathematics, and processes them separately to Pandoc so that the figure references, etc. are preserved.

Usage

Use:

	python3 preprocess.py <input> <output>

for example to generate the test markdown, we use

	python3 preprocess.py test.tex test.md

Requirements

  • python3 (no python2 version will ever be made available)
  • pandoc somewhere in your path.
  • pypandoc

About

A rough and ready LaTeX -> Markdown preprocessor that preserves figure references.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.1%
  • HTML 5.8%
  • TeX 5.1%