ox-texinfo: Fix location of text before first headline
commitfa6b7bf25cdba052f9388f8a646223ce6ccb580f
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 20 Jun 2017 07:17:37 +0000 (20 09:17 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 20 Jun 2017 07:24:34 +0000 (20 09:24 +0200)
tree15723b7ee1b749d47a010b97dfea0e1b75c8ec6f
parent2ab2a420a6ea1d9cea032afa9a7f7500726f0609
ox-texinfo: Fix location of text before first headline

* doc/org.texi (Info directory file): Fix node name.
(Headings and sectioning structure): Document location of text before
  first headline.
(A Texinfo example): Update example.

* lisp/ox-texinfo.el (org-texinfo-template): Handle contents of very
  first section.
(org-texinfo-section): Ignore very first section.

According to Texinfo specifications, Top node contents should not
appear in printed output.  Move it near "@top" command, within
"@ifnottex".
doc/org.texi
lisp/ox-texinfo.el