Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-21 | Make `implicit_header_references` work with explicit header ids. | John MacFarlane | 2 | -18/+25 | |
(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-18 | ConTeXt writer: now sensitive to 'unnumbered' class in headers. | John MacFarlane | 1 | -7/+10 | |
In this case \title, \subject are used instead of \chapter, \section. | |||||
2013-02-16 | Textile reader: Handle attributes on headers. | John MacFarlane | 1 | -15/+32 | |
Includes `[lang]`, `(class #id)`, `{color:red}` styles. | |||||
2013-02-16 | LaTeX writer: Omit lists with no items. | John MacFarlane | 1 | -0/+3 | |
Otherwise we get LaTeX errors. | |||||
2013-02-16 | EPUB writer: Fix section numbering. | John MacFarlane | 1 | -1/+8 | |
Previously the numbering restarted from 1 in each chapter (with `--number-sections`), though the numbers in the table of contents were correct. Note that this fix is a bit hackish and possibly fragile: if the rendering of section numbers in HTML changes in the future, it may break. But it works, without needing changes in other modules. | |||||
2013-02-16 | HTML reader: Preserve all header attributes. | John MacFarlane | 1 | -2/+4 | |
2013-02-15 | Allow `&` in emails (for entities). | John MacFarlane | 2 | -2/+2 | |
Added tests for entities in titles and links. Closes #723. | |||||
2013-02-15 | Parsing: uri, email: resolve entities. | John MacFarlane | 1 | -2/+3 | |
A markdown link `<http://göogle.com>` should be a link to http://göogle.com. | |||||
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-15 | LaTeX writer: Include unnumbered sections in TOC. | John MacFarlane | 1 | -12/+18 | |
2013-02-14 | Implemented "unnumbered" headers in LaTeX writer. | John MacFarlane | 1 | -8/+11 | |
Starred variants of section commands used when header has "unnumbered" class. | |||||
2013-02-14 | HTML writer: Support header attributes. | John MacFarlane | 1 | -19/+22 | |
Note: The attributes go on the enclosing section or div if `--section-divs` is specified. Also fixed a regression (only now noticed) in html+lhs output. Previously the bird tracks were being omitted. | |||||
2013-02-13 | hierarchicalize: Do not number section with class "unnumbered". | John MacFarlane | 2 | -12/+14 | |
Unnumbered sections get [] for their section number. So far only the HTML writer has been adjusted to be sensitive to this. If we keep this change, all the writers will need to be changed either (a) to directly check for the "unnumbered" class, if they do section numbering themselves, or (b) to check for a null section number, if they use hierarchicalize. | |||||
2013-02-12 | HTML writer: Refactored adding attributes to html element. | John MacFarlane | 1 | -9/+10 | |
2013-02-12 | Shared: Changed type of Element. | John MacFarlane | 6 | -11/+11 | |
Sec now includes a field for Attr rather than just String (the identifier). Note, this is an API change. | |||||
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-11 | Added markdown_github as input format. | John MacFarlane | 1 | -0/+1 | |
2013-02-08 | UTF8: Strip off BOM if present. | John MacFarlane | 1 | -2/+9 | |
Closes #743. | |||||
2013-02-06 | Revert "Citation changes." | John MacFarlane | 2 | -17/+9 | |
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 | 2 | -9/+17 | |
2013-02-05 | Added `--default-image-extension` and `readerDefaultImageExtension`. | John MacFarlane | 2 | -13/+20 | |
Note: Currently this only affects the markdown reader. | |||||
2013-02-03 | Citation changes. | John MacFarlane | 2 | -9/+17 | |
* 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-02-02 | Optimized oneOfStringsCI. | John MacFarlane | 1 | -3/+9 | |
The call to toLower in ciMatch was very expensive (and very often used), because toLower from Data.Char calls a fully unicode aware function. This optimization avoids the call to toLower for the most common, ASCII cases. This dramatically reduces the speed penalty that comes from enabling the `autolink_bare_uris` extension. The penalty is still substantial (in one test, from 0.33s to 0.44s), but nowhere near what it used to be. | |||||
2013-01-30 | HTML reader: Handle colgroup tag. | John MacFarlane | 1 | -1/+2 | |
2013-01-28 | DocBook writer: for linebreak, but newline in literallayout. | John MacFarlane | 1 | -1/+1 | |
Closes #725. | |||||
2013-01-28 | Fixed latex macro parsing. | John MacFarlane | 3 | -6/+6 | |
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 | LaTeX writer: Avoid extra space at start/end of table cell. | John MacFarlane | 1 | -1/+3 | |
Thanks to Nick Bart for the suggestion of using @{}. | |||||
2013-01-28 | Markdown writer: Set title, author, date variables as before. | John MacFarlane | 1 | -0/+3 | |
These are no longer used in the default template, since we use titleblock, but we set them anyway for nondefault template users. | |||||
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-26 | RST writer: Use `.. code:: language` for code blocks with language. | John MacFarlane | 1 | -1/+6 | |
Closes #721. Also fixed whitespace in lhs tests. | |||||
2013-01-26 | Markdown writer: Use autolink when link text matches url. | John MacFarlane | 1 | -3/+3 | |
Previously we also checked for a null title, but this test fails for links produced by citeproc-hs in bibliographies. So, if the link has a title, it will be lost on conversion to an autolink, but that seems okay. | |||||
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 | Parsing: More improvements of anyLine parser. | John MacFarlane | 1 | -6/+8 | |
2013-01-25 | More anyLine tweaks: Use incSourceLine. | John MacFarlane | 1 | -1/+1 | |
2013-01-25 | anyLine: Set position properly. | John MacFarlane | 1 | -0/+3 | |