This is the official manual for the latest Org-mode release.

Table of Contents

Previous: Special blocks in Texinfo export, Up: Texinfo export

12.14.13 A Texinfo example

Here is a thorough example. see GNU Sample Texts for an equivalent Texinfo code.

     #+MACRO: version 2.0
     #+MACRO: updated last updated 4 March 2014
     #+OPTIONS: ':t toc:t author:t email:t
     #+TITLE: GNU Sample {{{version}}}
     #+AUTHOR: A.U. Thor
     #+LANGUAGE: en
     #+TEXINFO_HEADER: @syncodeindex pg cp
     #+TEXINFO_DIR_CATEGORY: Texinfo documentation system
     #+TEXINFO_DIR_TITLE: sample: (sample)
     #+TEXINFO_DIR_DESC: Invoking sample
     #+SUBTITLE: for version {{{version}}}, {{{updated}}}
     * Copying
       :COPYING:  t
       This manual is for GNU Sample (version {{{version}}},
       {{{updated}}}), which is an example in the Texinfo documentation.
       Copyright @@texinfo:@copyright{}@@ 2013 Free Software Foundation,
       Permission is granted to copy, distribute and/or modify this
       document under the terms of the GNU Free Documentation License,
       Version 1.3 or any later version published by the Free Software
       Foundation; with no Invariant Sections, with no Front-Cover Texts,
       and with no Back-Cover Texts.  A copy of the license is included in
       the section entitled "GNU Free Documentation License".
     * Invoking sample
       #+PINDEX: sample
       #+CINDEX: invoking @command{sample}
       This is a sample manual.  There is no sample program to invoke, but
       if there were, you could see its basic usage and command line
       options here.
     * GNU Free Documentation License
       :APPENDIX: t
       #+TEXINFO: @include fdl.texi
     * Index
       :INDEX:    cp