2021-11-10 07:56:31 +01:00
|
|
|
cabal-version: 2.4
|
2017-09-07 19:13:40 +02:00
|
|
|
name: pandoc
|
2022-01-31 18:45:44 +01:00
|
|
|
version: 2.17.1.1
|
2019-01-03 02:02:02 +01:00
|
|
|
build-type: Simple
|
2020-05-13 20:12:37 +02:00
|
|
|
license: GPL-2.0-or-later
|
2017-09-07 19:13:40 +02:00
|
|
|
license-file: COPYING.md
|
2022-01-01 20:02:31 +01:00
|
|
|
copyright: (c) 2006-2022 John MacFarlane
|
2017-09-07 19:13:40 +02:00
|
|
|
author: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
maintainer: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
bug-reports: https://github.com/jgm/pandoc/issues
|
|
|
|
stability: alpha
|
2018-03-07 18:37:53 +01:00
|
|
|
homepage: https://pandoc.org
|
2017-09-07 19:13:40 +02:00
|
|
|
category: Text
|
2021-11-18 02:29:01 +01:00
|
|
|
tested-with: GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.1
|
2017-09-07 19:13:40 +02:00
|
|
|
synopsis: Conversion between markup formats
|
|
|
|
description: Pandoc is a Haskell library for converting from one markup
|
2007-07-12 10:29:36 +02:00
|
|
|
format to another, and a command-line tool that uses
|
2021-11-30 19:12:42 +01:00
|
|
|
this library. The formats it can handle include
|
2007-07-12 10:29:36 +02:00
|
|
|
.
|
2021-11-30 19:12:42 +01:00
|
|
|
- light markup formats (many variants of Markdown,
|
|
|
|
reStructuredText, AsciiDoc, Org-mode, Muse, Textile,
|
|
|
|
txt2tags)
|
|
|
|
- HTML formats (HTML 4 and 5)
|
|
|
|
- Ebook formats (EPUB v2 and v3, FB2)
|
|
|
|
- Documentation formats (GNU TexInfo, Haddock)
|
|
|
|
- Roff formats (man, ms)
|
|
|
|
- TeX formats (LaTeX, ConTeXt)
|
|
|
|
- XML formats (DocBook 4 and 5, JATS, TEI Simple, OpenDocument)
|
|
|
|
- Outline formats (OPML)
|
|
|
|
- Bibliography formats (BibTeX, BibLaTeX, CSL JSON, CSL YAML)
|
|
|
|
- Word processor formats (Docx, RTF, ODT)
|
|
|
|
- Interactive notebook formats (Jupyter notebook ipynb)
|
|
|
|
- Page layout formats (InDesign ICML)
|
|
|
|
- Wiki markup formats (MediaWiki, DokuWiki, TikiWiki, TWiki,
|
|
|
|
Vimwiki, XWiki, ZimWiki, Jira wiki, Creole)
|
|
|
|
- Slide show formats (LaTeX Beamer, PowerPoint, Slidy,
|
|
|
|
reveal.js, Slideous, S5, DZSlides)
|
|
|
|
- Data formats (CSV tables)
|
|
|
|
- PDF (via external programs such as pdflatex or wkhtmltopdf)
|
|
|
|
.
|
|
|
|
Pandoc can convert mathematical content in documents
|
|
|
|
between TeX, MathML, Word equations, roff eqn, and plain text.
|
|
|
|
It includes a powerful system for automatic citations
|
|
|
|
and bibliographies, and it can be customized extensively
|
|
|
|
using templates, filters, and custom readers and writers
|
|
|
|
written in Lua.
|
2017-09-07 19:13:40 +02:00
|
|
|
data-files:
|
2009-12-31 02:11:13 +01:00
|
|
|
-- templates
|
2019-09-05 02:33:59 +02:00
|
|
|
data/templates/styles.html
|
2017-01-25 21:51:26 +01:00
|
|
|
data/templates/default.html4
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.html5
|
2017-01-26 22:40:57 +01:00
|
|
|
data/templates/default.docbook4
|
2016-05-02 08:02:22 +02:00
|
|
|
data/templates/default.docbook5
|
2020-02-13 05:36:02 +01:00
|
|
|
data/templates/default.jats_archiving
|
|
|
|
data/templates/default.jats_articleauthoring
|
|
|
|
data/templates/default.jats_publishing
|
2016-01-22 00:31:12 +01:00
|
|
|
data/templates/default.tei
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.opendocument
|
|
|
|
data/templates/default.icml
|
|
|
|
data/templates/default.opml
|
|
|
|
data/templates/default.latex
|
2021-02-02 03:02:17 +01:00
|
|
|
data/templates/default.bibtex
|
|
|
|
data/templates/default.biblatex
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.context
|
|
|
|
data/templates/default.texinfo
|
2019-06-05 23:52:23 +02:00
|
|
|
data/templates/default.jira
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.man
|
2017-03-15 21:04:14 +01:00
|
|
|
data/templates/default.ms
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.markdown
|
2017-03-10 10:16:27 +01:00
|
|
|
data/templates/default.muse
|
2015-06-02 13:23:32 +02:00
|
|
|
data/templates/default.commonmark
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.rst
|
|
|
|
data/templates/default.plain
|
|
|
|
data/templates/default.mediawiki
|
2014-08-14 01:56:57 +02:00
|
|
|
data/templates/default.dokuwiki
|
2019-04-03 17:20:05 +02:00
|
|
|
data/templates/default.xwiki
|
2016-06-29 08:11:42 +02:00
|
|
|
data/templates/default.zimwiki
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.rtf
|
|
|
|
data/templates/default.s5
|
|
|
|
data/templates/default.slidy
|
|
|
|
data/templates/default.slideous
|
|
|
|
data/templates/default.revealjs
|
|
|
|
data/templates/default.dzslides
|
|
|
|
data/templates/default.asciidoc
|
2019-02-05 19:12:48 +01:00
|
|
|
data/templates/default.asciidoctor
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.haddock
|
|
|
|
data/templates/default.textile
|
|
|
|
data/templates/default.org
|
2017-01-26 20:39:32 +01:00
|
|
|
data/templates/default.epub2
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.epub3
|
2020-02-13 05:36:02 +01:00
|
|
|
data/templates/article.jats_publishing
|
2020-12-18 17:02:36 +01:00
|
|
|
data/templates/affiliations.jats
|
2021-12-19 21:10:41 +01:00
|
|
|
data/templates/default.markua
|
2017-08-11 20:56:54 +02:00
|
|
|
-- translations
|
2017-08-12 21:17:38 +02:00
|
|
|
data/translations/*.yaml
|
2015-03-28 22:22:04 +01:00
|
|
|
-- source files for reference.docx
|
|
|
|
data/docx/[Content_Types].xml
|
|
|
|
data/docx/_rels/.rels
|
|
|
|
data/docx/docProps/app.xml
|
|
|
|
data/docx/docProps/core.xml
|
2018-10-09 20:15:07 +02:00
|
|
|
data/docx/docProps/custom.xml
|
2015-03-28 22:22:04 +01:00
|
|
|
data/docx/word/document.xml
|
|
|
|
data/docx/word/fontTable.xml
|
2017-12-28 19:31:37 +01:00
|
|
|
data/docx/word/comments.xml
|
2015-03-28 22:22:04 +01:00
|
|
|
data/docx/word/footnotes.xml
|
|
|
|
data/docx/word/numbering.xml
|
|
|
|
data/docx/word/settings.xml
|
|
|
|
data/docx/word/webSettings.xml
|
|
|
|
data/docx/word/styles.xml
|
|
|
|
data/docx/word/_rels/document.xml.rels
|
|
|
|
data/docx/word/_rels/footnotes.xml.rels
|
|
|
|
data/docx/word/theme/theme1.xml
|
|
|
|
-- source files for reference.odt
|
|
|
|
data/odt/mimetype
|
|
|
|
data/odt/manifest.rdf
|
|
|
|
data/odt/styles.xml
|
|
|
|
data/odt/content.xml
|
|
|
|
data/odt/meta.xml
|
|
|
|
data/odt/settings.xml
|
|
|
|
data/odt/Configurations2/accelerator/current.xml
|
|
|
|
data/odt/Thumbnails/thumbnail.png
|
|
|
|
data/odt/META-INF/manifest.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
-- source files for reference.pptx
|
|
|
|
data/pptx/_rels/.rels
|
|
|
|
data/pptx/docProps/app.xml
|
|
|
|
data/pptx/docProps/core.xml
|
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
|
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
|
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout1.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout2.xml
|
|
|
|
data/pptx/ppt/slideLayouts/slideLayout3.xml
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout4.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout5.xml
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout6.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout7.xml
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout8.xml
|
|
|
|
data/pptx/ppt/slideLayouts/slideLayout9.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout10.xml
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout11.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/_rels/presentation.xml.rels
|
|
|
|
data/pptx/ppt/theme/theme1.xml
|
|
|
|
data/pptx/ppt/presProps.xml
|
|
|
|
data/pptx/ppt/slides/_rels/slide1.xml.rels
|
|
|
|
data/pptx/ppt/slides/_rels/slide2.xml.rels
|
|
|
|
data/pptx/ppt/slides/slide2.xml
|
|
|
|
data/pptx/ppt/slides/slide1.xml
|
2019-04-05 15:14:00 +02:00
|
|
|
data/pptx/ppt/slides/_rels/slide3.xml.rels
|
|
|
|
data/pptx/ppt/slides/_rels/slide4.xml.rels
|
|
|
|
data/pptx/ppt/slides/slide3.xml
|
|
|
|
data/pptx/ppt/slides/slide4.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/viewProps.xml
|
|
|
|
data/pptx/ppt/tableStyles.xml
|
|
|
|
data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
|
|
|
|
data/pptx/ppt/slideMasters/slideMaster1.xml
|
|
|
|
data/pptx/ppt/presentation.xml
|
2018-02-17 15:40:39 +01:00
|
|
|
data/pptx/ppt/notesMasters/_rels/notesMaster1.xml.rels
|
|
|
|
data/pptx/ppt/notesMasters/notesMaster1.xml
|
|
|
|
data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
|
|
|
|
data/pptx/ppt/notesSlides/notesSlide1.xml
|
2018-02-19 00:42:32 +01:00
|
|
|
data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
|
|
|
|
data/pptx/ppt/notesSlides/notesSlide2.xml
|
2018-02-17 15:40:39 +01:00
|
|
|
data/pptx/ppt/theme/theme2.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/[Content_Types].xml
|
2015-05-29 03:15:01 +02:00
|
|
|
-- stylesheet for EPUB writer
|
|
|
|
data/epub.css
|
|
|
|
-- data for dzslides writer
|
|
|
|
data/dzslides/template.html
|
2017-03-16 22:16:41 +01:00
|
|
|
-- default abbreviations file
|
|
|
|
data/abbreviations
|
2015-05-29 03:15:01 +02:00
|
|
|
-- sample lua custom writer
|
|
|
|
data/sample.lua
|
2021-11-07 23:33:18 +01:00
|
|
|
-- sample lua custom reader
|
|
|
|
data/creole.lua
|
2017-12-06 20:45:38 +01:00
|
|
|
-- lua init script
|
|
|
|
data/init.lua
|
2015-08-14 00:24:50 +02:00
|
|
|
-- bash completion template
|
|
|
|
data/bash_completion.tpl
|
Add built-in citation support using new citeproc library.
This deprecates the use of the external pandoc-citeproc
filter; citation processing is now built in to pandoc.
* Add dependency on citeproc library.
* Add Text.Pandoc.Citeproc module (and some associated unexported
modules under Text.Pandoc.Citeproc). Exports `processCitations`.
[API change]
* Add data files needed for Text.Pandoc.Citeproc: default.csl
in the data directory, and a citeproc directory that is just
used at compile-time. Note that we've added file-embed as a mandatory
rather than a conditional depedency, because of the biblatex
localization files. We might eventually want to use readDataFile
for this, but it would take some code reorganization.
* Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it
in `processCitations`. [API change]
* Add tests from the pandoc-citeproc package as command tests (including
some tests pandoc-citeproc did not pass).
* Remove instructions for building pandoc-citeproc from CI and
release binary build instructions. We will no longer distribute
pandoc-citeproc.
* Markdown reader: tweak abbreviation support. Don't insert a
nonbreaking space after a potential abbreviation if it comes right before
a note or citation. This messes up several things, including citeproc's
moving of note citations.
* Add `csljson` as and input and output format. This allows pandoc
to convert between `csljson` and other bibliography formats,
and to generate formatted versions of CSL JSON bibliographies.
* Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API
change]
* Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API
change]
* Added `bibtex`, `biblatex` as input formats. This allows pandoc
to convert between BibLaTeX and BibTeX and other bibliography formats,
and to generated formatted versions of BibTeX/BibLaTeX bibliographies.
* Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and
`readBibLaTeX`. [API change]
* Make "standalone" implicit if output format is a bibliography format.
This is needed because pandoc readers for bibliography formats put
the bibliographic information in the `references` field of metadata;
and unless standalone is specified, metadata gets ignored.
(TODO: This needs improvement. We should trigger standalone for the
reader when the input format is bibliographic, and for the writer
when the output format is markdown.)
* Carry over `citationNoteNum` to `citationNoteNumber`. This was just
ignored in pandoc-citeproc.
* Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter.
[API change] This runs the processCitations transformation.
We need to treat it like a filter so it can be placed
in the sequence of filter runs (after some, before others).
In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`,
so this special filter may be specified either way in a defaults file
(or by `citeproc: true`, though this gives no control of positioning
relative to other filters). TODO: we need to add something to the
manual section on defaults files for this.
* Add deprecation warning if `upandoc-citeproc` filter is used.
* Add `--citeproc/-C` option to trigger citation processing.
This behaves like a filter and will be positioned
relative to filters as they appear on the command line.
* Rewrote the manual on citatations, adding a dedicated Citations
section which also includes some information formerly found in
the pandoc-citeproc man page.
* Look for CSL styles in the `csl` subdirectory of the pandoc user data
directory. This changes the old pandoc-citeproc behavior, which looked
in `~/.csl`. Users can simply symlink `~/.csl` to the `csl`
subdirectory of their pandoc user data directory if they want
the old behavior.
* Add support for CSL bibliography entry formatting to LaTeX, HTML,
Ms writers. Added CSL-related CSS to styles.html.
2020-09-07 01:25:16 +02:00
|
|
|
-- citeproc
|
|
|
|
data/default.csl
|
|
|
|
citeproc/biblatex-localization/*.lbx.strings
|
2015-05-29 03:15:01 +02:00
|
|
|
-- documentation
|
2016-07-20 14:12:57 +02:00
|
|
|
MANUAL.txt, COPYRIGHT
|
2017-09-07 19:13:40 +02:00
|
|
|
extra-source-files:
|
2015-05-29 03:15:01 +02:00
|
|
|
-- documentation
|
2017-10-18 05:30:20 +02:00
|
|
|
INSTALL.md, AUTHORS.md, README.md,
|
2019-09-28 19:46:41 +02:00
|
|
|
CONTRIBUTING.md, BUGS, changelog.md,
|
2015-07-03 07:09:04 +02:00
|
|
|
man/pandoc.1
|
2019-08-15 19:28:17 +02:00
|
|
|
-- cabal and stack build plans
|
|
|
|
cabal.project
|
2015-11-16 16:02:04 +01:00
|
|
|
stack.yaml
|
2015-07-02 17:01:22 +02:00
|
|
|
-- files needed to build man page
|
2017-11-12 00:26:24 +01:00
|
|
|
man/manfilter.lua
|
2019-12-23 05:58:02 +01:00
|
|
|
man/pandoc.1.before
|
|
|
|
man/pandoc.1.after
|
2015-07-02 17:01:22 +02:00
|
|
|
-- trypandoc
|
2014-08-18 01:11:09 +02:00
|
|
|
trypandoc/Makefile
|
|
|
|
trypandoc/index.html
|
2008-08-10 01:45:40 +02:00
|
|
|
-- tests
|
2017-02-04 12:56:30 +01:00
|
|
|
test/bodybg.gif
|
|
|
|
test/*.native
|
2017-02-04 21:31:48 +01:00
|
|
|
test/command/*.md
|
Add built-in citation support using new citeproc library.
This deprecates the use of the external pandoc-citeproc
filter; citation processing is now built in to pandoc.
* Add dependency on citeproc library.
* Add Text.Pandoc.Citeproc module (and some associated unexported
modules under Text.Pandoc.Citeproc). Exports `processCitations`.
[API change]
* Add data files needed for Text.Pandoc.Citeproc: default.csl
in the data directory, and a citeproc directory that is just
used at compile-time. Note that we've added file-embed as a mandatory
rather than a conditional depedency, because of the biblatex
localization files. We might eventually want to use readDataFile
for this, but it would take some code reorganization.
* Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it
in `processCitations`. [API change]
* Add tests from the pandoc-citeproc package as command tests (including
some tests pandoc-citeproc did not pass).
* Remove instructions for building pandoc-citeproc from CI and
release binary build instructions. We will no longer distribute
pandoc-citeproc.
* Markdown reader: tweak abbreviation support. Don't insert a
nonbreaking space after a potential abbreviation if it comes right before
a note or citation. This messes up several things, including citeproc's
moving of note citations.
* Add `csljson` as and input and output format. This allows pandoc
to convert between `csljson` and other bibliography formats,
and to generate formatted versions of CSL JSON bibliographies.
* Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API
change]
* Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API
change]
* Added `bibtex`, `biblatex` as input formats. This allows pandoc
to convert between BibLaTeX and BibTeX and other bibliography formats,
and to generated formatted versions of BibTeX/BibLaTeX bibliographies.
* Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and
`readBibLaTeX`. [API change]
* Make "standalone" implicit if output format is a bibliography format.
This is needed because pandoc readers for bibliography formats put
the bibliographic information in the `references` field of metadata;
and unless standalone is specified, metadata gets ignored.
(TODO: This needs improvement. We should trigger standalone for the
reader when the input format is bibliographic, and for the writer
when the output format is markdown.)
* Carry over `citationNoteNum` to `citationNoteNumber`. This was just
ignored in pandoc-citeproc.
* Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter.
[API change] This runs the processCitations transformation.
We need to treat it like a filter so it can be placed
in the sequence of filter runs (after some, before others).
In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`,
so this special filter may be specified either way in a defaults file
(or by `citeproc: true`, though this gives no control of positioning
relative to other filters). TODO: we need to add something to the
manual section on defaults files for this.
* Add deprecation warning if `upandoc-citeproc` filter is used.
* Add `--citeproc/-C` option to trigger citation processing.
This behaves like a filter and will be positioned
relative to filters as they appear on the command line.
* Rewrote the manual on citatations, adding a dedicated Citations
section which also includes some information formerly found in
the pandoc-citeproc man page.
* Look for CSL styles in the `csl` subdirectory of the pandoc user data
directory. This changes the old pandoc-citeproc behavior, which looked
in `~/.csl`. Users can simply symlink `~/.csl` to the `csl`
subdirectory of their pandoc user data directory if they want
the old behavior.
* Add support for CSL bibliography entry formatting to LaTeX, HTML,
Ms writers. Added CSL-related CSS to styles.html.
2020-09-07 01:25:16 +02:00
|
|
|
test/command/*.csl
|
|
|
|
test/command/biblio.bib
|
2021-05-29 21:14:37 +02:00
|
|
|
test/command/averroes.bib
|
2019-11-14 15:21:00 +01:00
|
|
|
test/command/A.txt
|
|
|
|
test/command/B.txt
|
|
|
|
test/command/C.txt
|
|
|
|
test/command/D.txt
|
2021-07-09 21:27:41 +02:00
|
|
|
test/command/three.txt
|
2020-07-21 19:20:15 +02:00
|
|
|
test/command/01.csv
|
2021-05-24 19:17:37 +02:00
|
|
|
test/command/chap1/spider.png
|
|
|
|
test/command/chap2/spider.png
|
|
|
|
test/command/chap1/text.md
|
|
|
|
test/command/chap2/text.md
|
2019-11-14 15:21:00 +01:00
|
|
|
test/command/defaults1.yaml
|
|
|
|
test/command/defaults2.yaml
|
2021-01-05 19:15:59 +01:00
|
|
|
test/command/defaults3.yaml
|
|
|
|
test/command/defaults4.yaml
|
|
|
|
test/command/defaults5.yaml
|
|
|
|
test/command/defaults6.yaml
|
|
|
|
test/command/defaults7.yaml
|
|
|
|
test/command/defaults8.yaml
|
|
|
|
test/command/defaults9.yaml
|
2017-08-11 03:26:06 +02:00
|
|
|
test/command/3533-rst-csv-tables.csv
|
2017-08-28 02:01:24 +02:00
|
|
|
test/command/3880.txt
|
2019-01-10 07:19:26 +01:00
|
|
|
test/command/5182.txt
|
2019-08-24 18:41:25 +02:00
|
|
|
test/command/5700-metadata-file-1.yml
|
|
|
|
test/command/5700-metadata-file-2.yml
|
2017-03-16 22:31:36 +01:00
|
|
|
test/command/abbrevs
|
2017-04-20 11:11:01 +02:00
|
|
|
test/command/SVG_logo-without-xml-declaration.svg
|
|
|
|
test/command/SVG_logo.svg
|
|
|
|
test/command/corrupt.svg
|
|
|
|
test/command/inkscape-cube.svg
|
2018-10-26 07:12:14 +02:00
|
|
|
test/command/lua-pandoc-state.lua
|
2017-03-27 22:03:38 +02:00
|
|
|
test/command/sub-file-chapter-1.tex
|
|
|
|
test/command/sub-file-chapter-2.tex
|
2018-06-01 18:24:26 +02:00
|
|
|
test/command/bar.tex
|
2021-08-20 16:41:50 +02:00
|
|
|
test/command/bar-endinput.tex
|
2018-09-15 16:47:53 +02:00
|
|
|
test/command/yaml-metadata.yaml
|
2022-01-08 00:57:05 +01:00
|
|
|
test/command/7813-meta.yaml
|
2017-05-14 12:45:31 +02:00
|
|
|
test/command/3510-subdoc.org
|
|
|
|
test/command/3510-export.latex
|
|
|
|
test/command/3510-src.hs
|
2017-10-17 07:03:57 +02:00
|
|
|
test/command/3971b.tex
|
2022-01-21 21:00:45 +01:00
|
|
|
test/command/5876.yaml
|
|
|
|
test/command/5876/metadata/5876.yaml
|
|
|
|
test/command/5876/metadata/command/5876.yaml
|
2022-01-27 23:59:20 +01:00
|
|
|
test/command/7861.yaml
|
|
|
|
test/command/7861/metadata/placeholder
|
2019-10-30 16:51:33 +01:00
|
|
|
test/docbook-chapter.docbook
|
2017-02-04 12:56:30 +01:00
|
|
|
test/docbook-reader.docbook
|
|
|
|
test/docbook-xref.docbook
|
|
|
|
test/html-reader.html
|
|
|
|
test/opml-reader.opml
|
2019-01-27 22:22:44 +01:00
|
|
|
test/org-select-tags.org
|
2017-02-04 12:56:30 +01:00
|
|
|
test/haddock-reader.haddock
|
|
|
|
test/insert
|
|
|
|
test/lalune.jpg
|
2018-10-17 00:34:12 +02:00
|
|
|
test/man-reader.man
|
2017-02-04 12:56:30 +01:00
|
|
|
test/movie.jpg
|
|
|
|
test/media/rId25.jpg
|
|
|
|
test/media/rId26.jpg
|
|
|
|
test/media/rId27.jpg
|
|
|
|
test/latex-reader.latex
|
|
|
|
test/textile-reader.textile
|
|
|
|
test/markdown-reader-more.txt
|
|
|
|
test/markdown-citations.txt
|
|
|
|
test/textile-reader.textile
|
|
|
|
test/mediawiki-reader.wiki
|
2017-06-19 22:15:12 +02:00
|
|
|
test/vimwiki-reader.wiki
|
2017-10-29 22:01:39 +01:00
|
|
|
test/creole-reader.txt
|
2017-02-04 12:56:30 +01:00
|
|
|
test/rst-reader.rst
|
2017-12-20 01:54:02 +01:00
|
|
|
test/jats-reader.xml
|
2019-12-18 06:07:46 +01:00
|
|
|
test/jira-reader.jira
|
2017-02-04 12:56:30 +01:00
|
|
|
test/s5-basic.html
|
|
|
|
test/s5-fancy.html
|
|
|
|
test/s5-fragment.html
|
|
|
|
test/s5-inserts.html
|
|
|
|
test/tables.context
|
|
|
|
test/tables.docbook4
|
|
|
|
test/tables.docbook5
|
2020-02-13 05:36:02 +01:00
|
|
|
test/tables.jats_archiving
|
|
|
|
test/tables.jats_articleauthoring
|
|
|
|
test/tables.jats_publishing
|
2019-06-05 23:52:23 +02:00
|
|
|
test/tables.jira
|
2017-02-04 12:56:30 +01:00
|
|
|
test/tables.dokuwiki
|
|
|
|
test/tables.zimwiki
|
|
|
|
test/tables.icml
|
|
|
|
test/tables.html4
|
|
|
|
test/tables.html5
|
|
|
|
test/tables.latex
|
|
|
|
test/tables.man
|
2017-03-15 21:04:14 +01:00
|
|
|
test/tables.ms
|
2017-02-04 12:56:30 +01:00
|
|
|
test/tables.plain
|
|
|
|
test/tables.markdown
|
2021-12-22 21:02:20 +01:00
|
|
|
test/tables.markua
|
2017-02-04 12:56:30 +01:00
|
|
|
test/tables.mediawiki
|
|
|
|
test/tables.tei
|
|
|
|
test/tables.textile
|
|
|
|
test/tables.opendocument
|
|
|
|
test/tables.org
|
|
|
|
test/tables.asciidoc
|
2020-12-18 20:27:41 +01:00
|
|
|
test/tables.asciidoctor
|
2017-02-04 12:56:30 +01:00
|
|
|
test/tables.haddock
|
|
|
|
test/tables.texinfo
|
|
|
|
test/tables.rst
|
|
|
|
test/tables.rtf
|
|
|
|
test/tables.txt
|
|
|
|
test/tables.fb2
|
2017-03-10 10:16:27 +01:00
|
|
|
test/tables.muse
|
2017-12-27 19:48:19 +01:00
|
|
|
test/tables.custom
|
2019-05-12 16:37:37 +02:00
|
|
|
test/tables.xwiki
|
2020-09-12 20:44:15 +02:00
|
|
|
test/tables/*.html4
|
|
|
|
test/tables/*.html5
|
2020-12-21 03:04:54 +01:00
|
|
|
test/tables/*.latex
|
2020-09-12 20:44:15 +02:00
|
|
|
test/tables/*.native
|
2020-12-18 17:02:36 +01:00
|
|
|
test/tables/*.jats_archiving
|
2017-02-04 12:56:30 +01:00
|
|
|
test/testsuite.txt
|
|
|
|
test/writer.latex
|
|
|
|
test/writer.context
|
|
|
|
test/writer.docbook4
|
|
|
|
test/writer.docbook5
|
2020-02-13 05:36:02 +01:00
|
|
|
test/writer.jats_archiving
|
|
|
|
test/writer.jats_articleauthoring
|
|
|
|
test/writer.jats_publishing
|
2019-06-05 23:52:23 +02:00
|
|
|
test/writer.jira
|
2017-02-04 12:56:30 +01:00
|
|
|
test/writer.html4
|
|
|
|
test/writer.html5
|
|
|
|
test/writer.man
|
2017-03-15 21:04:14 +01:00
|
|
|
test/writer.ms
|
2017-02-04 12:56:30 +01:00
|
|
|
test/writer.markdown
|
2021-12-22 21:02:20 +01:00
|
|
|
test/writer.markua
|
2017-02-04 12:56:30 +01:00
|
|
|
test/writer.plain
|
|
|
|
test/writer.mediawiki
|
|
|
|
test/writer.textile
|
|
|
|
test/writer.opendocument
|
|
|
|
test/writer.org
|
|
|
|
test/writer.asciidoc
|
2020-12-18 20:27:41 +01:00
|
|
|
test/writer.asciidoctor
|
2017-02-04 12:56:30 +01:00
|
|
|
test/writer.haddock
|
|
|
|
test/writer.rst
|
|
|
|
test/writer.icml
|
|
|
|
test/writer.rtf
|
|
|
|
test/writer.tei
|
|
|
|
test/writer.texinfo
|
|
|
|
test/writer.fb2
|
|
|
|
test/writer.opml
|
|
|
|
test/writer.dokuwiki
|
|
|
|
test/writer.zimwiki
|
2019-04-03 01:45:28 +02:00
|
|
|
test/writer.xwiki
|
2017-03-10 10:16:27 +01:00
|
|
|
test/writer.muse
|
2017-12-27 19:48:19 +01:00
|
|
|
test/writer.custom
|
2017-02-04 12:56:30 +01:00
|
|
|
test/writers-lang-and-dir.latex
|
|
|
|
test/writers-lang-and-dir.context
|
|
|
|
test/dokuwiki_inline_formatting.dokuwiki
|
|
|
|
test/lhs-test.markdown
|
|
|
|
test/lhs-test.markdown+lhs
|
|
|
|
test/lhs-test.rst
|
|
|
|
test/lhs-test.rst+lhs
|
|
|
|
test/lhs-test.latex
|
|
|
|
test/lhs-test.latex+lhs
|
|
|
|
test/lhs-test.html
|
|
|
|
test/lhs-test.html+lhs
|
|
|
|
test/lhs-test.fragment.html+lhs
|
|
|
|
test/pipe-tables.txt
|
|
|
|
test/dokuwiki_external_images.dokuwiki
|
|
|
|
test/dokuwiki_multiblock_table.dokuwiki
|
|
|
|
test/fb2/*.markdown
|
|
|
|
test/fb2/*.fb2
|
|
|
|
test/fb2/images-embedded.html
|
|
|
|
test/fb2/images-embedded.fb2
|
|
|
|
test/fb2/test-small.png
|
2018-04-26 21:33:18 +02:00
|
|
|
test/fb2/reader/*.fb2
|
|
|
|
test/fb2/reader/*.native
|
2017-02-04 12:56:30 +01:00
|
|
|
test/fb2/test.jpg
|
|
|
|
test/docx/*.docx
|
2018-01-27 14:00:25 +01:00
|
|
|
test/docx/golden/*.docx
|
2017-02-04 12:56:30 +01:00
|
|
|
test/docx/*.native
|
|
|
|
test/epub/*.epub
|
|
|
|
test/epub/*.native
|
2021-07-31 01:23:46 +02:00
|
|
|
test/rtf/*.native
|
|
|
|
test/rtf/*.rtf
|
Powerpoint writer tests: New test framework for pptx.
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).
2018-01-21 06:25:03 +01:00
|
|
|
test/pptx/*.pptx
|
2021-11-10 07:56:31 +01:00
|
|
|
test/pptx/**/*.pptx
|
|
|
|
test/pptx/**/*.native
|
2021-12-11 01:18:35 +01:00
|
|
|
test/ipynb/*.native
|
2019-02-09 23:53:30 +01:00
|
|
|
test/ipynb/*.in.native
|
|
|
|
test/ipynb/*.out.native
|
|
|
|
test/ipynb/*.ipynb
|
2021-12-11 01:18:35 +01:00
|
|
|
test/ipynb/*.out.ipynb
|
|
|
|
test/ipynb/*.out.html
|
2017-02-04 12:56:30 +01:00
|
|
|
test/txt2tags.t2t
|
|
|
|
test/twiki-reader.twiki
|
2017-07-21 10:09:54 +02:00
|
|
|
test/tikiwiki-reader.tikiwiki
|
2017-02-04 12:56:30 +01:00
|
|
|
test/odt/odt/*.odt
|
|
|
|
test/odt/markdown/*.md
|
|
|
|
test/odt/native/*.native
|
2017-04-14 23:24:52 +02:00
|
|
|
test/lua/*.lua
|
2019-05-19 15:26:00 +02:00
|
|
|
test/lua/module/*.lua
|
2022-01-09 23:27:54 +01:00
|
|
|
test/lua/module/partial.test
|
2021-12-30 16:53:34 +01:00
|
|
|
test/lua/module/tiny.epub
|
2017-09-07 19:13:40 +02:00
|
|
|
source-repository head
|
2011-02-05 19:34:55 +01:00
|
|
|
type: git
|
2011-02-05 19:38:25 +01:00
|
|
|
location: git://github.com/jgm/pandoc.git
|
2011-02-05 19:34:55 +01:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
flag embed_data_files
|
2012-12-30 02:44:02 +01:00
|
|
|
Description: Embed data files in binary for relocatable executable.
|
|
|
|
Default: False
|
2006-10-17 16:22:29 +02:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
flag trypandoc
|
2014-08-18 01:11:09 +02:00
|
|
|
Description: Build trypandoc cgi executable.
|
|
|
|
Default: False
|
|
|
|
|
2021-02-07 17:33:43 +01:00
|
|
|
common common-options
|
|
|
|
default-language: Haskell2010
|
2021-11-10 08:43:12 +01:00
|
|
|
build-depends: base >= 4.12 && < 5
|
2021-02-07 17:33:43 +01:00
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
|
|
|
-Wincomplete-record-updates
|
|
|
|
-Wnoncanonical-monad-instances
|
2021-11-10 08:43:12 +01:00
|
|
|
-Wcpp-undef
|
|
|
|
-Wincomplete-uni-patterns
|
|
|
|
-Widentities
|
|
|
|
-Wpartial-fields
|
|
|
|
-Wmissing-signatures
|
|
|
|
-fhide-source-paths
|
|
|
|
-- -Wmissing-export-lists
|
2021-02-07 17:33:43 +01:00
|
|
|
|
2021-11-10 08:43:12 +01:00
|
|
|
if impl(ghc >= 8.10)
|
|
|
|
ghc-options: -Wunused-packages
|
|
|
|
|
|
|
|
if impl(ghc >= 9.0)
|
|
|
|
ghc-options: -Winvalid-haddock
|
2021-02-07 17:33:43 +01:00
|
|
|
|
|
|
|
if os(windows)
|
|
|
|
cpp-options: -D_WINDOWS
|
|
|
|
|
|
|
|
common common-executable
|
|
|
|
import: common-options
|
|
|
|
build-depends: pandoc
|
2021-03-19 01:18:31 +01:00
|
|
|
ghc-options: -rtsopts -with-rtsopts=-A8m -threaded
|
2021-02-07 17:33:43 +01:00
|
|
|
|
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
library
|
2021-02-07 17:33:43 +01:00
|
|
|
import: common-options
|
|
|
|
build-depends: Glob >= 0.7 && < 0.11,
|
2020-09-21 18:28:25 +02:00
|
|
|
JuicyPixels >= 3.1.6.1 && < 3.4,
|
|
|
|
SHA >= 1.6 && < 1.7,
|
2021-10-13 04:39:21 +02:00
|
|
|
aeson >= 0.7 && < 2.1,
|
2021-10-24 01:17:49 +02:00
|
|
|
aeson-pretty >= 0.8.9 && < 0.9,
|
2021-05-01 18:52:24 +02:00
|
|
|
array >= 0.5 && < 0.6,
|
2021-03-24 22:36:29 +01:00
|
|
|
attoparsec >= 0.12 && < 0.15,
|
2021-02-18 16:28:20 +01:00
|
|
|
base64-bytestring >= 0.1 && < 1.3,
|
2020-12-13 19:31:21 +01:00
|
|
|
binary >= 0.7 && < 0.11,
|
2020-09-21 18:28:25 +02:00
|
|
|
blaze-html >= 0.9 && < 0.10,
|
|
|
|
blaze-markup >= 0.8 && < 0.9,
|
2020-09-24 07:27:20 +02:00
|
|
|
bytestring >= 0.9 && < 0.12,
|
2020-09-21 18:28:25 +02:00
|
|
|
case-insensitive >= 1.2 && < 1.3,
|
2022-01-12 08:52:57 +01:00
|
|
|
citeproc >= 0.6.0.1 && < 0.7,
|
2021-10-23 02:31:40 +02:00
|
|
|
commonmark >= 0.2.1.1 && < 0.3,
|
2022-01-12 18:58:45 +01:00
|
|
|
commonmark-extensions >= 0.2.3 && < 0.3,
|
2022-01-14 19:07:06 +01:00
|
|
|
commonmark-pandoc >= 0.2.1.2 && < 0.3,
|
2020-09-21 18:28:25 +02:00
|
|
|
connection >= 0.3.1,
|
|
|
|
containers >= 0.4.2.1 && < 0.7,
|
|
|
|
data-default >= 0.4 && < 0.8,
|
|
|
|
deepseq >= 1.3 && < 1.5,
|
|
|
|
directory >= 1.2.3 && < 1.4,
|
2021-10-12 06:05:27 +02:00
|
|
|
doclayout >= 0.3.1.1 && < 0.4,
|
2021-07-18 19:55:27 +02:00
|
|
|
doctemplates >= 0.10 && < 0.11,
|
2020-09-21 18:28:25 +02:00
|
|
|
emojis >= 0.1 && < 0.2,
|
|
|
|
exceptions >= 0.8 && < 0.11,
|
Add built-in citation support using new citeproc library.
This deprecates the use of the external pandoc-citeproc
filter; citation processing is now built in to pandoc.
* Add dependency on citeproc library.
* Add Text.Pandoc.Citeproc module (and some associated unexported
modules under Text.Pandoc.Citeproc). Exports `processCitations`.
[API change]
* Add data files needed for Text.Pandoc.Citeproc: default.csl
in the data directory, and a citeproc directory that is just
used at compile-time. Note that we've added file-embed as a mandatory
rather than a conditional depedency, because of the biblatex
localization files. We might eventually want to use readDataFile
for this, but it would take some code reorganization.
* Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it
in `processCitations`. [API change]
* Add tests from the pandoc-citeproc package as command tests (including
some tests pandoc-citeproc did not pass).
* Remove instructions for building pandoc-citeproc from CI and
release binary build instructions. We will no longer distribute
pandoc-citeproc.
* Markdown reader: tweak abbreviation support. Don't insert a
nonbreaking space after a potential abbreviation if it comes right before
a note or citation. This messes up several things, including citeproc's
moving of note citations.
* Add `csljson` as and input and output format. This allows pandoc
to convert between `csljson` and other bibliography formats,
and to generate formatted versions of CSL JSON bibliographies.
* Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API
change]
* Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API
change]
* Added `bibtex`, `biblatex` as input formats. This allows pandoc
to convert between BibLaTeX and BibTeX and other bibliography formats,
and to generated formatted versions of BibTeX/BibLaTeX bibliographies.
* Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and
`readBibLaTeX`. [API change]
* Make "standalone" implicit if output format is a bibliography format.
This is needed because pandoc readers for bibliography formats put
the bibliographic information in the `references` field of metadata;
and unless standalone is specified, metadata gets ignored.
(TODO: This needs improvement. We should trigger standalone for the
reader when the input format is bibliographic, and for the writer
when the output format is markdown.)
* Carry over `citationNoteNum` to `citationNoteNumber`. This was just
ignored in pandoc-citeproc.
* Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter.
[API change] This runs the processCitations transformation.
We need to treat it like a filter so it can be placed
in the sequence of filter runs (after some, before others).
In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`,
so this special filter may be specified either way in a defaults file
(or by `citeproc: true`, though this gives no control of positioning
relative to other filters). TODO: we need to add something to the
manual section on defaults files for this.
* Add deprecation warning if `upandoc-citeproc` filter is used.
* Add `--citeproc/-C` option to trigger citation processing.
This behaves like a filter and will be positioned
relative to filters as they appear on the command line.
* Rewrote the manual on citatations, adding a dedicated Citations
section which also includes some information formerly found in
the pandoc-citeproc man page.
* Look for CSL styles in the `csl` subdirectory of the pandoc user data
directory. This changes the old pandoc-citeproc behavior, which looked
in `~/.csl`. Users can simply symlink `~/.csl` to the `csl`
subdirectory of their pandoc user data directory if they want
the old behavior.
* Add support for CSL bibliography entry formatting to LaTeX, HTML,
Ms writers. Added CSL-related CSS to styles.html.
2020-09-07 01:25:16 +02:00
|
|
|
file-embed >= 0.0 && < 0.1,
|
2020-09-21 18:28:25 +02:00
|
|
|
filepath >= 1.1 && < 1.5,
|
2021-05-25 17:49:48 +02:00
|
|
|
haddock-library >= 1.10 && < 1.11,
|
2022-01-02 11:04:10 +01:00
|
|
|
hslua >= 2.1 && < 2.2,
|
|
|
|
hslua-aeson >= 2.1 && < 2.2,
|
|
|
|
hslua-marshalling >= 2.1 && < 2.2,
|
2021-10-20 21:40:07 +02:00
|
|
|
hslua-module-path >= 1.0 && < 1.1,
|
|
|
|
hslua-module-system >= 1.0 && < 1.1,
|
|
|
|
hslua-module-text >= 1.0 && < 1.1,
|
2021-10-21 11:11:27 +02:00
|
|
|
hslua-module-version >= 1.0 && < 1.1,
|
2020-09-21 18:28:25 +02:00
|
|
|
http-client >= 0.4.30 && < 0.8,
|
|
|
|
http-client-tls >= 0.2.4 && < 0.4,
|
|
|
|
http-types >= 0.8 && < 0.13,
|
2021-12-07 08:39:08 +01:00
|
|
|
ipynb >= 0.2 && < 0.3,
|
2021-05-25 16:54:42 +02:00
|
|
|
jira-wiki-markup >= 1.4 && < 1.5,
|
2021-11-08 12:14:44 +01:00
|
|
|
lpeg >= 1.0.1 && < 1.1,
|
2020-09-21 18:28:25 +02:00
|
|
|
mtl >= 2.2 && < 2.3,
|
|
|
|
network >= 2.6,
|
2021-05-21 19:51:35 +02:00
|
|
|
network-uri >= 2.6 && < 2.8,
|
2022-01-14 10:48:24 +01:00
|
|
|
pandoc-lua-marshal >= 0.1.3.1 && < 0.2,
|
2021-10-22 23:33:30 +02:00
|
|
|
pandoc-types >= 1.22.1 && < 1.23,
|
2020-09-21 18:28:25 +02:00
|
|
|
parsec >= 3.1 && < 3.2,
|
Switch back from HsYAML to yaml.
Reasons:
- Performance: HsYAML is around 20 times slower in parsing
large YAML bibliographies (#6084).
- An issue was submitted to HsYAML, but it hasn't gotten
any attention. HsYAML seems borderline unmaintained; it hasn't
had a commit in over a year.
- Unfortunately this goes back on our attempts to free ourselves
from C dependencies (#4535). But I don't see a better alternative
until a better pure Haskell parser is available.
Closes #6084.
Notes:
- We've removed the FromYAML instances for all types that had
them, since this is a HsYAML-specific typeclass [API change].
(The yaml package just uses From/ToJSON.)
- Unlike HsYAML (in the configuration we were using), yaml
parses 'Y', 'N', 'Yes', 'No', 'On', 'Off' as boolean values.
Users may need to quote these when they are meant to be
interpreted as strings. Similarly, 'null' is parsed as
a YAML null value (and will be treated as an empty string
by pandoc rather than the string 'null'). Quoting it will
force it to be interpreted as a string.
- Some tests had to be adjusted accordingly.
- Pandoc now behaves better when the YAML metadata contains
escaping errors: instead of just falling back on treating
the section as a table, it raises a YAML parsing error.
2021-10-25 17:48:18 +02:00
|
|
|
pretty >= 1.1 && < 1.2,
|
|
|
|
pretty-show >= 1.10 && < 1.11,
|
2020-09-21 18:28:25 +02:00
|
|
|
process >= 1.2.3 && < 1.7,
|
2021-03-18 02:57:32 +01:00
|
|
|
random >= 1 && < 1.3,
|
2021-03-19 05:37:56 +01:00
|
|
|
safe >= 0.3.18 && < 0.4,
|
2020-09-21 18:28:25 +02:00
|
|
|
scientific >= 0.3 && < 0.4,
|
2022-01-20 00:44:27 +01:00
|
|
|
skylighting >= 0.12.2 && < 0.13,
|
|
|
|
skylighting-core >= 0.12.2 && < 0.13,
|
2020-09-21 18:28:25 +02:00
|
|
|
split >= 0.2 && < 0.3,
|
|
|
|
syb >= 0.1 && < 0.8,
|
|
|
|
tagsoup >= 0.14.6 && < 0.15,
|
|
|
|
temporary >= 1.1 && < 1.4,
|
2022-01-12 04:19:27 +01:00
|
|
|
texmath >= 0.12.4 && < 0.12.5,
|
2022-01-09 23:29:07 +01:00
|
|
|
text >= 1.1.1.0 && < 2.1,
|
2020-09-21 18:28:25 +02:00
|
|
|
text-conversions >= 0.3 && < 0.4,
|
2021-10-31 07:48:06 +01:00
|
|
|
time >= 1.5 && < 1.14,
|
Switch back from HsYAML to yaml.
Reasons:
- Performance: HsYAML is around 20 times slower in parsing
large YAML bibliographies (#6084).
- An issue was submitted to HsYAML, but it hasn't gotten
any attention. HsYAML seems borderline unmaintained; it hasn't
had a commit in over a year.
- Unfortunately this goes back on our attempts to free ourselves
from C dependencies (#4535). But I don't see a better alternative
until a better pure Haskell parser is available.
Closes #6084.
Notes:
- We've removed the FromYAML instances for all types that had
them, since this is a HsYAML-specific typeclass [API change].
(The yaml package just uses From/ToJSON.)
- Unlike HsYAML (in the configuration we were using), yaml
parses 'Y', 'N', 'Yes', 'No', 'On', 'Off' as boolean values.
Users may need to quote these when they are meant to be
interpreted as strings. Similarly, 'null' is parsed as
a YAML null value (and will be treated as an empty string
by pandoc rather than the string 'null'). Quoting it will
force it to be interpreted as a string.
- Some tests had to be adjusted accordingly.
- Pandoc now behaves better when the YAML metadata contains
escaping errors: instead of just falling back on treating
the section as a table, it raises a YAML parsing error.
2021-10-25 17:48:18 +02:00
|
|
|
unicode-collation >= 0.1.1 && < 0.2,
|
2021-12-02 18:00:33 +01:00
|
|
|
unicode-transforms >= 0.3 && < 0.5,
|
2020-09-21 18:28:25 +02:00
|
|
|
xml >= 1.3.12 && < 1.4,
|
2021-04-15 23:30:33 +02:00
|
|
|
xml-conduit >= 1.9.1.1 && < 1.10,
|
Switch back from HsYAML to yaml.
Reasons:
- Performance: HsYAML is around 20 times slower in parsing
large YAML bibliographies (#6084).
- An issue was submitted to HsYAML, but it hasn't gotten
any attention. HsYAML seems borderline unmaintained; it hasn't
had a commit in over a year.
- Unfortunately this goes back on our attempts to free ourselves
from C dependencies (#4535). But I don't see a better alternative
until a better pure Haskell parser is available.
Closes #6084.
Notes:
- We've removed the FromYAML instances for all types that had
them, since this is a HsYAML-specific typeclass [API change].
(The yaml package just uses From/ToJSON.)
- Unlike HsYAML (in the configuration we were using), yaml
parses 'Y', 'N', 'Yes', 'No', 'On', 'Off' as boolean values.
Users may need to quote these when they are meant to be
interpreted as strings. Similarly, 'null' is parsed as
a YAML null value (and will be treated as an empty string
by pandoc rather than the string 'null'). Quoting it will
force it to be interpreted as a string.
- Some tests had to be adjusted accordingly.
- Pandoc now behaves better when the YAML metadata contains
escaping errors: instead of just falling back on treating
the section as a table, it raises a YAML parsing error.
2021-10-25 17:48:18 +02:00
|
|
|
yaml >= 0.11 && < 0.12,
|
2020-09-21 18:28:25 +02:00
|
|
|
zip-archive >= 0.2.3.4 && < 0.5,
|
Switch back from HsYAML to yaml.
Reasons:
- Performance: HsYAML is around 20 times slower in parsing
large YAML bibliographies (#6084).
- An issue was submitted to HsYAML, but it hasn't gotten
any attention. HsYAML seems borderline unmaintained; it hasn't
had a commit in over a year.
- Unfortunately this goes back on our attempts to free ourselves
from C dependencies (#4535). But I don't see a better alternative
until a better pure Haskell parser is available.
Closes #6084.
Notes:
- We've removed the FromYAML instances for all types that had
them, since this is a HsYAML-specific typeclass [API change].
(The yaml package just uses From/ToJSON.)
- Unlike HsYAML (in the configuration we were using), yaml
parses 'Y', 'N', 'Yes', 'No', 'On', 'Off' as boolean values.
Users may need to quote these when they are meant to be
interpreted as strings. Similarly, 'null' is parsed as
a YAML null value (and will be treated as an empty string
by pandoc rather than the string 'null'). Quoting it will
force it to be interpreted as a string.
- Some tests had to be adjusted accordingly.
- Pandoc now behaves better when the YAML metadata contains
escaping errors: instead of just falling back on treating
the section as a table, it raises a YAML parsing error.
2021-10-25 17:48:18 +02:00
|
|
|
zlib >= 0.5 && < 0.7
|
2021-02-07 17:33:43 +01:00
|
|
|
if !os(windows)
|
2017-09-07 19:13:40 +02:00
|
|
|
build-depends: unix >= 2.4 && < 2.8
|
2012-12-30 02:44:02 +01:00
|
|
|
if flag(embed_data_files)
|
|
|
|
cpp-options: -DEMBED_DATA_FILES
|
2013-01-23 17:33:45 +01:00
|
|
|
other-modules: Text.Pandoc.Data
|
2020-04-17 18:50:30 +02:00
|
|
|
hs-source-dirs: src
|
2010-07-21 20:24:50 +02:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
exposed-modules: Text.Pandoc,
|
2017-02-05 21:58:45 +01:00
|
|
|
Text.Pandoc.App,
|
2012-07-25 19:18:57 +02:00
|
|
|
Text.Pandoc.Options,
|
2017-01-14 10:29:12 +01:00
|
|
|
Text.Pandoc.Extensions,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Shared,
|
Change reader types, allowing better tracking of source positions.
Previously, when multiple file arguments were provided, pandoc
simply concatenated them and passed the contents to the readers,
which took a Text argument.
As a result, the readers had no way of knowing which file
was the source of any particular bit of text. This meant that
we couldn't report accurate source positions on errors or
include accurate source positions as attributes in the AST.
More seriously, it meant that we couldn't resolve resource
paths relative to the files containing them
(see e.g. #5501, #6632, #6384, #3752).
Add Text.Pandoc.Sources (exported module), with a `Sources` type
and a `ToSources` class. A `Sources` wraps a list of `(SourcePos,
Text)` pairs. [API change] A parsec `Stream` instance is provided for
`Sources`. The module also exports versions of parsec's `satisfy` and
other Char parsers that track source positions accurately from a
`Sources` stream (or any instance of the new `UpdateSourcePos` class).
Text.Pandoc.Parsing now exports these modified Char parsers instead of
the ones parsec provides. Modified parsers to use a `Sources` as stream
[API change].
The readers that previously took a `Text` argument have been
modified to take any instance of `ToSources`. So, they may still
be used with a `Text`, but they can also be used with a `Sources`
object.
In Text.Pandoc.Error, modified the constructor PandocParsecError
to take a `Sources` rather than a `Text` as first argument,
so parse error locations can be accurately reported.
T.P.Error: showPos, do not print "-" as source name.
2021-05-01 22:17:45 +02:00
|
|
|
Text.Pandoc.Sources,
|
2014-07-31 21:00:21 +02:00
|
|
|
Text.Pandoc.MediaBag,
|
2015-02-18 13:55:04 +01:00
|
|
|
Text.Pandoc.Error,
|
2018-10-26 23:18:46 +02:00
|
|
|
Text.Pandoc.Filter,
|
2017-04-17 10:51:37 +02:00
|
|
|
Text.Pandoc.Readers,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Readers.HTML,
|
|
|
|
Text.Pandoc.Readers.LaTeX,
|
|
|
|
Text.Pandoc.Readers.Markdown,
|
2015-03-17 06:20:42 +01:00
|
|
|
Text.Pandoc.Readers.CommonMark,
|
2017-10-27 01:19:28 +02:00
|
|
|
Text.Pandoc.Readers.Creole,
|
Add built-in citation support using new citeproc library.
This deprecates the use of the external pandoc-citeproc
filter; citation processing is now built in to pandoc.
* Add dependency on citeproc library.
* Add Text.Pandoc.Citeproc module (and some associated unexported
modules under Text.Pandoc.Citeproc). Exports `processCitations`.
[API change]
* Add data files needed for Text.Pandoc.Citeproc: default.csl
in the data directory, and a citeproc directory that is just
used at compile-time. Note that we've added file-embed as a mandatory
rather than a conditional depedency, because of the biblatex
localization files. We might eventually want to use readDataFile
for this, but it would take some code reorganization.
* Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it
in `processCitations`. [API change]
* Add tests from the pandoc-citeproc package as command tests (including
some tests pandoc-citeproc did not pass).
* Remove instructions for building pandoc-citeproc from CI and
release binary build instructions. We will no longer distribute
pandoc-citeproc.
* Markdown reader: tweak abbreviation support. Don't insert a
nonbreaking space after a potential abbreviation if it comes right before
a note or citation. This messes up several things, including citeproc's
moving of note citations.
* Add `csljson` as and input and output format. This allows pandoc
to convert between `csljson` and other bibliography formats,
and to generate formatted versions of CSL JSON bibliographies.
* Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API
change]
* Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API
change]
* Added `bibtex`, `biblatex` as input formats. This allows pandoc
to convert between BibLaTeX and BibTeX and other bibliography formats,
and to generated formatted versions of BibTeX/BibLaTeX bibliographies.
* Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and
`readBibLaTeX`. [API change]
* Make "standalone" implicit if output format is a bibliography format.
This is needed because pandoc readers for bibliography formats put
the bibliographic information in the `references` field of metadata;
and unless standalone is specified, metadata gets ignored.
(TODO: This needs improvement. We should trigger standalone for the
reader when the input format is bibliographic, and for the writer
when the output format is markdown.)
* Carry over `citationNoteNum` to `citationNoteNumber`. This was just
ignored in pandoc-citeproc.
* Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter.
[API change] This runs the processCitations transformation.
We need to treat it like a filter so it can be placed
in the sequence of filter runs (after some, before others).
In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`,
so this special filter may be specified either way in a defaults file
(or by `citeproc: true`, though this gives no control of positioning
relative to other filters). TODO: we need to add something to the
manual section on defaults files for this.
* Add deprecation warning if `upandoc-citeproc` filter is used.
* Add `--citeproc/-C` option to trigger citation processing.
This behaves like a filter and will be positioned
relative to filters as they appear on the command line.
* Rewrote the manual on citatations, adding a dedicated Citations
section which also includes some information formerly found in
the pandoc-citeproc man page.
* Look for CSL styles in the `csl` subdirectory of the pandoc user data
directory. This changes the old pandoc-citeproc behavior, which looked
in `~/.csl`. Users can simply symlink `~/.csl` to the `csl`
subdirectory of their pandoc user data directory if they want
the old behavior.
* Add support for CSL bibliography entry formatting to LaTeX, HTML,
Ms writers. Added CSL-related CSS to styles.html.
2020-09-07 01:25:16 +02:00
|
|
|
Text.Pandoc.Readers.BibTeX,
|
|
|
|
Text.Pandoc.Readers.CslJson,
|
2012-09-10 19:02:12 +02:00
|
|
|
Text.Pandoc.Readers.MediaWiki,
|
2017-06-19 22:15:12 +02:00
|
|
|
Text.Pandoc.Readers.Vimwiki,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Readers.RST,
|
2014-03-04 00:33:25 +01:00
|
|
|
Text.Pandoc.Readers.Org,
|
2012-04-15 01:44:21 +02:00
|
|
|
Text.Pandoc.Readers.DocBook,
|
2017-12-20 01:54:02 +01:00
|
|
|
Text.Pandoc.Readers.JATS,
|
2019-12-18 06:07:46 +01:00
|
|
|
Text.Pandoc.Readers.Jira,
|
2013-03-18 01:43:51 +01:00
|
|
|
Text.Pandoc.Readers.OPML,
|
2010-10-03 20:55:46 +02:00
|
|
|
Text.Pandoc.Readers.Textile,
|
2011-01-20 03:36:27 +01:00
|
|
|
Text.Pandoc.Readers.Native,
|
2013-03-28 22:53:10 +01:00
|
|
|
Text.Pandoc.Readers.Haddock,
|
2014-07-07 20:21:38 +02:00
|
|
|
Text.Pandoc.Readers.TWiki,
|
2017-07-21 10:09:54 +02:00
|
|
|
Text.Pandoc.Readers.TikiWiki,
|
2015-06-28 23:39:17 +02:00
|
|
|
Text.Pandoc.Readers.Txt2Tags,
|
2014-06-17 07:44:40 +02:00
|
|
|
Text.Pandoc.Readers.Docx,
|
2015-07-23 09:06:14 +02:00
|
|
|
Text.Pandoc.Readers.Odt,
|
2014-07-30 01:57:20 +02:00
|
|
|
Text.Pandoc.Readers.EPUB,
|
2017-06-19 10:46:02 +02:00
|
|
|
Text.Pandoc.Readers.Muse,
|
2018-02-25 01:34:17 +01:00
|
|
|
Text.Pandoc.Readers.Man,
|
2018-04-26 21:33:18 +02:00
|
|
|
Text.Pandoc.Readers.FB2,
|
2019-01-07 00:06:32 +01:00
|
|
|
Text.Pandoc.Readers.DokuWiki,
|
2019-01-13 16:56:55 +01:00
|
|
|
Text.Pandoc.Readers.Ipynb,
|
2020-02-01 06:14:21 +01:00
|
|
|
Text.Pandoc.Readers.CSV,
|
2021-07-31 01:23:46 +02:00
|
|
|
Text.Pandoc.Readers.RTF,
|
2021-11-06 06:10:29 +01:00
|
|
|
Text.Pandoc.Readers.Custom,
|
2017-04-17 11:02:38 +02:00
|
|
|
Text.Pandoc.Writers,
|
2010-07-04 22:55:48 +02:00
|
|
|
Text.Pandoc.Writers.Native,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Docbook,
|
2017-03-28 09:51:30 +02:00
|
|
|
Text.Pandoc.Writers.JATS,
|
2013-03-20 04:35:14 +01:00
|
|
|
Text.Pandoc.Writers.OPML,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.HTML,
|
2019-01-13 16:56:55 +01:00
|
|
|
Text.Pandoc.Writers.Ipynb,
|
2013-12-01 21:11:39 +01:00
|
|
|
Text.Pandoc.Writers.ICML,
|
2019-06-05 23:52:23 +02:00
|
|
|
Text.Pandoc.Writers.Jira,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.LaTeX,
|
|
|
|
Text.Pandoc.Writers.ConTeXt,
|
2008-03-19 19:45:51 +01:00
|
|
|
Text.Pandoc.Writers.OpenDocument,
|
2008-02-24 21:40:17 +01:00
|
|
|
Text.Pandoc.Writers.Texinfo,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Man,
|
2017-03-15 21:04:14 +01:00
|
|
|
Text.Pandoc.Writers.Ms,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Markdown,
|
2015-03-23 19:35:44 +01:00
|
|
|
Text.Pandoc.Writers.CommonMark,
|
2014-06-19 00:32:13 +02:00
|
|
|
Text.Pandoc.Writers.Haddock,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.RST,
|
2010-12-04 11:27:39 +01:00
|
|
|
Text.Pandoc.Writers.Org,
|
2011-11-19 06:09:23 +01:00
|
|
|
Text.Pandoc.Writers.AsciiDoc,
|
2013-04-03 06:08:38 +02:00
|
|
|
Text.Pandoc.Writers.Custom,
|
2010-04-10 21:38:07 +02:00
|
|
|
Text.Pandoc.Writers.Textile,
|
2008-07-27 05:25:51 +02:00
|
|
|
Text.Pandoc.Writers.MediaWiki,
|
2013-07-14 14:40:27 +02:00
|
|
|
Text.Pandoc.Writers.DokuWiki,
|
2019-04-03 01:27:02 +02:00
|
|
|
Text.Pandoc.Writers.XWiki,
|
2016-06-29 08:11:42 +02:00
|
|
|
Text.Pandoc.Writers.ZimWiki,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.RTF,
|
2010-07-03 05:12:14 +02:00
|
|
|
Text.Pandoc.Writers.ODT,
|
2012-01-03 21:10:10 +01:00
|
|
|
Text.Pandoc.Writers.Docx,
|
2017-12-10 17:05:21 +01:00
|
|
|
Text.Pandoc.Writers.Powerpoint,
|
2010-07-03 07:07:00 +02:00
|
|
|
Text.Pandoc.Writers.EPUB,
|
2012-04-25 02:40:33 +02:00
|
|
|
Text.Pandoc.Writers.FB2,
|
2016-01-22 00:31:12 +01:00
|
|
|
Text.Pandoc.Writers.TEI,
|
2017-03-10 10:16:27 +01:00
|
|
|
Text.Pandoc.Writers.Muse,
|
Add built-in citation support using new citeproc library.
This deprecates the use of the external pandoc-citeproc
filter; citation processing is now built in to pandoc.
* Add dependency on citeproc library.
* Add Text.Pandoc.Citeproc module (and some associated unexported
modules under Text.Pandoc.Citeproc). Exports `processCitations`.
[API change]
* Add data files needed for Text.Pandoc.Citeproc: default.csl
in the data directory, and a citeproc directory that is just
used at compile-time. Note that we've added file-embed as a mandatory
rather than a conditional depedency, because of the biblatex
localization files. We might eventually want to use readDataFile
for this, but it would take some code reorganization.
* Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it
in `processCitations`. [API change]
* Add tests from the pandoc-citeproc package as command tests (including
some tests pandoc-citeproc did not pass).
* Remove instructions for building pandoc-citeproc from CI and
release binary build instructions. We will no longer distribute
pandoc-citeproc.
* Markdown reader: tweak abbreviation support. Don't insert a
nonbreaking space after a potential abbreviation if it comes right before
a note or citation. This messes up several things, including citeproc's
moving of note citations.
* Add `csljson` as and input and output format. This allows pandoc
to convert between `csljson` and other bibliography formats,
and to generate formatted versions of CSL JSON bibliographies.
* Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API
change]
* Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API
change]
* Added `bibtex`, `biblatex` as input formats. This allows pandoc
to convert between BibLaTeX and BibTeX and other bibliography formats,
and to generated formatted versions of BibTeX/BibLaTeX bibliographies.
* Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and
`readBibLaTeX`. [API change]
* Make "standalone" implicit if output format is a bibliography format.
This is needed because pandoc readers for bibliography formats put
the bibliographic information in the `references` field of metadata;
and unless standalone is specified, metadata gets ignored.
(TODO: This needs improvement. We should trigger standalone for the
reader when the input format is bibliographic, and for the writer
when the output format is markdown.)
* Carry over `citationNoteNum` to `citationNoteNumber`. This was just
ignored in pandoc-citeproc.
* Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter.
[API change] This runs the processCitations transformation.
We need to treat it like a filter so it can be placed
in the sequence of filter runs (after some, before others).
In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`,
so this special filter may be specified either way in a defaults file
(or by `citeproc: true`, though this gives no control of positioning
relative to other filters). TODO: we need to add something to the
manual section on defaults files for this.
* Add deprecation warning if `upandoc-citeproc` filter is used.
* Add `--citeproc/-C` option to trigger citation processing.
This behaves like a filter and will be positioned
relative to filters as they appear on the command line.
* Rewrote the manual on citatations, adding a dedicated Citations
section which also includes some information formerly found in
the pandoc-citeproc man page.
* Look for CSL styles in the `csl` subdirectory of the pandoc user data
directory. This changes the old pandoc-citeproc behavior, which looked
in `~/.csl`. Users can simply symlink `~/.csl` to the `csl`
subdirectory of their pandoc user data directory if they want
the old behavior.
* Add support for CSL bibliography entry formatting to LaTeX, HTML,
Ms writers. Added CSL-related CSS to styles.html.
2020-09-07 01:25:16 +02:00
|
|
|
Text.Pandoc.Writers.CslJson,
|
2016-12-03 16:15:13 +01:00
|
|
|
Text.Pandoc.Writers.Math,
|
2017-02-25 22:07:01 +01:00
|
|
|
Text.Pandoc.Writers.Shared,
|
2017-12-12 06:37:52 +01:00
|
|
|
Text.Pandoc.Writers.OOXML,
|
2020-09-12 17:50:36 +02:00
|
|
|
Text.Pandoc.Writers.AnnotatedTable,
|
2021-01-21 06:08:01 +01:00
|
|
|
Text.Pandoc.Writers.BibTeX,
|
2017-03-20 15:17:03 +01:00
|
|
|
Text.Pandoc.Lua,
|
2012-01-21 03:57:16 +01:00
|
|
|
Text.Pandoc.PDF,
|
2012-09-26 04:54:21 +02:00
|
|
|
Text.Pandoc.UTF8,
|
2011-11-19 09:20:00 +01:00
|
|
|
Text.Pandoc.Templates,
|
2012-12-30 01:42:17 +01:00
|
|
|
Text.Pandoc.XML,
|
2013-08-09 00:13:28 +02:00
|
|
|
Text.Pandoc.SelfContained,
|
2017-02-05 21:58:45 +01:00
|
|
|
Text.Pandoc.Highlighting,
|
2017-02-10 20:59:54 +01:00
|
|
|
Text.Pandoc.Logging,
|
2015-07-24 08:53:17 +02:00
|
|
|
Text.Pandoc.Process,
|
2016-12-12 14:49:21 +01:00
|
|
|
Text.Pandoc.MIME,
|
2017-02-25 22:07:01 +01:00
|
|
|
Text.Pandoc.Parsing,
|
|
|
|
Text.Pandoc.Asciify,
|
|
|
|
Text.Pandoc.Emoji,
|
|
|
|
Text.Pandoc.ImageSize,
|
Add built-in citation support using new citeproc library.
This deprecates the use of the external pandoc-citeproc
filter; citation processing is now built in to pandoc.
* Add dependency on citeproc library.
* Add Text.Pandoc.Citeproc module (and some associated unexported
modules under Text.Pandoc.Citeproc). Exports `processCitations`.
[API change]
* Add data files needed for Text.Pandoc.Citeproc: default.csl
in the data directory, and a citeproc directory that is just
used at compile-time. Note that we've added file-embed as a mandatory
rather than a conditional depedency, because of the biblatex
localization files. We might eventually want to use readDataFile
for this, but it would take some code reorganization.
* Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it
in `processCitations`. [API change]
* Add tests from the pandoc-citeproc package as command tests (including
some tests pandoc-citeproc did not pass).
* Remove instructions for building pandoc-citeproc from CI and
release binary build instructions. We will no longer distribute
pandoc-citeproc.
* Markdown reader: tweak abbreviation support. Don't insert a
nonbreaking space after a potential abbreviation if it comes right before
a note or citation. This messes up several things, including citeproc's
moving of note citations.
* Add `csljson` as and input and output format. This allows pandoc
to convert between `csljson` and other bibliography formats,
and to generate formatted versions of CSL JSON bibliographies.
* Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API
change]
* Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API
change]
* Added `bibtex`, `biblatex` as input formats. This allows pandoc
to convert between BibLaTeX and BibTeX and other bibliography formats,
and to generated formatted versions of BibTeX/BibLaTeX bibliographies.
* Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and
`readBibLaTeX`. [API change]
* Make "standalone" implicit if output format is a bibliography format.
This is needed because pandoc readers for bibliography formats put
the bibliographic information in the `references` field of metadata;
and unless standalone is specified, metadata gets ignored.
(TODO: This needs improvement. We should trigger standalone for the
reader when the input format is bibliographic, and for the writer
when the output format is markdown.)
* Carry over `citationNoteNum` to `citationNoteNumber`. This was just
ignored in pandoc-citeproc.
* Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter.
[API change] This runs the processCitations transformation.
We need to treat it like a filter so it can be placed
in the sequence of filter runs (after some, before others).
In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`,
so this special filter may be specified either way in a defaults file
(or by `citeproc: true`, though this gives no control of positioning
relative to other filters). TODO: we need to add something to the
manual section on defaults files for this.
* Add deprecation warning if `upandoc-citeproc` filter is used.
* Add `--citeproc/-C` option to trigger citation processing.
This behaves like a filter and will be positioned
relative to filters as they appear on the command line.
* Rewrote the manual on citatations, adding a dedicated Citations
section which also includes some information formerly found in
the pandoc-citeproc man page.
* Look for CSL styles in the `csl` subdirectory of the pandoc user data
directory. This changes the old pandoc-citeproc behavior, which looked
in `~/.csl`. Users can simply symlink `~/.csl` to the `csl`
subdirectory of their pandoc user data directory if they want
the old behavior.
* Add support for CSL bibliography entry formatting to LaTeX, HTML,
Ms writers. Added CSL-related CSS to styles.html.
2020-09-07 01:25:16 +02:00
|
|
|
Text.Pandoc.Class,
|
|
|
|
Text.Pandoc.Citeproc
|
2020-04-17 18:50:30 +02:00
|
|
|
other-modules: Text.Pandoc.App.CommandLineOptions,
|
2018-11-07 21:29:48 +01:00
|
|
|
Text.Pandoc.App.FormatHeuristics,
|
2018-11-06 21:25:14 +01:00
|
|
|
Text.Pandoc.App.Opt,
|
2018-11-03 07:33:04 +01:00
|
|
|
Text.Pandoc.App.OutputSettings,
|
2020-03-15 04:49:36 +01:00
|
|
|
Text.Pandoc.Class.CommonState,
|
2020-03-22 22:10:35 +01:00
|
|
|
Text.Pandoc.Class.IO,
|
2020-03-15 04:49:36 +01:00
|
|
|
Text.Pandoc.Class.PandocMonad,
|
2020-03-21 14:26:28 +01:00
|
|
|
Text.Pandoc.Class.PandocIO,
|
|
|
|
Text.Pandoc.Class.PandocPure,
|
2021-08-22 00:30:13 +02:00
|
|
|
Text.Pandoc.Class.Sandbox,
|
2021-12-28 16:33:41 +01:00
|
|
|
Text.Pandoc.Filter.Environment,
|
2017-10-21 23:00:49 +02:00
|
|
|
Text.Pandoc.Filter.JSON,
|
2018-01-10 22:26:12 +01:00
|
|
|
Text.Pandoc.Filter.Lua,
|
|
|
|
Text.Pandoc.Filter.Path,
|
|
|
|
Text.Pandoc.Readers.Docx.Lists,
|
2016-02-26 14:47:26 +01:00
|
|
|
Text.Pandoc.Readers.Docx.Combine,
|
2014-06-17 07:44:40 +02:00
|
|
|
Text.Pandoc.Readers.Docx.Parse,
|
2019-09-22 21:00:35 +02:00
|
|
|
Text.Pandoc.Readers.Docx.Parse.Styles,
|
2015-03-01 20:57:35 +01:00
|
|
|
Text.Pandoc.Readers.Docx.Util,
|
2018-01-16 18:50:37 +01:00
|
|
|
Text.Pandoc.Readers.Docx.Fields,
|
2020-11-22 22:30:47 +01:00
|
|
|
Text.Pandoc.Readers.HTML.Parsing,
|
2020-11-23 12:32:37 +01:00
|
|
|
Text.Pandoc.Readers.HTML.Table,
|
2020-11-22 22:30:47 +01:00
|
|
|
Text.Pandoc.Readers.HTML.TagCategories,
|
|
|
|
Text.Pandoc.Readers.HTML.Types,
|
2021-03-03 19:05:46 +01:00
|
|
|
Text.Pandoc.Readers.LaTeX.Inline,
|
2021-02-28 18:12:09 +01:00
|
|
|
Text.Pandoc.Readers.LaTeX.Citation,
|
2021-03-03 19:05:46 +01:00
|
|
|
Text.Pandoc.Readers.LaTeX.Lang,
|
|
|
|
Text.Pandoc.Readers.LaTeX.Macro,
|
2021-03-01 06:05:25 +01:00
|
|
|
Text.Pandoc.Readers.LaTeX.Math,
|
2021-03-03 19:05:46 +01:00
|
|
|
Text.Pandoc.Readers.LaTeX.Parsing,
|
|
|
|
Text.Pandoc.Readers.LaTeX.SIunitx,
|
2021-02-28 06:40:56 +01:00
|
|
|
Text.Pandoc.Readers.LaTeX.Table,
|
2021-03-03 19:05:46 +01:00
|
|
|
Text.Pandoc.Readers.LaTeX.Types,
|
2015-07-23 09:06:14 +02:00
|
|
|
Text.Pandoc.Readers.Odt.Base,
|
|
|
|
Text.Pandoc.Readers.Odt.Namespaces,
|
|
|
|
Text.Pandoc.Readers.Odt.StyleReader,
|
|
|
|
Text.Pandoc.Readers.Odt.ContentReader,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.Fallible,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.SetMap,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.Utils,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.Namespaces,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.XMLConverter,
|
|
|
|
Text.Pandoc.Readers.Odt.Arrows.State,
|
|
|
|
Text.Pandoc.Readers.Odt.Arrows.Utils,
|
2016-05-22 16:52:06 +02:00
|
|
|
Text.Pandoc.Readers.Org.BlockStarts,
|
2016-05-25 22:50:51 +02:00
|
|
|
Text.Pandoc.Readers.Org.Blocks,
|
2017-05-16 22:42:34 +02:00
|
|
|
Text.Pandoc.Readers.Org.DocumentTree,
|
2016-07-02 10:04:47 +02:00
|
|
|
Text.Pandoc.Readers.Org.ExportSettings,
|
2016-05-22 16:52:06 +02:00
|
|
|
Text.Pandoc.Readers.Org.Inlines,
|
2016-08-29 14:10:51 +02:00
|
|
|
Text.Pandoc.Readers.Org.Meta,
|
2016-05-11 12:26:54 +02:00
|
|
|
Text.Pandoc.Readers.Org.ParserState,
|
2016-05-22 16:33:31 +02:00
|
|
|
Text.Pandoc.Readers.Org.Parsing,
|
2016-05-30 15:07:50 +02:00
|
|
|
Text.Pandoc.Readers.Org.Shared,
|
2019-11-24 20:50:28 +01:00
|
|
|
Text.Pandoc.Readers.Metadata,
|
2018-10-27 06:28:38 +02:00
|
|
|
Text.Pandoc.Readers.Roff,
|
2019-09-22 21:00:35 +02:00
|
|
|
Text.Pandoc.Writers.Docx.StyleMap,
|
2021-04-20 10:54:46 +02:00
|
|
|
Text.Pandoc.Writers.Docx.Table,
|
|
|
|
Text.Pandoc.Writers.Docx.Types,
|
2021-05-01 18:52:24 +02:00
|
|
|
Text.Pandoc.Writers.GridTable
|
2021-01-20 19:09:36 +01:00
|
|
|
Text.Pandoc.Writers.JATS.References,
|
2020-11-13 10:44:05 +01:00
|
|
|
Text.Pandoc.Writers.JATS.Table,
|
|
|
|
Text.Pandoc.Writers.JATS.Types,
|
2020-12-12 16:45:50 +01:00
|
|
|
Text.Pandoc.Writers.LaTeX.Caption,
|
|
|
|
Text.Pandoc.Writers.LaTeX.Notes,
|
|
|
|
Text.Pandoc.Writers.LaTeX.Table,
|
2021-03-03 06:33:58 +01:00
|
|
|
Text.Pandoc.Writers.LaTeX.Lang,
|
2020-12-12 16:45:50 +01:00
|
|
|
Text.Pandoc.Writers.LaTeX.Types,
|
2021-03-03 06:57:13 +01:00
|
|
|
Text.Pandoc.Writers.LaTeX.Citation,
|
2021-03-03 07:36:13 +01:00
|
|
|
Text.Pandoc.Writers.LaTeX.Util,
|
2021-03-03 06:06:56 +01:00
|
|
|
Text.Pandoc.Writers.Markdown.Types,
|
|
|
|
Text.Pandoc.Writers.Markdown.Inline,
|
2018-10-27 06:28:38 +02:00
|
|
|
Text.Pandoc.Writers.Roff,
|
2021-12-20 22:44:03 +01:00
|
|
|
Text.Pandoc.Writers.Blaze,
|
2018-01-14 14:59:10 +01:00
|
|
|
Text.Pandoc.Writers.Powerpoint.Presentation,
|
|
|
|
Text.Pandoc.Writers.Powerpoint.Output,
|
2020-03-25 22:16:27 +01:00
|
|
|
Text.Pandoc.Lua.ErrorConversion,
|
2017-12-13 21:15:41 +01:00
|
|
|
Text.Pandoc.Lua.Filter,
|
2018-10-26 22:15:25 +02:00
|
|
|
Text.Pandoc.Lua.Global,
|
2017-12-13 21:15:41 +01:00
|
|
|
Text.Pandoc.Lua.Init,
|
2021-11-28 02:08:01 +01:00
|
|
|
Text.Pandoc.Lua.Marshal.CommonState,
|
|
|
|
Text.Pandoc.Lua.Marshal.Context,
|
|
|
|
Text.Pandoc.Lua.Marshal.PandocError,
|
|
|
|
Text.Pandoc.Lua.Marshal.ReaderOptions,
|
2021-12-17 17:32:28 +01:00
|
|
|
Text.Pandoc.Lua.Marshal.Reference,
|
2021-12-08 19:06:48 +01:00
|
|
|
Text.Pandoc.Lua.Marshal.Sources,
|
2022-01-03 21:23:15 +01:00
|
|
|
Text.Pandoc.Lua.Marshal.Template,
|
2021-12-28 16:33:41 +01:00
|
|
|
Text.Pandoc.Lua.Marshal.WriterOptions,
|
2017-12-21 22:17:37 +01:00
|
|
|
Text.Pandoc.Lua.Module.MediaBag,
|
2017-12-21 21:37:40 +01:00
|
|
|
Text.Pandoc.Lua.Module.Pandoc,
|
2019-05-04 07:06:30 +02:00
|
|
|
Text.Pandoc.Lua.Module.System,
|
2022-01-04 10:38:02 +01:00
|
|
|
Text.Pandoc.Lua.Module.Template,
|
2019-05-19 15:26:00 +02:00
|
|
|
Text.Pandoc.Lua.Module.Types,
|
2017-12-21 22:30:59 +01:00
|
|
|
Text.Pandoc.Lua.Module.Utils,
|
2021-11-28 02:08:01 +01:00
|
|
|
Text.Pandoc.Lua.Orphans,
|
2017-12-02 23:07:29 +01:00
|
|
|
Text.Pandoc.Lua.Packages,
|
2018-12-03 08:24:28 +01:00
|
|
|
Text.Pandoc.Lua.PandocLua,
|
2021-02-15 07:29:21 +01:00
|
|
|
Text.Pandoc.XML.Light,
|
2021-02-17 03:40:06 +01:00
|
|
|
Text.Pandoc.XML.Light.Types,
|
|
|
|
Text.Pandoc.XML.Light.Proc,
|
|
|
|
Text.Pandoc.XML.Light.Output,
|
2021-08-03 23:53:05 +02:00
|
|
|
Text.Pandoc.Network.HTTP,
|
2016-12-12 14:49:21 +01:00
|
|
|
Text.Pandoc.CSS,
|
2017-08-10 20:12:41 +02:00
|
|
|
Text.Pandoc.CSV,
|
2018-10-27 06:28:38 +02:00
|
|
|
Text.Pandoc.RoffChar,
|
2010-07-03 07:07:00 +02:00
|
|
|
Text.Pandoc.UUID,
|
2017-08-11 20:56:54 +02:00
|
|
|
Text.Pandoc.Translations,
|
2012-01-23 04:58:45 +01:00
|
|
|
Text.Pandoc.Slides,
|
2020-02-13 06:37:42 +01:00
|
|
|
Text.Pandoc.Image,
|
Add built-in citation support using new citeproc library.
This deprecates the use of the external pandoc-citeproc
filter; citation processing is now built in to pandoc.
* Add dependency on citeproc library.
* Add Text.Pandoc.Citeproc module (and some associated unexported
modules under Text.Pandoc.Citeproc). Exports `processCitations`.
[API change]
* Add data files needed for Text.Pandoc.Citeproc: default.csl
in the data directory, and a citeproc directory that is just
used at compile-time. Note that we've added file-embed as a mandatory
rather than a conditional depedency, because of the biblatex
localization files. We might eventually want to use readDataFile
for this, but it would take some code reorganization.
* Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it
in `processCitations`. [API change]
* Add tests from the pandoc-citeproc package as command tests (including
some tests pandoc-citeproc did not pass).
* Remove instructions for building pandoc-citeproc from CI and
release binary build instructions. We will no longer distribute
pandoc-citeproc.
* Markdown reader: tweak abbreviation support. Don't insert a
nonbreaking space after a potential abbreviation if it comes right before
a note or citation. This messes up several things, including citeproc's
moving of note citations.
* Add `csljson` as and input and output format. This allows pandoc
to convert between `csljson` and other bibliography formats,
and to generate formatted versions of CSL JSON bibliographies.
* Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API
change]
* Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API
change]
* Added `bibtex`, `biblatex` as input formats. This allows pandoc
to convert between BibLaTeX and BibTeX and other bibliography formats,
and to generated formatted versions of BibTeX/BibLaTeX bibliographies.
* Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and
`readBibLaTeX`. [API change]
* Make "standalone" implicit if output format is a bibliography format.
This is needed because pandoc readers for bibliography formats put
the bibliographic information in the `references` field of metadata;
and unless standalone is specified, metadata gets ignored.
(TODO: This needs improvement. We should trigger standalone for the
reader when the input format is bibliographic, and for the writer
when the output format is markdown.)
* Carry over `citationNoteNum` to `citationNoteNumber`. This was just
ignored in pandoc-citeproc.
* Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter.
[API change] This runs the processCitations transformation.
We need to treat it like a filter so it can be placed
in the sequence of filter runs (after some, before others).
In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`,
so this special filter may be specified either way in a defaults file
(or by `citeproc: true`, though this gives no control of positioning
relative to other filters). TODO: we need to add something to the
manual section on defaults files for this.
* Add deprecation warning if `upandoc-citeproc` filter is used.
* Add `--citeproc/-C` option to trigger citation processing.
This behaves like a filter and will be positioned
relative to filters as they appear on the command line.
* Rewrote the manual on citatations, adding a dedicated Citations
section which also includes some information formerly found in
the pandoc-citeproc man page.
* Look for CSL styles in the `csl` subdirectory of the pandoc user data
directory. This changes the old pandoc-citeproc behavior, which looked
in `~/.csl`. Users can simply symlink `~/.csl` to the `csl`
subdirectory of their pandoc user data directory if they want
the old behavior.
* Add support for CSL bibliography entry formatting to LaTeX, HTML,
Ms writers. Added CSL-related CSS to styles.html.
2020-09-07 01:25:16 +02:00
|
|
|
Text.Pandoc.Citeproc.BibTeX,
|
|
|
|
Text.Pandoc.Citeproc.CslJson,
|
|
|
|
Text.Pandoc.Citeproc.Data,
|
|
|
|
Text.Pandoc.Citeproc.Locator,
|
|
|
|
Text.Pandoc.Citeproc.MetaValue,
|
|
|
|
Text.Pandoc.Citeproc.Util,
|
2009-04-18 18:15:56 +02:00
|
|
|
Paths_pandoc
|
2018-07-16 06:43:54 +02:00
|
|
|
autogen-modules: Paths_pandoc
|
2017-09-07 19:13:40 +02:00
|
|
|
buildable: True
|
2008-08-01 01:16:12 +02:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
executable pandoc
|
2021-02-07 17:33:43 +01:00
|
|
|
import: common-executable
|
2020-12-10 19:08:24 +01:00
|
|
|
hs-source-dirs: app
|
2017-09-07 19:13:40 +02:00
|
|
|
main-is: pandoc.hs
|
|
|
|
buildable: True
|
2020-04-17 18:50:30 +02:00
|
|
|
other-modules: Paths_pandoc
|
2010-12-16 02:52:35 +01:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
executable trypandoc
|
2021-02-07 17:33:43 +01:00
|
|
|
import: common-executable
|
2017-09-07 19:13:40 +02:00
|
|
|
main-is: trypandoc.hs
|
2020-04-17 18:50:30 +02:00
|
|
|
hs-source-dirs: trypandoc
|
2014-08-18 01:11:09 +02:00
|
|
|
if flag(trypandoc)
|
2022-01-10 19:12:45 +01:00
|
|
|
build-depends: aeson,
|
|
|
|
http-types,
|
|
|
|
text,
|
|
|
|
wai >= 0.3,
|
|
|
|
wai-extra >= 3.0.24
|
2017-09-07 19:13:40 +02:00
|
|
|
buildable: True
|
2014-08-18 01:11:09 +02:00
|
|
|
else
|
2017-09-07 19:13:40 +02:00
|
|
|
buildable: False
|
2014-08-18 01:11:09 +02:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
test-suite test-pandoc
|
2021-02-07 17:33:43 +01:00
|
|
|
import: common-executable
|
2017-09-07 19:13:40 +02:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: test-pandoc.hs
|
2020-04-17 18:50:30 +02:00
|
|
|
hs-source-dirs: test
|
2020-09-21 18:28:25 +02:00
|
|
|
build-depends: pandoc,
|
|
|
|
Diff >= 0.2 && < 0.5,
|
|
|
|
Glob >= 0.7 && < 0.11,
|
2020-09-24 07:27:20 +02:00
|
|
|
bytestring >= 0.9 && < 0.12,
|
2020-09-21 18:28:25 +02:00
|
|
|
containers >= 0.4.2.1 && < 0.7,
|
|
|
|
directory >= 1.2.3 && < 1.4,
|
2021-07-18 20:39:04 +02:00
|
|
|
doctemplates >= 0.10 && < 0.11,
|
2020-09-21 18:28:25 +02:00
|
|
|
exceptions >= 0.8 && < 0.11,
|
|
|
|
filepath >= 1.1 && < 1.5,
|
2022-01-02 11:04:10 +01:00
|
|
|
hslua >= 2.1 && < 2.2,
|
2020-09-21 18:28:25 +02:00
|
|
|
mtl >= 2.2 && < 2.3,
|
2021-10-22 23:33:30 +02:00
|
|
|
pandoc-types >= 1.22.1 && < 1.23,
|
2020-09-21 18:28:25 +02:00
|
|
|
process >= 1.2.3 && < 1.7,
|
2021-02-14 14:24:16 +01:00
|
|
|
tasty >= 0.11 && < 1.5,
|
2020-09-21 18:28:25 +02:00
|
|
|
tasty-golden >= 2.3 && < 2.4,
|
|
|
|
tasty-hunit >= 0.9 && < 0.11,
|
2021-10-20 21:40:07 +02:00
|
|
|
tasty-lua >= 1.0 && < 1.1,
|
2020-09-21 18:28:25 +02:00
|
|
|
tasty-quickcheck >= 0.8 && < 0.11,
|
2022-01-09 23:29:07 +01:00
|
|
|
text >= 1.1.1.0 && < 2.1,
|
2021-10-31 07:48:06 +01:00
|
|
|
time >= 1.5 && < 1.14,
|
2020-09-21 18:28:25 +02:00
|
|
|
xml >= 1.3.12 && < 1.4,
|
|
|
|
zip-archive >= 0.2.3.4 && < 0.5
|
2020-04-17 18:50:30 +02:00
|
|
|
other-modules: Tests.Old
|
2017-02-04 17:38:03 +01:00
|
|
|
Tests.Command
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Helpers
|
2017-03-20 15:17:03 +01:00
|
|
|
Tests.Lua
|
2019-05-20 18:52:28 +02:00
|
|
|
Tests.Lua.Module
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Shared
|
|
|
|
Tests.Readers.LaTeX
|
2015-05-14 05:39:01 +02:00
|
|
|
Tests.Readers.HTML
|
2017-12-20 01:54:02 +01:00
|
|
|
Tests.Readers.JATS
|
2019-12-18 06:07:46 +01:00
|
|
|
Tests.Readers.Jira
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Readers.Markdown
|
2014-03-04 00:33:25 +01:00
|
|
|
Tests.Readers.Org
|
2017-12-24 22:48:18 +01:00
|
|
|
Tests.Readers.Org.Block
|
|
|
|
Tests.Readers.Org.Block.CodeBlock
|
|
|
|
Tests.Readers.Org.Block.Figure
|
|
|
|
Tests.Readers.Org.Block.Header
|
|
|
|
Tests.Readers.Org.Block.List
|
|
|
|
Tests.Readers.Org.Block.Table
|
|
|
|
Tests.Readers.Org.Directive
|
|
|
|
Tests.Readers.Org.Inline
|
2018-02-26 21:09:51 +01:00
|
|
|
Tests.Readers.Org.Inline.Citation
|
2017-12-24 22:48:18 +01:00
|
|
|
Tests.Readers.Org.Inline.Note
|
|
|
|
Tests.Readers.Org.Inline.Smart
|
|
|
|
Tests.Readers.Org.Meta
|
|
|
|
Tests.Readers.Org.Shared
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Readers.RST
|
2021-07-31 01:23:46 +02:00
|
|
|
Tests.Readers.RTF
|
2014-06-17 07:44:40 +02:00
|
|
|
Tests.Readers.Docx
|
2015-07-23 09:06:14 +02:00
|
|
|
Tests.Readers.Odt
|
2014-07-25 21:39:13 +02:00
|
|
|
Tests.Readers.Txt2Tags
|
2014-08-10 15:33:18 +02:00
|
|
|
Tests.Readers.EPUB
|
2017-06-19 10:46:02 +02:00
|
|
|
Tests.Readers.Muse
|
2017-10-27 01:19:28 +02:00
|
|
|
Tests.Readers.Creole
|
2018-02-25 01:34:17 +01:00
|
|
|
Tests.Readers.Man
|
2018-04-26 21:33:18 +02:00
|
|
|
Tests.Readers.FB2
|
2019-01-07 00:06:32 +01:00
|
|
|
Tests.Readers.DokuWiki
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Writers.Native
|
|
|
|
Tests.Writers.ConTeXt
|
2014-08-14 01:46:00 +02:00
|
|
|
Tests.Writers.Docbook
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Writers.HTML
|
2017-12-13 00:06:22 +01:00
|
|
|
Tests.Writers.JATS
|
2020-03-31 09:57:59 +02:00
|
|
|
Tests.Writers.Jira
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Writers.Markdown
|
2017-02-12 15:09:07 +01:00
|
|
|
Tests.Writers.Org
|
2014-08-03 16:32:31 +02:00
|
|
|
Tests.Writers.Plain
|
2014-05-04 06:24:20 +02:00
|
|
|
Tests.Writers.AsciiDoc
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Writers.LaTeX
|
2015-03-28 22:12:18 +01:00
|
|
|
Tests.Writers.Docx
|
2015-04-16 18:27:33 +02:00
|
|
|
Tests.Writers.RST
|
2015-12-24 17:36:58 +01:00
|
|
|
Tests.Writers.TEI
|
2021-12-19 21:10:41 +01:00
|
|
|
Tests.Writers.Markua
|
2017-03-10 10:16:27 +01:00
|
|
|
Tests.Writers.Muse
|
2017-10-28 17:13:51 +02:00
|
|
|
Tests.Writers.FB2
|
2017-12-28 16:39:47 +01:00
|
|
|
Tests.Writers.Powerpoint
|
2018-01-25 21:27:54 +01:00
|
|
|
Tests.Writers.OOXML
|
2020-07-08 23:37:30 +02:00
|
|
|
Tests.Writers.Ms
|
2020-09-12 17:50:36 +02:00
|
|
|
Tests.Writers.AnnotatedTable
|
2012-07-26 17:37:36 +02:00
|
|
|
|
2012-07-26 18:18:17 +02:00
|
|
|
benchmark benchmark-pandoc
|
2021-02-07 17:33:43 +01:00
|
|
|
import: common-executable
|
2017-09-07 19:13:40 +02:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: benchmark-pandoc.hs
|
2020-04-17 18:50:30 +02:00
|
|
|
hs-source-dirs: benchmark
|
2021-02-07 17:33:43 +01:00
|
|
|
build-depends: bytestring,
|
2021-11-03 00:21:16 +01:00
|
|
|
tasty-bench >= 0.2 && <= 0.4,
|
2020-09-21 18:28:25 +02:00
|
|
|
mtl >= 2.2 && < 2.3,
|
2022-01-09 23:29:07 +01:00
|
|
|
text >= 1.1.1.0 && < 2.1,
|
2021-03-16 06:50:18 +01:00
|
|
|
deepseq
|
2021-03-17 21:34:17 +01:00
|
|
|
-- we increase heap size to avoid benchmarking garbage collection:
|
2021-03-18 23:46:20 +01:00
|
|
|
ghc-options: -rtsopts -with-rtsopts=-A8m -threaded
|