aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-09-26MediaBag: ensure that / is always used as path separator.John MacFarlane3-8/+11
2015-09-26appveyor.yml: revert to non-stack version.John MacFarlane1-24/+17
2015-09-26Update KaTeX JS and CSS versions.Emily Eisenberg1-2/+2
Update the default KaTeX JS/CSS links to the current version. KaTeX v0.5.1 has far more functions and symbols than v0.1.0, so it seems like a better default. I think technically this might break compatibility because we released a breaking change due to the greediness of the `\color` function, but this probably has very little impact.
2015-09-26appveyor.yml: Get submodules.John MacFarlane1-0/+1
2015-09-26appveyor: Fixed stack.exe path.John MacFarlane1-1/+1
2015-09-26More appveyor fixes.John MacFarlane1-2/+2
2015-09-26appveyor.yml: changed clone dir.John MacFarlane1-1/+5
2015-09-26New appveyor.yml using stack.John MacFarlane1-17/+19
Copied, mostly, from stack's repo.
2015-09-26Changes to templates to support handling of bidirectional text.John MacFarlane1-7/+7
(LaTeX, ConTeXt, HTML)
2015-09-26Merge pull request #2419 from mb21/bidiJohn MacFarlane3-13/+59
Support bidirectional text output with XeLaTeX, ConTeXt and HTML
2015-09-26Slightly improved description of citation locators in README.John MacFarlane1-6/+10
2015-09-26Merge pull request #2418 from nickbart1980/patch-3John MacFarlane1-1/+8
Give details of locator terms
2015-09-26Support bidirectional text output with XeLaTeX, ConTeXt and HTMLmb213-13/+59
closes #2191
2015-09-26Give details of locator termsnickbart19801-1/+8
2015-09-26Removed unneeded import.John MacFarlane1-1/+0
2015-09-25Correctly recognize book documentclass in metadata.John MacFarlane1-1/+1
Closes #2395.
2015-09-25Markdown reader: handle 'id' and 'class' in parsing key/value attrs.John MacFarlane1-1/+5
# Header {id="myid" class="foo bar"} is now equivalent to # Header {#myid .foo .bar} Closes #2396.
2015-09-25LaTeX, ConTeXt templates: more specific language variables.John MacFarlane1-6/+7
Instead of directly using `lang`, we now use `babel-lang` and `polyglossia-lang` and `context-lang`. These variables are set by the writers to the necessary values, based on the `lang` variable (which now always takes a value in BCP47 format).
2015-09-24Improve text generated for <xref> by employing docbook-xsl heuristicsFrerich Raabe2-5/+19
docbook-xsl, a set of XSLT scripts to generate HMTL out of DocBook, tries harder to generate a nice xref text. Depending on the element being linked to, it looks at the title or other descriptive child elements. Let's do that, too.
2015-09-24Added proper support for DocBook 'xref' elementsFrerich Raabe5-2/+120
'xref' is used to create cross references to other parts of the document. It is an empty element - the cross reference text depends on various attributes. Quoting 'DocBook: The Definitive Guide': 1. If the endterm attribute is specified on xref, the content of the element pointed to by endterm will be used as the text of the cross-reference. 2. Otherwise, if the object pointed to has a specified XRefLabel, the content of that attribute will be used as the cross-reference text.
2015-09-23Allow syb 0.6.John MacFarlane1-3/+3
2015-09-23Pass the parsed DocBook content along the state of readDocBookFrerich Raabe1-2/+4
Having access to the entire document will be needed when handling elements which refer to other elements. This is needed for e.g. <xref> or <link>, both of which reference other elements (by the 'id' attribute) for the label text. I suppose that in practice, the [Content] returned by parseXML always only contains one 'Elem' value -- the document element. However, I'm not totally sure about it, so let's just pass all the Content along.
2015-09-23Minor refactoring to readDocBookFrerich Raabe1-2/+2
I plan to use the parsed and normalized XML tree read in readDocBook in other places - prepare that commit by factoring this code out into a separate, shared, definition.
2015-09-23LaTeX reader: support longtable.John MacFarlane1-0/+2
Closes #2411.
2015-09-22Merge pull request #2369 from mb21/language-variablesJohn MacFarlane3-16/+192
`lang` variable is now in BCP47 format
2015-09-20Allow aeson 0.10.John MacFarlane2-2/+3
2015-09-20Merge pull request #2406 from tarleb/org-verse-fixJohn MacFarlane2-1/+10
Make sure verse blocks can contain empty lines
2015-09-19Merge pull request #2405 from lierdakil/rest-normalize-amendJohn MacFarlane2-1/+32
[RST Writer] Don't normalize heading levels below input minimum
2015-09-19Make sure verse blocks can contain empty linesAlbert Krewinkel2-1/+10
The previous verse parsing code made the faulty assumption that empty strings are valid (and empty) inlines. This isn't the case, so lines are changed to contain at least a newline. It would generally be nicer and faster to keep the newlines while splitting the string. However, this would require more code, which seems unjustified for a simple (and fairly rare) block as *verse*. This fixes #2402.
2015-09-19[RST Writer] Don't normalize heading levels below input minimumNikolay Yakimov2-1/+32
2015-09-17Markdown writer: in TOC, add links to headers.John MacFarlane1-2/+5
Closes #829.
2015-09-15sample.lua - define CaptionedImage, add newline at end.John MacFarlane1-1/+7
Cloess #2393.
2015-09-09Tests: docx writer tests now use "../data" for data directory.John MacFarlane1-1/+4
This allows tests to be run without installing first.
2015-09-09Use user data directory for reference docx archive.John MacFarlane1-1/+1
This allows the test suite to work without installing pandoc first. It also brings the docx writer in line with the odt writer.
2015-09-09stack.yaml - bump to latest LTS Stackage.John MacFarlane1-1/+1
2015-08-25Removed obsolete reference to default.csl.John MacFarlane1-2/+2
Closes #2372. @cinaeco as the pandoc-citeproc man page describes, the current behavior if no style is specified is to look in `~/.csl/chicago-author-date.csl`, and if nothing is found there, to use a default version of chicago-author-date.csl. You may want to open a separate issue on jgm/pandoc-citeproc suggesting the use of `default.csl` rather than `chicago-author-date.csl`. I agree that this would make sense.
2015-08-20`lang` variable is now in BCP47 formatmb213-16/+192
strings are converted for LaTeX and ConTeXt output, closes #1614
2015-08-17Merge pull request #2364 from gbataille/bugDocJohn MacFarlane1-6/+6
[BUG] Haddock : * and ^ to be escaped in docs
2015-08-17[BUG] Haddock : * and ^ to be escaped in docsGrégory Bataille1-6/+6
2015-08-16stack-yaml: use lts 3.1 resolver.John MacFarlane1-1/+1
2015-08-16Merge pull request #2352 from ousia/masterJohn MacFarlane1-1/+4
added selectors for nested emphasis (epub.css)
2015-08-15Use cabal-install-head in travis for ghc 7.10.1.John MacFarlane1-2/+2
See https://www.reddit.com/r/haskell/comments/3f4bgr/the_version_of_cabal_being_used_has_changed/ Maybe this will fix the Cabal version mismatch problem?
2015-08-15Travis: removed diagnostics, add cabal path to PATH, back to ghc 7.10.1.John MacFarlane1-7/+3
ghc 7.10.2 isn't whitelisted yet. https://github.com/travis-ci/travis-ci/issues/4478
2015-08-15Added some travis diagnostics.John MacFarlane1-0/+4
2015-08-15Travis: build with ghc 7.10.2 instead of 7.10.1.John MacFarlane1-2/+2
2015-08-15Use real jpg (not empty) for docx tests to avoid warning.John MacFarlane3-0/+0
2015-08-15RST reader: better handling of indirect roles.John MacFarlane3-12/+14
Previously the parser failed on this kind of case .. role:: indirect(code) .. role:: py(indirect) :language: python :py:`hi` Now it currectly recognizes `:py:` as a code role. The previous test for this didn't work, because the name of the indirect role was the same as the language defined its parent, os it didn't really test for this behavior. Updated test.
2015-08-15Merge pull request #2360 from jg/issue-2354John MacFarlane3-22/+56
Org reader: add auto identifiers if not present on headers
2015-08-15Added note to CONTRIBUTING.md about ghc versions and travis.John MacFarlane1-0/+7
2015-08-15Org reader: add auto identifiers if not present on headersJuliusz Gonera3-22/+56
Refs #2354 This should also fix the table of contents (--toc) when generating a html file from org input