git.iko.soy/typeable/pandoc
on master help sign in
Added templates/ directory.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1687 788f1e2b-df1e-0410-8736-df70ead52e1b

commit8c74cebbfc52e0441d2632470e367e3edb99f20b authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 31 Dec 2009, 01:10 (17 years ago) parent5ef0be2
13 files changed+78−1
pandoc.cabal+6−1 templates/context.template+1 templates/docbook.template+1 templates/html.template+1 templates/latex.template+61 templates/man.template+1 templates/markdown.template+1 templates/mediawiki.template+1 templates/opendocument.template+1 templates/rst.template+1 templates/rtf.template+1 templates/s5.template+1 templates/texinfo.template+1
pandoc.cabal+6−1
@@ -34,7 +34,12 @@ Description: Pandoc is a Haskell library for converting from one markup
3434 which convert this native representation into a target
3535 format. Thus, adding an input or output format requires
3636 only adding a reader or writer.
37−Data-Files:
37+Data-Files: templates/html.template, templates/docbook.template,
38+ templates/opendocument.template, templates/latex.template,
39+ templates/context.template, templates/texinfo.template,
40+ templates/man.template, templates/markdown.template,
41+ templates/rst.template, templates/s5.template,
42+ templates/mediawiki.template, templates/rtf.template
3843 -- documentation
3944 README, INSTALL, COPYRIGHT, BUGS, changelog,
4045 -- wrappers
templates/context.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/docbook.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/html.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/latex.templatenew file+61
@@ -0,0 +1,61 @@
1+$if(legacy-header)$
2+$legacy-header$
3+$else$
4+\documentclass{article}
5+\usepackage{ifpdf,ifxetex}
6+\ifxetex
7+ \usepackage{fontspec,xltxtra,xunicode}
8+\else
9+ \usepackage[utf8x]{inputenc}
10+ \usepackage[mathletters]{ucs}
11+\fi
12+\usepackage{amsmath}
13+\usepackage{listings}
14+\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
15+\setlength{\parindent}{0pt}
16+\setlength{\parskip}{6pt plus 2pt minus 1pt}
17+$endif$
18+\usepackage{fancyvrb}
19+\usepackage{enumerate}
20+\usepackage{array}
21+% This is needed because raggedright in table elements redefines \\:
22+\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
23+\let\PBS=\PreserveBackslash
24+\usepackage[normalem]{ulem}
25+\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
26+\usepackage[breaklinks=true]{hyperref}
27+\usepackage{url}
28+\usepackage{graphicx}
29+
30+\VerbatimFootnotes % allows verbatim text in footnotes
31+
32+$if(numbersections)$
33+$else$
34+\setcounter{secnumdepth}{0}
35+$endif$
36+$header-includes$
37+
38+$if(title)$
39+\title{$title$}
40+$endif$
41+$if(authors)$
42+\author{$authors$}
43+$endif$
44+$if(date)$
45+\date{$date$}
46+$endif$
47+
48+\begin{document}
49+\maketitle
50+
51+$if(toc)$
52+\tableofcontents
53+$endif$
54+$if(before)$
55+$before$
56+$endif$
57+$body$
58+$if(after)$
59+$after$
60+$endif$
61+\end{document}
templates/man.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/markdown.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/mediawiki.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/opendocument.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/rst.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/rtf.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/s5.templatenew file+1
@@ -0,0 +1 @@
1+TODO
templates/texinfo.templatenew file+1
@@ -0,0 +1 @@
1+TODO