Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-03-01 | Textile writer: Removed an unused assignment. | John MacFarlane | 1 | -1/+0 | |
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-28 | Markdown writer: Use grid tables when needed, and if enabled. | John MacFarlane | 1 | -1/+31 | |
Closes #740. | |||||
2013-02-28 | Pretty: Fixed chomp so it works inside Prefixed elements. | John MacFarlane | 1 | -6/+8 | |
2013-02-28 | Pretty: Better Show instance for debugging purposes. | John MacFarlane | 1 | -4/+1 | |
2013-02-28 | Textile writer: Support header attributes. | John MacFarlane | 1 | -3/+9 | |
2013-02-26 | Docx writer: Better treatment of display math. | John MacFarlane | 1 | -13/+19 | |
Display math inside a paragraph is now put in a separate paragraph, so it will render properly (centered and without extra blank lines around it). Partially addresses #742. | |||||
2013-02-26 | LaTeX reader: Handle \caption for images in figures. | John MacFarlane | 1 | -3/+6 | |
Closes #766. | |||||
2013-02-26 | Changed style names in reference docx. | John MacFarlane | 1 | -4/+4 | |
FootnoteReference -> FootnoteRef. Hyperlink -> Link. Why? Because the old names got changed by Word when the reference.docx was edited. I don't understand why, but this fixes things. Closes #414. | |||||
2013-02-26 | Docx writer: Create content types and document rels from scratch. | John MacFarlane | 1 | -15/+79 | |
This fixes problems that arise when you edit the reference.docx with Word. Word tends to remove things from the `[Content_Types].xml` and `word/_rels/document.xml.rels` files that are needed (e.g. references to the `footnotes.xml` file and image default mime types). So we regenerate these completely rather than taking them from the `reference.docx`. We also now encode mime types for each individual image rather than using defaults. This should allow us to handle a wider range of image types. This mostly addresses #414. The only remaining issue I can see is the issue of style IDs, which Word inexplicably changes in some cases when the reference.docx is saved. E.g. `FootnoteReference` becomes `FootnoteReference1`. | |||||
2013-02-25 | Refactoring in Docx writer. | John MacFarlane | 1 | -24/+44 | |
2013-02-23 | Docx writer: Handle PDF images. | John MacFarlane | 1 | -0/+1 | |
2013-02-23 | ImageSize: Added Pdf to ImageType. | John MacFarlane | 1 | -1/+3 | |
So far we have no function to determine PDF's size. | |||||
2013-02-23 | EPUB writer: Improved behavior with `--number-sections`. | John MacFarlane | 1 | -7/+24 | |
* Headers with "unnumbered" attribute are not numbered. (Nor do they cause an increment in running numbering.) * Section numbers now work properly, even when there is material before the first numbered section. | |||||
2013-02-23 | EPUB writer: more transition. | John MacFarlane | 1 | -6/+10 | |
Changed toChunks to toChapters. | |||||
2013-02-23 | EPUB writer: Temporary step towards a better system for numbering. | John MacFarlane | 1 | -5/+8 | |
With this change, `--number-sections` won't work. This will be fixed later. | |||||
2013-02-23 | HTML writer: fix case when writerNumberOffet is empty or short. | John MacFarlane | 1 | -1/+1 | |
We add 0s to the end of the list if it's shorter than needed. | |||||
2013-02-23 | `--number-from` -> `--number-offset` | John MacFarlane | 3 | -6/+4 | |
Also `writerNumberFrom` -> `writeNumberOffset`. The offset is a list of numbers (0 by default). These are added to the section, subsection, etc. numbers that would have been generated automatically. | |||||
2013-02-22 | EPUB writer: Minor section numbering tweaks. | John MacFarlane | 1 | -2/+3 | |
* If we need to add an initial section, make it unnumbered. * Don't add extra space before unnumbered section titles in TOC. | |||||
2013-02-22 | EPUB writer: Use writerNumberFrom instead of ugly hack. | John MacFarlane | 1 | -8/+1 | |
2013-02-22 | Made HTML writer sensitive to `writerNumberFrom`. | John MacFarlane | 1 | -1/+4 | |
2013-02-21 | Added `--number-from` option and `writerNumberFrom`. | John MacFarlane | 1 | -0/+2 | |
These still aren't hooked up to anything in the writers. | |||||
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 | |