summaryrefslogtreecommitdiff
path: root/data
Commit message (Collapse)AuthorAge
* Beamer template: Lines to fix captions with longtable.John MacFarlane2013-02-03
| | | | Thanks to Joost Kremers.
* LaTeX template: Use `\urlstyle{same}` to avoid monospace URLs.John MacFarlane2013-01-21
|
* Updated templates.John MacFarlane2013-01-19
| | | | Use upquote package if it exists.
* RTF writer: Added writeRTFWithEmbeddedImages.John MacFarlane2013-01-18
| | | | | | | * RTF writer: Export writeRTFWithEmbeddedImages instead of rtfEmbedImage. * Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF. * Moved code for embedding images in RTF out of pandoc.hs.
* Added `writerHtmlQTags` and `--html-q-tags` option.John MacFarlane2013-01-15
| | | | | | | | | | 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.
* reference.docx: PictureCaption style -> ImageCaption.John MacFarlane2013-01-06
| | | | | This was a typo originally. Thanks to Huashan Chen.
* Docx writer: Use separate footnotes.xml for notes.John MacFarlane2013-01-06
| | | | | | | | | | | | | 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.
* Implemented --toc-depth (and --toc!) for RTF writer.John MacFarlane2013-01-05
|
* Support --toc-depth in context writer.John MacFarlane2013-01-05
|
* Epub CSS: left-align headers by default.John MacFarlane2013-01-05
| | | | This is more consistent with the rest of the writers.
* Changed --toc-level to --toc-depth.John MacFarlane2013-01-05
|
* Implemented --toc-level for rst.John MacFarlane2013-01-05
|
* Implemented --toc-level in LaTeX writer.John MacFarlane2013-01-05
|
* Added css to preserve spaces in <code> tags.John MacFarlane2013-01-04
| | | | Thanks to Dirk Laurie.
* Moved all data files and templates to data/.John MacFarlane2012-12-29
|
* 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
* Moved data/ui -> s5. Added note on this in README.fiddlosopher2010-01-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1763 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added --reference-odt option.fiddlosopher2009-12-31
| | | | | | | | | | | 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
* Removed old data/templates directory.fiddlosopher2009-12-31
| | | | | | Templates are now in templates/. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1758 788f1e2b-df1e-0410-8736-df70ead52e1b
* Indented and line-broke styles.xml so it can be modified more easily.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1732 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added newline at end of LaTeXMathML script.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1710 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved odt-styles -> odt. Changed ODT module to look at user data first.fiddlosopher2009-12-31
| | | | | | | 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
* Add legacy-header to LaTeX template.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1680 788f1e2b-df1e-0410-8736-df70ead52e1b
* Renamed headers -> templates.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1677 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX header: fixes for xetex and header-includes.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1676 788f1e2b-df1e-0410-8736-df70ead52e1b
* Revised LaTeX writer to use templates.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1675 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX header: Use fixed-width font for Haskell code.fiddlosopher2008-12-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1512 788f1e2b-df1e-0410-8736-df70ead52e1b
* Add definition of code environment to LaTeX header.fiddlosopher2008-12-02
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1505 788f1e2b-df1e-0410-8736-df70ead52e1b
* Support horizontal rules in OpenDocument and ODT writers.fiddlosopher2008-11-01
| | | | | | | | | 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
* Corrected mispelling (Defnition) in odt styles.xml.fiddlosopher2008-11-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1478 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved odt-styles/ to data/. Removed unneeded variable in Makefile.fiddlosopher2008-09-23
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1458 788f1e2b-df1e-0410-8736-df70ead52e1b
* Support for display math; changed ASCIIMathML -> LaTeXMathML:fiddlosopher2008-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Simplified build process using template haskell.fiddlosopher2008-08-01
| | | | | | | | | | | | | | + 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
* Reverted back to state as of r1062. The template haskell changesfiddlosopher2007-11-03
| | | | | | | are more trouble than they're worth. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1064 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use template haskell to avoid the need for templates:fiddlosopher2007-11-03
+ 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