summaryrefslogtreecommitdiff
path: root/templates
Commit message (Collapse)AuthorAge
* Added new prettyprinting module.John MacFarlane2010-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added Text.Pandoc.Pretty. This is better suited for pandoc than the 'pretty' package. One advantage is that we now get proper wrapping; Emph [Inline] is no longer treated as a big unwrappable unit. Previously we only got breaks for spaces at the "outer level." We can also more easily avoid doubled blank lines. Performance is significantly better as well. * Removed Text.Pandoc.Blocks. Text.Pandoc.Pretty allows you to define blocks and concatenate them. * Modified markdown, RST, org readers to use Text.Pandoc.Pretty instead of Text.PrettyPrint.HughesPJ. * Text.Pandoc.Shared: Added writerColumns to WriterOptions. * Markdown, RST, Org writers now break text at writerColumns. * Added --columns command-line option, which sets stColumns and writerColumns. * Table parsing: If the size of the header > stColumns, use the header size as 100% for purposes of calculating relative widths of columns.
* Use top-level header at end as bibliography title for natbib and biblatex ↵Nathan Gass2010-12-15
| | | | output.
* Disabled colored boxes around cites in latex template.Nathan Gass2010-12-13
|
* Added support to write natbib or biblatex citations in latex output.Nathan Gass2010-12-13
|
* Removed deprecated -C/--custom-header option.John MacFarlane2010-12-11
| | | | Use --template instead.
* Added tests.Puneeth Chaganti2010-12-04
| | | | | | | + Added tables.org and writer.org to tests. + Added org.template to templates. + Changed RunTests.hs as required. + Minor changes to Org writer.
* Merge branch 'textile'John MacFarlane2010-11-27
|\ | | | | | | | | | | | | Conflicts: README man/man1/pandoc.1.md pandoc.cabal
| * Added Textile writer module.John MacFarlane2010-05-17
| |
* | Added fontsize variable to default latex template.John MacFarlane2010-10-24
| | | | | | | | | | This makes it easy to set the font size using markdown2pdf or pandoc: markdown2pdf -V fontsize=12pt input.txt
* | Removed spurious title in s5 template.John MacFarlane2010-07-22
| |
* | Moved s5 writing from S5 module to HTML.John MacFarlane2010-07-22
| | | | | | | | | | Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
* | Added new --offline option for slidy.John MacFarlane2010-07-22
| | | | | | | | Added slidy/slidy.min.{css,js}.
* | Added amssymb to default latex template.John MacFarlane2010-07-20
| | | | | | | | Resolves github Issue 1.
* | Made spacing at end of output more consistent.John MacFarlane2010-07-20
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Slidy template: small improvements.John MacFarlane2010-07-18
| | | | | | | | | | Use gzipped version of script for faster loading. Rearranged cover page.
* | Use default highlighting CSS rather than embedding CSS in templates.John MacFarlane2010-07-16
| |
* | Updated pandoc to use css for highlighting-kate 0.2.7.John MacFarlane2010-07-15
| | | | | | | | Note: Update any custom CSS or templates accordingly.
* | Slidy template: changed title page format.John MacFarlane2010-07-14
| |
* | HTML template: make inclusion of date meta conditional.John MacFarlane2010-07-14
| |
* | Added a slidy writer.John MacFarlane2010-07-13
| | | | | | | | Resolves Issue #122.
* | Put insert-before text before the title h1 in HTML.John MacFarlane2010-07-13
|/ | | | | | + This is the documented behavior; the insert-before text comes after the <body> tag. + Resolves Issue #241.
* Give LaTeX images a maximum width using the prelude onlyMax Bolingbroke2010-04-10
|
* Added --mathml option; removed Text.Pandoc.LaTeXMathML.fiddlosopher2010-03-18
| | | | | | | | | | | * 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
* Added plain writer.fiddlosopher2010-03-18
| | | | | | | | 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
* Use template variables for include-before/after.fiddlosopher2010-03-13
| | | | | | | | | | | | * 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
* Improved and simplified title block in context template.fiddlosopher2010-03-07
| | | | | | | 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
* LaTeX template: redefine labelwidth when using enumerate package.fiddlosopher2010-03-01
| | | | | | | 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
* LaTeX template: always include hyperref package.fiddlosopher2010-01-05
| | | | | | | | | 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
* Latex template: only show \author if there are some...fiddlosopher2010-01-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1789 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved xetex part of latex.template.fiddlosopher2010-01-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1776 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX writer: Only require listings package if needed.fiddlosopher2009-12-31
| | | | | | That is, if literate Haskell code is used. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1759 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified latex template to include bare minimum of packages.fiddlosopher2009-12-31
| | | | | | | | | | | | 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
* Added --xetex option to pandoc and markdown2pdf.fiddlosopher2009-12-31
| | | | | | | | | | | 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
* Modified mediawiki writer to use new templates.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1736 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated texinfo writer to use new templates.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1735 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified RTF writer to use new templates.fiddlosopher2009-12-31
| | | | | | | 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
* Revised man writer to use new templates.fiddlosopher2009-12-31
| | | | | | | | 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
* Opendocument writer: support new templates.fiddlosopher2009-12-31
| | | | | | Also, don't generate unneeded style declarations. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1731 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated docbook writer to use new templates.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1728 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved RST writer.fiddlosopher2009-12-31
| | | | | | Updated test suite. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1725 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use $for$ for multiple authors in context, latex, markdown.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1723 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use $for$ for header-includes.fiddlosopher2009-12-31
| | | | | | | | 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
* Use $for$ for --css option in HTML writer.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1721 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use separate title, author, date variables in markdown template.fiddlosopher2009-12-31
| | | | | | | 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
* Added docbook template.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1716 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed RST writer to use new templates.fiddlosopher2009-12-31
| | | | | | | | | 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
* Markdown template - added space after header includes.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1714 788f1e2b-df1e-0410-8736-df70ead52e1b
* Tweaked templates and tests.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1711 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified templates to respect indentation.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1708 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed spacing in latex, context templates.fiddlosopher2009-12-31
| | | | | | Minor fixes in latex, context tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1707 788f1e2b-df1e-0410-8736-df70ead52e1b