summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* LaTeX template: Added \VerbatimFootnotes if there is verbatim in notes.John MacFarlane2014-09-09
| | | | | Fixes a bug when there is verbatim inside notes. Closes #1616.
* LaTeX writer: Test for protecting images in header.Jesse Rosenthal2014-09-09
|
* LaTeX writer: Protect graphics in headers.Jesse Rosenthal2014-09-09
| | | | | | | | | Graphics in `\section`/`\subsection` etc titles need to be `\protect`ed. This adds a state value and manually turns it on before every invocation of `sectionHeader` and manually turns it off after. Using a writer value and applying `local` would probably be cleaner, but this fits with the current style.
* Docx Reader: Remove header class properly in other langsJesse Rosenthal2014-09-06
| | | | | | When we encounter one of the polyglot header styles, we want to remove that from the par styles after we convert to a header. To do that, we have to keep track of the style name, and remove it appropriately.
* Docx reader: Add test for polyglot headers.Jesse Rosenthal2014-09-05
| | | | Only Danish at the moment.
* Docx reader: Use polyglot header list.Jesse Rosenthal2014-09-05
| | | | | | | | | | We're just keeping a list of header formats that different languages use as their default styles. At the moment, we have English, German, Danish, and French. We can continue to add to this. This is simpler than parsing the styles file, and perhaps less error-prone, since there seems to be some variations, even within a language, of how a style file will define headers.
* Docx Reader: Start list of polyglot section headers.Jesse Rosenthal2014-09-05
|
* Org reader: Update TestsJesse Rosenthal2014-09-04
| | | | Test for markup after blank line.
* Org reader: Added state changing blanklines.Jesse Rosenthal2014-09-04
| | | | | This allows us to emphasize at the beginning of a new paragraph (or, in general, after blank lines).
* Docx Reader: Add tests for numbered headers.Jesse Rosenthal2014-09-04
|
* Docx reader: Rewrite rewriteLink to work with new headers.Jesse Rosenthal2014-09-04
| | | | | There could be new top-level headers after making lists, so we have to rewrite links after that.
* Docx reader: Single-item headers in ordered lists are headers.Jesse Rosenthal2014-09-04
| | | | | When users number their headers, Word understands that as a single item enumerated list. We make the assumption that such a list is, in fact, a header.
* EPUB writer: Don't include nav node in spine unless --toc was requested.John MacFarlane2014-09-01
| | | | | | | Previously we included it in the spine with `linear="no"`, leading to odd results in some readers. Closes #1593.
* LaTeX writer: Avoid using reserved characters as \lstinline delimiters.John MacFarlane2014-09-01
| | | | Closes #1595.
* EPUB writer: Fixed typo.John MacFarlane2014-09-01
|
* Merge pull request #1594 from jkr/itemFixJohn MacFarlane2014-08-31
|\ | | | | Item fix
| * LaTeX writer: Add tests for header-in-item.Jesse Rosenthal2014-08-31
| |
| * LaTeX writer: Put `~` before header in item text.Jesse Rosenthal2014-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | Because of the built-in line skip, LaTeX can't handle a section header as the first element in a list item. (To be precise, it can't handle it if the list immediately follows a section header, but the instance is rare enough that we can afford to be a bit more general). This puts a non-breaking space before the header to solve this problem. We won't see this space, since the header skips a line before printing anyway. The output is ugly in LaTeX and this structure seems like it should probably be avoided. But it is valid HTML and native pandoc, so we should have some sort of typesettable representation in LaTeX.
* | EPUB writer: Extract title even from structured title.John MacFarlane2014-08-31
| | | | | | | | Added docTitle'.
* | Use real copyright symbol in README epub metadata example.John MacFarlane2014-08-31
| |
* | Markdown reader: better handling of paragraph in div.John MacFarlane2014-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously text that ended a div would be parsed as Plain unless there was a blank line before the closing div tag. Test case: <div class="first"> This is a paragraph. This is another paragraph. </div> Closes #1591.
* | README: escape (c) in epub metadata exampleJohn MacFarlane2014-08-31
| |
* | EPUB writer: Don't use opf:title-type for epub2.John MacFarlane2014-08-31
| | | | | | | | It is not supported and epubcheck complains.
* | EPUB, EPUB3 templates: Handle structured metadata on titlepage.John MacFarlane2014-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we just expected 'title', 'subtitle', 'author', 'date'. Now we still support those, but also support the format recommended for epub metadata in the pandoc README: --- title: - type: main text: My Book - type: subtitle text: An investigation of metadata creator: - role: author text: John Smith - role: editor text: Sarah Jones identifier: - scheme: DOI text: doi:10.234234.234/33 publisher: My Press rights: (c) 2007 John Smith, CC BY-NC ...
* | Use protocol-relative URL for mathjax.John MacFarlane2014-08-31
| | | | | | | | See jgm/pandoc-templates#67.
* | Shared: Moved import of toChunks outside of conditional.John MacFarlane2014-08-31
|/ | | | Closes #1590.
* Makefile: simplified 'make dist'.John MacFarlane2014-08-30
| | | | Note that this may not work with older cabal versions.
* DokuWiki writer: Make tables prettier by aligning columns.John MacFarlane2014-08-30
| | | | Also cleaned up crufty code and added tests.
* DokuWiki writer: Handle table cell alignments.John MacFarlane2014-08-30
| | | | Closes #1566.
* Updated changelog.John MacFarlane2014-08-30
|
* Textile reader: Improved table support.John MacFarlane2014-08-30
| | | | | | | | We can now handle all different alignment types, for simple tables only (no captions, no relative widths, cell contents just plain inlines). Other tables are still handled using raw HTML. Addresses #1585 as far as it can be addresssed, I believe.
* PDF: Catch errors in conversion of images and display message.John MacFarlane2014-08-30
| | | | See #1582.
* Put version in lower-left corner of man pages.John MacFarlane2014-08-30
|
* Makefile: Add README as dependency of man pages.John MacFarlane2014-08-30
|
* Updated README dateJohn MacFarlane2014-08-30
|
* Version bump to 1.13.1.John MacFarlane2014-08-30
|
* Makefile: Fixed install target to use copy, register.John MacFarlane2014-08-30
| | | | This way the last configuration is used.
* Added new dokuwiki multiblock table tests to pandoc.cabal.John MacFarlane2014-08-30
|
* Dokuwiki writer: Add a test for multiblock table cells.Jesse Rosenthal2014-08-30
| | | | | We have to add a new file, because the original table tests don't look for this.
* Updated changelog.John MacFarlane2014-08-30
|
* Merge branch 'mime' of https://github.com/Aelve/John into Aelve-mimeJohn MacFarlane2014-08-30
|\ | | | | | | | | Conflicts: src/Text/Pandoc/Writers/Docx.hs
| * Remove an unnecessary import.Artyom Kazak2014-08-17
| |
| * Update Reader.EPUB to use `MimeType`.Artyom Kazak2014-08-17
| |
| * MIME cleanup.Artyom Kazak2014-08-17
| | | | | | | | | | | | | | * Create a type synonym for MIME type (instead of `String`). * Add `getMimeTypeDef` function. * Avoid recreating MIME type `Map`s every time. * Move “Formula-...” case handling into `getMimeType`.
* | Updated changelog.John MacFarlane2014-08-30
| |
* | Updated README on `--self-contained`.John MacFarlane2014-08-30
| | | | | | | | | | | | Removed outdated claim that pandoc will look in the user data directory if a relative path is specified and the file is not found locally. Closes #1572.
* | Merge pull request #1580 from jkr/stringCellDokuWikiJohn MacFarlane2014-08-30
|\ \ | | | | | | DokuWiki writer: Backslash newlines in table cells
| * | DokuWiki writer: Use backslash newlines in table cells.Jesse Rosenthal2014-08-30
| | | | | | | | | | | | | | | Write out strings in table cells with backslash linebreaks in place of newlines. We also want to remove the first two spaces of an indent in lists.
* | | Removed extra blank line after version.John MacFarlane2014-08-30
| | |
* | | Updated changelog.John MacFarlane2014-08-29
| | |