From 663adaa8612242dfce8c32ae5c7afc6be45c6eb6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 22 Jul 2011 22:18:04 -0700 Subject: Renamed templates from .template to default.. --- context.template | 84 -------------------------------- default.context | 84 ++++++++++++++++++++++++++++++++ default.docbook | 23 +++++++++ default.html | 66 +++++++++++++++++++++++++ default.latex | 131 ++++++++++++++++++++++++++++++++++++++++++++++++++ default.man | 18 +++++++ default.markdown | 23 +++++++++ default.mediawiki | 13 +++++ default.opendocument | 27 +++++++++++ default.org | 24 +++++++++ default.plain | 23 +++++++++ default.rst | 39 +++++++++++++++ default.rtf | 27 +++++++++++ default.s5 | 69 ++++++++++++++++++++++++++ default.slidy | 70 +++++++++++++++++++++++++++ default.texinfo | 64 ++++++++++++++++++++++++ default.textile | 9 ++++ docbook.template | 23 --------- html.template | 66 ------------------------- latex.template | 131 -------------------------------------------------- man.template | 18 ------- markdown.template | 23 --------- mediawiki.template | 13 ----- opendocument.template | 27 ----------- org.template | 24 --------- plain.template | 23 --------- rst.template | 39 --------------- rtf.template | 27 ----------- s5.template | 69 -------------------------- slidy.template | 70 --------------------------- texinfo.template | 64 ------------------------ textile.template | 9 ---- 32 files changed, 710 insertions(+), 710 deletions(-) delete mode 100644 context.template create mode 100644 default.context create mode 100644 default.docbook create mode 100644 default.html create mode 100644 default.latex create mode 100644 default.man create mode 100644 default.markdown create mode 100644 default.mediawiki create mode 100644 default.opendocument create mode 100644 default.org create mode 100644 default.plain create mode 100644 default.rst create mode 100644 default.rtf create mode 100644 default.s5 create mode 100644 default.slidy create mode 100644 default.texinfo create mode 100644 default.textile delete mode 100644 docbook.template delete mode 100644 html.template delete mode 100644 latex.template delete mode 100644 man.template delete mode 100644 markdown.template delete mode 100644 mediawiki.template delete mode 100644 opendocument.template delete mode 100644 org.template delete mode 100644 plain.template delete mode 100644 rst.template delete mode 100644 rtf.template delete mode 100644 s5.template delete mode 100644 slidy.template delete mode 100644 texinfo.template delete mode 100644 textile.template diff --git a/context.template b/context.template deleted file mode 100644 index 4269d06a1..000000000 --- a/context.template +++ /dev/null @@ -1,84 +0,0 @@ -\enableregime[utf] % use UTF-8 - -\setupcolors[state=start] -\setupinteraction[state=start, color=middleblue] % needed for hyperlinks - -\setuppapersize[letter][letter] % use letter paper -\setuplayout[width=middle, backspace=1.5in, cutspace=1.5in, - height=middle, header=0.75in, footer=0.75in] % page layout -\setuppagenumbering[location={footer,center}] % number pages -\setupbodyfont[11pt] % 11pt font -\setupwhitespace[medium] % inter-paragraph spacing - -\setuphead[section][style=\tfc] -\setuphead[subsection][style=\tfb] -\setuphead[subsubsection][style=\bf] - -% define descr (for definition lists) -\definedescription[descr][ - headstyle=bold,style=normal,align=left,location=hanging, - width=broad,margin=1cm] - -% prevent orphaned list intros -\setupitemize[autointro] - -% define defaults for bulleted lists -\setupitemize[1][symbol=1][indentnext=no] -\setupitemize[2][symbol=2][indentnext=no] -\setupitemize[3][symbol=3][indentnext=no] -\setupitemize[4][symbol=4][indentnext=no] - -\setupthinrules[width=15em] % width of horizontal rules - -% for block quotations -\unprotect - -\startvariables all -blockquote: blockquote -\stopvariables - -\definedelimitedtext -[\v!blockquote][\v!quotation] - -\setupdelimitedtext -[\v!blockquote] -[\c!left=, -\c!right=, -before={\blank[medium]}, -after={\blank[medium]}, -] - -\protect -$for(header-includes)$ -$header-includes$ -$endfor$ - -\starttext -$if(title)$ -\startalignment[center] - \blank[2*big] - {\tfd $title$} -$if(author)$ - \blank[3*medium] - {\tfa $for(author)$$author$$sep$\crlf $endfor$} -$endif$ -$if(date)$ - \blank[2*medium] - {\tfa $date$} -$endif$ - \blank[3*medium] -\stopalignment -$endif$ -$for(include-before)$ -$include-before$ -$endfor$ -$if(toc)$ -\placecontent -$endif$ - -$body$ - -$for(include-after)$ -$include-after$ -$endfor$ -\stoptext diff --git a/default.context b/default.context new file mode 100644 index 000000000..4269d06a1 --- /dev/null +++ b/default.context @@ -0,0 +1,84 @@ +\enableregime[utf] % use UTF-8 + +\setupcolors[state=start] +\setupinteraction[state=start, color=middleblue] % needed for hyperlinks + +\setuppapersize[letter][letter] % use letter paper +\setuplayout[width=middle, backspace=1.5in, cutspace=1.5in, + height=middle, header=0.75in, footer=0.75in] % page layout +\setuppagenumbering[location={footer,center}] % number pages +\setupbodyfont[11pt] % 11pt font +\setupwhitespace[medium] % inter-paragraph spacing + +\setuphead[section][style=\tfc] +\setuphead[subsection][style=\tfb] +\setuphead[subsubsection][style=\bf] + +% define descr (for definition lists) +\definedescription[descr][ + headstyle=bold,style=normal,align=left,location=hanging, + width=broad,margin=1cm] + +% prevent orphaned list intros +\setupitemize[autointro] + +% define defaults for bulleted lists +\setupitemize[1][symbol=1][indentnext=no] +\setupitemize[2][symbol=2][indentnext=no] +\setupitemize[3][symbol=3][indentnext=no] +\setupitemize[4][symbol=4][indentnext=no] + +\setupthinrules[width=15em] % width of horizontal rules + +% for block quotations +\unprotect + +\startvariables all +blockquote: blockquote +\stopvariables + +\definedelimitedtext +[\v!blockquote][\v!quotation] + +\setupdelimitedtext +[\v!blockquote] +[\c!left=, +\c!right=, +before={\blank[medium]}, +after={\blank[medium]}, +] + +\protect +$for(header-includes)$ +$header-includes$ +$endfor$ + +\starttext +$if(title)$ +\startalignment[center] + \blank[2*big] + {\tfd $title$} +$if(author)$ + \blank[3*medium] + {\tfa $for(author)$$author$$sep$\crlf $endfor$} +$endif$ +$if(date)$ + \blank[2*medium] + {\tfa $date$} +$endif$ + \blank[3*medium] +\stopalignment +$endif$ +$for(include-before)$ +$include-before$ +$endfor$ +$if(toc)$ +\placecontent +$endif$ + +$body$ + +$for(include-after)$ +$include-after$ +$endfor$ +\stoptext diff --git a/default.docbook b/default.docbook new file mode 100644 index 000000000..66dfbef8d --- /dev/null +++ b/default.docbook @@ -0,0 +1,23 @@ + + +
+ + $title$ +$for(author)$ + + $author$ + +$endfor$ +$if(date)$ + $date$ +$endif$ + +$for(include-before)$ +$include-before$ +$endfor$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ +
diff --git a/default.html b/default.html new file mode 100644 index 000000000..3f8b76fed --- /dev/null +++ b/default.html @@ -0,0 +1,66 @@ +$if(html5)$ + + +$else$ + + +$endif$ + +$if(html5)$ + +$else$ + +$endif$ + +$for(author)$ + +$endfor$ +$if(date)$ + +$endif$ + $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ +$if(html5)$ + +$endif$ +$if(highlighting-css)$ + +$endif$ +$for(css)$ + +$endfor$ +$if(math)$ +$if(html5)$ +$else$ + $math$ +$endif$ +$endif$ +$for(header-includes)$ + $header-includes$ +$endfor$ + + +$for(include-before)$ +$include-before$ +$endfor$ +$if(title)$ +$if(html5)$ +
+$endif$ +

$title$

+$if(html5)$ +
+$endif$ +$endif$ +$if(toc)$ +$toc$ +$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ + + diff --git a/default.latex b/default.latex new file mode 100644 index 000000000..8ecc73c1f --- /dev/null +++ b/default.latex @@ -0,0 +1,131 @@ +\documentclass$if(fontsize)$[$fontsize$]$endif${article} +\usepackage{amssymb,amsmath} +\usepackage{iftex} +\ifXeTeX + \usepackage{fontspec,xltxtra,xunicode} + \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} +\else + \ifLuaTeX + \usepackage{fontspec} + \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \else + \usepackage[mathletters]{ucs} + \usepackage[utf8x]{inputenc} + \fi +\fi +$if(natbib)$ +\usepackage{natbib} +\bibliographystyle{plainnat} +$endif$ +$if(biblatex)$ +\usepackage{biblatex} +$if(biblio-files)$ +\bibliography{$biblio-files$} +$endif$ +$endif$ +$if(lhs)$ +\usepackage{listings} +\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} +$endif$ +$if(verbatim-in-note)$ +\usepackage{fancyvrb} +$endif$ +$if(fancy-enums)$ +% Redefine labelwidth for lists; otherwise, the enumerate package will cause +% markers to extend beyond the left margin. +\makeatletter\AtBeginDocument{% + \renewcommand{\@listi} + {\setlength{\labelwidth}{4em}} +}\makeatother +\usepackage{enumerate} +$endif$ +$if(tables)$ +\usepackage{ctable} +\usepackage{float} % provides the H option for float placement +$endif$ +$if(strikeout)$ +\usepackage[normalem]{ulem} +% avoid problems with \sout in headers with hyperref: +\pdfstringdefDisableCommands{\renewcommand{\sout}{}} +$endif$ +$if(subscript)$ +\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}} +$endif$ +$if(url)$ +\usepackage{url} +$endif$ +$if(graphics)$ +\usepackage{graphicx} +% We will generate all images so they have a width \maxwidth. This means +% that they will get their normal width if they fit onto the page, but +% are scaled down if they would overflow the margins. +\makeatletter +\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth +\else\Gin@nat@width\fi} +\makeatother +\let\Oldincludegraphics\includegraphics +\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} +$endif$ +\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref} +\setlength{\parindent}{0pt} +\setlength{\parskip}{6pt plus 2pt minus 1pt} +\setlength{\emergencystretch}{3em} % prevent overfull lines +$if(listings)$ +\usepackage{listings} +$endif$ +$if(numbersections)$ +$else$ +\setcounter{secnumdepth}{0} +$endif$ +$if(verbatim-in-note)$ +\VerbatimFootnotes % allows verbatim text in footnotes +$endif$ +$for(header-includes)$ +$header-includes$ +$endfor$ + +$if(title)$ +\title{$title$} +$endif$ +$if(author)$ +\author{$for(author)$$author$$sep$ \and $endfor$} +$endif$ +$if(date)$ +\date{$date$} +$endif$ + +\begin{document} +$if(title)$ +\maketitle +$endif$ + +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +\tableofcontents + +$endif$ +$body$ +$if(biblio-files)$ +$if(natbib)$ +$if(biblio-title)$ +$if(book-class)$ +\renewcommand\bibname{$biblio-title$} +$else$ +\renewcommand\refname{$biblio-title$} +$endif$ +$endif$ +\bibliography{$biblio-files$} +$endif$ +$endif$ +$if(biblatex)$ +\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ +$endif$ +$for(include-after)$ + +$include-after$ +$endfor$ + +\end{document} diff --git a/default.man b/default.man new file mode 100644 index 000000000..ff86c8ca6 --- /dev/null +++ b/default.man @@ -0,0 +1,18 @@ +$if(has-tables)$ +.\"t +$endif$ +.TH $title$ $section$ "$date$" $description$ +$for(header-includes)$ +$header-includes$ +$endfor$ +$for(include-before)$ +$include-before$ +$endfor$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ +$if(author)$ +.SH AUTHORS +$for(author)$$author$$sep$; $endfor$. +$endif$ diff --git a/default.markdown b/default.markdown new file mode 100644 index 000000000..d500d3384 --- /dev/null +++ b/default.markdown @@ -0,0 +1,23 @@ +$if(titleblock)$ +% $title$ +% $for(author)$$author$$sep$; $endfor$ +% $date$ + +$endif$ +$for(header-includes)$ +$header-includes$ + +$endfor$ +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +$toc$ + +$endif$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ diff --git a/default.mediawiki b/default.mediawiki new file mode 100644 index 000000000..5d210fa7d --- /dev/null +++ b/default.mediawiki @@ -0,0 +1,13 @@ +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +__TOC__ + +$endif$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ diff --git a/default.opendocument b/default.opendocument new file mode 100644 index 000000000..ca49782f0 --- /dev/null +++ b/default.opendocument @@ -0,0 +1,27 @@ + + + $automatic-styles$ +$for(header-includes)$ + $header-includes$ +$endfor$ + + +$if(title)$ +$title$ +$endif$ +$for(author)$ +$author$ +$endfor$ +$if(date)$ +$date$ +$endif$ +$for(include-before)$ +$include-before$ +$endfor$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ + + + diff --git a/default.org b/default.org new file mode 100644 index 000000000..eaaa17533 --- /dev/null +++ b/default.org @@ -0,0 +1,24 @@ +$if(title)$ +$title$ + +$endif$ +$if(author)$ +#+AUTHOR: $for(author)$$author$$sep$; $endfor$ +$endif$ +$if(date)$ +#+DATE: $date$ + +$endif$ +$for(header-includes)$ +$header-includes$ + +$endfor$ +$for(include-before)$ +$include-before$ + +$endfor$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ diff --git a/default.plain b/default.plain new file mode 100644 index 000000000..06ecbd3a6 --- /dev/null +++ b/default.plain @@ -0,0 +1,23 @@ +$if(titleblock)$ +$title$ +$for(author)$$author$$sep$; $endfor$ +$date$ + +$endif$ +$for(header-includes)$ +$header-includes$ + +$endfor$ +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +$toc$ + +$endif$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ diff --git a/default.rst b/default.rst new file mode 100644 index 000000000..f09bdd8b9 --- /dev/null +++ b/default.rst @@ -0,0 +1,39 @@ +$if(title)$ +$title$ + +$endif$ +$for(author)$ +:Author: $author$ +$endfor$ +$if(date)$ +:Date: $date$ +$endif$ +$if(author)$ + +$else$ +$if(date)$ + +$endif$ +$endif$ +$if(math)$ +.. role:: math(raw) + :format: html latex + +$endif$ +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +.. contents:: + +$endif$ +$for(header-includes)$ +$header-includes$ + +$endfor$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ diff --git a/default.rtf b/default.rtf new file mode 100644 index 000000000..833e19844 --- /dev/null +++ b/default.rtf @@ -0,0 +1,27 @@ +{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 Courier;}} +{\colortbl;\red255\green0\blue0;\red0\green0\blue255;} +\widowctrl\hyphauto +$for(header-includes)$ +$header-includes$ +$endfor$ + +$if(title)$ +{\pard \qc \f0 \sa180 \li0 \fi0 \b \fs36 $title$\par} +$endif$ +$for(author)$ +{\pard \qc \f0 \sa180 \li0 \fi0 $author$\par} +$endfor$ +$if(date)$ +{\pard \qc \f0 \sa180 \li0 \fi0 $date$\par} +$endif$ +$if(spacer)$ +{\pard \ql \f0 \sa180 \li0 \fi0 \par} +$endif$ +$for(include-before)$ +$include-before$ +$endfor$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ +} diff --git a/default.s5 b/default.s5 new file mode 100644 index 000000000..c1f727f6e --- /dev/null +++ b/default.s5 @@ -0,0 +1,69 @@ + + + + + +$for(author)$ + +$endfor$ +$if(date)$ + +$endif$ + $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ + + + +$if(highlighting-css)$ + +$endif$ +$for(css)$ + +$endfor$ +$if(s5includes)$ +$s5includes$ +$else$ + + + + + + + +$endif$ +$if(math)$ + $math$ +$endif$ +$for(header-includes)$ + $header-includes$ +$endfor$ + + +$for(include-before)$ +$include-before$ +$endfor$ +
+
+
+ + +
+
+$if(title)$ +
+

$title$

+

$for(author)$$author$$sep$
$endfor$

+

$date$

+
+$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ +
+ + diff --git a/default.slidy b/default.slidy new file mode 100644 index 000000000..8db862c9e --- /dev/null +++ b/default.slidy @@ -0,0 +1,70 @@ + + + + + + +$for(author)$ + +$endfor$ +$if(date)$ + +$endif$ +$if(highlighting-css)$ + $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ + +$endif$ +$if(slidy-css)$ + +$else$ + +$endif$ +$for(css)$ + +$endfor$ +$if(math)$ + $math$ +$endif$ +$for(header-includes)$ + $header-includes$ +$endfor$ +$if(slidy-js)$ + +$else$ + +$endif$ +$if(duration)$ + +$endif$ + + +$for(include-before)$ +$include-before$ +$endfor$ +$if(title)$ +
+

$title$

+

+$for(author)$$author$$sep$
$endfor$ +

+$if(date)$ +

$date$

+$endif$ +
+$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ + + 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 diff --git a/default.textile b/default.textile new file mode 100644 index 000000000..69bd05b56 --- /dev/null +++ b/default.textile @@ -0,0 +1,9 @@ +$for(include-before)$ +$include-before$ + +$endfor$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ diff --git a/docbook.template b/docbook.template deleted file mode 100644 index 66dfbef8d..000000000 --- a/docbook.template +++ /dev/null @@ -1,23 +0,0 @@ - - -
- - $title$ -$for(author)$ - - $author$ - -$endfor$ -$if(date)$ - $date$ -$endif$ - -$for(include-before)$ -$include-before$ -$endfor$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ -
diff --git a/html.template b/html.template deleted file mode 100644 index 3f8b76fed..000000000 --- a/html.template +++ /dev/null @@ -1,66 +0,0 @@ -$if(html5)$ - - -$else$ - - -$endif$ - -$if(html5)$ - -$else$ - -$endif$ - -$for(author)$ - -$endfor$ -$if(date)$ - -$endif$ - $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ -$if(html5)$ - -$endif$ -$if(highlighting-css)$ - -$endif$ -$for(css)$ - -$endfor$ -$if(math)$ -$if(html5)$ -$else$ - $math$ -$endif$ -$endif$ -$for(header-includes)$ - $header-includes$ -$endfor$ - - -$for(include-before)$ -$include-before$ -$endfor$ -$if(title)$ -$if(html5)$ -
-$endif$ -

$title$

-$if(html5)$ -
-$endif$ -$endif$ -$if(toc)$ -$toc$ -$endif$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ - - diff --git a/latex.template b/latex.template deleted file mode 100644 index 8ecc73c1f..000000000 --- a/latex.template +++ /dev/null @@ -1,131 +0,0 @@ -\documentclass$if(fontsize)$[$fontsize$]$endif${article} -\usepackage{amssymb,amsmath} -\usepackage{iftex} -\ifXeTeX - \usepackage{fontspec,xltxtra,xunicode} - \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} -\else - \ifLuaTeX - \usepackage{fontspec} - \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} - \else - \usepackage[mathletters]{ucs} - \usepackage[utf8x]{inputenc} - \fi -\fi -$if(natbib)$ -\usepackage{natbib} -\bibliographystyle{plainnat} -$endif$ -$if(biblatex)$ -\usepackage{biblatex} -$if(biblio-files)$ -\bibliography{$biblio-files$} -$endif$ -$endif$ -$if(lhs)$ -\usepackage{listings} -\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} -$endif$ -$if(verbatim-in-note)$ -\usepackage{fancyvrb} -$endif$ -$if(fancy-enums)$ -% Redefine labelwidth for lists; otherwise, the enumerate package will cause -% markers to extend beyond the left margin. -\makeatletter\AtBeginDocument{% - \renewcommand{\@listi} - {\setlength{\labelwidth}{4em}} -}\makeatother -\usepackage{enumerate} -$endif$ -$if(tables)$ -\usepackage{ctable} -\usepackage{float} % provides the H option for float placement -$endif$ -$if(strikeout)$ -\usepackage[normalem]{ulem} -% avoid problems with \sout in headers with hyperref: -\pdfstringdefDisableCommands{\renewcommand{\sout}{}} -$endif$ -$if(subscript)$ -\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}} -$endif$ -$if(url)$ -\usepackage{url} -$endif$ -$if(graphics)$ -\usepackage{graphicx} -% We will generate all images so they have a width \maxwidth. This means -% that they will get their normal width if they fit onto the page, but -% are scaled down if they would overflow the margins. -\makeatletter -\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth -\else\Gin@nat@width\fi} -\makeatother -\let\Oldincludegraphics\includegraphics -\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} -$endif$ -\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref} -\setlength{\parindent}{0pt} -\setlength{\parskip}{6pt plus 2pt minus 1pt} -\setlength{\emergencystretch}{3em} % prevent overfull lines -$if(listings)$ -\usepackage{listings} -$endif$ -$if(numbersections)$ -$else$ -\setcounter{secnumdepth}{0} -$endif$ -$if(verbatim-in-note)$ -\VerbatimFootnotes % allows verbatim text in footnotes -$endif$ -$for(header-includes)$ -$header-includes$ -$endfor$ - -$if(title)$ -\title{$title$} -$endif$ -$if(author)$ -\author{$for(author)$$author$$sep$ \and $endfor$} -$endif$ -$if(date)$ -\date{$date$} -$endif$ - -\begin{document} -$if(title)$ -\maketitle -$endif$ - -$for(include-before)$ -$include-before$ - -$endfor$ -$if(toc)$ -\tableofcontents - -$endif$ -$body$ -$if(biblio-files)$ -$if(natbib)$ -$if(biblio-title)$ -$if(book-class)$ -\renewcommand\bibname{$biblio-title$} -$else$ -\renewcommand\refname{$biblio-title$} -$endif$ -$endif$ -\bibliography{$biblio-files$} -$endif$ -$endif$ -$if(biblatex)$ -\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ -$endif$ -$for(include-after)$ - -$include-after$ -$endfor$ - -\end{document} diff --git a/man.template b/man.template deleted file mode 100644 index ff86c8ca6..000000000 --- a/man.template +++ /dev/null @@ -1,18 +0,0 @@ -$if(has-tables)$ -.\"t -$endif$ -.TH $title$ $section$ "$date$" $description$ -$for(header-includes)$ -$header-includes$ -$endfor$ -$for(include-before)$ -$include-before$ -$endfor$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ -$if(author)$ -.SH AUTHORS -$for(author)$$author$$sep$; $endfor$. -$endif$ diff --git a/markdown.template b/markdown.template deleted file mode 100644 index d500d3384..000000000 --- a/markdown.template +++ /dev/null @@ -1,23 +0,0 @@ -$if(titleblock)$ -% $title$ -% $for(author)$$author$$sep$; $endfor$ -% $date$ - -$endif$ -$for(header-includes)$ -$header-includes$ - -$endfor$ -$for(include-before)$ -$include-before$ - -$endfor$ -$if(toc)$ -$toc$ - -$endif$ -$body$ -$for(include-after)$ - -$include-after$ -$endfor$ diff --git a/mediawiki.template b/mediawiki.template deleted file mode 100644 index 5d210fa7d..000000000 --- a/mediawiki.template +++ /dev/null @@ -1,13 +0,0 @@ -$for(include-before)$ -$include-before$ - -$endfor$ -$if(toc)$ -__TOC__ - -$endif$ -$body$ -$for(include-after)$ - -$include-after$ -$endfor$ diff --git a/opendocument.template b/opendocument.template deleted file mode 100644 index ca49782f0..000000000 --- a/opendocument.template +++ /dev/null @@ -1,27 +0,0 @@ - - - $automatic-styles$ -$for(header-includes)$ - $header-includes$ -$endfor$ - - -$if(title)$ -$title$ -$endif$ -$for(author)$ -$author$ -$endfor$ -$if(date)$ -$date$ -$endif$ -$for(include-before)$ -$include-before$ -$endfor$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ - - - diff --git a/org.template b/org.template deleted file mode 100644 index eaaa17533..000000000 --- a/org.template +++ /dev/null @@ -1,24 +0,0 @@ -$if(title)$ -$title$ - -$endif$ -$if(author)$ -#+AUTHOR: $for(author)$$author$$sep$; $endfor$ -$endif$ -$if(date)$ -#+DATE: $date$ - -$endif$ -$for(header-includes)$ -$header-includes$ - -$endfor$ -$for(include-before)$ -$include-before$ - -$endfor$ -$body$ -$for(include-after)$ - -$include-after$ -$endfor$ diff --git a/plain.template b/plain.template deleted file mode 100644 index 06ecbd3a6..000000000 --- a/plain.template +++ /dev/null @@ -1,23 +0,0 @@ -$if(titleblock)$ -$title$ -$for(author)$$author$$sep$; $endfor$ -$date$ - -$endif$ -$for(header-includes)$ -$header-includes$ - -$endfor$ -$for(include-before)$ -$include-before$ - -$endfor$ -$if(toc)$ -$toc$ - -$endif$ -$body$ -$for(include-after)$ - -$include-after$ -$endfor$ diff --git a/rst.template b/rst.template deleted file mode 100644 index f09bdd8b9..000000000 --- a/rst.template +++ /dev/null @@ -1,39 +0,0 @@ -$if(title)$ -$title$ - -$endif$ -$for(author)$ -:Author: $author$ -$endfor$ -$if(date)$ -:Date: $date$ -$endif$ -$if(author)$ - -$else$ -$if(date)$ - -$endif$ -$endif$ -$if(math)$ -.. role:: math(raw) - :format: html latex - -$endif$ -$for(include-before)$ -$include-before$ - -$endfor$ -$if(toc)$ -.. contents:: - -$endif$ -$for(header-includes)$ -$header-includes$ - -$endfor$ -$body$ -$for(include-after)$ - -$include-after$ -$endfor$ diff --git a/rtf.template b/rtf.template deleted file mode 100644 index 833e19844..000000000 --- a/rtf.template +++ /dev/null @@ -1,27 +0,0 @@ -{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 Courier;}} -{\colortbl;\red255\green0\blue0;\red0\green0\blue255;} -\widowctrl\hyphauto -$for(header-includes)$ -$header-includes$ -$endfor$ - -$if(title)$ -{\pard \qc \f0 \sa180 \li0 \fi0 \b \fs36 $title$\par} -$endif$ -$for(author)$ -{\pard \qc \f0 \sa180 \li0 \fi0 $author$\par} -$endfor$ -$if(date)$ -{\pard \qc \f0 \sa180 \li0 \fi0 $date$\par} -$endif$ -$if(spacer)$ -{\pard \ql \f0 \sa180 \li0 \fi0 \par} -$endif$ -$for(include-before)$ -$include-before$ -$endfor$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ -} diff --git a/s5.template b/s5.template deleted file mode 100644 index c1f727f6e..000000000 --- a/s5.template +++ /dev/null @@ -1,69 +0,0 @@ - - - - - -$for(author)$ - -$endfor$ -$if(date)$ - -$endif$ - $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ - - - -$if(highlighting-css)$ - -$endif$ -$for(css)$ - -$endfor$ -$if(s5includes)$ -$s5includes$ -$else$ - - - - - - - -$endif$ -$if(math)$ - $math$ -$endif$ -$for(header-includes)$ - $header-includes$ -$endfor$ - - -$for(include-before)$ -$include-before$ -$endfor$ -
-
-
- - -
-
-$if(title)$ -
-

$title$

-

$for(author)$$author$$sep$
$endfor$

-

$date$

-
-$endif$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ -
- - diff --git a/slidy.template b/slidy.template deleted file mode 100644 index 8db862c9e..000000000 --- a/slidy.template +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - -$for(author)$ - -$endfor$ -$if(date)$ - -$endif$ -$if(highlighting-css)$ - $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ - -$endif$ -$if(slidy-css)$ - -$else$ - -$endif$ -$for(css)$ - -$endfor$ -$if(math)$ - $math$ -$endif$ -$for(header-includes)$ - $header-includes$ -$endfor$ -$if(slidy-js)$ - -$else$ - -$endif$ -$if(duration)$ - -$endif$ - - -$for(include-before)$ -$include-before$ -$endfor$ -$if(title)$ -
-

$title$

-

-$for(author)$$author$$sep$
$endfor$ -

-$if(date)$ -

$date$

-$endif$ -
-$endif$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ - - diff --git a/texinfo.template b/texinfo.template deleted file mode 100644 index 9c1d8e178..000000000 --- a/texinfo.template +++ /dev/null @@ -1,64 +0,0 @@ -\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 diff --git a/textile.template b/textile.template deleted file mode 100644 index 69bd05b56..000000000 --- a/textile.template +++ /dev/null @@ -1,9 +0,0 @@ -$for(include-before)$ -$include-before$ - -$endfor$ -$body$ -$for(include-after)$ - -$include-after$ -$endfor$ -- cgit v1.2.3