aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-03Allow HUnit 1.3John MacFarlane1-1/+1
2015-10-03FIxed typo: Ext_superscript, Ext_subscript.John MacFarlane1-2/+2
2015-10-03For markdown_mmd, add: implicit_figures, superscripts, subscripts.John MacFarlane1-0/+9
See #2401.
2015-10-01Set the template variable $pandoc-version$ to pandocVersion by default.Alex Vong1-0/+1
* src/Text/Pandoc/Writers/Man.hs: Set $pandoc-version$ to be pandocVersion.
2015-10-01Move the variable pandocVersion from `src/Text/Pandoc.hs` toAlex Vong3-10/+10
`src/Text/Pandoc/Shared.hs`, so that all Writers can access this variable without importing `src/Text/Pandoc.hs`, preventing circular import. * pandoc.hs: Import pandocVersion from `Text.Pandoc.Shared`. * src/Text/Pandoc.hs: Remove the definition of pandocVersion and relevant import. * src/Text/Pandoc/Shared.hs: Add the definition of pandocVersion and relevant import.
2015-10-01Set the template variable $hyphenate$ to true by defaultAlex Vong1-0/+1
* src/Text/Pandoc/Writers/Man.hs: Set $hyphenate$ to be true.
2015-09-29Beamer template: allow setting outer/inner theme.John MacFarlane1-7/+7
2015-09-27appveyor.yml: removed part that builds the package.John MacFarlane1-15/+15
2015-09-27appveyor.yml: Fixed another multiline statement.John MacFarlane1-4/+1
2015-09-27appveyor.yml: Another attempt to set VERSION.John MacFarlane1-2/+1
2015-09-27appveyor.yml: put whole for loop on one line.John MacFarlane1-4/+1
2015-09-27appveyor.yml: another try in version extraction.John MacFarlane1-1/+5
2015-09-27appveyor.yml: removed :next label.John MacFarlane1-1/+0
2015-09-27appveyor.yml: Tried another approach to get pandoc version.John MacFarlane1-4/+1
2015-09-27appveyor.yml: don't run tests for pandoc-citeproc.John MacFarlane1-2/+1
They won't work til we upgrade HP version, because of minor changes in aeson.
2015-09-27appveyor.yml: use cmd instead of ps.John MacFarlane1-5/+3
2015-09-27appveyor.yml: Build pandoc-citeproc after main test.John MacFarlane1-1/+3
2015-09-27appveyor: cache Haskell Platform.John MacFarlane1-0/+3
2015-09-27Merge pull request #2420 from xymostech/patch-1John MacFarlane1-2/+2
Update KaTeX JS and CSS versions.
2015-09-27appveyor.yml: fixed cabal flag.John MacFarlane1-1/+1
2015-09-27appveyor: attempt to create msi package after build.John MacFarlane1-3/+28
2015-09-26Removed unneeded imports.John MacFarlane2-3/+2
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