aboutsummaryrefslogtreecommitdiff
path: root/default.texinfo
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-07-22 22:18:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-07-22 22:18:04 -0700
commit663adaa8612242dfce8c32ae5c7afc6be45c6eb6 (patch)
treea7fabff7921c4d75645f7148b5f24d4928df1866 /default.texinfo
parenta053c6d1b072f080bb13bc1a479ac6db7dd2b154 (diff)
downloadpandoc-663adaa8612242dfce8c32ae5c7afc6be45c6eb6.tar.gz
Renamed templates from <writer>.template to default.<writer>.
Diffstat (limited to 'default.texinfo')
-rw-r--r--default.texinfo64
1 files changed, 64 insertions, 0 deletions
diff --git a/default.texinfo b/default.texinfo
new file mode 100644
index 000000000..9c1d8e178
--- /dev/null
+++ b/default.texinfo
@@ -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