Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-21 | Markdown reader: Try lhsCodeBlock before rawTeXBlock. | John MacFarlane | 1 | -1/+1 | |
Otherwise \begin{code}...\end{code} isn't handled properly in markdown+lhs. Thanks to Daniel Miot for noticing the bug and suggesting the fix. | |||||
2013-01-21 | Markdown reader: Fixed bug with headerless grid tables. | John MacFarlane | 1 | -2/+2 | |
The 1.10 code assumed that each table header cell contains exactly one block. That failed for headerless tables (0) and also for tables with multiple blocks in a header cell. The code is fixed and tests provided. Thanks to Andrew Lee for pointing out the bug. | |||||
2013-01-20 | Fixed bug with escaped % in LaTeX reader. | John MacFarlane | 1 | -0/+2 | |
Also added tests. Closes #710. | |||||
2013-01-17 | Revert "Markdown reader: Be less restrictive about class attributes." | John MacFarlane | 1 | -1/+1 | |
This reverts commit b158b3fb2182b5c8a6f03759277f4f73cdc24797. | |||||
2013-01-16 | Markdown reader: Be less restrictive about class attributes. | John MacFarlane | 1 | -1/+1 | |
This allows attributes like `C++`. Any nonspace and non-}. | |||||
2013-01-16 | Implemented Ext_link_attributes in markdown reader. | John MacFarlane | 1 | -31/+26 | |
Also simplified source URL and link title parsers. | |||||
2013-01-16 | Implemented Ext_mmd_header_identifiers in markdown reader. | John MacFarlane | 1 | -4/+22 | |
2013-01-15 | Changed Ext_autolink_urls -> Ext_autolink_bare_uris. | John MacFarlane | 1 | -1/+1 | |
Added tests. | |||||
2013-01-15 | Use 'fig:' instead of '\SOH' in title to indicate figure. | John MacFarlane | 1 | -2/+2 | |
Revises 1a4b47e93368bfbd31daccdfedbd9527ee740201 | |||||
2013-01-14 | Implemented Ext_implicit_figures. | John MacFarlane | 1 | -6/+16 | |
* 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-14 | Removed some cruft. | John MacFarlane | 1 | -10/+0 | |
2013-01-13 | Markdown reader: Support RST-style line blocks. | John MacFarlane | 1 | -1/+13 | |
This depends on the new Ext_line_blocks extension. | |||||
2013-01-13 | Moved lineBlockLines to Parsing. | John MacFarlane | 1 | -12/+1 | |
This will be used by both RST and markdown readers. | |||||
2013-01-13 | RST reader: Refactored line block parser. | John MacFarlane | 1 | -14/+10 | |
2013-01-13 | RST reader: Line block improvements. | John MacFarlane | 1 | -3/+8 | |
* Use nonbreaking spaces for initial indent (otherwise lost in HTML and LaTeX). * Allow multiple paragraphs in a single line block. | |||||
2013-01-12 | HTML reader: Added html5 tags to list of block-level tags. | John MacFarlane | 1 | -5/+8 | |
2013-01-10 | Implemented Ext_header_attributes. | John MacFarlane | 1 | -12/+20 | |
This allows explicit attributes to be put on headers, using a syntax like that for code blocks: {#id .class .class k=v k=v} | |||||
2013-01-10 | Ext_header_identifiers -> Ext_auto_identifiers. | John MacFarlane | 1 | -1/+1 | |
2013-01-09 | Added Attr field to Header. | John MacFarlane | 4 | -18/+31 | |
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers. | |||||
2013-01-08 | Added / to the list of letters that can occur in a citation key. | John MacFarlane | 1 | -1/+1 | |
2013-01-06 | Don't put the text of an autolink in Code font. | John MacFarlane | 3 | -6/+6 | |
2013-01-06 | Mediawiki reader: interpret HTML in verbatim contexts as text. | John MacFarlane | 1 | -2/+1 | |
Thanks to Jeff Runningen for reporting that mediawiki works this way. | |||||
2013-01-04 | Markdown reader: Warn about duplicate note references. | John MacFarlane | 1 | -1/+6 | |
Closes #375. | |||||
2013-01-04 | Markdown reader: Warn about duplicate link references. | John MacFarlane | 1 | -1/+12 | |
2013-01-04 | Markdown reader: Export readMarkdownWithWarnings. | John MacFarlane | 1 | -1/+14 | |
Note: This is not yet used, and the parser does not yet generate any warnings. | |||||
2013-01-03 | Implemented `Ext_header_identifiers`, `Ext_implicit_header_references`. | John MacFarlane | 1 | -143/+163 | |
Now by default pandoc will act as if link references have been defined for all headers. So, you can do this: # My header Link to [My header]. Another link to [it][My header]. Closes #691. | |||||
2012-12-12 | LaTeX reader: Make command macros work everywhere, including non-math. | John MacFarlane | 1 | -6/+10 | |
Environment macros still not supported. | |||||
2012-11-06 | Textile reader/writer: Fixed autolinks. | John MacFarlane | 1 | -11/+5 | |
Previously the textile reader and writer incorrectly implented RST-style autolinks for URLs and email addresses. This has been fixed. Now an autolink is done this way: "$":http://myurl.com | |||||
2012-11-06 | Textile parser: Expanded list of stringBreakers. | John MacFarlane | 1 | -1/+1 | |
This fixes a bug on input like "(_hello_)" which should be a parenthesized emphasized "hello". The new list is taken from the PHP source of textile 2.4. | |||||
2012-11-05 | LaTeX reader: skip comments in handleIncludes. | John MacFarlane | 1 | -0/+2 | |
2012-11-05 | Textile reader: Allow newlines before pipes in table. | John MacFarlane | 1 | -1/+2 | |
Closes #654. | |||||
2012-11-02 | DocBook reader: Support title in "figure" element. | John MacFarlane | 1 | -6/+21 | |
Closes #650. | |||||
2012-11-01 | LaTeX reader: Avoid include loops. | John MacFarlane | 1 | -8/+17 | |
2012-11-01 | Revert "LaTeX reader: Added code to handleIncludes to avoid inf loops." | John MacFarlane | 1 | -14/+8 | |
This reverts commit da87837318cf035be407136b39c5ec6a0009adb4. Reason: The code was overzealous and would rule out some things we want to be able to do, like include the same file multiple times. | |||||
2012-11-01 | LaTeX reader: Added code to handleIncludes to avoid inf loops. | John MacFarlane | 1 | -8/+14 | |
e.g. when one file includes another which includes it. | |||||
2012-11-01 | LaTeX reader: Improved handling of included files. | John MacFarlane | 1 | -11/+24 | |
* `\input` now works, as well as `\include`. * TEXINPUTS is used. * We now look recursively into included files for more included files. | |||||
2012-10-28 | Removed citationSuppressParens. | John MacFarlane | 1 | -1/+0 | |
Makefile: Use citeproc-0.3.6 release. | |||||
2012-10-22 | LaTeX reader: Initialize citationSuppressParens field. | John MacFarlane | 1 | -0/+1 | |
2012-10-21 | Revert "LaTeX reader: Use new suppressParens option for footnote citations." | John MacFarlane | 2 | -72/+69 | |
This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd. Conflicts: src/Text/Pandoc/Readers/LaTeX.hs | |||||
2012-10-15 | LaTeX reader: Basic \enquote support. | John MacFarlane | 1 | -0/+9 | |
2012-10-15 | LaTeX reader: Use new suppressParens option for footnote citations. | John MacFarlane | 2 | -69/+72 | |
Also changed Biblio, Markdown reader, and LaTeX reader tests because of new citationSuppressParens field in Citation. | |||||
2012-10-14 | LaTeX reader: Use normal citations, not author-in-text, for fn cites. | John MacFarlane | 1 | -4/+4 | |
Eventually it would be nice to use a "suppress outer parens" variant, if citeproc-hs provides one. | |||||
2012-10-13 | Moved bibliography processing into readers. | John MacFarlane | 2 | -4/+13 | |
Previously this was done in src/pandoc.hs, which made it difficult for library users. * Removed readerCitations in ReaderOptions. * Added readerReferences and readerCitationStyle to ReaderOptions. * Moved use of processBiblio from main program to the markdown and LaTeX readers. | |||||
2012-10-13 | Textile reader: Fixed bug with list items containing line breaks. | John MacFarlane | 1 | -9/+15 | |
Now pandoc correctly handles hard line breaks inside list items. Previously they broke list parsing. Thanks to Pablo RodrÃguez for pointing out the problem. | |||||
2012-10-11 | LaTeX reader: Made rawLaTeXInline more flexible. | John MacFarlane | 1 | -4/+2 | |
Now it will also try to parse block commands. This is usually what we want, given how rawLaTeXInline is used in the markdown and textile readers. If a block-level LaTeX command is used in the middle of a paragraph (e.g. `\subtitle` inside a title), we can treat it as raw inline LaTeX. | |||||
2012-10-11 | LaTeX reader: Make `\noindent` inline rather than block. | John MacFarlane | 1 | -2/+1 | |
2012-10-10 | LaTeX reader: Better support for citation commands. | John MacFarlane | 1 | -7/+11 | |
* Make `\cite` etc. an AuthorInText. * Make `\footcite` etc. into citations in notes. | |||||
2012-10-06 | RST reader: Don't create empty definition list for metadata field lists. | John MacFarlane | 1 | -3/+3 | |
Previously a field list consisting only of metadata fields (author, title, date) would be parsed as an empty DefinitionList, which is not legal in LaTeX and not needed in any format. This patch fixes the problem, which I learned of from http://stackoverflow.com/questions/12762767/modify-variable-in-rst-with-pandoc. | |||||
2012-10-05 | Textile reader: Implemented comment blocks. | John MacFarlane | 1 | -0/+7 | |
2012-09-30 | RST reader: Removed 'plain' in blocks, since 'para' includes it. | John MacFarlane | 1 | -1/+0 | |