aboutsummaryrefslogtreecommitdiff
path: root/texinfo.template
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-07-19 12:02:59 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-07-19 12:02:59 -0700
commitd095685bde2f938f6282692adc27bf59d0fb4803 (patch)
treeaaa70982e8c5ada610d5581fc283b75fd16590f5 /texinfo.template
downloadpandoc-d095685bde2f938f6282692adc27bf59d0fb4803.tar.gz
Initial commit
Diffstat (limited to 'texinfo.template')
-rw-r--r--texinfo.template64
1 files changed, 64 insertions, 0 deletions
diff --git a/texinfo.template b/texinfo.template
new file mode 100644
index 000000000..9c1d8e178
--- /dev/null
+++ b/texinfo.template
@@ -0,0 +1,64 @@
+\input texinfo
+@documentencoding utf-8
+$for(header-includes)$
+$header-includes$
+$endfor$
+
+$if(strikeout)$
+@macro textstrikeout{text}
+~~\text\~~
+@end macro
+
+$endif$
+$if(subscript)$
+@macro textsubscript{text}
+@iftex
+@textsubscript{\text\}
+@end iftex
+@ifnottex
+_@{\text\@}
+@end ifnottex
+@end macro
+
+$endif$
+$if(superscript)$
+@macro textsuperscript{text}
+@iftex
+@textsuperscript{\text\}
+@end iftex
+@ifnottex
+^@{\text\@}
+@end ifnottex
+@end macro
+
+$endif$
+@ifnottex
+@paragraphindent 0
+@end ifnottex
+$if(titlepage)$
+@titlepage
+@title $title$
+$for(author)$
+@author $author$
+$endfor$
+$if(date)$
+$date$
+$endif$
+@end titlepage
+
+$endif$
+$for(include-before)$
+$include-before$
+
+$endfor$
+$if(toc)$
+@contents
+
+$endif$
+$body$
+$for(include-after)$
+
+$include-after$
+$endfor$
+
+@bye