Skip to content

Instantly share code, notes, and snippets.

@tuxedocat
Created May 11, 2016 06:05
Show Gist options
  • Select an option

  • Save tuxedocat/927132456fba1c7a7c8940426be54e11 to your computer and use it in GitHub Desktop.

Select an option

Save tuxedocat/927132456fba1c7a7c8940426be54e11 to your computer and use it in GitHub Desktop.
pandoc markdown to xxx
#!/bin/bash
pandoc -f markdown_github+tex_math_dollars+pandoc_title_block+ignore_line_breaks -t docx -o $1.docx $1
#!/bin/bash
pandoc -f markdown_github+tex_math_dollars+pandoc_title_block \
-t latex \
-V geometry:margin=1in -V documentclass=pandocjsarticle -V papersize:a4paper \
--latex-engine=lualatex -H h.tex -o $1.pdf $1
\usepackage{luatexja}
\hypersetup{unicode=true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment