aboutsummaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2010-07-22Removed spurious title in s5 template.John MacFarlane1-1/+0
2010-07-22Moved s5 writing from S5 module to HTML.John MacFarlane1-0/+70
Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
2010-07-22Added new --offline option for slidy.John MacFarlane1-2/+14
Added slidy/slidy.min.{css,js}.
2010-07-20Added amssymb to default latex template.John MacFarlane1-1/+1
Resolves github Issue 1.
2010-07-20Made spacing at end of output more consistent.John MacFarlane1-1/+0
Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
2010-07-18Slidy template: small improvements.John MacFarlane1-4/+4
Use gzipped version of script for faster loading. Rearranged cover page.
2010-07-16Use default highlighting CSS rather than embedding CSS in templates.John MacFarlane2-38/+4
2010-07-15Updated pandoc to use css for highlighting-kate 0.2.7.John MacFarlane2-36/+36
Note: Update any custom CSS or templates accordingly.
2010-07-14Slidy template: changed title page format.John MacFarlane1-3/+8
2010-07-14HTML template: make inclusion of date meta conditional.John MacFarlane1-0/+2
2010-07-13Added a slidy writer.John MacFarlane1-0/+66
Resolves Issue #122.
2010-07-13Put insert-before text before the title h1 in HTML.John MacFarlane1-3/+3
+ This is the documented behavior; the insert-before text comes after the <body> tag. + Resolves Issue #241.
2010-04-10Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke1-0/+9
2010-03-18Added --mathml option; removed Text.Pandoc.LaTeXMathML.fiddlosopher1-3/+3
* Added data/MathMLinHTML.js, which is included when no URL is provided for --mathml. This allows MathML to be displayed in better browsers, as text/html. * The module was no longer necessary; its functionality (two lines) was incorporated into pandoc.hs. * Consolidated the two LaTeXMathML.js files into one. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1909 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Added plain writer.fiddlosopher1-0/+23
Text.Pandoc.Writers.Markdown now exports a writePlain, which writes plain text without links, pictures, or special formatting (not even markdown conventions). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-13Use template variables for include-before/after.fiddlosopher11-0/+76
* These options now imply -s; previously they worked also in fragment mode. * Users can now adjust position of include-before and include-after text in the templates. * Default position of include-before moved back (as it originally was) before table of contents. * Resolves Issue #217. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1883 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-07Improved and simplified title block in context template.fiddlosopher1-23/+12
Previously it caused an error if there was no title. This method should also be easier for users to customize. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1867 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-01LaTeX template: redefine labelwidth when using enumerate package.fiddlosopher1-0/+6
Otherwise the list labels (numbers) often extend past the left margin, which looks bad. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1858 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-05LaTeX template: always include hyperref package.fiddlosopher1-5/+3
It is used not just for links but for toc, section heading bookmarks, footnotes, etc. Also added unicode=true on hyperref options. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1795 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-02Latex template: only show \author if there are some...fiddlosopher1-0/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1789 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-01-02Improved xetex part of latex.template.fiddlosopher1-1/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1776 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31LaTeX writer: Only require listings package if needed.fiddlosopher1-0/+2
That is, if literate Haskell code is used. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1759 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Modified latex template to include bare minimum of packages.fiddlosopher1-1/+21
Packages will be included only if they are needed, given what is in the document. So if you never use strikeout, you don't need to install the ulem package. Also moved amsmath to the top of the package list, made \maketitle conditional on a title being present, and adjusted spacing. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1738 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added --xetex option to pandoc and markdown2pdf.fiddlosopher1-7/+6
If --xetex is specified, pandoc produces latex suitable for processing by xelatex, and markdown2pdf uses xelatex to create the PDF. Resolves Issue #185. This seems better than using latex packages to detect xetex, since not all latex installations will have these. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1737 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Modified mediawiki writer to use new templates.fiddlosopher1-74/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1736 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Updated texinfo writer to use new templates.fiddlosopher1-37/+46
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1735 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Modified RTF writer to use new templates.fiddlosopher1-15/+18
Also changed treatment of multiple authors: they now occupy multiple paragraphs rather than using a line break. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1734 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Revised man writer to use new templates.fiddlosopher1-75/+12
Note that now the "--after-body" will come after the "AUTHORS" section, whereas before it would come before it. This is a slight break from backwards compatibility. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1733 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Opendocument writer: support new templates.fiddlosopher1-75/+21
Also, don't generate unneeded style declarations. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1731 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Updated docbook writer to use new templates.fiddlosopher1-1/+13
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1728 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Improved RST writer.fiddlosopher1-5/+9
Updated test suite. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1725 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Use $for$ for multiple authors in context, latex, markdown.fiddlosopher3-7/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1723 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Use $for$ for header-includes.fiddlosopher5-11/+24
Put variables in right order. We've specified that if they use -A, -B, -H multiple times, the text appears in the same order as on the command line. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1722 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Use $for$ for --css option in HTML writer.fiddlosopher1-1/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1721 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Use separate title, author, date variables in markdown template.fiddlosopher1-1/+3
This allows us to simplify the writer code and gives the user more control. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1719 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added docbook template.fiddlosopher1-74/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1716 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Fixed RST writer to use new templates.fiddlosopher1-34/+9
Use stHasMath instead of stIncludes. This gives the user more control over how the math directive is defined. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1715 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Markdown template - added space after header includes.fiddlosopher1-0/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1714 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Tweaked templates and tests.fiddlosopher4-19/+21
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1711 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Modified templates to respect indentation.fiddlosopher1-27/+29
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1708 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Fixed spacing in latex, context templates.fiddlosopher2-4/+2
Minor fixes in latex, context tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1707 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Got s5 writer working with html template.fiddlosopher1-350/+0
s5 css and js is included using header-includes variable. We don't need a separate s5 template, so it has been removed. Use linebreak to separate authors in S5 title page. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1705 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Removed spurious linebreak in latex template.fiddlosopher1-1/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1704 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31HTML writer changes for templates.fiddlosopher1-80/+46
Note: now a single meta tag is used for multiple authors. Previously one tag per author was used. Fixed title in HTML template to avoid excess blank space. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1703 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Fixed up LaTeXMathML module not to use TH.fiddlosopher2-1/+9
Instead, we read the script in pandoc.hs, and pass it via variables. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1702 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Implemented templates for context writer.fiddlosopher1-29/+15
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1701 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Restored writerIncludeBefore, writerIncludeAfter.fiddlosopher12-42/+12
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1700 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added rough templates for all writers. These need much fine tuning.fiddlosopher10-19/+948
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1698 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added 'standalone' variable, use in templates.fiddlosopher2-0/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1697 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Fixed markdown writer to use templates.fiddlosopher1-1/+16
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1696 788f1e2b-df1e-0410-8736-df70ead52e1b