aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 .
2012-12-19Documented .bibtex extension for BibTeX.John MacFarlane1-2/+7
Closes #662.
2012-12-19EPUB3: Don't use the switch statement for mathml.John MacFarlane1-10/+5
It is not widely implemented yet.
2012-12-13Fixed bug in withRaw.John MacFarlane1-1/+1
Didn't correctly handle case where nothing is parsed.
2012-12-12LaTeX reader: Make command macros work everywhere, including non-math.John MacFarlane1-6/+10
Environment macros still not supported.
2012-11-07Updated templates with new default.epub and default.epub3.John MacFarlane1-8/+5
2012-11-07Merge pull request #658 from clinty/masterJohn MacFarlane1-2/+2
use LBI buildDir instead of "dist" </> "build". Closes #657.
2012-11-07Use LBI buildDir instead of hardcoded "dist" </> "build".Clint Adams1-2/+2
2012-11-06Textile reader/writer: Fixed autolinks.John MacFarlane6-23/+23
Previously the textile reader and writer incorrectly implented RST-style autolinks for URLs and email addresses. This has been fixed. Now an autolink is done this way: "$":http://myurl.com
2012-11-06Textile parser: Expanded list of stringBreakers.John MacFarlane1-1/+1
This fixes a bug on input like "(_hello_)" which should be a parenthesized emphasized "hello". The new list is taken from the PHP source of textile 2.4.
2012-11-05HTML writer: Include highlighting-css for code spans, too.John MacFarlane1-1/+3
Previously it was only included if used in a code block. Closes #653.
2012-11-05LaTeX reader: skip comments in handleIncludes.John MacFarlane1-0/+2
2012-11-05Textile reader: Allow newlines before pipes in table.John MacFarlane1-1/+2
Closes #654.
2012-11-04EPUB template: UTF-8, lang tag, meta tags.John MacFarlane1-5/+5
2012-11-04EPUB writer: Rationalized templates.John MacFarlane5-18/+10
* Previously there were three different templates involved in epub production. There is now just one template, default.epub or default.epub3. * It can now be overridden using `--template`, just like other templates.
2012-11-04EPUB: removed need for separate epub-titlepage template.John MacFarlane4-17/+10
The titlepage stuff is now folded into the epub-page template. A titlepage variable selects it.
2012-11-04EPUB writer: Removed need for separate epub-coverpage template.John MacFarlane4-21/+12
The standard epub-page template is now used.
2012-11-04EPUB writer: Improved handling of CSS.John MacFarlane2-7/+14
* Code highlighting now works by default. * Quote styles work as in pandoc's HTML writer.
2012-11-04RST writer: Don't add ":align: center" to figures.John MacFarlane2-3/+1
2012-11-04EPUB writer: Set epub3 variable before calling templates.John MacFarlane1-1/+2
2012-11-04EPUB writer: Better TOC and footnote handling.John MacFarlane1-20/+29
* Here we go back to splitting the document at the Pandoc AST level, and converting each chapter to HTML separately. * Fixes bug in footnote processing introduced by commit 01d109e2efb880d9d2b8256d2e19ed4954076754. The bug caused all footnotes to appear in the last chapter, so that footnote links from other chapters would not work. Closes #651. * We also disable writerTableOfContents, since TOC is automatic for epub.
2012-11-04EPUB: Use section divs by default for better semantic markup.John MacFarlane1-0/+1
2012-11-04LaTeX writer: Don't use [fragile] unnecessarily.John MacFarlane1-1/+5
We were using [fragile] on slides even if they only contained code that was rendered using `\texttt`. Now `[fragile]` is only used for slides containing inline code if that code is rendered using listings. Closes #649.
2012-11-04Added epub3 to cabal descriptionJohn MacFarlane1-1/+1
2012-11-04Improved support for MathML in EPUB3.John MacFarlane2-21/+31
* MathML math method now used always in EPUB3 (even if another math method specified in options). * epub:switch is used to specify a non-MathML default. This is supposed to proide a good fallback behavior in older readers, though I'm not sure how well it works in practice.
2012-11-02EPUB: Don't use opf:role in EPUB3.John MacFarlane1-1/+2
2012-11-02EPUB: Fixed invalid nesting problem in nav.xhtml.John MacFarlane1-3/+3
2012-11-02EPUB: Added properties attribute.John MacFarlane1-1/+3
2012-11-02HTML writer: Use XHtml5 only if blaze version current enough.John MacFarlane1-0/+4