aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
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
2008-12-02Add definition of code environment to LaTeX header.fiddlosopher1-0/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1505 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-01Support horizontal rules in OpenDocument and ODT writers.fiddlosopher1-1/+1
Added style for Horizontal_20_Rule to odt-styles/styles.xml. Add support for horizontal rules in OpenDocument writer. Resolves Issue #95. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1479 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-11-01Corrected mispelling (Defnition) in odt styles.xml.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1478 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-23Moved odt-styles/ to data/. Removed unneeded variable in Makefile.fiddlosopher6-0/+28
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1458 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-13Support for display math; changed ASCIIMathML -> LaTeXMathML:fiddlosopher5-3739/+207
Resolves Issue #47. + Added a DisplayMath/InlineMath selector to Math inlines. + Markdown parser yields DisplayMath for $$...$$. + LaTeX parser yields DisplayMath when appropriate. Removed mathBlock parsers, since the same effect is achieved by the math inline parsers, now that they handle display math. + Writers handle DisplayMath as appropriate for the format. + Changed -m option to use LaTeXMathML rather than ASCIIMathML. LaTeXMathML is closer to LaTeX in its display of math, and supports many non-math LaTeX environments. + Modified HTML writer to print raw TeX when LaTeXMathML is being used instead of suppressing it. + Removed ASCIIMathML files from data/ and added LaTeXMathML. + Replaced ASCIIMathML with LaTeXMathML in source files. + Modified README and pandoc man page source. + Modified web page. + Added --latexmathml option (kept --asciimathml as a synonym for backwards compatibility) + Modified tests accordingly; added new tests for display math. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1409 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Simplified build process using template haskell.fiddlosopher22-0/+4666
+ Text/Pandoc/ASCIIMathML.hs, Text/Pandoc/DefaultHeaders.hs, and Text/Pandoc/Writers/S5.hs are no longer built in Setup.hs from templates in the templates/ directory. + Instead, they use template haskell to read data at compile time from the relevant files in data/. + Setup.hs is back to the default simple configuration. + Removed old templates and Extra-Tmp-Files field from pandoc.cabal. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1357 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-11-03Reverted back to state as of r1062. The template haskell changesfiddlosopher17-1783/+0
are more trouble than they're worth. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1064 788f1e2b-df1e-0410-8736-df70ead52e1b