Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-23 | Revert "Added `--filter` option." | John MacFarlane | 3 | -30/+4 | |
This reverts commit 85dacbb282f34dc45a810d7c7b5a2d639b70e1f5. | |||||
2013-07-23 | Added `--filter` option. | John MacFarlane | 3 | -4/+30 | |
This makes it easier to use JSON filters. Instead of doing pandoc -t json | ./filter | pandoc -f json you can just do pandoc --filter ./filter | |||||
2013-07-23 | Text.Pandoc: Added readJSON, writeJSON to the API. | John MacFarlane | 1 | -9/+17 | |
Closes #817. | |||||
2013-07-23 | Test suite changes for new highlighting-kate version. | John MacFarlane | 3 | -3/+3 | |
2013-07-22 | Require highlighting-kate 0.5.5. | John MacFarlane | 1 | -3/+3 | |
0.5.4 has a serious memory leak that affects the mandoc parser. See highlighting-kate#34. | |||||
2013-07-21 | Biblio: Tweaks to improve default behavior. | John MacFarlane | 1 | -7/+15 | |
* A suffix beginning with a digit gets 'p' inserted before it before passing to citeproc-hs, so that bare numbers are treated as page numbers by default. * A suffix not beginning with punctuation has a space added at the beginning (rather than a comma and space, as was done before). * This adding occurs not just in author-in-text citations, but in all citations. The result of these changes (and the last commit) is that `\citep[23]{item1}` in LaTeX will be interpreted properly, with '23' treated as a locator of type 'page'. | |||||
2013-07-21 | LaTeX reader: Don't add spurious ", " to citation suffixes. | John MacFarlane | 3 | -26/+22 | |
This is added when needed in Text.Pandoc.Biblio anyway. | |||||
2013-07-20 | Markdown reader: Improved strong/emph parsing. | John MacFarlane | 1 | -34/+54 | |
Using technique from github.com/jgm/Markdown. The new parsing algorithm requires no backtracking, and no keeping track of nesting levels. It will give different results in some edge cases but should not affect most people. | |||||
2013-07-20 | PDF generation improvements. | John MacFarlane | 3 | -9/+56 | |
* `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`. (API change.) * `makePDF` walks the pandoc AST and checks for the existence of images in the local directory. If they are not found, it attempts to find them, either in the directory containing the first source file, or at an absolute URL, or at a URL relative to the base URL of the first command line argument. * Closes #917. | |||||
2013-07-20 | Added info about CABALDIR. | John MacFarlane | 1 | -0/+2 | |
Modified from a patch by achalddave. | |||||
2013-07-20 | LaTeX template: Added `biblio-style` variable. | John MacFarlane | 2 | -8/+7 | |
Closes #920. | |||||
2013-07-20 | Merge pull request #924 from drothlis/patch-1 | John MacFarlane | 1 | -1/+1 | |
README: Fix minor typo | |||||
2013-07-20 | README: Fix minor typo | David Röthlisberger | 1 | -1/+1 | |
2013-07-18 | Text.Pandoc.PDF: put temporary output directory in TEXINPUTS. | John MacFarlane | 1 | -4/+12 | |
This will help later when we try to download external resources. We can put them in the temp directory. See #917. | |||||
2013-07-18 | Fixed warning. | John MacFarlane | 1 | -1/+1 | |
2013-07-18 | Improved fetching of external resources. | John MacFarlane | 5 | -17/+24 | |
* In Shared, openURL and fetchItem now return an Either, for better error handling. (API change.) * Better error message when fetching a URL fails with `--self-contained`. * EPUB writer: If resource not found, skip it, as in Docx writer. * Closes #916. | |||||
2013-07-17 | Added `ignore_line_breaks` markdown extension. | John MacFarlane | 3 | -0/+8 | |
This causes intra-paragraph line breaks to be ignored, rather than being treated as hard line breaks or spaces. This is useful for some East Asian languages, where spaces aren't used between words, but text is separated into lines for readability. | |||||
2013-07-17 | LaTeX/Beamer template: Added `classoption` variable. | John MacFarlane | 2 | -7/+10 | |
This is intended for class options like `oneside`; it may be repeated with different options. Thanks to Oliver Matthews. | |||||
2013-07-16 | Text.Pandoc.ImageSize: Handle EPS. | John MacFarlane | 2 | -1/+24 | |
Closes #903. This change will make EPS images properly sized on conversion to Word. | |||||
2013-07-16 | HTML reader: read widths from col tags if present. | John MacFarlane | 1 | -6/+23 | |
Closes #893. | |||||
2013-07-16 | HTML reader: Handle non-simple tables (#893). | John MacFarlane | 1 | -3/+9 | |
Column widths are divided equally. TODO: Get column widths from col tags if present. | |||||
2013-07-16 | HTML reader: Generalized table parser. | John MacFarlane | 1 | -4/+9 | |
This commit doesn't change the present behavior at all, but it will make it easier to support non-simple tables in the future. | |||||
2013-07-15 | Fixed YAML code block in README. | John MacFarlane | 1 | -13/+13 | |
2013-07-14 | Updated sample.lua for new metadata. | John MacFarlane | 1 | -5/+5 | |
2013-07-14 | Updated changelog for pending release. | John MacFarlane | 1 | -0/+339 | |
2013-07-14 | Updated authors in README. | John MacFarlane | 1 | -1/+2 | |
2013-07-14 | Fixing wrong numbered-list indentation in open document format | Alexander Kondratskiy | 2 | -24/+26 | |
2013-07-13 | Another attempt at .travis.yml. | John MacFarlane | 1 | -6/+7 | |
2013-07-13 | Another attempt at the travis build spec. | John MacFarlane | 1 | -3/+2 | |
2013-07-13 | Tweaked travis script to use cabal-dev. | John MacFarlane | 1 | -4/+6 | |
2013-07-13 | Makefile: --enable-benchmarks no longer works with cabal install. | John MacFarlane | 1 | -1/+4 | |
2013-07-13 | Simplified margin fields in default epub CSS file. | John MacFarlane | 1 | -1/+1 | |
2013-07-13 | Default epub CSS: Removed highlighting styles. | John MacFarlane | 1 | -19/+0 | |
These are added automatically to individual chapter files, depending on the highlighting style selected on the command line. | |||||
2013-07-13 | Docx writer: Make `--no-highlight` work properly. | John MacFarlane | 1 | -7/+11 | |
2013-07-13 | Updated a test whose output changed due to last commit. | John MacFarlane | 1 | -4/+1 | |
2013-07-13 | Merge pull request #907 from KholdStare/fix-no-highlight | John MacFarlane | 1 | -3/+9 | |
Checking options before applying syntax highlighting for HTML output | |||||
2013-07-13 | Checking options before applying syntax highlighting for HTML output | Alexander Kondratskiy | 1 | -3/+9 | |
2013-07-12 | Docx writer: Ignore most components of reference.docx. | John MacFarlane | 1 | -24/+41 | |
We take the word/styles.xml, docProps/app.xml, word/theme/theme1.xml, and word/fontTable.xml from reference.docx, ignoring everything else. Perhaps this will help with the corruption problems caused when different versions of Word resave the reference.docx and reorganize things. | |||||
2013-07-04 | cabal: Added http-conduit flag, which allows fetching https resources. | John MacFarlane | 2 | -12/+36 | |
It also brings in a large number of dependencies (http-conduit and its dependencies), which is why for now it is an optional flag. Closes #820. | |||||
2013-07-04 | Docx writer: Use w:br with w:type 'textWrapping' for linebreaks. | John MacFarlane | 1 | -1/+1 | |
Previously we used w:cr. I don't see a difference between these in my version of Word, but apparently some do. Closes #873. | |||||
2013-07-04 | Text.Pandoc.UTF8: Use strict bytestrings in reading. | John MacFarlane | 1 | -1/+1 | |
The use of lazy bytestrings seemed to cause problems using pandoc on Windows 7/8 64-bit machines. Closes #874. | |||||
2013-07-04 | LaTeX writer: Don't use ligatures in escaping inline code. | John MacFarlane | 1 | -9/+15 | |
2013-07-04 | default.latex: Use tex-ansi mapping for monofont. | John MacFarlane | 1 | -6/+7 | |
This ensures that straight quotes appear as straight, rather than being treated as curly. See #889. | |||||
2013-07-04 | make-windows-installer.bat: Removed explicit paths for executables. | John MacFarlane | 1 | -3/+3 | |
2013-07-03 | `--toc-level` no longer implies `--toc`. | John MacFarlane | 2 | -3/+2 | |
Reason: EPUB users who don't want a visible TOC may still want to set the TOC level for in the book navigation. | |||||
2013-07-02 | Document YAML metadata blocks. | John MacFarlane | 1 | -11/+45 | |
2013-07-02 | Rename `Ext_yaml_title_block` -> `Ext_yaml_metadata_block`. | John MacFarlane | 4 | -9/+15 | |
2013-07-02 | Markdown writer: Changed condition for rendering title block. | John MacFarlane | 1 | -4/+3 | |
Previously it was only rendered if title, author, or date set. Now any metadata field can be set. | |||||
2013-07-02 | Markdown reader: Better error messages for yaml headers. | John MacFarlane | 3 | -6/+21 | |
2013-07-02 | Fixed bug retrieving default template for markdown variants. | John MacFarlane | 1 | -3/+5 | |