docs.daveops.net

Snippets for yer computer needs

Documentation Systems

man

ID Description
1 General commands
2 System calls
3 C Library functions
4 Special files (devices and drivers)
5 File formats and conventions
6 Games and screensavers
7 Miscellaneous
8 System administration commands and daemons
9 Kernel routines (redhat)
n Tcl/TK
x X Windows
p POSIX specifications

Sphinx

# Create new project
sphinx-quickstart

Removing extra blank pages from PDF

latex_elements = {
  'classoptions': ',openany,oneside',
  'babel': '\\usepackage[english]{babel}',
}

pandoc

Making slides

pandoc -t beamer -V colortheme:whale -i presentation.md -o presentation.pdf

Markdown

Using extensions

pandoc -f markdown+footnotes+yaml_metadata_block

raw_tex

Allows inserting raw TeX commands into the doc

footnotes

I need a footnote[^footnote]

[^footnote]: This footnote explains why