aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
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
2007-11-03Use template haskell to avoid the need for templates:fiddlosopher17-0/+1783
+ Added library Text.Pandoc.Include, with a template haskell function $(includeStrFrom fname) to include a file as a string constant at compile time. + This removes the need for the 'templates' directory or Makefile target. These have been removed. + The base source directory has been changed from src to . + A new 'data' directory has been added, containing the ASCIIMathML.js script, writer headers, and S5 files. + The src/wrappers directory has been moved to 'wrappers'. + The Text.Pandoc.ASCIIMathML library is no longer needed, since Text.Pandoc.Writers.HTML can use includeStrFrom to include the ASCIIMathML.js code directly. It has been removed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1063 788f1e2b-df1e-0410-8736-df70ead52e1b