Files
FireIsGood 361736a7cf fix: trivial formatted posts
Every other file's format which was automatically converted correctly.
Each has been manually checked and they should all be visually the same.
2024-05-22 03:37:57 -07:00

1.2 KiB

title, date, background, tags, categories, intro, plugins
title date background tags categories intro plugins
Pandoc 2023-03-21 13:26:00 bg-red-400
convert
document
utility
Linux Command
[Pandoc](https://pandoc.org) is a document converter, this pandoc cheat sheet contains pandoc commands and some common pandoc tricks.
copyCode

Getting Started

Pandoc Usage

Syntax

$ pandoc -s [source file] -o [output file]

Pandoc examples

LaTeX to MS Word

Simple .tex to .docx

$ pandoc -s file.tex -o file.docx

.tex to .docx with default citations

$ pandoc -s file.tex --citeproc --bibliography=bib_library.bib -o file.docx

.tex to .docx with specific citations

$ pandoc -s file.tex --citeproc --bibliography=bib_library.bib --csl=apa.csl -o file.docx

Get .csl file from here

.tex to .docx with cross references

$ pandoc -s file.tex --filter pandoc-crossref -o file.docx

Get the filter pandoc-crossref from here

Also see