summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
Commit message (Collapse)AuthorAge
* Move utility error functions to Text.Pandoc.SharedMatthew Pickering2015-02-18
|
* Update haddocks and copyright noticesMatthew Pickering2015-02-18
|
* Make safeRead safe.Matthew Pickering2015-02-18
| | | | Fixes #1801
* Change return type of Txt2Tags readerMatthew Pickering2015-02-18
|
* Change return type of Textile readerMatthew Pickering2015-02-18
|
* Change return type of TWiki readerMatthew Pickering2015-02-18
|
* Change return type of RST readerMatthew Pickering2015-02-18
|
* Change return type of Org readerMatthew Pickering2015-02-18
|
* Change return type of OPML readerMatthew Pickering2015-02-18
|
* Change return type of Native readerMatthew Pickering2015-02-18
|
* Change return type of Mediawiki readerMatthew Pickering2015-02-18
|
* Change return type of Markdown readerMatthew Pickering2015-02-18
|
* Change return type of LaTeX readerMatthew Pickering2015-02-18
|
* Change return type of Haddock readerMatthew Pickering2015-02-18
|
* Change return type of HTML readerMatthew Pickering2015-02-18
|
* Change return type of EPUB readerMatthew Pickering2015-02-18
|
* Change return type of Docx readerMatthew Pickering2015-02-18
|
* Change return type of DocBook readerMatthew Pickering2015-02-18
|
* Add Text.Pandoc.Error module with PandocError typeMatthew Pickering2015-02-18
|
* Remove partial function from PrettyMatthew Pickering2015-02-18
|
* Remove landmine from ImageSizeMatthew Pickering2015-02-18
|
* Factor out "returnState" into Parsing moduleMatthew Pickering2015-02-18
|
* HLint changesMatthew Pickering2015-02-18
|
* Remove F Monad from Markdown readerMatthew Pickering2015-02-18
|
* Generalise signature of addWarningMatthew Pickering2015-02-18
|
* Add check to see whether in a footnote to ParserState (to avoid circular ↵Matthew Pickering2015-02-18
| | | | footnotes)
* Remove F monad from ParsingMatthew Pickering2015-02-18
|
* Changed parseWithWarnings to the more general returnWarnings parser transformerMatthew Pickering2015-02-18
|
* Remove F monad from Org Reader.Matthew Pickering2015-02-18
|
* Added generalize function which can be used to lift specialised parsers.Matthew Pickering2015-02-18
| | | | Monad m => Parsec s st a -> Parsec T s st m a
* ICML writer: Better handling of raw blocks and inlines.John MacFarlane2015-02-17
| | | | | | | | Previously these were always escaped and printed verbatim. Now they are ignored unless the format is "icml", in which case they are passed through unescaped. Closes #1951.
* Allow wildcards in `--epub-embed-font` arguments.John MacFarlane2015-02-13
| | | | Closes #1939.
* Improved building of data URIs in SelfContained.John MacFarlane2015-02-13
| | | | Now base64 is used except for 'text/*' mime types. Closes #1940.
* Docx reader: Handle lists correctly inside table cells.Jesse Rosenthal2015-02-13
| | | | Previously we didn't transform lists inside table cells.
* Docx writer: Add footnotes id -1 and 0.Jesse Rosenthal2015-02-12
| | | | | | | | Word uses, by default, footnotes with id -1 and 0 for separators. If a user modifies reference.docx, they will end up with a settings.xml file that references these footnotes, but no such footnotes in the document. This will produce a corruption error. Here we add these to the document and settings.xml file, so future modifications won't break the file.
* Docx Writer: Add "BodyText" StyleJesse Rosenthal2015-02-11
| | | | | | | | | | | We apply a "BodyText" style to all unstyled paragraphs. This is, essentially, the same as "Normal" up until now -- except that since not everything inherits from "BodyText" (the metadata won't, for example, or the headers or footnote numbers) we can change the text in the body without having to make exceptions for everything. This will still inherit from Normal, so if we want to change *everything*, we can do it through "Normal".
* Docx Writer: Use FirstParagraph style at beginning.Jesse Rosenthal2015-02-10
| | | | | | | Before we had used `FirstParagraph` style after Headings, BlockQuotes, and other blocks a user might not want an indentation after. We hadn't actually used it for the first paragraph -- i.e. the opening of the body. This makes sure the first body paragraph gets that style.
* Docx Writer: Implement FirstParagraph StyleJesse Rosenthal2015-02-09
| | | | | | | Following the odt writer, we make the first text paragraph following an image, blockquote, table, or heading into a "FirstParagraph" style. This allows it to be styled differently, if the user wishes. The default is for it to be the same as "Normal"
* Merge pull request #1927 from freephile/masterJohn MacFarlane2015-02-07
|\ | | | | update syntax for Images/Media files in MediaWiki
| * update syntax for Images/Media files in MediaWikiGreg Rundlett2015-02-05
| | | | | | The preferred syntax for Images and other media is [[File:Foo.jpg]] in MediaWiki since v1.14 (2008). [[Image:Foo.jpg]] is deprecated but still works as an alias to the File namespace. I don't think this would break any existing wikis since talk of switching the syntax/namespace for images started back in 2002 (https://phabricator.wikimedia.org/T2044). NS_FILE became the new namespace for Files in v 1.14 in late 2008. (https://www.mediawiki.org/wiki/Release_notes/1.14) There is still a namespace alias so '[[Image:]]' still works today. It's just that MediaWiki supports other media as well, and so the name and syntax used in documentation (see https://www.mediawiki.org/wiki/Help:Images) has long been '[[File:foo.jpg]]'
* | Merge branch 'patch/fixTexinfoWrap' of https://github.com/timtylin/scholdoc ↵John MacFarlane2015-02-07
|\ \ | | | | | | | | | | | | | | | | | | into timtylin-patch/fixTexinfoWrap Conflicts: src/Text/Pandoc/Writers/Texinfo.hs
| * | Texinfo writer: fix wrapping by using breakable spacesTim Lin2015-02-06
| |/
* / Append newline to the LineBreak of various writersTim Lin2015-02-04
|/ | | | | | | | | | | | | | This change improves output formatting of content with a large amount of force line breaks, such as line-blocks. The following writers are affected: * Dokuwiki * HTML * EPUB (via HTML) * LaTeX * MediaWiki * OpenDocument * Texinfo This commit resolves #1924
* Textile reader: table improvements.John MacFarlane2015-02-02
| | | | | | * Handle newlines in cells. * Handle empty cells. * Closes #1919.
* LaTeX writer: Don't escape $ in URL. Closes #1913.John MacFarlane2015-02-01
|
* HTML writer: Add "inline" or "display" class to math spans.John MacFarlane2015-02-01
| | | | | | This allows inline and display math to be styled differently. Closes #1914.
* Refactored `if x then [] else y` to `[y | not x]`Konstantin Zudov2015-01-29
|
* Do not ommit missing `alt` attribute on `img` tagKonstantin Zudov2015-01-29
| | | | Fixes #1131
* Fixed list-style-type for numbered example lists.John MacFarlane2015-01-27
| | | | Should be "decimal," not "example." Closes #1902.
* Merge pull request #1885 from mb21/html-reader-tablesJohn MacFarlane2015-01-25
|\ | | | | fixes HTML Reader: tables