summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Made `embed_data_files` flag work.John MacFarlane2012-12-29
|
* Moved all data files and templates to data/.John MacFarlane2012-12-29
|
* Data files changes.John MacFarlane2012-12-29
| | | | | | | | | | * 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.
* Cabal file changes.John MacFarlane2012-12-29
| | | | | | | | * 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 .
* Documented .bibtex extension for BibTeX.John MacFarlane2012-12-19
| | | | Closes #662.
* EPUB3: Don't use the switch statement for mathml.John MacFarlane2012-12-19
| | | | It is not widely implemented yet.
* Fixed bug in withRaw.John MacFarlane2012-12-13
| | | | Didn't correctly handle case where nothing is parsed.
* LaTeX reader: Make command macros work everywhere, including non-math.John MacFarlane2012-12-12
| | | | Environment macros still not supported.
* Updated templates with new default.epub and default.epub3.John MacFarlane2012-11-07
|
* Merge pull request #658 from clinty/masterJohn MacFarlane2012-11-07
|\ | | | | | | | | use LBI buildDir instead of "dist" </> "build". Closes #657.
| * Use LBI buildDir instead of hardcoded "dist" </> "build".Clint Adams2012-11-07
|/
* Textile reader/writer: Fixed autolinks.John MacFarlane2012-11-06
| | | | | | | | | 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
* Textile parser: Expanded list of stringBreakers.John MacFarlane2012-11-06
| | | | | | | 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.
* HTML writer: Include highlighting-css for code spans, too.John MacFarlane2012-11-05
| | | | | Previously it was only included if used in a code block. Closes #653.
* LaTeX reader: skip comments in handleIncludes.John MacFarlane2012-11-05
|
* Textile reader: Allow newlines before pipes in table.John MacFarlane2012-11-05
| | | | Closes #654.
* EPUB template: UTF-8, lang tag, meta tags.John MacFarlane2012-11-04
|
* EPUB writer: Rationalized templates.John MacFarlane2012-11-04
| | | | | | | | * 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.
* EPUB: removed need for separate epub-titlepage template.John MacFarlane2012-11-04
| | | | | The titlepage stuff is now folded into the epub-page template. A titlepage variable selects it.
* EPUB writer: Removed need for separate epub-coverpage template.John MacFarlane2012-11-04
| | | | The standard epub-page template is now used.
* EPUB writer: Improved handling of CSS.John MacFarlane2012-11-04
| | | | | * Code highlighting now works by default. * Quote styles work as in pandoc's HTML writer.
* RST writer: Don't add ":align: center" to figures.John MacFarlane2012-11-04
|
* EPUB writer: Set epub3 variable before calling templates.John MacFarlane2012-11-04
|
* EPUB writer: Better TOC and footnote handling.John MacFarlane2012-11-04
| | | | | | | | | | | * 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.
* EPUB: Use section divs by default for better semantic markup.John MacFarlane2012-11-04
|
* LaTeX writer: Don't use [fragile] unnecessarily.John MacFarlane2012-11-04
| | | | | | | 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.
* Added epub3 to cabal descriptionJohn MacFarlane2012-11-04
|
* Improved support for MathML in EPUB3.John MacFarlane2012-11-04
| | | | | | | | * 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.
* EPUB: Don't use opf:role in EPUB3.John MacFarlane2012-11-02
|
* EPUB: Fixed invalid nesting problem in nav.xhtml.John MacFarlane2012-11-02
|
* EPUB: Added properties attribute.John MacFarlane2012-11-02
|
* HTML writer: Use XHtml5 only if blaze version current enough.John MacFarlane2012-11-02
|
* HTML writer: Use Text.Blaze.XHtml5 instead of Html5.John MacFarlane2012-11-02
| | | | This is needed for epub.
* EPUB: Use HTML5 for epub3.John MacFarlane2012-11-02
|
* EPUB: Set epub3 template variable controlling doctype.John MacFarlane2012-11-02
|
* EPUB writer: Don't create entry for nav.xhtml in EPUB2.John MacFarlane2012-11-02
|
* Fixed a couple validation bugs that affect epub2 also.John MacFarlane2012-11-02
|
* Use title element in epub templates.John MacFarlane2012-11-02
|
* Preliminary changes for epub3 format.John MacFarlane2012-11-02
| | | | | | * EPUB writer now exports writeEPUB2 and writeEPUB3. * 'epub' output format is epub v2, while 'epub3' is v3.
* DocBook reader: Support title in "figure" element.John MacFarlane2012-11-02
| | | | Closes #650.
* LaTeX reader: Avoid include loops.John MacFarlane2012-11-01
|
* Revert "LaTeX reader: Added code to handleIncludes to avoid inf loops."John MacFarlane2012-11-01
| | | | | | | | 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.
* LaTeX reader: Added code to handleIncludes to avoid inf loops.John MacFarlane2012-11-01
| | | | e.g. when one file includes another which includes it.
* LaTeX reader: Improved handling of included files.John MacFarlane2012-11-01
| | | | | | * `\input` now works, as well as `\include`. * TEXINPUTS is used. * We now look recursively into included files for more included files.
* Removed citationSuppressParens.John MacFarlane2012-10-28
| | | | Makefile: Use citeproc-0.3.6 release.
* LaTeX reader: Initialize citationSuppressParens field.John MacFarlane2012-10-22
|
* Fixed Biblio for extra parameter on Citation.John MacFarlane2012-10-22
|
* Revert "LaTeX reader: Use new suppressParens option for footnote citations."John MacFarlane2012-10-21
| | | | | | | | This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd. Conflicts: src/Text/Pandoc/Readers/LaTeX.hs
* Revert "Adjust LaTeX reader test for last change."John MacFarlane2012-10-21
| | | | This reverts commit ea34087cde44bc941ef0280d10de775a8c7e5426.
* Bumped version bound for template-haskell.John MacFarlane2012-10-21
|