Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polamjag/md2repotex
Markdown to report-styled XeLaTeX file, with support of pandoc
https://github.com/polamjag/md2repotex
Last synced: about 1 month ago
JSON representation
Markdown to report-styled XeLaTeX file, with support of pandoc
- Host: GitHub
- URL: https://github.com/polamjag/md2repotex
- Owner: polamjag
- License: mit
- Created: 2015-01-21T10:26:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-21T12:20:20.000Z (almost 10 years ago)
- Last Synced: 2024-10-16T01:56:22.119Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# md2repotex
Markdown to LaTeX converter, wraps pandoc, appends header and footer
## DEPENDENCIES
- [Pandoc](http://johnmacfarlane.net/pandoc/)
- GNU sed## SYNOPSIS
```
$ md2repotex [-t ""] [-d "\\today"] [-f]
```### OPTIONS
- `-t ""`: title for report
- `-d "\\today"`: specify `\date{}` in LaTeX (the character `\\` should be doubled because it works as escape sequence)
- `-f`: force overwriting output file## DESCRIPTION
**You must have directory named `.md2repotex.d/` in your `$HOME`**.
Edit thees files to customize template for generated files.
It contains these files:
- `.md2repotex.d/meta`
- `.md2repotex.d/header`
- `.md2repotex.d/footer`### `.md2repotex.d/meta`
This file contains metadata of the document like `\author`.
### `.md2repotex.d/header`
This file contains basic preambles for LaTeX files.
### `.md2repotex.d/footer`
This file is basically only for `\end{document}`, but you can append anything on bottom of .tex file by editing this.
## EXAMPLES
```
$ # this may opens compiled pdf
$ md2repotex -t "my awesome report" report.md && xelatex report.tex && open report.pdf
$ # specify date
$ md2repotex -t "another title" -d "Wed Jan 21, 2015" report.md
```