Support via Liberapay, GitHub or PayPal

Org-babel: Uses

Table of Contents

{Back to Babel's index}

A Standardized Short Report

This example is similar to the previous one, but here the users are expected to write substantial content. This type of workflow might be used by a small organization whose employees regularly produce standard documents and where the writing tasks for any one document are divided among the authors.

The HTML export facility of Org-mode is used to produce a guide to writing the standardized short report. This HTML file can be used to train new authors. The Org-mode content also supplies substantial direction to experienced authors as they write. Org-mode keywords and tags are used to keep track of writing assignments and progress. Org-babel's literate programming facility makes it possible to present writing tasks to the authors in an order different from which they appear in the report.


  • A working LaTeX installation.


  • The integration of training material with in-file instruction can be quite effective.
  • Many authors find it easy to work from the bottom up, or from the particular to the general, rather than the usual sequence of general-particular-general found in reports.


  • Some features of reftex are not yet integrated into the source code block editor, so writing and editing are sometimes less convenient than writing to the LaTeX document directly.


  • This report must satisfy the requirements set out in the Historic Preservation Division rule.
  • Complete each of the TODO items.
  • Mark each item DONE when you have completed it.
  • C-c a t will make an agenda of items left to do in this document.
  • C-c a m YOURNAME will make an agenda of writing tasks assigned to you.

TODO Field Methods

  • TODO Include the following information: [1/7]
    • [X] When the fieldwork was carried out.
    • [ ] Who directed the fieldwork.
    • [ ] The names and qualifications of crew members.
    • [ ] Establishment of site datum and grid.
    • [ ] Excavation tools.
    • [ ] Assignment of contexts.
    • [ ] Bag list.
  • DONE Include a citation to the project plan.
    \section{Field Methods}
    % Enter text below this line.
    Fieldwork for the project was carried out between December 26, 2008
    and February 3, 2009 following an approved plan \cite{plan}.

TODO Results

  • Note the use of Org-mode tags to assign sections to authors Veronica and Eric.
  • Discuss the artifacts and midden recovered during excavation.
  • TODO Artifacts   Veronica
    • Use Sinoto's classification of one-piece fishhooks.
    • Cite Anell when describing two-piece fishhooks.
    • Use Emory's classification of adzes when describing cross-section.
    \subsection{Description of Artifacts}
    % Enter text below this line
  • TODO Midden   Eric
    • Use Kay for identifying and naming marine shells
    • Cite Ziegler for information on fish habitats
    % Enter text below this line
  • No data entry beyond this line
    This section presents the results of excavation.

TODO Introduction

  • Give the reader a brief overview of the project and its results.

% Text below this line

No data entry beyond this line

  • The LaTeX code here sets up the environment and inserts the defined source code blocks in their report order.
  • A call to org-babel-tangle produces the LaTeX report document.

Documentation from the website (either in its HTML format or in its Org format) is licensed under the GNU Free Documentation License version 1.3 or later. The code examples and css stylesheets are licensed under the GNU General Public License v3 or later.