aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-09-12Export 'nested' in Parsing.John MacFarlane2-12/+13
2012-09-12Text.Pandoc.Parsing: Handle trailing slash in 'uri'.John MacFarlane1-2/+3
2012-09-12HTML writer: Improve line breaks with `<dd>` tags.John MacFarlane1-1/+2
We now put a newline between `</dd>` and `<dd>` when there are multiple definitions.
2012-09-12Changed mathjax cdn url so it doesn't use https.John MacFarlane1-1/+1
(This caused problems when used with --self-contained.) See #609.
2012-09-09LaTeX reader: Better error messages for environments.John MacFarlane1-1/+3
Now it should tell you that it was looking for \end{env}, instead of giving "unknown parse error."
2012-09-09LaTeX reader: guard against "begin"/"end" in blockCommand.John MacFarlane1-0/+1
2012-09-09LaTeX reader: Guard against "begin", "end" in inlineCommand.John MacFarlane1-2/+1
Removed these from list of inline commands.
2012-09-09HTML reader: Handle nested `<q>` tags properly.John MacFarlane1-1/+9
2012-09-09Parsing: Generalized type of withQuoteContext.John MacFarlane1-2/+2
2012-09-09HTML reader: Parse <q> as Quoted DoubleQuote.John MacFarlane1-0/+4
2012-09-08RST reader: Allow dashes as separator in simple tables.John MacFarlane1-1/+1
Closes #555.
2012-09-06LaTeX reader: Support obeylines environment.John MacFarlane1-0/+3
Closes #604.
2012-09-06LaTeX reader: Use curly quotes for bare straight quotes.John MacFarlane1-13/+9
2012-09-06LaTeX reader: Fixed parsing of paragraphs beginning with a group.John MacFarlane1-1/+1
Previously a paragraph beginning ``` {``}hello{''} ``` would be parsed as two paragraphs. Closes #606.
2012-09-06Textile reader: Improved speed of hyphenedWords.John MacFarlane1-4/+6
This speeds up the textile reader by about a factor of 4. But the reader is still very slow, compared to others readers.
2012-09-06Removed obsolete comment.John MacFarlane1-1/+0
2012-09-06Fixed footnotes bug in textile.John MacFarlane1-2/+3
This affected notes occuring before punctuation, e.g. `foo[1].`. Closes #518.
2012-09-06Made --id-prefix work in DocBook as well as HTML.John MacFarlane1-1/+1
Closes #607.
2012-09-05Docx writer: Fixed bug with nested lists.John MacFarlane1-20/+19
Previously a list like 1. one - a - b 2. two would come out with a bullet instead of "2." Thanks to Russell Allen for reporting the bug.
2012-09-04LaTeX reader: Handle \slash command.John MacFarlane1-0/+1
Closes #605.
2012-08-25EPUB: Use title instead of "Title Page" in contents.John MacFarlane1-1/+1
Otherwise we have a hard-coded English string, which looks strange in ebooks written in other languages. Using the title for this entry seems a good solution. Closes #572.
2012-08-23Merge commit 'd25656571a4662a4e67b195daed69e77d80c4c2c'John MacFarlane1-2/+21
Conflicts: src/Text/Pandoc/Writers/ODT.hs
2012-08-23Don't strip meta and link elements in epub metadata.John MacFarlane1-3/+5
Per http://idpf.org/epub/30/spec/epub30-publications.html#sec-metadata-elem, a metadata element can contain not just Dublin Core elements but also meta and link elements, but Pandoc currently strips those out. Patch from aberrancy. Closes #589.
2012-08-21Implemented Ext_backtick_code_blocks.John MacFarlane3-21/+39
This is the variant github prefers.
2012-08-21Added Ext_fenced_code_attributes.John MacFarlane3-6/+12
2012-08-21Changed nomenclature, delimited -> fenced code blocks.John MacFarlane3-9/+9
2012-08-19Added Ext_abbrevations for PHP markdown style abbreviation keys.John MacFarlane2-4/+16
Note: pandoc does not have an abbreviation element (yet) and so currently when this extension is enabled, it just causes pandoc to skip the abbrevation keys.
2012-08-18Man writer: Escape - as \-.John MacFarlane1-1/+1
Unescaped -'s become hyphens, while \-'s are left as ascii minus signs. That is preferable for use with command-line options. See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html. Thanks to Andrea Bolognani for bringing the issue to our attention.
2012-08-17Docx line breaks: Use w:cr in w:r instead of w:br.John MacFarlane1-5/+6
This seems to fix a problem viewing pandoc-generated docx files in LibreOffice.
2012-08-16Added comments in Options.John MacFarlane1-38/+40
2012-08-15Moved renderTags' from HTML reader & SelfContained to Shared.John MacFarlane4-28/+33
Improved removal of markdown="1" attribute in Markdow reader.
2012-08-15Tweaks on markdown="1" handling.John MacFarlane1-14/+22
2012-08-13Markdown: Prevent parse failure on HTML blocks with -raw_html.John MacFarlane1-1/+2
2012-08-13Pretty: Fixed bug that caused combining characters to be dropped.John MacFarlane1-6/+5
2012-08-12Added Ext_raw_html extension.John MacFarlane2-4/+10
Closes #556 -- you can now specify markdown-raw_html as your input format. (Read: markdown minus raw_html.)
2012-08-12Implemented Ext_mmd_title_block in markdown reader & writer.John MacFarlane3-11/+57
2012-08-11Implemented tex_math extensions in markdown writer.John MacFarlane1-4/+18
2012-08-11Implemented Ext_markdown_attribute in markdown writer.John MacFarlane1-2/+19
2012-08-11Mardkown reader: Implemented Ext_markdown_attribute.John MacFarlane2-14/+24
2012-08-11Revert "Implemented Ext_markdown_attribute."John MacFarlane2-11/+1
This reverts commit 78d3a0fb9d3f862d5e2b61bd45434f7af9cd9f18.
2012-08-11Implemented Ext_markdown_attribute.John MacFarlane2-1/+11
This adds markdown=1 to block tags.
2012-08-10Implemented Ext_tex_math_single_backslash, Ext_tex_math_double_backslash.John MacFarlane1-20/+28
2012-08-10Options and documentation for backslash tex math options.John MacFarlane1-0/+2
Ext_tex_math_single_backslash and Ext_tex_math_double_backslash. Still need to code in reader.
2012-08-10Changed Ext_tex_math to Ext_tex_math_dollars.John MacFarlane2-4/+4
2012-08-10Removed refs to Ext_header_identifiers in comments.John MacFarlane1-2/+0
2012-08-10Markdown: Allow pipe tables created by emacs orgtbl-mode to work.John MacFarlane1-4/+8
The difference is the + separators. Note: only simple org-tables work, with no bottom line. This just allows you to use org-mode's nice table editor to create regular pipe tables. In particular, org-mode's method for determining column alignments implicitly is not enabled. You must put in :s to specify alignments, as stated in the documentation.
2012-08-09Changed strict to markdown_strict.John MacFarlane3-6/+9
2012-08-09Fixed handling of default extensions, so they don't override +options.John MacFarlane1-8/+10
2012-08-09Removed `--strict`, added extensions to writer/reader names.John MacFarlane4-56/+58
* The `--strict` option has been removed. * Instead of using `--strict`, one can now use `strict` instead of `markdown` as an input or output format name. * The `--enable` and `--disable` optinos have been removed. * It is now possible to enable or disable specific extensions by appending them (with '+' or '-') to the writer or reader name. For example `pandoc -f markdown-footnotes+hard_line_breaks`. * The lhs extensions are now implemented this way, too; you can use either `+lhs` or `+literate_haskell`.
2012-08-09Added getReader, getWriter to Text.Pandoc.John MacFarlane1-0/+31