... | @@ -5,11 +5,11 @@ How to create nice latex pdf from markdown: |
... | @@ -5,11 +5,11 @@ How to create nice latex pdf from markdown: |
|
|
|
|
|
1. Pandoc command to generate a standalone Latex document:
|
|
1. Pandoc command to generate a standalone Latex document:
|
|
|
|
|
|
pandoc -s -o OutputFile.tex -f markdown InputFile.markdown
|
|
```pandoc -s -o OutputFile.tex -f markdown InputFile.markdown```
|
|
|
|
|
|
Or without the standalone:
|
|
Or without the standalone:
|
|
|
|
|
|
pandoc -o OutputFile.tex -f markdown InputFile.markdown
|
|
```pandoc -o OutputFile.tex -f markdown InputFile.markdown```
|
|
2. Update all figure includes to local path.
|
|
2. Update all figure includes to local path.
|
|
3. Search and replace htbp with H to fix figure placement.
|
|
3. Search and replace htbp with H to fix figure placement.
|
|
4. Add \url{} around urls, otherwise no linebreaks is inserted, if it is longer than one line.
|
|
4. Add \url{} around urls, otherwise no linebreaks is inserted, if it is longer than one line.
|
... | | ... | |