Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-11-19 | Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵ | John MacFarlane | 1 | -7/+17 | |
mb21-new-image-attributes * Bumped version to 1.16. * Added Attr field to Link and Image. * Added `common_link_attributes` extension. * Updated readers for link attributes. * Updated writers for link attributes. * Updated tests * Updated stack.yaml to build against unreleased versions of pandoc-types and texmath. * Fixed various compiler warnings. Closes #261. TODO: * Relative (percentage) image widths in docx writer. * ODT/OpenDocument writer (untested, same issue about percentage widths). * Update pandoc-citeproc. | |||||
2015-11-09 | Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly." | John MacFarlane | 1 | -1/+0 | |
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b. | |||||
2015-11-08 | Use -XNoImplicitPrelude and 'import Prelude' explicitly. | John MacFarlane | 1 | -0/+1 | |
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503. | |||||
2015-10-14 | Use custom Prelude to avoid compiler warnings. | John MacFarlane | 1 | -2/+0 | |
- The (non-exported) prelude is in prelude/Prelude.hs. - It exports Monoid and Applicative, like base 4.8 prelude, but works with older base versions. - It exports (<>) for mappend. - It hides 'catch' on older base versions. This allows us to remove many imports of Data.Monoid and Control.Applicative, and remove Text.Pandoc.Compat.Monoid. It should allow us to use -Wall again for ghc 7.10. | |||||
2015-09-24 | Improve text generated for <xref> by employing docbook-xsl heuristics | Frerich Raabe | 1 | -2/+16 | |
docbook-xsl, a set of XSLT scripts to generate HMTL out of DocBook, tries harder to generate a nice xref text. Depending on the element being linked to, it looks at the title or other descriptive child elements. Let's do that, too. | |||||
2015-09-24 | Added proper support for DocBook 'xref' elements | Frerich Raabe | 1 | -2/+18 | |
'xref' is used to create cross references to other parts of the document. It is an empty element - the cross reference text depends on various attributes. Quoting 'DocBook: The Definitive Guide': 1. If the endterm attribute is specified on xref, the content of the element pointed to by endterm will be used as the text of the cross-reference. 2. Otherwise, if the object pointed to has a specified XRefLabel, the content of that attribute will be used as the cross-reference text. | |||||
2015-09-23 | Pass the parsed DocBook content along the state of readDocBook | Frerich Raabe | 1 | -2/+4 | |
Having access to the entire document will be needed when handling elements which refer to other elements. This is needed for e.g. <xref> or <link>, both of which reference other elements (by the 'id' attribute) for the label text. I suppose that in practice, the [Content] returned by parseXML always only contains one 'Elem' value -- the document element. However, I'm not totally sure about it, so let's just pass all the Content along. | |||||
2015-09-23 | Minor refactoring to readDocBook | Frerich Raabe | 1 | -2/+2 | |
I plan to use the parsed and normalized XML tree read in readDocBook in other places - prepare that commit by factoring this code out into a separate, shared, definition. | |||||
2015-08-08 | DocBook reader: handle informalexample. | John MacFarlane | 1 | -1/+4 | |
It is parsed into a Div with class `informalexample`. Closes #2319. | |||||
2015-08-07 | Updated readers, writers and README for link attribute | mb21 | 1 | -1/+2 | |
2015-08-07 | Updated readers and writers for new image attribute parameter. | John MacFarlane | 1 | -6/+15 | |
(mb21) | |||||
2015-06-21 | DocBook reader mediaobjects and figures, closes #2184 | mb21 | 1 | -11/+20 | |
2015-04-07 | Removed redundat import. | John MacFarlane | 1 | -1/+0 | |
2015-04-07 | DocBook reader: look inside "info" elements for section titles. | John MacFarlane | 1 | -1/+4 | |
Closes #1931. | |||||
2015-02-18 | Change return type of DocBook reader | Matthew Pickering | 1 | -11/+16 | |
2014-12-14 | DocBook readers: Include id on section headers. | John MacFarlane | 1 | -1/+2 | |
Closes #1818. | |||||
2014-12-14 | DocBook reader: Handle menuchoice elements better. | John MacFarlane | 1 | -4/+11 | |
They are now rendered with a `>` between them. Closes #1817. | |||||
2014-12-14 | DocBook reader: get string content in inner tags for literal elements. | John MacFarlane | 1 | -6/+9 | |
Closes #1816. | |||||
2014-12-14 | DocBook reader: handle keycombo, keycap. | John MacFarlane | 1 | -2/+6 | |
Closes #1815. | |||||
2014-12-08 | DocBook reader: document/test "type" as implemented | Bryan O'Sullivan | 1 | -1/+1 | |
2014-12-08 | DocBook reader: add support for classname | Bryan O'Sullivan | 1 | -1/+2 | |
2014-12-08 | DocBook reader: add support for calloutlist and callout | Bryan O'Sullivan | 1 | -3/+5 | |
We treat a calloutlist as a bulleted list. This works well in practice. | |||||
2014-08-12 | DocBook: Support equations with mathml. | John MacFarlane | 1 | -4/+16 | |
equation, informalequation, inlineequation and mml:math elements. | |||||
2014-07-23 | DocBook reader: Better handle elements inside code environments. | John MacFarlane | 1 | -1/+6 | |
Of course, we can't include structure in the code block, but this way we at least preserve the text. Closes #1449. | |||||
2014-06-17 | DocBook reader: Support <?asciidoc-br?>. | John MacFarlane | 1 | -2/+17 | |
Closes #1236. Note, this is a bit of a kludge, to work around the fact that xml-light doesn't parse `<?asciidoc-br?>` correctly. We preprocess the input, replacing that instruction with `<br/>`, and then parse that as a line break. Other XML instructions are simply removed from the input stream. | |||||
2014-04-04 | DocBook reader: Better treatment of formalpara. | John MacFarlane | 1 | -3/+3 | |
We now emit the title (if present) as a separate paragraph with boldface text. Closes #1215. | |||||
2014-04-04 | DocBook reader: set metadata "author" not "authors" | John MacFarlane | 1 | -1/+1 | |
2014-04-04 | Removed trailing whitespace. | John MacFarlane | 1 | -15/+15 | |
2014-04-04 | DocBook reader: set "author" not "authors". | John MacFarlane | 1 | -3/+3 | |
2014-04-04 | Added recognition of authorgroup element and releaseinfo element to DocBook ↵ | Matthew Pickering | 1 | -9/+16 | |
reader. Closes #1214 | |||||
2014-04-04 | Converted current meta information parsing in DocBook to a more extensible ↵ | Matthew Pickering | 1 | -34/+48 | |
version which is aware of the more recent meta representation. | |||||
2013-12-19 | HLint: use fromMaybe | Henry de Valence | 1 | -3/+4 | |
Replace uses of `maybe x id` with `fromMaybe x`. | |||||
2013-12-16 | Docbook reader: Avoid failure if tbody contains no tr or row elements. | John MacFarlane | 1 | -1/+3 | |
2013-10-22 | DocBook reader: Handle numerical attributes starting with decimal. | John MacFarlane | 1 | -6/+7 | |
Also use safeRead instead of read. | |||||
2013-08-08 | Added Text.Pandoc.Compat.TagSoupEntity. | John MacFarlane | 1 | -1/+1 | |
This allows pandoc to compile with tagsoup 0.13.x. Thanks to Dirk Ullrich for the patch. | |||||
2013-01-06 | Don't put the text of an autolink in Code font. | John MacFarlane | 1 | -3/+3 | |
2012-11-02 | DocBook reader: Support title in "figure" element. | John MacFarlane | 1 | -6/+21 | |
Closes #650. | |||||
2012-07-26 | Fixed whitespace errors. | John MacFarlane | 1 | -5/+5 | |
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 1 | -2/+2 | |
2012-06-26 | Docbook reader: Added support for "bold" emphasis. | John MacFarlane | 1 | -0/+1 | |
Thanks to mb21. | |||||
2012-05-12 | DocBook: support segmentedlist. | John MacFarlane | 1 | -4/+17 | |
2012-05-12 | DocBook reader: Support simplelist, member. | John MacFarlane | 1 | -3/+5 | |
2012-05-12 | Don't include non-language classes for code blocks. | John MacFarlane | 1 | -6/+6 | |
2012-05-12 | DocBook reader: Recognize example as block element. | John MacFarlane | 1 | -1/+1 | |
2012-05-12 | DocBook reader: Promote level 0 headers to 1 even if dbBook not set. | John MacFarlane | 1 | -1/+1 | |
2012-05-12 | DocBook reader: Support bridgehead. | John MacFarlane | 1 | -2/+3 | |
2012-05-12 | DocBook reader: only use language classes for inline code. | John MacFarlane | 1 | -18/+18 | |
2012-05-12 | DocBook reader: Better handling tags that can have inline or block content. | John MacFarlane | 1 | -10/+10 | |
2012-05-12 | DocBook reader: computeroutput is an inline tag, not block. | John MacFarlane | 1 | -2/+2 | |
2012-05-11 | DocBook reader: Support bibliomixed tag. | John MacFarlane | 1 | -1/+2 | |