aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-03-17Manual formatting tweaks.John MacFarlane1-11/+14
2018-03-17Update changelog.John MacFarlane1-1/+13
2018-03-17ConTeXt template: pdfa variable to generate PDF/A (#4294)Henri Menke2-0/+17
The resulting PDF can be verified using the Apache PDFBox preflight app. ``` $ java -jar preflight-app-2.0.8.jar test.pdf The file test.pdf is a valid PDF/A-1b file ``` Instructions on how to install the ICC profiles on ConTeXt standalone can be found in the wiki: <http://wiki.contextgarden.net/PDFX#ICC_profiles>. If the ICC profiles are not available the log will contain messages like these ``` backend > profiles > profile specification 'sRGB.icc' loaded from '/usr/local/texlive/2017/texmf-dist/tex/context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'srgb.icc' backend > profiles > no default profile 'srgb.icc' for colorspace 'rgb' backend > profiles > profile specification 'sRGB IEC61966-2.1' loaded from '/usr/local/texlive/2017/texmf-dist/tex/context/colors/icc/context/colorprofiles.xml' backend > profiles > error, couldn't locate profile 'srgb.icc' backend > profiles > invalid output intent 'sRGB IEC61966-2.1' ``` and the resulting PDF will not be valid PDF/A: ``` $ java -jar preflight-app-2.0.8.jar test.pdf The file test.pdf is not a valid PDF/A-1b file, error(s) : 2.4.3 : Invalid Color space, The operator "g" can't be used without Color Profile on page 1 2.4.3 : Invalid Color space, The operator "G" can't be used without Color Profile on page 1 2.4.3 : Invalid Color space, /DeviceGray default for operator "TJ" can't be used without Color Profile on page 1 2.4.3 : Invalid Color space, /DeviceGray default for operator "TJ" can't be used without Color Profile on page 1 2.4.3 : Invalid Color space, The operator "g" can't be used without Color Profile on page 1 2.4.3 : Invalid Color space, The operator "G" can't be used without Color Profile on page 1 2.4.3 : Invalid Color space, /DeviceGray default for operator "TJ" can't be used without Color Profile on page 1 ``` However, the PDF will still be generated and the "errors" shown in the log do not break anything.
2018-03-17Add support to parse unit string of \SI command (closes #4296).Marc Schreiber2-1/+50
2018-03-17Update changelog.John MacFarlane2-0/+23
2018-03-17Fixed typo introduced in merge.John MacFarlane1-1/+1
2018-03-17Update man page.John MacFarlane2-2/+45
2018-03-17RST writer: filter out empty inline containers (#4434).Francesco Occhipinti2-10/+29
There is nothing in RST that corresponds to e.g. `Emph []`, so we just filter out elements like this.
2018-03-17Don't wrap lines in grid tables when `--wrap=none` (#4320)Francesco Occhipinti2-12/+45
* Annotate gridTable code with comments and abstract small functions * Don't wrap lines in tables when `--wrap=none`. Instead, expand cells, even if it results in cells that don't respect relative widths or surpass page column width. * This change affects RST, Markdown, and Haddock writers.
2018-03-17Provide `bidi` package's option using `\PassOptionsToPackage` (#4357).Václav Haisman2-8/+5
* Provide `bidi` package's option using `\PassOptionsToPackage`. This avoid clash when `polyglossia` loads it first and then it is loaded again for XeLaTeX when `latex-dir-rtl` defined. * Adjust test suite for LaTeX template change.
2018-03-17RST writer: separate inline transformation logic from writing logic (#4438)Francesco Occhipinti1-18/+22
This is to help enable solutions solutions to #4434 and #4368.
2018-03-17RST writer: strip whitespace within inlines, closes #4327 (#4329)Francesco Occhipinti3-1/+13
+ Whitespace is ignored at the beginning and end of emphasis, as per <http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup>. + Export `stripLeadingTrailingSpace` from `Text.Pandoc.Writers.Shared`.
2018-03-17Bump to 2.1.3, update changelog.John MacFarlane3-1/+93
2018-03-17Removed redundant import of <>John MacFarlane1-1/+1
2018-03-17Add semigroups dependency to executables...John MacFarlane1-0/+10
since custom prelude depends on it.
2018-03-17Work around Monoid/Semigroup-related compiler errors GHC 7.10.John MacFarlane1-13/+12
2018-03-17More CSS around DocTable in Haddock reader.John MacFarlane1-0/+2
2018-03-17INSTALL.md don't advise to always build testsMauro Bieg1-2/+3
2018-03-16Allow earlier versions of haddock-library, use CPP.John MacFarlane2-1/+3
2018-03-16Better table handling for Haddock.John MacFarlane3-113/+85
In the reader, we use the new Table type in Haddock. Note that tables with col/rowspans will not translate well into Pandoc. In the writer, we now render tables always as grid tables, since Haddock supports these.
2018-03-16Require haddock-libary 1.5 (with tables).John MacFarlane3-1/+3
2018-03-16Use latest pandoc-types.John MacFarlane3-4/+4
2018-03-16Fix Prelude <> export.John MacFarlane1-5/+0
2018-03-16Monoid/Semiground cleanup relying on custom Prelude.John MacFarlane28-70/+8
2018-03-16Added custom prelude.John MacFarlane2-8/+38
We need this again because of Monoid/Semigroup.
2018-03-16License to GPL-2 instead of GPL.John MacFarlane1-1/+1
New cabal new-build seems to choke on GPL, even though it's supposed to be legal.
2018-03-16Class: Semigroup instance for FileTree with base >= 4.9.John MacFarlane1-0/+4
2018-03-16Translations: Semigroup instance for Translations with base >= 4.9.John MacFarlane1-0/+5
2018-03-16Extensions: Semigroup instance for Extensions with base >= 4.9.John MacFarlane1-4/+13
2018-03-16Semigroup instance for Styles in T.P.Readers.Odt.StyleReader.John MacFarlane1-2/+12
2018-03-16Removed redundant import.John MacFarlane1-3/+1
2018-03-16Pretty: Semigroup instance for Doc with base >= 4.9.John MacFarlane1-0/+4
2018-03-16Semigroup instance for MediaBag with base >= 4.9.John MacFarlane1-0/+5
2018-03-15Travis: add ghc 8.4.1 cabal build.John MacFarlane1-0/+4
2018-03-15Bump upper-bound for time, criterion, haddock-library, exceptions.John MacFarlane1-6/+6
2018-03-15Remove redundant import.John MacFarlane1-1/+1
2018-03-15Remove redundant import.John MacFarlane1-2/+0
2018-03-14RST reader: Allow unicode bullet characters.John MacFarlane2-1/+10
Closes #4454.
2018-03-13Require pandoc-types 1.17.4.John MacFarlane9-11/+26
And a few tweaks related to the Semigroups/Monoid change. Closes #4448.
2018-03-13DokuWiki writer: rewrite backSlashLineBreaks (#4445)Mauro Bieg1-7/+11
Rewrite for efficiency.
2018-03-13Docx reader: add tests for nested smart tags.Jesse Rosenthal3-0/+11
2018-03-13Docx reader: Parse nested smart tags.Jesse Rosenthal2-16/+11
Make unwrapSDT into a general `unwrap` function that can unwrap both nested SDT tags and smartTags. This makes the SmartTags constructor in the Docx type unnecessary, so we remove it. Closes #4446
2018-03-13Beamer: put hyperlink after `\begin{frame}`.John MacFarlane3-14/+12
and not in the title. If it's in the title, then we get a titlebar on slides with the `plain` attribute, when the id is non-null. This fixes a regression from 1.9.x. Closes #4307.
2018-03-13Add instructions for background images reveal.js (#4325)John Muccigrosso1-0/+41
2018-03-12appveyor: use Visual Studio 2013 instead of 2015.John MacFarlane1-0/+1
Perhaps this will help with #4283.
2018-03-12Docx reader: remove unused docxWarningsAlexander Krotov1-2/+0
2018-03-12Muse reader: compare first rewrite to the second in round-trip testAlexander Krotov1-4/+2
2018-03-12Muse reader: make parseBlocks similar to parseBlocksTillAlexander Krotov1-4/+4
2018-03-12Muse reader: require closing tag to have the same indentation as openingAlexander Krotov2-1/+20
2018-03-12Muse reader: do not reparse blocks inside unclosed block tagAlexander Krotov2-4/+22
Fixes #4425