Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Although pandoc compiles with 0.10, the tests assume texmath 0.11.
Closes #4651.
|
|
|
|
|
|
|
|
|
|
Removed `--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`, `-m`,
`--asciimathml` options.
Removed `JsMath`, `LaTeXMathML`, and `GladTeX` constructors from
`Text.Pandoc.Options.HTMLMathMethod` [API change].
Removed unneeded data file LaTeXMathML.js and updated tests.
Bumped version to 2.2.
|
|
This file wasn't used in the production of documents. It's supposed to
be a thumbnail of the current document, and we can't actually produce
that ourselves. It turns out that the file contains a nonfree ICC
color calibration file, so the best thing to do would be to remove it
altogether.
Fixes: #4588
|
|
|
|
|
|
|
|
Remove 'weigh-pandoc' flag. This is now built (and run)
automatically when you build (and run) benchmarks.
|
|
This is no longer necessary since we no longer support ghc 7.8.
|
|
language is now consistently Haskell2010, and other-extensions
is consistently NoImplicitPrelude. Everything else to be specified
in the module header as needed.
|
|
|
|
We use no custom Prelude with the latest ghc version (8.4.1),
so we don't have problems with ghci.
See https://ghc.haskell.org/trac/ghc/ticket/10920
https://www.reddit.com/r/haskell/comments/3ryf2p/how_can_you_use_a_custom_prelude_with_ghci/
This may help with #4464.
|
|
|
|
since custom prelude depends on it.
|
|
|
|
|
|
|
|
We need this again because of Monoid/Semigroup.
|
|
New cabal new-build seems to choke on GPL, even though it's
supposed to be legal.
|
|
|
|
And a few tweaks related to the Semigroups/Monoid change.
Closes #4448.
|
|
|
|
|
|
|
|
Tests pass with the new test tool.
|
|
|
|
|
|
|
|
The ToLuaStack instance for Set is orphaned. The PVP requires the minor
version to be fixed in this case.
|
|
|
|
Fixes #4282
|
|
|
|
|
|
As of cabal 1.24, sensible defaults are used.
See
https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-ghc-prof-options.
|
|
`confTrailingNewline` is introduced in this version.
|
|
|
|
|
|
This is needed because the type constructor Empty in MarkupM
has changed, and the HTML writer assumes the constructor has
an argument.
Closes #4334.
|
|
|
|
There is very little pptx-specific in these tests, so we abstract out
the basic testing function so it can be used for docx as well. This
should allow us to catch some errors in the docx writer that slipped
by the roundtrip testing.
|
|
This fixes an HTML tokenization bug whereby comments
were sometimes consumed with open tags.
|
|
Previously we had tested certain properties of the output PowerPoint
slides. Corruption, though, comes as the result of a numebr of
interrelated issues in the output pptx archive. This is a new
approach, which compares the output of the Powerpoint writer with
files that we know to (a) not be corrupt, and (b) to show the desired
output behavior (details below). This commit introduces three tests
using the new framework. More will follow.
The test procedure: given a native file and a pptx file, we generate a
pptx archive from the native file, and then test:
1. Whether the same files are in the two archives
2. Whether each of the contained xml files is the same. (We skip time
entries in `docProps/core.xml`, since these are derived from IO. We
just check to make sure that they're there in the same way in both
files.)
3. Whether each of the media files is the same.
Note that steps 2 and 3, though they compare multiple files, are one
test each, since the number of files depends on the input file (if
there is a failure, it will only report the first failed file
comparison in the test failure).
|
|
|
|
|
|
|
|
We introduce a new module, Text.Pandoc.Readers.Docx.Fields which
contains a simple parsec parser. At the moment, only simple hyperlink
fields are accepted, but that can be extended in the future.
|