Readers Guide to OrgMode
Table of Contents
1 How To Read an OrgMode File
An OrgMode file is an ordinary text file with special syntax, called "markup" to render it as an HTML file. The markup is chosen to be as inobtrusive as possible, so the ordinary text is easily read as an alternative to the formatted version.
The HTML copy of this file is composed with the push of a button in the emacs text editor for a file with the .org suffix. The PDF is produced in a web browser, while viewing the HTML by the { menu >> print >> save as pdf } sequence.
An OrgMode file is a text file, whose source contains all the text of both HTML and PDF documents. For example, if reading this in the HTML verion, here is the source text for this document.
2 Rendering differences
When viewed as a text, in a non-emacs editor, such as an email, a few renderings are not displayed. These are a few:
- italic – text between a pair of slashes is rendered in italics.
- bold – text between a pair of asterisks is rendered as bold
- sections automatically create a line-break; paragraphs are separated with a blank line.
3 Header differences
- sections of the document are delimited with leading asterisks, one for top level, two for second, …
- a section whose first word is COMMENT is not placed in the published document. In this way, It's possible to keep sections in an outline and selectively exclude them. In our case, I keep a list of all recent attendees at our meetings, and copy their name to either the attendees or absent section. God bless Ira Tumpowsky for this insight. I only misspelled his name twice, and needed a way to avoid future misspells.
- in my copy, the headers are rendered in blue.
4 Other differences
- images appear in the output HTML and PDF copies. the syntax of the OrgMode text file produces the HTML version which includes the image
- the
#+
notation suggests what it does, in this case,- the TITLE of the document
- INCLUDE a local file which has some formatting information, in this case, it sets the output font and page
- a hypertext link is enclosed in nested braces:
[[ URL ] [ display text ]]
5 submitted
This paper is part of the Yellow, Literature Tools chapter in my commonplace book.