aboutsummaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2011-11-07Updated templates.John MacFarlane1-5/+5
2011-11-07Updated templates.John MacFarlane1-5/+5
2011-11-07Updated templates.John MacFarlane1-5/+5
2011-10-03Updated templates.John MacFarlane1-12/+5
2011-10-02Better default dzslides template.John MacFarlane1-5/+12
2011-10-01Updated templates.John MacFarlane1-5/+5
2011-10-01Updated templates.John MacFarlane1-8/+5
2011-08-25Updated to use revised context template.John MacFarlane1-5/+8
2011-08-20ConTeXt writer: Changed 'descr' to 'description', fixed alignment.John MacFarlane1-5/+5
2011-08-18Updated templates.John MacFarlane1-5/+5
2011-08-01Fixed bug in html template with html5 and mathml.John MacFarlane1-5/+5
Closes #286.
2011-07-30LaTeX template: Minor spacing changes.John MacFarlane1-10/+5
2011-07-30LaTeX template: Don't use deprecated ucs package.John MacFarlane1-6/+9
Removed `\usepackage{ucs}` and `utf8x` encoding. The ucs package is no longer maintained, and it clashes with biblatex, csquotes, and other packages. Users who need good unicode support should use xetex or luatex.
2011-07-29Updated LaTeX template to use ifxetex/ifluatex rather than iftex.John MacFarlane1-5/+7
These are more likely to be in a basic TeX installation.
2011-07-28Added s5-url and slidy-url variables, instead of hard-coding.John MacFarlane1-5/+5
If you want to put your slidy files in the slidy subdirectory, for example, you can do pandoc -t slidy -V slidy-url=slidy -s
2011-07-24Insert CDATA around inline js/css in HTML, slidy.John MacFarlane1-9/+5
2011-07-23HTML writer/templates: Made TOC more customizable.John MacFarlane1-5/+9
The container for the TOC is now in the template, so users can insert a header or other styling. Thanks to Bruce D'Arcus for the suggestion.
2011-07-23HTML writer: Display author and date after title.John MacFarlane1-7/+5
2011-07-23Fixed latex template: don't use ucs if using biblatex.John MacFarlane1-6/+6
Thanks to Joseph Reagle.
2011-07-23Use different hyperref options for xetex.John MacFarlane1-10/+6
This fixes problems with unicode bookmarks on xetex. Thanks to CircleCode.
2011-07-23LaTeX writer: New template.John MacFarlane1-5/+11
2011-07-22Changed default template naming scheme.John MacFarlane1-5/+5
Instead of latex.template, we now have default.latex. An appropriate extension is added automatically if the value of `--template` has no extension. So, `pandoc --template=special -t latex` looks for `special.latex`, while `pandoc --template=special -t man` looks for `special.man`.
2011-07-22Updated templates.John MacFarlane1-5/+5
2011-07-22Modified submodules.John MacFarlane1-5/+5
2011-07-19Added templates as a git submodule.John MacFarlane17-709/+6
This should make it easier for people to track updates to their custom templates.
2011-07-10Improved LaTeX tables.John MacFarlane1-4/+2
* Use ctable package, which allows footnotes and provides additional options. * Made cell alignments work in multiline tables. * Closes #272.
2011-07-06Slidy: Use 'titlepage' instead of 'cover' for title div.John MacFarlane1-1/+1
2011-07-06Slidy template: Add $duration$ variable.John MacFarlane1-1/+5
Setting this activates the timer.
2011-07-06Updated slidy template to use Slidy2.John MacFarlane1-8/+8
2011-02-06Revert "Use us-ascii charset in HTML template if --ascii option."John MacFarlane1-8/+0
This reverts commit aec54899606bed2580394baa1369e58ede20fde8. No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06Use us-ascii charset in HTML template if --ascii option.John MacFarlane1-0/+8
2011-01-28Add possibility to use listings package for code blocks andJosef Svenningsson1-0/+3
inline code in the LaTeX writer.
2011-01-21latex template: move special treatment of \sout.John MacFarlane1-2/+2
It needs to be inside the if(strikeout) condition, after the ulem package is imported; otherwise we try to renewcommand{\sout} when \sout isn't yet defined.
2011-01-19Fixed problem with strikout in LaTeX headers with hyperref.John MacFarlane1-0/+2
Added a command to the latex template to disable \sout inside pdf strings. Thanks to Joost Kremers for the fix.
2011-01-11Improvements to --html5 support:John MacFarlane3-3/+11
+ <nav> for TOC, <figure> for figures, type attribute in <ol>. + Don't add math javascript in html5. + Use style attributes instead of deprecated width, align. + html template: move <title> after <meta>. Note: charset needs to be declared before title. + slidy and s5 templates: move <title> after <meta>. + html template: Added link to html5 shim for IE. + Make --html5 have an effect only for 'html' writer (not s5, slidy, epub).
2011-01-11Preliminary support for HTML5.John MacFarlane1-2/+17
+ Added writerHtml5 writer option. + Added --html5 option. + Added support for lang in html tag (so you can do 'pandoc -s --V lang=en', for example). + Updated html template with conditionals for HTML5. + When HTML5 selected, use <header> tag around title in document, and use <section> tags instead of <div>s if --section-divs specified.
2010-12-17Added new prettyprinting module.John MacFarlane1-0/+2
* 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.
2010-12-15Use top-level header at end as bibliography title for natbib and biblatex ↵Nathan Gass1-5/+12
output.
2010-12-13Disabled colored boxes around cites in latex template.Nathan Gass1-1/+1
2010-12-13Added support to write natbib or biblatex citations in latex output.Nathan Gass1-0/+18
2010-12-11Removed deprecated -C/--custom-header option.John MacFarlane7-26/+0
Use --template instead.
2010-12-04Added tests.Puneeth Chaganti1-0/+22
+ Added tables.org and writer.org to tests. + Added org.template to templates. + Changed RunTests.hs as required. + Minor changes to Org writer.
2010-11-27Merge branch 'textile'John MacFarlane1-0/+12
Conflicts: README man/man1/pandoc.1.md pandoc.cabal
2010-10-24Added fontsize variable to default latex template.John MacFarlane1-1/+1
This makes it easy to set the font size using markdown2pdf or pandoc: markdown2pdf -V fontsize=12pt input.txt
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.