aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-18Add data-cites field to citations in HTML5.John MacFarlane1-2/+6
This contains a space-separated list of citation IDs.
2013-01-18Set locale encoding in test suite.John MacFarlane1-2/+4
This prevents a "commit buffer (invalid argument)" error on Windows.
2013-01-18RTF writer: Added writeRTFWithEmbeddedImages.John MacFarlane5-17/+18
* RTF writer: Export writeRTFWithEmbeddedImages instead of rtfEmbedImage. * Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF. * Moved code for embedding images in RTF out of pandoc.hs.
2013-01-17Convert highlighting-kate language to listings languageJohn MacFarlane1-19/+63
if --listings is used. Closes #704.
2013-01-17MIME: Support vs and fs as text/plain.John MacFarlane1-0/+2
These are used in revealjs css.
2013-01-17Revert "Markdown reader: Be less restrictive about class attributes."John MacFarlane1-1/+1
This reverts commit b158b3fb2182b5c8a6f03759277f4f73cdc24797.
2013-01-17Slight modification of lhs instructions.John MacFarlane1-3/+3
2013-01-16Updated extensions in README.John MacFarlane1-0/+9
2013-01-16Markdown reader: Be less restrictive about class attributes.John MacFarlane1-1/+1
This allows attributes like `C++`. Any nonspace and non-}.
2013-01-16Fixed problem with duplicate ids in epub.John MacFarlane1-12/+4
2013-01-16Implemented Ext_link_attributes in markdown reader.John MacFarlane2-31/+28
Also simplified source URL and link title parsers.
2013-01-16README clarification.John MacFarlane1-0/+3
2013-01-16Implemented Ext_mmd_header_identifiers in markdown writer.John MacFarlane1-0/+2
2013-01-16Implemented Ext_mmd_header_identifiers in markdown reader.John MacFarlane2-4/+23
2013-01-16Options: Added multimarkdownExtensions.John MacFarlane2-2/+21
Also added 'markdown_mmd' as input/output option.
2013-01-15LaTeX writer: Prevent paragraphs containing only linebreaks or spaces.John MacFarlane1-4/+9
2013-01-15README on docx styles: Image Caption, not Picture Caption.John MacFarlane1-1/+1
2013-01-15Added `writerHtmlQTags` and `--html-q-tags` option.John MacFarlane5-6/+21
The previous default was to use `<q>` tags in HTML5. But `<q>` tags are also valid HTML4, and they are not very robust in HTML5. Some user agents don't support them, and some CSS resets prevent pandoc's quotes CSS from working properly (e.g. bootstrap). It seems a better default just to insert quote characters, but the option is provided for those who have gotten used to using `<q>` tags.
2013-01-15Added Brent Yorgey to Authors.John MacFarlane1-1/+1
2013-01-15Added Denis Laxalde to Authors.John MacFarlane1-1/+1
2013-01-15ADded Arlo O'Keeffe to Authors.John MacFarlane1-1/+1
2013-01-15Changed Ext_autolink_urls -> Ext_autolink_bare_uris.John MacFarlane5-8/+11
Added tests.
2013-01-15Added lots of tests for bare URIs.John MacFarlane1-0/+91
2013-01-15Case-insensitive parsing of URI schemes.John MacFarlane1-1/+1
2013-01-15Parsing: Improve oneOfStrings, export oneOfStringsCI.John MacFarlane1-7/+20
oneOfStrings will now take the longest match it can in a list of strings, so if 'foo' and 'foobar' are both included, 'foobar' will match even if 'foo' is first in the list.
2013-01-15Revised URI parser.John MacFarlane2-28/+51
* It no longer uses Network.URIs URI parser, which is too restrictive (not allowing unicode URIs unless encoded). * It allows many more schemes. * It better handles punctuation so as to avoid capturing trailing punctuation in bare URLs.
2013-01-15Use 'fig:' instead of '\SOH' in title to indicate figure.John MacFarlane16-29/+29
Revises 1a4b47e93368bfbd31daccdfedbd9527ee740201
2013-01-14Implemented Ext_implicit_figures.John MacFarlane17-21/+48
* In markdown reader, add a '\1' character to the beginning of the title of an image that is alone in its paragraph, if implicit_figures extension is selected. * In writers, check for Para [Image alt (src,'\1':tit)] and treat it as a figure if possible. * Updated tests. This is a bit of a hack, but it allows us to make implicit_figures an extension of the markdown reader, rather than the writers.
2013-01-14Removed some cruft.John MacFarlane1-10/+0
2013-01-14Parsing: Fixed uri -- escape unicode URLs.John MacFarlane2-3/+3
Otherwise Network.URI.parseURI fails on e.g. Chinese URLs. Changed an incorrect test in markdown-reader-more.
2013-01-14Added Ext_implicit_figures.John MacFarlane2-3/+3
No code to hook this in yet.
2013-01-14Parsing: Simplified and improved singleQuoteStart.John MacFarlane1-8/+2
This makes 's', 'l', etc. parse properly. Formerly we had some English-centric heuristics, but they are no longer needed now that we keep track of the last 'Str' position in state. Closes #698.
2013-01-14Makefile: make prep now handles updates to pandoc-types.John MacFarlane1-0/+2
2013-01-13RST writer: Fixes bug with links with duplicate text.John MacFarlane2-34/+38
We now (a) use anonymous links for links with inline URLs, and (b) use an inline link instead of a reference link if the reference link would require a label that has already been used for a different link. Closes #511.
2013-01-13RST writer: Properly handle images with no alt text.John MacFarlane1-6/+7
Closes #678.
2013-01-13README: Cosmetic change in headerless table example.John MacFarlane1-1/+1
Closes #696.
2013-01-13Documented line blocks in README.John MacFarlane1-0/+29
2013-01-13Added tests for markdown line blocks and explicit header attributes.John MacFarlane2-1/+20
2013-01-13Markdown reader: Support RST-style line blocks.John MacFarlane2-1/+15
This depends on the new Ext_line_blocks extension.
2013-01-13Moved lineBlockLines to Parsing.John MacFarlane2-12/+19
This will be used by both RST and markdown readers.
2013-01-13RST reader: Refactored line block parser.John MacFarlane1-14/+10
2013-01-13RST writer: Allow soft breaks w continuations in line blocks.John MacFarlane1-1/+1
2013-01-13RST reader: Line block improvements.John MacFarlane4-8/+13
* Use nonbreaking spaces for initial indent (otherwise lost in HTML and LaTeX). * Allow multiple paragraphs in a single line block.
2013-01-13Use line block in RST writer when a paragraph contains linebreaks.John MacFarlane2-6/+10
Previously linebreaks weren't supported in RST, since RST has no native linebreak construct.
2013-01-12Markdown writer: Support Ext_auto_identifiers and Ext_header_attributes.John MacFarlane1-13/+23
2013-01-12HTML reader: Added html5 tags to list of block-level tags.John MacFarlane1-5/+8
2013-01-12Escape `|` as `\vert` in LaTeX math.John MacFarlane2-2/+15
This avoids a clash with highlighting-kate's macros, which redefine | as a short verbatim delimiter. Thanks to Björn Peemöller for raising this issue.
2013-01-12Fixed/simplified diff output for tests.John MacFarlane1-13/+8
2013-01-11Changed hspace in last commit to 0.333em.John MacFarlane1-1/+1
This seems to match the spacing of ~ exactly.
2013-01-11LaTeX writer: Use `\hspace*` for nonbreaking space after line break.John MacFarlane1-1/+13
Since `~` spaces after a line break are just ignored. Closes #687.