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

12.14.13 A Texinfo example

Here is a more detailed example Org file. See GNU Sample Texts for an equivalent example using Texinfo code.

     #+TITLE: GNU Sample {{{version}}}
     #+SUBTITLE: for version {{{version}}}, {{{updated}}}
     #+AUTHOR: A.U. Thor
     #+OPTIONS: ':t toc:t author:t email:t
     #+LANGUAGE: en
     #+MACRO: version 2.0
     #+MACRO: updated last updated 4 March 2014
     #+TEXINFO_HEADER: @syncodeindex pg cp
     #+TEXINFO_DIR_CATEGORY: Texinfo documentation system
     #+TEXINFO_DIR_TITLE: sample: (sample)
     #+TEXINFO_DIR_DESC: Invoking sample
     This manual is for GNU Sample (version {{{version}}},
     * Copying
       :COPYING:  t
       This manual is for GNU Sample (version {{{version}}},
       {{{updated}}}), which is an example in the Texinfo documentation.
       Copyright \copy 2019 Free Software Foundation, Inc.
       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