$$ \newcommand{\beqa}{\begin{eqnarray}} \newcommand{\eeqa}{\end{eqnarray}} \newcommand{\ep}{\thinspace . } \newcommand{\uvec}{\vec u} \newcommand{\Q}{\pmb{Q}} $$

 

 

 

Table of contents

What Is DocOnce?
      Demos
Markup Based on Special Lines
      Heading with title and author(s)
      Table of contents
      Section headings
      Figures
      Movies
      Copying Computer Code from Source Files
      Inserting the Output from Operating System Commands
      Comments
      Tables
      Lists
Inline Tagging
      Emphasized Words
      Inline Verbatim Text
      Links to Web Addresses
      Links to Mail Addresses
      Links to Local Files
      Quotes
      Non-Breaking Space
      Horizontal rule
      Em-dash
      Ampersand
      Footnotes
      Inline Comments
      Inline Comments for Editing
      Forced Line Breaks
      Inline Mathematics
      Cross-Referencing
      Generalized Cross-Referencing
      Index
      Emojis
Exercises, Problems, Projects, and Examples
      Examples on Exercise Syntax
      Typesetting of Exercises
      List of Exercises, Problems, and Projects
      Extracting All Exercises in a Separate Document
      Extracting All Exercises as Stand-Alone Documents
      Example on an Exercise
      Exercise 1: Compute integrals
Other Environments
      Blocks of Verbatim Computer Code
      LaTeX Blocks of Mathematical Text
      Macros (Newcommands)
      Writing Guidelines (Especially for LaTeX Users!)
      Typesetting of Algorithms
      Admonitions
      User-Defined Environments
      Example 1: Addition
Bibliography (References)
      Importing your data to the Publish database
      Requirements to input data
      Adding new references to the database
      Exporting the database
      Referring to publications
      Specifying the Publish database
      LaTeX Bibliography Style
Preprocessing and Postprocessing
      The Preprocess and Mako Preprocessors
      Splitting Documents into Smaller Pieces
Writing Slides
      Overview
      Slide Elements
      HTML5 Slides
      LaTeX Beamer Slides
Misc
      Missing Features
      Emacs DocOnce Formatter
Mako Programming
      The Basics of Mako
      Debugging Python code in Mako
      Example: Nomenclature functionality
      Example: Executing Python and using SymPy Objects in LaTeX
      Example: Extending Tables to Handle Figures
      Example: Defining a Theorem Environment
      Tools for Writing DocOnce Documents
      Debugging
From DocOnce to Other Formats
      Generating a makefile
      Preprocessing
      Removal of inline comments
      Notes
      Demo of different formats
      Useful Options for doconce format
      HTML
      Blog Posts
      Pandoc and Markdown
      LaTeX: Overview
      The old ptex2tex step
      From DocOnce to LaTeX-PDF: Generate LaTeX (Step 1)
      From DocOnce to LaTeX-PDF: Edit the LaTeX File (Step 2, Optional)
      From DocOnce to LaTeX-PDF: Generate PDF (Step 3)
      XeLaTeX
      From PDF to e-book formats
      Microsoft Word or LibreOffice
      Jupyter (IPython) Notebooks
      Plain ASCII Text
      reStructuredText
      Sphinx
      Wiki Formats
      Google Docs
      Tweaking the DocOnce Output
Options for the doconce commands
      doconce format command-line options
Installation of DocOnce and its Dependencies
      DocOnce
      Dependencies
Basic Parsing Ideas
      Typesetting of Function Arguments, Return Values, and Variables
References