Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-03 | Changed type of 'readers' in Text.Pandoc, so all readers are in IO. | John MacFarlane | 1 | -12/+12 | |
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-03 | Added stateWarnings. | John MacFarlane | 1 | -2/+4 | |
It is not connected to anything yet. | |||||
2013-01-03 | Implemented `Ext_header_identifiers`, `Ext_implicit_header_references`. | John MacFarlane | 4 | -144/+172 | |
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. | |||||
2012-12-30 | Revert "Workaround for problem with file-embed." | John MacFarlane | 1 | -3/+1 | |
This reverts commit 84ed0f055f71f32fc2db1dbe962e83cd0bb0b5d8. | |||||
2012-12-29 | Workaround for problem with file-embed. | John MacFarlane | 1 | -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-29 | Made `embed_data_files` flag work. | John MacFarlane | 1 | -3/+11 | |
2012-12-29 | Data files changes. | John MacFarlane | 6 | -55/+41 | |
* 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-29 | Cabal file changes. | John MacFarlane | 1 | -1052/+0 | |
* 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-19 | EPUB3: Don't use the switch statement for mathml. | John MacFarlane | 1 | -10/+5 | |
It is not widely implemented yet. | |||||
2012-12-13 | Fixed bug in withRaw. | John MacFarlane | 1 | -1/+1 | |
Didn't correctly handle case where nothing is parsed. | |||||
2012-12-12 | LaTeX reader: Make command macros work everywhere, including non-math. | John MacFarlane | 1 | -6/+10 | |
Environment macros still not supported. | |||||
2012-11-06 | Textile reader/writer: Fixed autolinks. | John MacFarlane | 2 | -12/+9 | |
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-06 | Textile parser: Expanded list of stringBreakers. | John MacFarlane | 1 | -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-05 | HTML writer: Include highlighting-css for code spans, too. | John MacFarlane | 1 | -1/+3 | |
Previously it was only included if used in a code block. Closes #653. | |||||
2012-11-05 | LaTeX reader: skip comments in handleIncludes. | John MacFarlane | 1 | -0/+2 | |
2012-11-05 | Textile reader: Allow newlines before pipes in table. | John MacFarlane | 1 | -1/+2 | |
Closes #654. | |||||
2012-11-04 | EPUB writer: Rationalized templates. | John MacFarlane | 2 | -10/+3 | |
* 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-04 | EPUB: removed need for separate epub-titlepage template. | John MacFarlane | 1 | -8/+3 | |
The titlepage stuff is now folded into the epub-page template. A titlepage variable selects it. | |||||
2012-11-04 | EPUB writer: Removed need for separate epub-coverpage template. | John MacFarlane | 1 | -11/+5 | |
The standard epub-page template is now used. | |||||
2012-11-04 | EPUB writer: Improved handling of CSS. | John MacFarlane | 1 | -2/+6 | |
* Code highlighting now works by default. * Quote styles work as in pandoc's HTML writer. | |||||
2012-11-04 | RST writer: Don't add ":align: center" to figures. | John MacFarlane | 1 | -2/+1 | |
2012-11-04 | EPUB writer: Set epub3 variable before calling templates. | John MacFarlane | 1 | -1/+2 | |
2012-11-04 | EPUB writer: Better TOC and footnote handling. | John MacFarlane | 1 | -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-04 | EPUB: Use section divs by default for better semantic markup. | John MacFarlane | 1 | -0/+1 | |
2012-11-04 | LaTeX writer: Don't use [fragile] unnecessarily. | John MacFarlane | 1 | -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-04 | Improved support for MathML in EPUB3. | John MacFarlane | 1 | -16/+26 | |
* 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-02 | EPUB: Don't use opf:role in EPUB3. | John MacFarlane | 1 | -1/+2 | |
2012-11-02 | EPUB: Fixed invalid nesting problem in nav.xhtml. | John MacFarlane | 1 | -3/+3 | |
2012-11-02 | EPUB: Added properties attribute. | John MacFarlane | 1 | -1/+3 | |
2012-11-02 | HTML writer: Use XHtml5 only if blaze version current enough. | John MacFarlane | 1 | -0/+4 | |
2012-11-02 | HTML writer: Use Text.Blaze.XHtml5 instead of Html5. | John MacFarlane | 1 | -1/+1 | |
This is needed for epub. | |||||
2012-11-02 | EPUB: Use HTML5 for epub3. | John MacFarlane | 1 | -1/+4 | |
2012-11-02 | EPUB: Set epub3 template variable controlling doctype. | John MacFarlane | 1 | -3/+5 | |
2012-11-02 | EPUB writer: Don't create entry for nav.xhtml in EPUB2. | John MacFarlane | 1 | -2/+3 | |
2012-11-02 | Fixed a couple validation bugs that affect epub2 also. | John MacFarlane | 1 | -2/+3 | |
2012-11-02 | Preliminary changes for epub3 format. | John MacFarlane | 4 | -18/+70 | |
* EPUB writer now exports writeEPUB2 and writeEPUB3. * 'epub' output format is epub v2, while 'epub3' is v3. | |||||
2012-11-02 | DocBook reader: Support title in "figure" element. | John MacFarlane | 1 | -6/+21 | |
Closes #650. | |||||
2012-11-01 | LaTeX reader: Avoid include loops. | John MacFarlane | 1 | -8/+17 | |
2012-11-01 | Revert "LaTeX reader: Added code to handleIncludes to avoid inf loops." | John MacFarlane | 1 | -14/+8 | |
This reverts commit da87837318cf035be407136b39c5ec6a0009adb4. Reason: The code was overzealous and would rule out some things we want to be able to do, like include the same file multiple times. | |||||
2012-11-01 | LaTeX reader: Added code to handleIncludes to avoid inf loops. | John MacFarlane | 1 | -8/+14 | |
e.g. when one file includes another which includes it. | |||||
2012-11-01 | LaTeX reader: Improved handling of included files. | John MacFarlane | 1 | -11/+24 | |
* `\input` now works, as well as `\include`. * TEXINPUTS is used. * We now look recursively into included files for more included files. | |||||
2012-10-28 | Removed citationSuppressParens. | John MacFarlane | 1 | -1/+0 | |
Makefile: Use citeproc-0.3.6 release. | |||||
2012-10-22 | LaTeX reader: Initialize citationSuppressParens field. | John MacFarlane | 1 | -0/+1 | |
2012-10-22 | Fixed Biblio for extra parameter on Citation. | John MacFarlane | 1 | -2/+2 | |
2012-10-21 | Revert "LaTeX reader: Use new suppressParens option for footnote citations." | John MacFarlane | 3 | -75/+71 | |
This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd. Conflicts: src/Text/Pandoc/Readers/LaTeX.hs | |||||
2012-10-18 | Fixed bug in fetching CSL files from CSL data directory. | John MacFarlane | 1 | -2/+2 | |
2012-10-18 | Removed debug print statement left in my mistake. | John MacFarlane | 1 | -1/+0 | |
2012-10-15 | LaTeX reader: Basic \enquote support. | John MacFarlane | 1 | -0/+9 | |
2012-10-15 | LaTeX reader: Use new suppressParens option for footnote citations. | John MacFarlane | 3 | -71/+75 | |
Also changed Biblio, Markdown reader, and LaTeX reader tests because of new citationSuppressParens field in Citation. | |||||
2012-10-14 | Re-added Read instance for ReaderOptions. | John MacFarlane | 1 | -1/+1 | |
Requires dev version of citeproc-hs. |