pandoc/test
John MacFarlane e0984a43a9 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-21 10:15:50 -07:00
..
command Add built-in citation support using new citeproc library. 2020-09-21 10:15:50 -07:00
docx Docx writer: separate adjacent tables. 2020-08-24 09:31:39 -07:00
epub add tests for EPUB2 and EPUB3 cover reader 2019-06-22 22:07:26 +02:00
fb2 FB2 writer: do not wrap note references into <sup> and brackets 2019-05-15 13:31:07 +03:00
ipynb Revert "Ipnyb: allow lossless round-tripping of markdown cell content." 2020-07-02 09:03:56 -07:00
lua Lua filters: add SimpleTable for backwards compatibility (#6575) 2020-09-20 15:48:31 -07:00
media
odt Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
pptx Handle native Underline in Powerpoint writer. 2020-06-22 17:56:28 -07:00
tables HTML writer: support intermediate table headers 2020-09-13 23:23:11 +02:00
Tests Markdown reader: Set citationNoteNum accurately in citations. 2020-09-21 10:10:37 -07:00
bodybg.gif
creole-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
creole-reader.txt
docbook-chapter.docbook docbook reader: fix nesting of chapters and sections (#5864) 2019-10-30 08:51:33 -07:00
docbook-chapter.native docbook reader: fix nesting of chapters and sections (#5864) 2019-10-30 08:51:33 -07:00
docbook-reader.docbook Docbook reader: implement <procedure> (#6442) 2020-06-14 10:45:52 -07:00
docbook-reader.native Docbook reader: implement <procedure> (#6442) 2020-06-14 10:45:52 -07:00
docbook-xref.docbook
docbook-xref.native
dokuwiki_external_images.dokuwiki Dokuwiki writer: remove automatic ':' prefix before internal image links (#5183) 2019-01-01 14:07:26 -08:00
dokuwiki_external_images.native
dokuwiki_inline_formatting.dokuwiki
dokuwiki_inline_formatting.native
dokuwiki_multiblock_table.dokuwiki
dokuwiki_multiblock_table.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
grofftest.sh grofftest.sh - set resource path more appropriately. 2018-11-02 17:22:56 -07:00
haddock-reader.haddock
haddock-reader.native
html-reader.html HTML reader/writer: Better handling of <q> with cite attribute (#5837) 2019-10-24 22:27:49 -07:00
html-reader.native Support new Underline element in readers and writers (#6277) 2020-04-28 07:53:06 -07:00
insert
jats-reader.native Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
jats-reader.xml Update JATS dtd (#6020) 2019-12-30 22:18:55 -08:00
jira-reader.jira Add jira reader (#5913) 2019-12-17 21:07:46 -08:00
jira-reader.native Jira reader: improve icon conversion 2020-04-09 16:21:45 +02:00
lalune.jpg
latex-reader.latex LaTeX reader test: Allow compilation of file (#5364) 2019-03-13 18:21:00 -06:00
latex-reader.native Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
lhs-test-markdown.native Removed superfluous sourceCode class on code blocks. 2019-01-08 11:36:33 -08:00
lhs-test.fragment.html+lhs
lhs-test.html Add CSS to default HTML template (#6601) 2020-09-19 16:13:50 -07:00
lhs-test.html+lhs Add CSS to default HTML template (#6601) 2020-09-19 16:13:50 -07:00
lhs-test.latex Use selnolig to selectively suppress ligatures with lualatex. 2020-07-15 13:28:44 -07:00
lhs-test.latex+lhs Use selnolig to selectively suppress ligatures with lualatex. 2020-07-15 13:28:44 -07:00
lhs-test.markdown Removed superfluous sourceCode class on code blocks. 2019-01-08 11:36:33 -08:00
lhs-test.markdown+lhs
lhs-test.native Removed superfluous sourceCode class on code blocks. 2019-01-08 11:36:33 -08:00
lhs-test.rst
lhs-test.rst+lhs
man-reader.man Man reader: allow block-level content in table cells. 2018-10-27 23:37:18 -07:00
man-reader.native Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
markdown-citations.native Markdown reader: Set citationNoteNum accurately in citations. 2020-09-21 10:10:37 -07:00
markdown-citations.txt
markdown-reader-more.native Markdown reader: Set citationNoteNum accurately in citations. 2020-09-21 10:10:37 -07:00
markdown-reader-more.txt
mediawiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
mediawiki-reader.wiki
movie.jpg
opml-reader.native
opml-reader.opml
org-select-tags.native Org reader: add support for #+SELECT_TAGS. 2019-01-30 18:27:38 +01:00
org-select-tags.org Org reader: add support for #+SELECT_TAGS. 2019-01-30 18:27:38 +01:00
pipe-tables.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
pipe-tables.txt
rst-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
rst-reader.rst Add highlight directive to the rST reader (#6140) 2020-02-13 10:27:34 -08:00
s5-basic.html Use CSS in favor of <br> for display math (#6372) 2020-05-18 22:45:44 -07:00
s5-fancy.html HTML-based templates: Add CSS to suppress bullet on unordered task lists. 2019-12-05 09:36:34 -08:00
s5-fragment.html
s5-inserts.html Use CSS in favor of <br> for display math (#6372) 2020-05-18 22:45:44 -07:00
s5.native
tables-rstsubset.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
tables.asciidoc Asciidoc writer: shorter delimiters for tables, blockquotes. 2019-01-07 22:10:34 -08:00
tables.asciidoctor Adds Asciidoctor sprcific writer and tests 2019-02-09 08:21:53 -08:00
tables.context
tables.custom Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.docbook4
tables.docbook5
tables.dokuwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.fb2 Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.haddock Haddock Writer: Support Haddock tables 2020-04-20 13:57:36 +08:00
tables.html4
tables.html5
tables.icml
tables.jats_archiving Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
tables.jats_articleauthoring Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
tables.jats_publishing Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
tables.jira Jira writer: fix output of table headers 2020-01-07 22:11:51 +01:00
tables.latex
tables.man Move common groff functions to Text.Pandoc.Writers.Groff 2018-10-17 17:26:37 -07:00
tables.markdown
tables.mediawiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.ms Groff writer character escaping changes. 2018-10-23 21:44:07 -07:00
tables.muse Muse writer: add support for grid tables 2018-10-25 18:35:02 +03:00
tables.native Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.opendocument Place caption before table in OpenDocument format. (#5869) 2019-11-03 07:17:05 -08:00
tables.org Fix test/tables.org 2020-01-03 08:38:58 +01:00
tables.plain
tables.rst RST writer: use simple tables when possible. 2018-10-06 22:33:24 -07:00
tables.rtf Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.tei Use the new builders, modify readers to preserve empty headers 2020-04-15 23:03:22 -04:00
tables.texinfo
tables.textile Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.txt Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.xwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
tables.zimwiki Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
test-pandoc.hs [API change] Rename Writers.Tables and its contents (#6679) 2020-09-12 08:50:36 -07:00
testsuite.native Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
testsuite.txt
textile-reader.native Support new Underline element in readers and writers (#6277) 2020-04-28 07:53:06 -07:00
textile-reader.textile
tikiwiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
tikiwiki-reader.tikiwiki
twiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
twiki-reader.twiki
txt2tags.native Support new Underline element in readers and writers (#6277) 2020-04-28 07:53:06 -07:00
txt2tags.t2t
vimwiki-reader.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
vimwiki-reader.wiki Vimwiki reader: Add nested syntax highlighting (#6257) 2020-04-06 16:41:28 -07:00
writer.asciidoc Asciidoctor images (#6671) 2020-09-19 18:22:52 -07:00
writer.asciidoctor Asciidoctor images (#6671) 2020-09-19 18:22:52 -07:00
writer.context ConTeXt template: Adjustments to title formatting (#5949) 2019-12-11 08:28:11 -08:00
writer.custom Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.docbook4 Add test fixes for docbook writer changes. 2020-04-01 23:09:14 -07:00
writer.docbook5 Add test fixes for docbook writer changes. 2020-04-01 23:09:14 -07:00
writer.dokuwiki Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.fb2 FB2 writer: do not wrap note references into <sup> and brackets 2019-05-15 13:31:07 +03:00
writer.haddock Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.html4 Add CSS to default HTML template (#6601) 2020-09-19 16:13:50 -07:00
writer.html5 Add CSS to default HTML template (#6601) 2020-09-19 16:13:50 -07:00
writer.icml Changed default link state to invisible (#6676) 2020-09-10 22:58:53 -07:00
writer.jats_archiving Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
writer.jats_articleauthoring Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
writer.jats_publishing Introduce new format variants for JATS (#6067) 2020-02-12 20:36:02 -08:00
writer.jira Jira writer: keep image caption as alt attribute 2020-07-17 16:02:40 +02:00
writer.latex Use selnolig to selectively suppress ligatures with lualatex. 2020-07-15 13:28:44 -07:00
writer.man Man writer: suppress non-absolute link URLs. 2019-09-23 17:46:39 -07:00
writer.markdown Markdown writer: avoid unnecessary escapes before intraword _ 2020-04-17 22:42:21 -07:00
writer.mediawiki Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.ms Ms writer: fix definition lists so indent even when... 2020-03-07 21:54:29 -08:00
writer.muse Use doctemplates 0.3, change type of writerTemplate. 2019-07-28 19:25:45 -07:00
writer.native Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.opendocument Use latest doclayout. 2019-10-30 21:26:21 -07:00
writer.opml Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.org Org writer: don't force blank line after headers 2020-07-31 16:04:18 +02:00
writer.plain Make plain output plainer. 2019-09-22 11:33:09 -07:00
writer.rst Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
writer.rtf Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.tei
writer.texinfo Shared.compactify: Avoid mixed lists. 2019-02-25 17:33:54 -08:00
writer.textile Changes to build with new doctemplates/doclayout. 2019-10-29 22:21:35 -07:00
writer.xwiki Add XWiki Support (#4167) 2019-04-02 17:27:02 -06:00
writer.zimwiki Zimwiki writer: remove automatic colon prefix before internal images (#5183) 2019-01-01 14:08:38 -08:00
writers-lang-and-dir.context ConTeXt template: add a saner default for page numbers. 2019-11-16 18:38:05 -08:00
writers-lang-and-dir.latex Use selnolig to selectively suppress ligatures with lualatex. 2020-07-15 13:28:44 -07:00
writers-lang-and-dir.native