Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-06 | Bump syb version to < 0.5. | John MacFarlane | 1 | -3/+3 | |
2013-03-06 | Updated changelog. | John MacFarlane | 1 | -0/+13 | |
2013-03-06 | Support :number-lines: in RST code output. | John MacFarlane | 2 | -4/+7 | |
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 | 2 | -3/+7 | |
Convert it to a highlighting-kate language name. | |||||
2013-03-05 | Hide Text.Pandoc.Highlighting. | John MacFarlane | 5 | -60/+78 | |
* Moved code for translating listings language names to highlighting-kate names and back from LaTeX reader to Highlighting. * Text.Pandoc.Highlighting no longer exposed (API change) * Text.Pandoc.Highlighting exports toListingsLang, fromListingsLang | |||||
2013-03-04 | pandoc.cabal: Require latest h-k, texmath, citeproc-hs, zip-archive. | John MacFarlane | 1 | -6/+6 | |
Pandoc will compile with older versions, but there will be bugs relating to these functions. Making the current versions dependencies is the only way to get packages updated in the distros. | |||||
2013-03-04 | Updated changelog. | John MacFarlane | 1 | -2/+173 | |
It still needs a lot of cleaning up before a release. | |||||
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-04 | LaTeX writer: Support line numbering with `--listings`. | John MacFarlane | 1 | -2/+8 | |
If "numberLines" class is present, we add "numbers=left"; if "startFrom" is present, we add "firstnumber=". Partially addresses #763. | |||||
2013-03-03 | beamer template: Provide `\Oldincludegraphics` as in LaTeX template. | John MacFarlane | 1 | -7/+12 | |
The template redefines `\includegraphics` to give special treatment for too-wide images. But this causes problems for literal uses of `\includegraphics`. This change allows authors to use `\Oldincludegraphics`, as in the latex template. | |||||
2013-03-03 | EPUB writer: Include html TOC even in epub2. | John MacFarlane | 2 | -15/+25 | |
* The TOC is included in `<spine>`, but `linear` is set to `no` unless the `--toc` option is specified. * Include `<guide>` element in OPF. * This should allow the TOC to be useable in Kindles when converted with kindlegen. * Results validate with epubcheck 3.0 for both epub and epub3 output. * Closes #773. | |||||
2013-03-02 | README: Documented 'unnumbered' class and '-' shortcut. | John MacFarlane | 1 | -1/+14 | |
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 | Added test for pipe table with spaces around header lines. | John MacFarlane | 1 | -1/+1 | |
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-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-27 | Updated tests for latex template change (microtype). | John MacFarlane | 3 | -6/+6 | |
2013-02-27 | Updated README on docx styles. | John MacFarlane | 1 | -2/+2 | |
2013-02-27 | LaTeX template: Load microtype after fonts. | John MacFarlane | 1 | -5/+8 | |
Microtype needs to know what fonts are being used. Thanks to dfc for the patch. | |||||
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 | Merge pull request #769 from dfc/fix-readme | John MacFarlane | 1 | -1/+1 | |
Fix example header identifier. Very minor. | |||||
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 | 2 | -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 | Fix example header identifier. Very minor. | Douglas F. Calvert | 1 | -1/+1 | |
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-26 | Added to RELEASE-CHECKLIST - tag templates repo. | John MacFarlane | 1 | -0/+2 | |
2013-02-25 | Refactoring in Docx writer. | John MacFarlane | 1 | -24/+44 | |
2013-02-25 | Updated copyright year in README | John MacFarlane | 1 | -1/+1 | |
2013-02-24 | osx InstallationCheck script: use full path for sysctl. | John MacFarlane | 1 | -2/+2 | |
Thanks to jonahbull for the suggestion. Closes #580. | |||||
2013-02-23 | Docx writer: Handle PDF images. | John MacFarlane | 1 | -0/+1 | |
2013-02-23 | Added PDF to content types in reference.docx. | John MacFarlane | 1 | -0/+0 | |
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 | reference.docx: Added default content type for emf. | John MacFarlane | 1 | -0/+0 | |
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 | Added examples in README for `--number-offset`. | John MacFarlane | 1 | -0/+4 | |
2013-02-23 | `--number-from` -> `--number-offset` | John MacFarlane | 5 | -20/+20 | |
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 | Clarify that `--number-from` only works in HTML. | John MacFarlane | 1 | -3/+3 | |
2013-02-22 | EPUB writer: Use writerNumberFrom instead of ugly hack. | John MacFarlane | 1 | -8/+1 | |