Previous: Texinfo specific attributes, Up: Texinfo export [Contents][Index]

#### 12.11.7 An example

Here is a thorough example, taken from See (texinfo)GNU Sample Texts.

    #+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
    #+EMAIL: bug-sample@gnu.org
    #+LANGUAGE: en

    #+TEXINFO_FILENAME: sample.info
    #+TEXINFO_HEADER: @syncodeindex pg cp

    #+TEXINFO_DIR_CATEGORY: Texinfo documentation system
    #+TEXINFO_DIR_TITLE: sample: (sample)
    #+TEXINFO_DIR_DESC: Invoking sample

    #+TEXINFO_PRINTED_TITLE: GNU Sample
    #+SUBTITLE: for version 2.0, last updated 4 March 2014

    * Copying
      :PROPERTIES:
      :COPYING:  t
      :END:

      This manual is for GNU Sample (version {{{version}}},
      {{{updated}}}), which is an example in the Texinfo documentation.

      Copyright @@texinfo:@copyright{}@@ 2013 Free Software Foundation,
      Inc.

      #+BEGIN_QUOTE
      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".
      #+END_QUOTE

    * 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
      :PROPERTIES:
      :APPENDIX: t
      :END:

      #+TEXINFO: @include fdl.texi

    * Index
      :PROPERTIES:
      :INDEX:    cp
      :END: