aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-08-08Revert "Textile reader: Removed raw LaTeX parsing."John MacFarlane1-0/+16
This reverts commit bb61624bb2bba416e1992ecdf101f9660a3edcae. Apparently someone put this there for a reason, since it's in the test suite.
2013-08-08Added Text.Pandoc.Compat.TagSoupEntity.John MacFarlane6-5/+21
This allows pandoc to compile with tagsoup 0.13.x. Thanks to Dirk Ullrich for the patch.
2013-08-08Added Text.Pandoc.Compat.Monoid.John MacFarlane4-2/+19
This allows pandoc to compile with base < 4.5, where Data.Monoid doesn't export `<>`. Thanks to Dirk Ullirch for the patch.
2013-08-07Textile reader: Removed raw LaTeX parsing.John MacFarlane1-16/+0
This isn't part of Textile.
2013-08-07Allow YAML title blocks to contain only comments.John MacFarlane1-1/+4
2013-08-06Added support for MetaBool.John MacFarlane3-1/+4
2013-08-06Updated changelogJohn MacFarlane1-0/+1
2013-08-06Beamer template: Added fonttheme variable.John MacFarlane2-8/+11
2013-08-06Biblio: Capitalize citation note only if it has a prefix.John MacFarlane2-7/+11
So, author names or titles that aren't capitalized will stay uncapitalized.
2013-08-05Require latest version of texmath.John MacFarlane1-1/+1
Closes #935.
2013-08-05Updated changelog.John MacFarlane1-49/+149
2013-08-04Remove CPP from default-extensions; add pragmas to modules as needed.John MacFarlane5-10/+4
2013-08-03Removed comment that chokes recent cpp.John MacFarlane1-1/+0
Closes #933.
2013-08-03MediaWiki writer: Use native mediawiki tables instead of HTML.John MacFarlane2-235/+164
Closes #720.
2013-08-03Text.Pandoc: Don't reexport ToJSONFilter.John MacFarlane1-2/+2
It's better just to import this from Text.Pandoc.JSON. That way, compiled filters will be smaller in size.
2013-08-03pandoc.cabal: Removed support for ghc version < 7.2.John MacFarlane1-40/+6
There is no point to supporting them, since pandoc-types requires at least ghc 7.2 for GHC generics.
2013-08-03Text.Pandoc.JSON: Use To/FromJSON instances from pandoc-types.John MacFarlane1-62/+12
* These use GHC generics rather than syb, and are faster. * toJsonFilter is now a deprecated synonym of toJSONFilter from Text.Pandoc.JSON. * The deprecated jsonFilter function has been removed.
2013-08-02Biblio: Don't interfere with Notes that aren't citation notes.John MacFarlane1-2/+3
Closes #898: notes not generated from citations were being adjusted (first letter capitalized, for example, against author's intentions).
2013-08-02Biblio: Override citeproc-hs's endWithPunct.John MacFarlane1-1/+14
The new version correctly sees a sentence ending in '.)' as ending with punctuation. This fixes a bug which led such sentences to receive an extra period at the end: '.).'. Thanks to Steve Petersen for reporting.
2013-07-30Fixed compilation with http-conduit flag False.John MacFarlane1-2/+2
2013-07-29Markdown atx headers: Allow `.` or `)` after `#` if no `fancy_lists`.John MacFarlane1-1/+2
2013-07-29Document that `fancy_lists` turns on `#` as list marker.John MacFarlane1-0/+6
2013-07-26Beamer: add allowframebreaks to slide if set in header classes.John MacFarlane2-8/+21
It's recommended that your bibliography slide have this attribute: # References {.allowframebreaks} This causes multiple slides to be created if necessary, depending on the length of the bibliography.
2013-07-25LaTeX writer: Change `\` to `/` in paths.John MacFarlane1-2/+4
`/` works even on Windows in LaTeX. `\` will cause major problems if unescaped.
2013-07-25LaTeX reader: Support `\v{}` for hacek.John MacFarlane1-0/+37
Closes #926.
2013-07-25Textile reader: Improved handling of `<pre>` blocks.John MacFarlane2-5/+11
* Closed #927 (a bug in which `<pre>` in certain contexts was not recognized as a code block). * Remove internal HTML tags in code blocks, rather than printing them verbatim. * Parse attributes on `<pre>` tag for code blocks.
2013-07-23Revert "Added `--filter` option."John MacFarlane3-30/+4
This reverts commit 85dacbb282f34dc45a810d7c7b5a2d639b70e1f5.
2013-07-23Added `--filter` option.John MacFarlane3-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-23Text.Pandoc: Added readJSON, writeJSON to the API.John MacFarlane1-9/+17
Closes #817.
2013-07-23Test suite changes for new highlighting-kate version.John MacFarlane3-3/+3
2013-07-22Require highlighting-kate 0.5.5.John MacFarlane1-3/+3
0.5.4 has a serious memory leak that affects the mandoc parser. See highlighting-kate#34.
2013-07-21Biblio: Tweaks to improve default behavior.John MacFarlane1-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-21LaTeX reader: Don't add spurious ", " to citation suffixes.John MacFarlane3-26/+22
This is added when needed in Text.Pandoc.Biblio anyway.
2013-07-20Markdown reader: Improved strong/emph parsing.John MacFarlane1-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-20PDF generation improvements.John MacFarlane3-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-20Added info about CABALDIR.John MacFarlane1-0/+2
Modified from a patch by achalddave.
2013-07-20LaTeX template: Added `biblio-style` variable.John MacFarlane2-8/+7
Closes #920.
2013-07-20Merge pull request #924 from drothlis/patch-1John MacFarlane1-1/+1
README: Fix minor typo
2013-07-20README: Fix minor typoDavid Röthlisberger1-1/+1
2013-07-18Text.Pandoc.PDF: put temporary output directory in TEXINPUTS.John MacFarlane1-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-18Fixed warning.John MacFarlane1-1/+1
2013-07-18Improved fetching of external resources.John MacFarlane5-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-17Added `ignore_line_breaks` markdown extension.John MacFarlane3-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-17LaTeX/Beamer template: Added `classoption` variable.John MacFarlane2-7/+10
This is intended for class options like `oneside`; it may be repeated with different options. Thanks to Oliver Matthews.
2013-07-16Text.Pandoc.ImageSize: Handle EPS.John MacFarlane2-1/+24
Closes #903. This change will make EPS images properly sized on conversion to Word.
2013-07-16HTML reader: read widths from col tags if present.John MacFarlane1-6/+23
Closes #893.
2013-07-16HTML reader: Handle non-simple tables (#893).John MacFarlane1-3/+9
Column widths are divided equally. TODO: Get column widths from col tags if present.
2013-07-16HTML reader: Generalized table parser.John MacFarlane1-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-15Fixed YAML code block in README.John MacFarlane1-13/+13
2013-07-14Updated sample.lua for new metadata.John MacFarlane1-5/+5