Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-12 | Markdown reader: Handle unmatched double quotes in dialogues. | John MacFarlane | 1 | -3/+8 | |
They do not generate a Quoted element; instead, the double quote is just turned into a Str with a curly left quote. This should satisfy the fiction writers. Closes #99 (again). | |||||
2013-03-11 | Fixed spacing bugs involving code block attributes. | John MacFarlane | 1 | -1/+1 | |
Closes #763. | |||||
2013-03-09 | LaTeX reader: citation handling changes. | John MacFarlane | 1 | -3/+8 | |
Previously, a LaTeX citation would always be parsed as a Citation element, with the raw LaTeX in the [Inline] part. Now, the LaTeX citation is parsed as a Citation element only if `--biblio` was specified (i.e. only if there is a nonempty set of references in readerReferences). Otherwise it is parsed as raw LaTeX. This will make it possible to simplify some things in the markdown writer. It also makes the LaTeX reader behave more like the Markdown reader. | |||||
2013-03-06 | Support :number-lines: in RST code output. | John MacFarlane | 1 | -2/+1 | |
2013-03-06 | LaTeX reader: Better support for Verbatim and minted environments. | John MacFarlane | 1 | -3/+18 | |
Closes #763. | |||||
2013-03-05 | LaTeX reader: Handle language attribute for lstlistings. | John MacFarlane | 1 | -2/+5 | |
Convert it to a highlighting-kate language name. | |||||
2013-03-04 | LaTeX reader: Read optional attributes in lstlisting environment. | John MacFarlane | 1 | -1/+22 | |
We convert these to pandoc standard names, e.g. "numberLines" for "numbers=left", "startFrom=100" from "firstnumber=100". Still need to add code to convert the language names. | |||||
2013-03-02 | Markdown reader: attribute parsing improvements. | John MacFarlane | 1 | -14/+15 | |
* Cleaned up parsing code. * '-' in an attribute context = '.unnumbered'. The point of this is to provide a way to specify unnumbered headers in non-English documents. | |||||
2013-03-02 | Check for tables before line blocks. | John MacFarlane | 1 | -1/+1 | |
Otherwise some pipe tables get treated as line blocks. | |||||
2013-03-02 | Markdown reader: Allow spaces around borders in pipe tables. | John MacFarlane | 1 | -1/+3 | |
Closes #772. | |||||
2013-03-01 | LaTeX reader: Add "fig:" as title for images with captions. | John MacFarlane | 1 | -4/+8 | |
This is needed for them to be rendered as figures. Closes #766. | |||||
2013-02-28 | Markdown: allow ---- in angle-bracket autolinks. | John MacFarlane | 1 | -2/+7 | |
The uri parser is designed for bare URIs. In angle-bracket contexts, we can be sure that we don't have trailing punctuation. So `<http://openclipart.org/detail/22566/lego-smiley----happy-by-pitr>` should work now. Closes #768. | |||||
2013-02-26 | LaTeX reader: Handle \caption for images in figures. | John MacFarlane | 1 | -3/+6 | |
Closes #766. | |||||
2013-02-21 | Make `implicit_header_references` work with explicit header ids. | John MacFarlane | 1 | -16/+23 | |
(Markdown reader.) | |||||
2013-02-20 | LaTeX reader: Don't emit empty paragraph. | John MacFarlane | 1 | -2/+2 | |
See #761. | |||||
2013-02-20 | LaTeX reader: Parse `\section*`, etc. as unnumbered sections. | John MacFarlane | 1 | -11/+19 | |
2013-02-16 | Textile reader: Handle attributes on headers. | John MacFarlane | 1 | -15/+32 | |
Includes `[lang]`, `(class #id)`, `{color:red}` styles. | |||||
2013-02-16 | HTML reader: Preserve all header attributes. | John MacFarlane | 1 | -2/+4 | |
2013-02-15 | Allow `&` in emails (for entities). | John MacFarlane | 1 | -1/+1 | |
Added tests for entities in titles and links. Closes #723. | |||||
2013-02-15 | Markdown reader: litChar now includes entities. | John MacFarlane | 1 | -4/+4 | |
We no longer need to use fromEntities on titles. | |||||
2013-02-12 | Markdown reader: Fix title block parsing. | John MacFarlane | 1 | -1/+4 | |
Now if mmd_title_blocks is specified, pandoc will parse a MMD title block if it sees one, even if pandoc_title_blocks is enabled. | |||||
2013-02-12 | Markdown reader: Make backslash escape work in attributes. | John MacFarlane | 1 | -9/+9 | |
2013-02-12 | Markdown reader: Fixed bug parsing key/value attributes. | John MacFarlane | 1 | -1/+1 | |
Parsing failed if you had an unquoted attribute immediately before the final '}'. | |||||
2013-02-11 | LaTeX reader: Parse `\hrule` as HorizontalRule. | John MacFarlane | 1 | -0/+1 | |
Closes #746. | |||||
2013-02-06 | Revert "Citation changes." | John MacFarlane | 1 | -14/+8 | |
This reverts commit d46f434d4b8906ae3b983e568549213de94fd1a2. | |||||
2013-02-06 | Implement `--default-image-extension` for LaTeX reader. | John MacFarlane | 1 | -2/+10 | |
2013-02-05 | Merge branch 'citations' | John MacFarlane | 1 | -8/+14 | |
2013-02-05 | Added `--default-image-extension` and `readerDefaultImageExtension`. | John MacFarlane | 1 | -1/+6 | |
Note: Currently this only affects the markdown reader. | |||||
2013-02-03 | Citation changes. | John MacFarlane | 1 | -8/+14 | |
* Citations will work in markdown even if `--biblio` isn't specified. Note: this may cause unexpected behavior for people who use strings of the form `@foo` that are not citations! * If `--biblio` isn't used, the markdown writer will write markdown citations rather than CSL-rendered citations. * This means, for example, that you can do `pandoc -f latex -t markdown` and convert biblatex or natbib citations into pandoc citations. | |||||
2013-02-02 | Removed unneeded blanklines in pipeTable parser. | John MacFarlane | 1 | -1/+0 | |
2013-01-30 | HTML reader: Handle colgroup tag. | John MacFarlane | 1 | -1/+2 | |
2013-01-28 | Fixed latex macro parsing. | John MacFarlane | 2 | -2/+2 | |
Now latex macro definitions are preserved when output is latex, and applied when it is another format, as originally intended. Partially addresses #730. \providecommand is still not supported. For this we need changes to texmath. | |||||
2013-01-28 | Merge pull request #733 from jrunningen/master | John MacFarlane | 1 | -1/+1 | |
Mediawiki reader: Don't require blanklines after tables. | |||||
2013-01-27 | Markdown/RST reader: Skip blank lines. | John MacFarlane | 2 | -1/+3 | |
This fixes a subtle regression involving grid tables with empty cells. Closes #732. Also added test for grid table with empty cells. | |||||
2013-01-27 | Mediawiki reader: Don't require blanklines after tables. | Jeff Runningen | 1 | -1/+1 | |
2013-01-25 | Markdown reader: Simplified and sped up str parser. | John MacFarlane | 1 | -15/+9 | |
We no longer needed the smart quote complexity, because of improvements to singleQuoteStart and singleQuoteEnd. And we were able to move the check for intraword underscore to the emphasis parser. | |||||
2013-01-25 | RST reader: Allow anonymous form of explicit links. | John MacFarlane | 1 | -0/+1 | |
`hello <url>`__ Closes #724. | |||||
2013-01-25 | Changed copyright date range on Markdown reader. | John MacFarlane | 1 | -1/+1 | |
2013-01-25 | Minor code cleanup. | John MacFarlane | 1 | -7/+6 | |
2013-01-25 | Markdown reader: Moved guardEnabled to definitionList. | John MacFarlane | 1 | -1/+1 | |
From definitionListItem. Slight performance improvement. | |||||
2013-01-25 | Markdown reader: Performance improvement in str parser. | John MacFarlane | 1 | -3/+6 | |
Moved a guardEnabled out of an inner loop. | |||||
2013-01-25 | Use anyLine everywhere instead of 'manyTill anyChar newline'. | John MacFarlane | 3 | -11/+11 | |
2013-01-25 | Markdown reader: More efficient version of scanForPipe. | John MacFarlane | 1 | -1/+5 | |
2013-01-23 | Fixed regressions in fenced code blocks. | John MacFarlane | 1 | -16/+6 | |
* Tilde code fences can again take bare language. So ~~~ haskell is okay, not just ~~~ {.haskell} * Backtick code blocks can take the bracketed attributes. * Backtick code blocks don't require a language. * Consolidated code for the two kinds of fenced code blocks. Closes #722. | |||||
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. |