summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Parsing: Generalized state type on readWith.John MacFarlane2013-06-24
|
* Markdown reader: Check for blank lines first in blocks.John MacFarlane2013-06-19
| | | | (And skip them. This might speed things up in some cases.)
* Properly handle blank line at beginning of input.John MacFarlane2013-06-19
| | | | Closes #882.
* Improved code readability.John MacFarlane2013-06-19
|
* Markdown reader: fixed bug in unmatched reference links.John MacFarlane2013-06-19
| | | | | | | | | | | | The input [*infile*] [*outfile*] was getting improperly parsed: "infile" was emphasized, but "*outfile*" was literal. This was due to failure to parse the "fallback" in the reference link parser. Closes #883.
* RST reader: don't insert paragraphs where docutils doesn't.John MacFarlane2013-06-18
| | | | | | | | | rst2html doesn't add `<p>` tags to list items (even when they are separated by blank lines) unless there are multiple paragraphs in the list. This commit changes the RST reader to conform more closely to what docutils does. Closes #880.
* Markdown writer: Don't wrap attributes in fenced code blocks.John MacFarlane2013-06-11
|
* Textile reader: Correctly handle entities.John MacFarlane2013-06-11
|
* LaTeX writer: Always create labels for sections.John MacFarlane2013-06-02
| | | | | | | Previously the labels were only created when there were links to the section in the document. Closes #871.
* Add --atx-headers support to asciidoc and dont print empty identifier blocks ↵Max Rydahl Andersen2013-05-31
| | | | ([[]]) on headers
* Added CPP directives to avoid warnings.John MacFarlane2013-05-29
| | | | | For 'import Prelude hiding (catch)'. catch is no longer in Prelude starting with base 4.6.
* Shared.openURL: Properly handle data: URIs.John MacFarlane2013-05-28
|
* EPUB writer: math with `--webtex` is automatically made self-contained.John MacFarlane2013-05-22
| | | | And some code cleanup.
* EPUB writer: Download webtex images and include as data URLs.John MacFarlane2013-05-22
| | | | This allows you to use `--webtex` in creating EPUBs.
* MediaWiki reader: Ignore attributes on headers.John MacFarlane2013-05-20
|
* MediaWiki reader: Skip attributes on table rows.John MacFarlane2013-05-20
| | | | | Previously we just crashed if rows had attributes, now we ignore them.
* Markdown reader: Allow internal `+` in citation identifiers.John MacFarlane2013-05-13
| | | | Closes #856.
* LaTeX reader: Skip positional options after `\begin{figure}`.John MacFarlane2013-05-12
|
* Treat `\textsl` as emphasized text in LaTeX reader.John MacFarlane2013-05-09
| | | | Closes #850.
* Removed obsolete comment.John MacFarlane2013-05-09
|
* Less verbose output from --self-contained.John MacFarlane2013-05-04
| | | | | Now one gets "Fetching [URL]..." for each URL fetched, but not the full header.
* RTF writer: Properly handle characters above the 0000-FFFF range.John MacFarlane2013-05-02
| | | | Uses surrogate pairs. Thanks to Hiromi Ishii for the patch.
* Shared.openURL: Print diagnostic output to stderr, not stdout.John MacFarlane2013-05-01
|
* Shared.openURL: URL-escape pipe characters.John MacFarlane2013-04-28
| | | | | | | Even though these are legal, Network.URI doesn't regard them as legal in URLs. So we escape them first. Closes #535.
* PDF: On Windows, create temdir in working directory.John MacFarlane2013-04-26
| | | | | | | | Reason: the path to the system temp directory may contain tildes, which causes problems in LaTeX when the username is more than eight characters. Closes #777.
* Don't convert to lowercase in email obfuscation.John MacFarlane2013-04-25
| | | | Closes #839.
* Markdown reader: Implemented `Ext_ascii_identifiers`.John MacFarlane2013-04-23
| | | | Closes #807.
* Options: Added `Ext_ascii_identifiers`.John MacFarlane2013-04-23
| | | | | | | This will force `Ext_auto_identifiers` to use ASCII only. Set as default for github markdown. Note: API change.
* Added Text.Pandoc.Asciify utility module.John MacFarlane2013-04-23
| | | | This has functions to create ascii-only versions of identifiers.
* Add slash in internal links in reveal.js.John MacFarlane2013-04-20
| | | | Closes #835.
* Shared: Fixed readDefaultDataFile so it works on Windows.John MacFarlane2013-04-20
|
* Revert "Improved previous patch so it really solves the Windows issue."John MacFarlane2013-04-20
| | | | This reverts commit e80116c813ecfc8cde094cddd36a3b083c108fd8.
* Improved previous patch so it really solves the Windows issue.John MacFarlane2013-04-19
|
* Shared: readDefaultDataFile: normalize the paths.John MacFarlane2013-04-19
| | | | | | | | This fixes bugs in `--self-contained` on pandoc compiled with `embed_data_files`. The bugs affect (a) paths containing `..`, (b) Windows, where `\` is path separator. Closes #833.
* Markdown reader: minor code cleanup.John MacFarlane2013-04-19
|
* Fixed footnote numbers in LaTeX/PDF tables.John MacFarlane2013-04-15
| | | | | | | | | This fixes a bug wherein notes were numbered incorrectly in tables. Closes #827. Now that we are using longtable, we can just use regular `\footnote` commands for notes, which simplifies the code considerably.
* Markdown/RST writers: Only autolink absolute URIs.John MacFarlane2013-04-14
| | | | | | | This fixes a regression and closes #830. $ echo '<a href="x">x</a>' | pandoc -f html -t markdown <x>
* Haddock reader improvements.John MacFarlane2013-04-14
| | | | | | - Correctly handle ghci sessions. - Fixed spacing issues. - Simplified code.
* Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane2013-04-14
| | | | | | | | | | pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.
* Added comment/todo to SelfContained.John MacFarlane2013-04-10
|
* Man writer: use one decimal place for column widths.John MacFarlane2013-04-09
| | | | | This, I hope, will fix test failures on GHC 7.6 due to (presumably) different rounding or floating point multiplication.
* Removed unnecessary OPTIONS flag in Haddock/Parse.y.John MacFarlane2013-04-09
|
* Fixed Haddock reader bugs with list item spaces and examples.John MacFarlane2013-04-09
| | | | Closes #824.
* Markdown writer: Put multiple authors on separate lines in titleblock.John MacFarlane2013-04-08
| | | | | Also, don't wrap long author entries, as new lines get treated as new authors.
* Haddock reader: leaving Space alone in @...@ seems more semantically correct.David Lazar2013-04-04
|
* Haddock reader: derive Show for Token, making debugging easier.David Lazar2013-04-04
|
* LaTeX reader: Support `\textasciitilde`, `\textasciicircum`.John MacFarlane2013-03-31
| | | | Closes #810.
* Docx writer: Use Compact style for Plain block elements.John MacFarlane2013-03-30
| | | | | This differentiates between tight and loose lists. Closes #775.
* Haddock reader: make clearer which production the comment refers to.David Lazar2013-03-29
|
* Haddock reader: add the "haskell" attribute to code blocks so they areDavid Lazar2013-03-29
| | | | | highlighted. We reasonably assume that code blocks in Haddock markup wont be used for anything but Haskell code.