|The Org Mode 7 Reference Manual
by Carsten Dominik and others
Paperback (6"x9"), 282 pages
RRP £9.95 ($14.95)
Sales of this book support the Org project! Get a printed copy>>>
To use the script, you need to make sure that the ‘org-jsinfo.el’ module gets loaded. It should be loaded by default, but you can try M-x customize-variable RET org-modules RET to convince yourself that this is indeed the case. All it then takes to make use of the program is adding a single line to the Org file:
#+INFOJS_OPT: view:info toc:nil
If this line is found, the HTML header will automatically contain the code needed to invoke the script. Using the line above, you can set the following viewing options:
- The path to the script. The default is to grab the script from http://orgmode.org/org-info.js, but you might want to have a local copy and use a path like ‘../scripts/org-info.js’.
Initial view when website is first shown. Possible values are:
Info-like interface with one section per page.
Folding interface, initially showing only top-level.
Folding interface, starting with all headlines visible.
Folding interface, all headlines and text visible.
Maximum headline level that will still become an independent
section for info and folding modes. The default is taken from
#+OPTIONS). If this is smaller than in
org-export-headline-levels, each info/folding section can still contain child headlines.
Should the table of contents initially be visible?
nil, you can always get to the "toc" with i.
The depth of the table of contents. The defaults are taken from
- Does the CSS of the page specify a fixed position for the "toc"? If yes, the toc will never be displayed as a section.
Should there be short contents (children) in each section?
aboveif the section should be above initial text.
- Headings are highlighted when the mouse is over them. Should be ‘underline’ (default) or a background color like ‘#cccccc’.
Should view-toggle buttons be everywhere? When
nil(the default), only one such button will be present.
You can choose default values for these options by customizing the variable
org-infojs-options. If you always want to apply the script to your
pages, configure the variable
|ISBN 9781906966089||The Org Mode 7 Reference Manual||See the print edition|