Added templates/ directory.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1687 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2009-12-31 01:10:42 +00:00
parent 5ef0be2375
commit 8c74cebbfc
13 changed files with 78 additions and 1 deletions

View file

@ -34,7 +34,12 @@ Description: Pandoc is a Haskell library for converting from one markup
which convert this native representation into a target
format. Thus, adding an input or output format requires
only adding a reader or writer.
Data-Files:
Data-Files: templates/html.template, templates/docbook.template,
templates/opendocument.template, templates/latex.template,
templates/context.template, templates/texinfo.template,
templates/man.template, templates/markdown.template,
templates/rst.template, templates/s5.template,
templates/mediawiki.template, templates/rtf.template
-- documentation
README, INSTALL, COPYRIGHT, BUGS, changelog,
-- wrappers

View file

@ -0,0 +1 @@
TODO

View file

@ -0,0 +1 @@
TODO

1
templates/html.template Normal file
View file

@ -0,0 +1 @@
TODO

61
templates/latex.template Normal file
View file

@ -0,0 +1,61 @@
$if(legacy-header)$
$legacy-header$
$else$
\documentclass{article}
\usepackage{ifpdf,ifxetex}
\ifxetex
\usepackage{fontspec,xltxtra,xunicode}
\else
\usepackage[utf8x]{inputenc}
\usepackage[mathletters]{ucs}
\fi
\usepackage{amsmath}
\usepackage{listings}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
$endif$
\usepackage{fancyvrb}
\usepackage{enumerate}
\usepackage{array}
% This is needed because raggedright in table elements redefines \\:
\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
\let\PBS=\PreserveBackslash
\usepackage[normalem]{ulem}
\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
\usepackage[breaklinks=true]{hyperref}
\usepackage{url}
\usepackage{graphicx}
\VerbatimFootnotes % allows verbatim text in footnotes
$if(numbersections)$
$else$
\setcounter{secnumdepth}{0}
$endif$
$header-includes$
$if(title)$
\title{$title$}
$endif$
$if(authors)$
\author{$authors$}
$endif$
$if(date)$
\date{$date$}
$endif$
\begin{document}
\maketitle
$if(toc)$
\tableofcontents
$endif$
$if(before)$
$before$
$endif$
$body$
$if(after)$
$after$
$endif$
\end{document}

1
templates/man.template Normal file
View file

@ -0,0 +1 @@
TODO

View file

@ -0,0 +1 @@
TODO

View file

@ -0,0 +1 @@
TODO

View file

@ -0,0 +1 @@
TODO

1
templates/rst.template Normal file
View file

@ -0,0 +1 @@
TODO

1
templates/rtf.template Normal file
View file

@ -0,0 +1 @@
TODO

1
templates/s5.template Normal file
View file

@ -0,0 +1 @@
TODO

View file

@ -0,0 +1 @@
TODO