aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2014-12-15FB2 writer: Add newline to output.John MacFarlane1-1/+1
2014-12-15LaTeX writer: Handle consecutive linebreaks.John MacFarlane1-2/+10
Closes #1733.
2014-12-15HTML writer: put newline btw img and caption paragraph.John MacFarlane1-1/+1
2014-12-15LaTeX writer: better handling of display math in simple tables.John MacFarlane1-1/+7
We convert display math to inline math in simple tables, since LaTeX can't deal with display math in simple tables. Closes #1754.
2014-12-15EPUB writer: include "landmarks" section in nav document for epub3.John MacFarlane1-3/+23
Closes #1757.
2014-12-15Text.Pandoc.Writers.RTF: Add blankline at end of outputMatthew Pickering1-1/+3
Closes #1732
2014-12-15Text.Pandoc.Readers.HTML: Retain display type of MathML outputMatthew Pickering1-2/+4
Closes #1719
2014-12-15EPUB writer: Removed playOrder from navpoint elements in ncx file.John MacFarlane1-2/+1
These aren't required, and they make manual modification of epubs difficult. Closes #1760.
2014-12-15Improved texorpdfstring patch #1148.John MacFarlane1-3/+6
* Make LaTeX reader recognize texorpdfstring. * Don't use texorpdfstring unless it's actually needed. * Fix tests.
2014-12-15Merge branch 'use-texorpdfstring' of https://github.com/wilx/pandoc into ↵John MacFarlane1-1/+4
wilx-use-texorpdfstring Conflicts: src/Text/Pandoc/Writers/LaTeX.hs tests/Tests/Writers/LaTeX.hs
2014-12-10Merge pull request #1695 from bjornbm/masterJohn MacFarlane1-1/+3
Escape inline verbatim spaces in LaTeX output
2014-12-08Merge pull request #1746 from shelf/dw-ext-imagesMatthew Pickering1-2/+6
DokuWiki writer: fix external images
2014-12-08Fix for #1641 (docx table captions above tables)Nikolay Yakimov1-2/+3
Word doesn't really treat table captions as something special. It's just a paragraph with special style, nothing more, so simple reversal of output order in writer works fine.
2014-12-07Merge pull request #1716 from lierdakil/issue1607-pullreqMatthew Pickering1-7/+35
First step to fixing internationalisation problems with docx output
2014-11-30ICML writer: Don't force all citations into footnotes.John MacFarlane1-1/+1
2014-11-25Reverted "omit blank lines after list items," better fix for #1777.John MacFarlane1-6/+6
Now we do as before, including blank lines after list items in loose lists (even though RST doesn't care -- this is just a matter of visual appeal). But we chomp any excess whitespace after the last list item, which solves #1777.
2014-11-25RST writer: Omit blank lines after list items.John MacFarlane1-3/+3
They are optional in RST (except after the last list item, of course). Fixes #1777.
2014-11-25RST writer: Ensure blank line after figure.John MacFarlane1-1/+1
2014-11-19Fixed double-rendering of footnotes in RST tables.John MacFarlane1-3/+2
Closes #1769.
2014-11-17Really fix #1758. Add `id="cover"` to body on cover page.John MacFarlane1-2/+3
Not title page!
2014-11-16Use regular page template for nav.xhtml.John MacFarlane1-11/+8
This includes the HTML doctype. Closes #1759.
2014-11-09DokuWiki writer: fix external imagesTimothy Humphries1-2/+6
Handles #1739. Preface relative links with ":", absolute URIs without.
2014-11-04DokuWiki writer: Better handling of block quotes.John MacFarlane1-4/+2
This change ensures that multiple paragraph blockquotes are rendered using native `>` rather than as HTML. Closes #1738.
2014-10-30ODT writer: Correctly handle images without extensions.John MacFarlane1-5/+6
Closes #1729.
2014-10-28Strip querystring in ODT writeTodd Sifleet1-1/+2
* Resolve #1682 * Strip querystring from filename before rendering ODT files, ODT cannot handle querystrings in files.
2014-10-24Docx Writer: Partial fix for #1607Nikolay Yakimov1-7/+35
International heading styles are inferred based on `<w:name val="heading #">` fallback, if there are no en-US "Heading#" styles
2014-10-23HTML writer: Make header attributes work outside top level.John MacFarlane1-4/+14
Previously they only appeared on top level header elements. Now they work e.g. in blockquotes. Closes #1711.
2014-10-21DOCX writer: Look in user data dir for archive reference.docx.John MacFarlane1-1/+1
2014-10-21Merge pull request #1668 from gbataille/widthFromRef2John MacFarlane1-17/+36
Getting the page width from the reference file
2014-10-15Escape spaces. Fixes jgm/pandoc#1694.Bjorn Buckwalter1-1/+3
2014-10-08EPUB reader: Further URI handling improvements.John MacFarlane1-25/+12
Now we outsource most of the work to `fetchItem'`. Also, do not include queries in file extensions. Improves fix to #1671. It is possible that this will have some unexpected effects, so further testing would be good.
2014-10-08EPUB writer: correctly resolve relative URIs. (Closes #1671.)John MacFarlane1-11/+14
2014-10-08Fixed absolute URI detection in EPUB writer. Closes #1672.John MacFarlane1-2/+2
2014-10-08EPUB writer: Don't add sourceURL to absolute URIs!John MacFarlane1-5/+10
Closes #1669. If there are further issues, please open a new, targeted issue on the tracker. Some notes on the further issues you gestured at: Data URIs are indeed dereferenced, but why is this a problem? (The function being used to fetch from URLs is used for many different formats. Preserving data URIs would make sense in EPUBs, but not for e.g. PDF output. And by dereferencing we can get a smaller, more efficient EPUB, with the data stored as bytes in a file rather than encoded in textual representation.) "absolute uris are not recognized" -- I assume that is the problem just fixed. If not, please open a new issue. "relative uris are resolved (wrongly) like file paths" -- can you give an example? `<base>` tag is ignored. Yes. I didn't know about the base tag. Could you open a new issue just for this?
2014-10-05Getting the page width from the reference fileGrégory Bataille1-17/+36
Uses it to scale images that are too large. When there is no reference files, default to a US letter portrait size to scale the images
2014-09-30RST writer: Wrap line blocks with spaces before continuations.John MacFarlane1-1/+1
Improves on fix to #1656.
2014-09-29Don't wrap lines in rST line blocks.John MacFarlane1-1/+1
Closes #1656. Fixing pandoc to wrap the lines but insert spaces would be much more complicated. This at least makes the output semantically correct.
2014-09-27Merge pull request #1589 from mszep/masterJohn MacFarlane1-7/+17
Add function to sanitize ConTeXt labels
2014-09-25HTML Writer: Don't double render when email-obfuscation=nonempickering1-5/+5
Closes #1625
2014-09-25Add support for KaTeX HTML mathmpickering1-0/+19
Closes #1626
2014-09-25HTML Writer: MathML now outputted with tex annotation.mpickering1-1/+15
Closes #1635
2014-09-18ConTeXt writer: add function toLabelMark Szepieniec1-7/+17
This function can be used to sanitize reference labels so that they do not contain any of the illegal characters \#[]",{}%()|= . Currently only Links have their labels sanitized, because they are the only Elements that use passed labels.
2014-09-11Docx writer: Renumber header and footer relationships to avoid collisions.Jesse Rosenthal1-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-09LaTeX writer: Protect graphics in headers.Jesse Rosenthal1-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-01EPUB writer: Don't include nav node in spine unless --toc was requested.John MacFarlane1-4/+2
Previously we included it in the spine with `linear="no"`, leading to odd results in some readers. Closes #1593.
2014-09-01LaTeX writer: Avoid using reserved characters as \lstinline delimiters.John MacFarlane1-1/+3
Closes #1595.
2014-09-01EPUB writer: Fixed typo.John MacFarlane1-1/+1
2014-08-31Merge pull request #1594 from jkr/itemFixJohn MacFarlane1-2/+12
Item fix
2014-08-31EPUB writer: Extract title even from structured title.John MacFarlane1-7/+21
Added docTitle'.
2014-08-31LaTeX writer: Put `~` before header in item text.Jesse Rosenthal1-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.