aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2013-05-07Made `\includegraphics` more flexible in LaTeX template.John MacFarlane1-5/+5
Now it can be used with options, if needed. Thanks to Bernhard Weichel.
2013-05-01Fixed errors in revealjs template.John MacFarlane1-5/+5
2013-04-30revealjs templates: use query hashes for defaults, include remotes.John MacFarlane1-8/+5
2013-04-25LaTeX template: Changes to make mathfont work with xelatex.John MacFarlane1-5/+8
We need the mathspec library, not just fontspec, for this. We also need to set options for setmathfont. Closes #734.
2013-04-15DocBook template: Use DocBook 4.5 doctype.John MacFarlane1-5/+5
2013-04-14Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane1-0/+312
pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.
2013-03-30Docx writer: Use Compact style for Plain block elements.John MacFarlane1-0/+0
This differentiates between tight and loose lists. Closes #775.
2013-03-25Slidy: Use slidy.js rather than slidy.js.gz.John MacFarlane3-5/+3021
Reason: some browsers have trouble with the gzipped js file, at least on the local file system. Closes #795.
2013-03-24revealjs template: include pdf stylesheet by default.John MacFarlane1-7/+5
2013-03-23New revealjs template.John MacFarlane1-6/+6
2013-03-22Updated templates to include reveal.js.John MacFarlane1-0/+8
2013-03-21Added basic support for reveal.js.Jamie F. Olson1-6/+0
Support unordered and ordered lists with "fragment" elements. Modified by JGM to remove the --reveal_js-url command-line option. Instead use -V reveal_js-url=... as with slidy and the other slide formats. Also cleaned up the list code in the HTML writer.
2013-03-20Added OPML template, tests.John MacFarlane1-13/+5
Minor fixes to OPML writer. Improved OPML reader tests.
2013-03-03beamer template: Provide `\Oldincludegraphics` as in LaTeX template.John MacFarlane1-7/+12
The template redefines `\includegraphics` to give special treatment for too-wide images. But this causes problems for literal uses of `\includegraphics`. This change allows authors to use `\Oldincludegraphics`, as in the latex template.
2013-03-03EPUB writer: Include html TOC even in epub2.John MacFarlane1-0/+2
* The TOC is included in `<spine>`, but `linear` is set to `no` unless the `--toc` option is specified. * Include `<guide>` element in OPF. * This should allow the TOC to be useable in Kindles when converted with kindlegen. * Results validate with epubcheck 3.0 for both epub and epub3 output. * Closes #773.
2013-02-27LaTeX template: Load microtype after fonts.John MacFarlane1-5/+8
Microtype needs to know what fonts are being used. Thanks to dfc for the patch.
2013-02-26Changed style names in reference docx.John MacFarlane1-0/+0
FootnoteReference -> FootnoteRef. Hyperlink -> Link. Why? Because the old names got changed by Word when the reference.docx was edited. I don't understand why, but this fixes things. Closes #414.
2013-02-23Added PDF to content types in reference.docx.John MacFarlane1-0/+0
2013-02-23reference.docx: Added default content type for emf.John MacFarlane1-0/+0
2013-02-20Small spacing change in context template.John MacFarlane1-8/+5
2013-02-20ConTeXt template: Use `\placecontent` for toc.John MacFarlane1-6/+7
Configure it for toc depth. Thanks to Aditya Mahajan.
2013-02-19ConTeXt writer: Removed `\placecontent`.John MacFarlane1-7/+6
This produced a duplicate toc, in conjunction with `\placelist`.
2013-02-18LaTeX template: set secnumdepth to 5 if `--number-sections` specified.John MacFarlane1-6/+7
This yields behavior equivalent to the other writers, numbering level 4 and 5 headers too. Closes #753.
2013-02-03Beamer template: Lines to fix captions with longtable.John MacFarlane1-5/+7
Thanks to Joost Kremers.
2013-01-21LaTeX template: Use `\urlstyle{same}` to avoid monospace URLs.John MacFarlane1-7/+5
2013-01-19Updated templates.John MacFarlane1-5/+7
Use upquote package if it exists.
2013-01-18RTF writer: Added writeRTFWithEmbeddedImages.John MacFarlane1-5/+5
* RTF writer: Export writeRTFWithEmbeddedImages instead of rtfEmbedImage. * Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF. * Moved code for embedding images in RTF out of pandoc.hs.
2013-01-15Added `writerHtmlQTags` and `--html-q-tags` option.John MacFarlane1-5/+5
The previous default was to use `<q>` tags in HTML5. But `<q>` tags are also valid HTML4, and they are not very robust in HTML5. Some user agents don't support them, and some CSS resets prevent pandoc's quotes CSS from working properly (e.g. bootstrap). It seems a better default just to insert quote characters, but the option is provided for those who have gotten used to using `<q>` tags.
2013-01-06reference.docx: PictureCaption style -> ImageCaption.John MacFarlane1-0/+0
This was a typo originally. Thanks to Huashan Chen.
2013-01-06Docx writer: Use separate footnotes.xml for notes.John MacFarlane1-0/+0
This seems to help LibreOffice convert the file, even though it was valid docx before. Note that the references in notes must be in word/_rels/footnotes.xml.rel. We handle this now by simply making that file contain all the references in word/_rels/document.xml.rel. Something better could be done eventually, but this works. Closes #637.
2013-01-05Implemented --toc-depth (and --toc!) for RTF writer.John MacFarlane1-7/+5
2013-01-05Support --toc-depth in context writer.John MacFarlane1-5/+7
2013-01-05Epub CSS: left-align headers by default.John MacFarlane1-6/+6
This is more consistent with the rest of the writers.
2013-01-05Changed --toc-level to --toc-depth.John MacFarlane1-5/+5
2013-01-05Implemented --toc-level for rst.John MacFarlane1-5/+5
2013-01-05Implemented --toc-level in LaTeX writer.John MacFarlane1-7/+5
2013-01-04Added css to preserve spaces in <code> tags.John MacFarlane1-5/+7
Thanks to Dirk Laurie.
2012-12-29Moved all data files and templates to data/.John MacFarlane26-0/+2627
2010-03-18Added --mathml option; removed Text.Pandoc.LaTeXMathML.fiddlosopher3-17/+78
* 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-01-01Moved data/ui -> s5. Added note on this in README.fiddlosopher13-840/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1763 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added --reference-odt option.fiddlosopher6-1088/+0
This allows the user to customized the styles used in pandoc-generated ODTs. The user may also put a default reference.odt in the ~/.pandoc directory. We have removed the old data/odt directory and replaced it with a reference.odt. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1760 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Removed old data/templates directory.fiddlosopher6-142/+0
Templates are now in templates/. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1758 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Indented and line-broke styles.xml so it can be modified more easily.fiddlosopher1-2/+1062
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1732 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Added newline at end of LaTeXMathML script.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1710 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Moved odt-styles -> odt. Changed ODT module to look at user data first.fiddlosopher6-0/+0
So if the user has an odt-styles directory in ~/.pandoc, it will be used instead of the default. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1694 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Add legacy-header to LaTeX template.fiddlosopher1-2/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1680 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Renamed headers -> templates.fiddlosopher6-0/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1677 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31LaTeX header: fixes for xetex and header-includes.fiddlosopher1-2/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1676 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-31Revised LaTeX writer to use templates.fiddlosopher1-0/+42
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1675 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-12-02LaTeX header: Use fixed-width font for Haskell code.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1512 788f1e2b-df1e-0410-8736-df70ead52e1b