aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-06UTF8 module: Remove `\r` when reading.John MacFarlane1-4/+7
This should prevent problems with extra CRs on windows.
2013-01-06Docx writer: Use separate footnotes.xml for notes.John MacFarlane2-21/+32
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-05Updated table tests for latex writer changes.John MacFarlane1-40/+40
2013-01-05LaTeX tables: Use minipage rather than parbox for block containers.John MacFarlane1-2/+2
This allows verbatim code to be included in grid tables. Closes #663.
2013-01-05Implemented --toc-depth (and --toc!) for RTF writer.John MacFarlane2-8/+8
2013-01-05Support --toc-depth in context writer.John MacFarlane2-5/+13
2013-01-05For epub3, use epub:type to mark footnotes and footnote refs.John MacFarlane1-6/+14
This yields nice popup footnotes in iBooks. See http://www.pigsgourdsandwikis.com/2012/05/creating-pop-up-footnotes-in-epub-3-and.html
2013-01-05EPUB changes.John MacFarlane3-16/+14
* Epub writer now exports writeEPUB, not writeEPUB2 and writeEPUB3. * Options now exports EPUBVersion * WriterOptions now includes writerEpubVersion.
2013-01-05Implemented --toc-depth for markdown writer.John MacFarlane1-7/+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-05Implemented toc-depth for html writer.John MacFarlane1-2/+3
2013-01-05Changed --toc-level to --toc-depth.John MacFarlane7-17/+17
2013-01-05Implemented --toc-level for rst.John MacFarlane2-6/+8
2013-01-05Implemented --toc-level in LaTeX writer.John MacFarlane2-7/+9
2013-01-05Changed `--epub-toc-level` to `--toc-level`.John MacFarlane4-23/+24
Also writerEpubTOCLevel -> writerTOCLevel. So far this is only implemented in the EPUB writer.
2013-01-04MediaWiki writer: use `<code>` not `<tt>` for Code.John MacFarlane2-8/+8
2013-01-04Added css to preserve spaces in <code> tags.John MacFarlane7-5/+13
Thanks to Dirk Laurie.
2013-01-04Renamed local variable for consistency (EPUB->Epub).John MacFarlane1-20/+20
2013-01-04Renamed writerEPUBMetadata -> writerEpubMetadata.John MacFarlane3-4/+4
API change for consistency.
2013-01-04Added `--epub-chapter-level` and `--epub-toc-level` options.John MacFarlane4-11/+61
Also added writerEpubChapterLevel and writerEpubTOCLevel fields to WriterOptions.
2013-01-04Fixed duplicate link reference in README.John MacFarlane1-2/+3
2013-01-04EPUB writer: Parameterize header level for splitting chapters.John MacFarlane1-8/+14
2013-01-04Updated tests for latest highlighting-kate version.John MacFarlane2-2/+2
2013-01-04Markdown reader: Warn about duplicate note references.John MacFarlane1-1/+6
Closes #375.
2013-01-04Markdown reader: Warn about duplicate link references.John MacFarlane2-1/+13
2013-01-04Use readMarkdownWithWarnings in Text.Pandoc.John MacFarlane1-3/+10
2013-01-04Markdown reader: Export readMarkdownWithWarnings.John MacFarlane1-1/+14
Note: This is not yet used, and the parser does not yet generate any warnings.
2013-01-04Updated benchmark code for changes in Text.Pandoc.John MacFarlane1-3/+3
2013-01-03Changed type of 'readers' in Text.Pandoc, so all readers are in IO.John MacFarlane2-14/+15
Users who want pure readers can still get them; this just affects the function getReader that looks up a reader based on the format name. The point of this change is to make it possible to print warnings from the parser.
2013-01-03Added stateWarnings.John MacFarlane1-2/+4
It is not connected to anything yet.
2013-01-03Added tests for implicit header references.John MacFarlane2-1/+21
2013-01-03Implemented `Ext_header_identifiers`, `Ext_implicit_header_references`.John MacFarlane5-145/+197
Now by default pandoc will act as if link references have been defined for all headers. So, you can do this: # My header Link to [My header]. Another link to [it][My header]. Closes #691.
2013-01-03Updated test runner for changes in pandoc.John MacFarlane1-6/+6
2013-01-03Fixed paths for LaTeXMathML and MathMLinHTML scripts.John MacFarlane1-2/+2
2013-01-02Fixed test suite to use Diff 0.2 API.John MacFarlane2-8/+8
2013-01-02Makefile: Do submodule updates and install cabal-dev in make prep.John MacFarlane1-2/+6
2012-12-31Fixed bytestring upperbounds (0.11, not 1.0).John MacFarlane1-3/+3
2012-12-30Makefile: added 'relocatable' target.John MacFarlane1-0/+3
2012-12-30Require file-embed >= 0.0.4.7.John MacFarlane1-1/+1
This fixes a bug with embedDir on Windows: previously forward slashes were used as path separators.
2012-12-30Revert "Workaround for problem with file-embed."John MacFarlane1-3/+1
This reverts commit 84ed0f055f71f32fc2db1dbe962e83cd0bb0b5d8.
2012-12-29Workaround for problem with file-embed.John MacFarlane1-1/+3
file-embed uses forward slashes as path separators, even on Windows. So we just convert backslashes to forward before doing a lookup.
2012-12-29Updated windows installer so it doesn't copy data files.John MacFarlane1-12/+0
These are now embedded in the binary itself.
2012-12-29Updated INSTALL with new flags.John MacFarlane1-37/+12
2012-12-29Fixed benchmark file to find documentation files.John MacFarlane1-3/+3
2012-12-29Updated osx installer, since we no longer have a `library` flag.John MacFarlane1-1/+3
2012-12-29Updated windows installer to use `embed_data_files` flag.John MacFarlane1-4/+2
2012-12-29Made `embed_data_files` flag work.John MacFarlane1-3/+11
2012-12-29Moved all data files and templates to data/.John MacFarlane28-38/+42
2012-12-29Data files changes.John MacFarlane9-67/+64
* Added `embed_data_files` flag. (not yet used) * Shared no longer exports `findDataFile`. * `readDataFile` now returns a strict bytestring. * Shared now exports `readDataFileUTF8` which returns a string like the old `readDataFile`. * Rewrote modules to use new data file functions and to avoid using functions from Paths_pandoc directly.
2012-12-29Cabal file changes.John MacFarlane2-108/+63
* Remove executable and library flags. * Expose `Text.Pandoc.XML` and `Text.Pandoc.Biblio`. * Depend on pandoc library in executable, so we don't recompile everything. * Move pandoc.hs from src/ to .