summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Updated pandoc.1.John MacFarlane2015-10-15
|
* Support all frame attributes in Beamer.John MacFarlane2015-10-15
|
* Use unicode super/subscripts for digits in plain output.John MacFarlane2015-10-15
|
* reveal.js template changes (Andrew Dunning).John MacFarlane2015-10-14
| | | | | | | | | - Add width, height variables to reveal.js. - Update reveal.js template from 3.1 source. All configuration options are now available as variables, but are only be included if set (reveal.js uses defaults otherwise).
* Merge pull request #2451 from adunning/patch-1John MacFarlane2015-10-14
|\ | | | | Update slides variables in README.
| * Update slides variables in README.Andrew Dunning2015-10-14
|/ | | This reflects the inclusion of all reveal.js variables in <https://github.com/jgm/pandoc-templates/pull/134>.
* Merge pull request #2450 from adunning/patch-1John MacFarlane2015-10-14
|\ | | | | Add new LaTeX variables to README.
| * Add new LaTeX variables to README.Andrew Dunning2015-10-14
|/
* LaTeX template: Add fontenc, indent, subparagraph variables.John MacFarlane2015-10-14
| | | | Thanks to Andrew Dunning.
* More changes to avoid compiler warnings on ghc 7.10.John MacFarlane2015-10-14
| | | | | | * CPP around deprecated `parseTime`. * Text.Pandoc.Compat.Locale -> Text.Pandoc.Compat.Time, now exports Data.Time.
* Merge pull request #2449 from adunning/patch-1John MacFarlane2015-10-14
|\ | | | | Improve documentation of recent template changes.
| * Improve documentation of recent template changes.Andrew Dunning2015-10-14
| |
* | travis: use -Werror even on ghc 7.10.John MacFarlane2015-10-14
| |
* | Use custom Prelude to avoid compiler warnings.John MacFarlane2015-10-14
|/ | | | | | | | | | | | | - The (non-exported) prelude is in prelude/Prelude.hs. - It exports Monoid and Applicative, like base 4.8 prelude, but works with older base versions. - It exports (<>) for mappend. - It hides 'catch' on older base versions. This allows us to remove many imports of Data.Monoid and Control.Applicative, and remove Text.Pandoc.Compat.Monoid. It should allow us to use -Wall again for ghc 7.10.
* LaTeX writer: add `\protect` to `\hyperdef` in inline context.John MacFarlane2015-10-13
| | | | | | | This way we don't get an error when this is used as a moveable argument. Closes #2136.
* epub with `--webtex`: include image file rather than data: URI.John MacFarlane2015-10-13
| | | | Closes #2363.
* Fixed tests for template changes.John MacFarlane2015-10-13
|
* Template changes:John MacFarlane2015-10-13
| | | | | | | - Move HTML5 shiv after CSS (Andrew Dunning). - Fix HTML5 shiv URL (Andrew Dunning). - Add dir attribute in html5 (Andrew Dunning). - Realign beamer and LaTeX templates (Andrew Dunning).
* RST writer: do header normalization only in "standalone" mode.John MacFarlane2015-10-12
| | | | | | | | | | | If we're producing a fragment, just skip normalization. After all, the fragment might be somewhere in the middle of the document. It's more important for fragments to have consistency in rendering (so they can be pieced together) than to normalize. This closes #2394. It's simpler and more robust than my earlier fix.
* Revert "RST writer: tweaks to header normalization."John MacFarlane2015-10-12
| | | | This reverts commit 476b383c578699567ac4630391a15855521ab3d4.
* RST writer: tweaks to header normalization.John MacFarlane2015-10-12
| | | | | | | | | | | | | | | | | | These changes are intended to make the writer more useful to people who are processing small fragments, which may for example look like this: ### third level header from previous section ## second level header Previously such fragments got turned into two headers of the same level. The new algorithm avoids doing any normalization until we hit the minimal-level header in the fragment (here, the second level header). Closes #2394.
* Changed stack.yaml to use latest resolver (3.9).John MacFarlane2015-10-12
|
* Added ghc-prim to build-depends.John MacFarlane2015-10-12
| | | | | | This is needed for the Generic instance of PandocError. Closes #2448.
* Removed unnecessary import.John MacFarlane2015-10-11
|
* Percent-encode more special characters in URLs.John MacFarlane2015-10-11
| | | | | | | HTML, LaTeX writers adjusted. The special characters are '<','>','|','"','{','}','[',']','^', '`'. Closes #1640, #2377.
* Define Typeable and Exception instances for PandocError.John MacFarlane2015-10-11
| | | | Closes #2386.
* HTML reader/writer: better handling of "section" elements.John MacFarlane2015-10-11
| | | | | | | | | | Previously `<section>` tags were just parsed as raw HTML blocks. With this change, section elements are parsed as Div elements with the class "section". The HTML writer will use `<section>` tags to render these Divs in HTML5; otherwise they will be rendered as `<div class="section">`. Closes #2438.
* Native writer: format Div properly, with blocks separated.John MacFarlane2015-10-11
|
* Removed xltxtra, xunicode from LaTeX template.John MacFarlane2015-10-10
| | | | | | Thanks Andrew Dunning. Updated tests and changelog.
* Organized changelog.John MacFarlane2015-10-10
|
* Small tweak on CONTRIBUTING.md.John MacFarlane2015-10-10
|
* Updated man page from README.John MacFarlane2015-10-10
|
* Updated changelog (still needs reorganizing).John MacFarlane2015-10-10
|
* Removed unneeded import.John MacFarlane2015-10-10
|
* Merge pull request #2412 from frerich/reader/docbook/xref_supportJohn MacFarlane2015-10-10
|\ | | | | Added support for <xref> tag in DocBook reader
| * Improve text generated for <xref> by employing docbook-xsl heuristicsFrerich Raabe2015-09-24
| | | | | | | | | | | | | | 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.
| * Added proper support for DocBook 'xref' elementsFrerich Raabe2015-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | '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.
| * Pass the parsed DocBook content along the state of readDocBookFrerich Raabe2015-09-23
| | | | | | | | | | | | | | | | | | | | | | 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.
| * Minor refactoring to readDocBookFrerich Raabe2015-09-23
| | | | | | | | | | | | 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.
* | reveal.js template: add controls, progress variables.John MacFarlane2015-10-10
| | | | | | | | Thanks to Grégoire Pineau.
* | Adjusted latex template for changes to polyglossia-lang variable.John MacFarlane2015-10-10
| |
* | Merge pull request #2441 from mb21/polyglossia-langJohn MacFarlane2015-10-10
|\ \ | | | | | | Change variable to polyglossia-lang.name and .options
| * | Change variable to polyglossia-lang.name and .optionsmb212015-10-07
| | | | | | | | | | | | closes #2437
* | | Re-export pandocVersions from Text.Pandoc.John MacFarlane2015-10-10
| | | | | | | | | | | | | | | The actual definition has been moved to Text.Pandoc.Shared, but to avoid breaking changes we reexport it here.
* | | Adjusted man writer test for latest template changes.John MacFarlane2015-10-10
| | |
* | | Man template improvements:John MacFarlane2015-10-10
| | | | | | | | | | | | | | | | | | | | | - Added comment stating that the page is autogenerated by pandoc, giving version. - Added `adjusting` and `hyphenate` variables. - Documented new variables.
* | | Merge pull request #2426 from alexvong1995/better-man-writerJohn MacFarlane2015-10-10
|\ \ \ | | | | | | | | Better man writer (revised)
| * | | Set the template variable $pandoc-version$ to pandocVersion by default.Alex Vong2015-10-01
| | | | | | | | | | | | | | | | * src/Text/Pandoc/Writers/Man.hs: Set $pandoc-version$ to be pandocVersion.
| * | | Move the variable pandocVersion from `src/Text/Pandoc.hs` toAlex Vong2015-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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.
| * | | Set the template variable $hyphenate$ to true by defaultAlex Vong2015-10-01
| | | | | | | | | | | | | | | | * src/Text/Pandoc/Writers/Man.hs: Set $hyphenate$ to be true.