Better Documents System
alilleybrinker opened this issue · 2 comments
alilleybrinker commented
Hey Krishna, you may want to look into Pandoc to help you out.
With Pandoc you can write in something like Markdown (which I recommend), turn it into TeX (because TeX is beautiful) and turn the TeX into a PDF.
Here is a UNIX bash function to do just that:
function md_to_pdf() {
pandoc -s "$@".md -o "$@".tex
pandoc -s "$@".tex -o "$@".pdf
rm "$@".tex
}
To use the function, add it to your .bash_profile
(found at ~/.bash_profile
), save the changes, and then restart your terminal.
The advantages of this setup are:
- The ease of writing Markdown.
- The beauty of TeX.
- The cross-platform simplicity of PDFs.
kcparashar commented
Nice, this looks fantastic. I will look into it! Thanks! Also I am going back down to SoCal in the next week or so. We should meet up!
kcparashar commented
I need to really do this. Pages is just not a good file format.