Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | Added epub3 to cabal description | John MacFarlane | 1 | -1/+1 | |
2012-11-04 | Improved support for MathML in EPUB3. | John MacFarlane | 2 | -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-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 | 2 | -8/+10 | |
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 | Use title element in epub templates. | John MacFarlane | 1 | -8/+5 | |
2012-11-02 | Preliminary changes for epub3 format. | John MacFarlane | 5 | -43/+93 | |
* 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 | 5 | -6/+5 | |
Makefile: Use citeproc-0.3.6 release. | |||||
2012-10-22 | LaTeX reader: Initialize citationSuppressParens field. | John MacFarlane | 3 | -2/+4 | |
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 | 4 | -82/+77 | |
This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd. Conflicts: src/Text/Pandoc/Readers/LaTeX.hs | |||||
2012-10-21 | Revert "Adjust LaTeX reader test for last change." | John MacFarlane | 1 | -1/+1 | |
This reverts commit ea34087cde44bc941ef0280d10de775a8c7e5426. | |||||
2012-10-21 | Bumped version bound for template-haskell. | John MacFarlane | 1 | -1/+1 | |
2012-10-20 | Updated lhs-test.latex for new highlighting-kate treatment of `. | John MacFarlane | 1 | -1/+1 | |
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 | make-pandoc-man-pages: Use MIN_VERSION macro rather than checking GHC version. | John MacFarlane | 1 | -1/+1 | |
This is more reliable, since directory 1.2.0.1 can be used with GHC < 1.7.6. | |||||
2012-10-15 | Moved man page creation out of Setup.hs. | John MacFarlane | 5 | -127/+126 | |
* MakeManPage.hs has been transformed into man/make-pandoc-man-pages.hs. * There is now a cabal stanza for this, so the dependencies are handled by cabal. * Special treatment in Setup.hs ensures that this never gets installed; it is built and used to create the man pages. * Setup.hs cleaned up. | |||||
2012-10-15 | LaTeX reader: Basic \enquote support. | John MacFarlane | 1 | -0/+9 | |
2012-10-15 | Adjust LaTeX reader test for last change. | John MacFarlane | 1 | -1/+1 | |
2012-10-15 | LaTeX reader: Use new suppressParens option for footnote citations. | John MacFarlane | 4 | -77/+82 | |
Also changed Biblio, Markdown reader, and LaTeX reader tests because of new citationSuppressParens field in Citation. | |||||
2012-10-15 | Removed unneeded function from Setup.hs. | John MacFarlane | 1 | -6/+0 | |
2012-10-15 | Whitespace | John MacFarlane | 1 | -2/+2 | |
2012-10-14 | Re-added Read instance for ReaderOptions. | John MacFarlane | 1 | -1/+1 | |
Requires dev version of citeproc-hs. | |||||
2012-10-14 | Makefile: Back to using citeproc-hs repository. | John MacFarlane | 1 | -1/+1 | |
The released version lacks some features we need. | |||||
2012-10-14 | LaTeX reader: Use normal citations, not author-in-text, for fn cites. | John MacFarlane | 1 | -4/+4 | |
Eventually it would be nice to use a "suppress outer parens" variant, if citeproc-hs provides one. | |||||
2012-10-13 | Don't expose Text.Pandoc.Biblio. | John MacFarlane | 1 | -1/+1 | |
It's no longer necessary for library users, as bibliography processing occurs in readMarkdown and readLaTeX. | |||||
2012-10-13 | Moved bibliography processing into readers. | John MacFarlane | 4 | -33/+43 | |
Previously this was done in src/pandoc.hs, which made it difficult for library users. * Removed readerCitations in ReaderOptions. * Added readerReferences and readerCitationStyle to ReaderOptions. * Moved use of processBiblio from main program to the markdown and LaTeX readers. | |||||
2012-10-13 | Biblio: Make processBiblio take a Maybe Style parameter. | John MacFarlane | 1 | -3/+4 | |
If Nothing, then nothing is done. | |||||
2012-10-13 | Textile reader: Fixed bug with list items containing line breaks. | John MacFarlane | 3 | -9/+25 | |
Now pandoc correctly handles hard line breaks inside list items. Previously they broke list parsing. Thanks to Pablo RodrÃguez for pointing out the problem. | |||||
2012-10-11 | LaTeX reader: Made rawLaTeXInline more flexible. | John MacFarlane | 1 | -4/+2 | |
Now it will also try to parse block commands. This is usually what we want, given how rawLaTeXInline is used in the markdown and textile readers. If a block-level LaTeX command is used in the middle of a paragraph (e.g. `\subtitle` inside a title), we can treat it as raw inline LaTeX. | |||||
2012-10-11 | LaTeX reader: Make `\noindent` inline rather than block. | John MacFarlane | 1 | -2/+1 | |
2012-10-11 | Added MIME types for .wof and .eot. | John MacFarlane | 1 | -0/+2 | |
Closes #640. i# | |||||
2012-10-11 | EPUB writer improvements. | John MacFarlane | 2 | -33/+61 | |
* We now convert to XHTML before cutting into chapter-sized chunks. This fixes a number of problems. * `--number-sections` now works properly. * A proper three-level table of contents is now used in `toc.ncx`. There is no longer a subsidiary table of contents at the beginning of each chapter. * New epub-page template without the `$title$` variable. Titles are left in the chapter bodies as an initial h1. * Closes #539. | |||||
2012-10-10 | LaTeX reader: Better support for citation commands. | John MacFarlane | 2 | -8/+12 | |
* Make `\cite` etc. an AuthorInText. * Make `\footcite` etc. into citations in notes. | |||||
2012-10-06 | RST reader: Don't create empty definition list for metadata field lists. | John MacFarlane | 1 | -3/+3 | |
Previously a field list consisting only of metadata fields (author, title, date) would be parsed as an empty DefinitionList, which is not legal in LaTeX and not needed in any format. This patch fixes the problem, which I learned of from http://stackoverflow.com/questions/12762767/modify-variable-in-rst-with-pandoc. |