Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-09-11 | Docx writer: Renumber header and footer relationships to avoid collisions. | Jesse Rosenthal | 1 | -12/+56 | |
We previously took the old relationship names of the headers and footer in secptr. That led to collisions. We now make a map of availabl names in the relationships file, and then rename in secptr. | |||||
2014-09-09 | Updated tests for #1616 change. | John MacFarlane | 1 | -0/+1 | |
2014-09-09 | LaTeX template: Added \VerbatimFootnotes if there is verbatim in notes. | John MacFarlane | 1 | -26/+7 | |
Fixes a bug when there is verbatim inside notes. Closes #1616. | |||||
2014-09-09 | LaTeX writer: Test for protecting images in header. | Jesse Rosenthal | 1 | -0/+3 | |
2014-09-09 | LaTeX writer: Protect graphics in headers. | Jesse Rosenthal | 1 | -6/+15 | |
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. | |||||
2014-09-06 | Docx Reader: Remove header class properly in other langs | Jesse Rosenthal | 1 | -4/+4 | |
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. | |||||
2014-09-05 | Docx reader: Add test for polyglot headers. | Jesse Rosenthal | 3 | -0/+14 | |
Only Danish at the moment. | |||||
2014-09-05 | Docx reader: Use polyglot header list. | Jesse Rosenthal | 1 | -7/+7 | |
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. | |||||
2014-09-05 | Docx Reader: Start list of polyglot section headers. | Jesse Rosenthal | 1 | -0/+7 | |
2014-09-04 | Org reader: Update Tests | Jesse Rosenthal | 1 | -1/+5 | |
Test for markup after blank line. | |||||
2014-09-04 | Org reader: Added state changing blanklines. | Jesse Rosenthal | 1 | -1/+8 | |
This allows us to emphasize at the beginning of a new paragraph (or, in general, after blank lines). | |||||
2014-09-04 | Docx Reader: Add tests for numbered headers. | Jesse Rosenthal | 3 | -0/+5 | |
2014-09-04 | Docx reader: Rewrite rewriteLink to work with new headers. | Jesse Rosenthal | 1 | -9/+4 | |
There could be new top-level headers after making lists, so we have to rewrite links after that. | |||||
2014-09-04 | Docx reader: Single-item headers in ordered lists are headers. | Jesse Rosenthal | 1 | -4/+6 | |
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. | |||||
2014-09-02 | Docx reader: Modify mediabag test accordingly. | Jesse Rosenthal | 1 | -2/+1 | |
2014-09-02 | Docx reader: Fix window path for image lookup. | Jesse Rosenthal | 1 | -1/+1 | |
Don't use os-sensitive "combine", since we always want the paths in our zip-archive to use forward-slashes. | |||||
2014-09-01 | EPUB writer: Don't include nav node in spine unless --toc was requested. | John MacFarlane | 1 | -4/+2 | |
Previously we included it in the spine with `linear="no"`, leading to odd results in some readers. Closes #1593. | |||||
2014-09-01 | LaTeX writer: Avoid using reserved characters as \lstinline delimiters. | John MacFarlane | 1 | -1/+3 | |
Closes #1595. | |||||
2014-09-01 | EPUB writer: Fixed typo. | John MacFarlane | 1 | -1/+1 | |
2014-08-31 | Merge pull request #1594 from jkr/itemFix | John MacFarlane | 2 | -2/+19 | |
Item fix | |||||
2014-08-31 | EPUB writer: Extract title even from structured title. | John MacFarlane | 1 | -7/+21 | |
Added docTitle'. | |||||
2014-08-31 | Use real copyright symbol in README epub metadata example. | John MacFarlane | 1 | -1/+1 | |
2014-08-31 | LaTeX writer: Add tests for header-in-item. | Jesse Rosenthal | 1 | -0/+7 | |
2014-08-31 | LaTeX writer: Put `~` before header in item text. | Jesse Rosenthal | 1 | -2/+12 | |
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. | |||||
2014-08-31 | Markdown reader: better handling of paragraph in div. | John MacFarlane | 14 | -13/+32 | |
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. | |||||
2014-08-31 | README: escape (c) in epub metadata example | John MacFarlane | 1 | -1/+1 | |
2014-08-31 | EPUB writer: Don't use opf:title-type for epub2. | John MacFarlane | 1 | -2/+2 | |
It is not supported and epubcheck complains. | |||||
2014-08-31 | EPUB, EPUB3 templates: Handle structured metadata on titlepage. | John MacFarlane | 1 | -6/+27 | |
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 ... | |||||
2014-08-31 | Use protocol-relative URL for mathjax. | John MacFarlane | 1 | -1/+1 | |
See jgm/pandoc-templates#67. | |||||
2014-08-31 | Shared: Moved import of toChunks outside of conditional. | John MacFarlane | 1 | -1/+1 | |
Closes #1590. | |||||
2014-08-30 | Makefile: simplified 'make dist'. | John MacFarlane | 1 | -6/+3 | |
Note that this may not work with older cabal versions. | |||||
2014-08-30 | DokuWiki writer: Make tables prettier by aligning columns. | John MacFarlane | 4 | -66/+50 | |
Also cleaned up crufty code and added tests. | |||||
2014-08-30 | DokuWiki writer: Handle table cell alignments. | John MacFarlane | 1 | -27/+19 | |
Closes #1566. | |||||
2014-08-30 | Updated changelog. | John MacFarlane | 1 | -0/+4 | |
2014-08-30 | Textile reader: Improved table support. | John MacFarlane | 2 | -56/+20 | |
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. | |||||
2014-08-30 | PDF: Catch errors in conversion of images and display message. | John MacFarlane | 1 | -8/+14 | |
See #1582. | |||||
2014-08-30 | Put version in lower-left corner of man pages. | John MacFarlane | 3 | -3/+5 | |
2014-08-30 | Makefile: Add README as dependency of man pages. | John MacFarlane | 1 | -2/+2 | |
2014-08-30 | Updated README date | John MacFarlane | 1 | -1/+1 | |
2014-08-30 | Version bump to 1.13.1. | John MacFarlane | 2 | -2/+2 | |
2014-08-30 | Makefile: Fixed install target to use copy, register. | John MacFarlane | 1 | -1/+2 | |
This way the last configuration is used. | |||||
2014-08-30 | Added new dokuwiki multiblock table tests to pandoc.cabal. | John MacFarlane | 1 | -0/+2 | |
2014-08-30 | Dokuwiki writer: Add a test for multiblock table cells. | Jesse Rosenthal | 3 | -0/+19 | |
We have to add a new file, because the original table tests don't look for this. | |||||
2014-08-30 | Updated changelog. | John MacFarlane | 1 | -0/+5 | |
2014-08-30 | Merge branch 'mime' of https://github.com/Aelve/John into Aelve-mime | John MacFarlane | 8 | -51/+67 | |
Conflicts: src/Text/Pandoc/Writers/Docx.hs | |||||
2014-08-30 | Updated changelog. | John MacFarlane | 1 | -1/+8 | |
2014-08-30 | Updated README on `--self-contained`. | John MacFarlane | 1 | -4/+3 | |
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. | |||||
2014-08-30 | Merge pull request #1580 from jkr/stringCellDokuWiki | John MacFarlane | 1 | -10/+36 | |
DokuWiki writer: Backslash newlines in table cells | |||||
2014-08-30 | Removed extra blank line after version. | John MacFarlane | 1 | -1/+1 | |
2014-08-30 | DokuWiki writer: Use backslash newlines in table cells. | Jesse Rosenthal | 1 | -10/+36 | |
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. |