aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2021-02-02Use hslua-module-path 0.1.0Albert Krewinkel1-1/+1
2021-02-02Lua: add module "pandoc.path"Albert Krewinkel1-0/+1
The module allows to work with file paths in a convenient and platform-independent manner. Closes: #6001 Closes: #6565
2021-02-01BibTeX writer: use doclayout and doctemplate.John MacFarlane1-0/+2
This change allows bibtex/biblatex output to wrap as other formats do, depending on the settings of `--wrap` and `--columns`. It also introduces default templates for bibtex and biblatex, which allow for using the variables `header-include`, `include-before` or `include-after` (or alternatively the command line options `--include-in-header`, `--include-before-body`, `--include-after-body`) to insert content into the generated bibtex/biblatex. This change requires a change in the return type of the unexported `T.P.Citeproc.writeBibTeXString` from `Text` to `Doc Text`. Closes #7068.
2021-02-01BibTeX writer fixes. Closes #7067.John MacFarlane1-1/+1
+ Require citeproc 0.3.0.7, which correctly titlecases when titles contain non-ASCII characters. + Correctly handle 'pages' (= 'page' in CSL). + Correctly handle BibLaTeX 'langid' (= 'language' in CSL). + In BibTeX output, protect foreign titles since there's no language field.
2021-01-30Require citeproc 0.3.0.6.John MacFarlane1-1/+1
2021-01-30Use tasty-bench instead of criterion for benchmarks.John MacFarlane1-1/+2
It is much lighter-weight.
2021-01-22Use citeproc 0.3.0.5.John MacFarlane1-1/+1
2021-01-22Merge pull request #7042 from tarleb/jats-element-citationsJohn MacFarlane1-0/+1
JATS writer: use element citations
2021-01-22JATS writer: allow to use element-citationAlbert Krewinkel1-0/+1
2021-01-22Add biblatex, bibtex as output formats (closes #7040).John MacFarlane1-0/+1
* `biblatex` and `bibtex` are now supported as output as well as input formats. * New module Text.Pandoc.Writers.BibTeX, exporting writeBibTeX and writeBibLaTeX. [API change] * New unexported function `writeBibtexString` in Text.Pandoc.Citeproc.BibTeX.
2021-01-15Use citeproc >= 0.3.0.4.John MacFarlane1-1/+1
2021-01-11Use commonmark 0.1.1.3.John MacFarlane1-1/+1
2021-01-10JATS writer: fix citations (#7018)Albert Krewinkel1-2/+0
* JATS writer: keep code lines at 80 chars or below * JATS writer: fix citations
2021-01-10Bump to 2.11.4.John MacFarlane1-1/+1
API change: export getReferences from T.P.Citeproc.
2021-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel1-1/+1
2021-01-05Implement defaults file inheritance (#6924)David Martschenko1-0/+7
Allow defaults files to inherit options from other defaults files by specifying them with the following syntax: `defaults: [list of defaults files or single defaults file]`.
2020-12-29Bump to 2.11.3.2, update changelog and man pageJohn MacFarlane1-1/+1
2020-12-29Use citeproc 0.3.0.3.John MacFarlane1-1/+1
Fixes an issue in author-only citations when both an author and translator are present.
2020-12-28Update test for new citeproc and require it in cabal.John MacFarlane1-1/+1
2020-12-27Require texmath 0.12.1.John MacFarlane1-1/+1
2020-12-20LaTeX writer: support colspans and rowspans in tables. (#6950)Albert Krewinkel1-0/+1
Note that the multirow package is needed for rowspans. It is included in the latex template under a variable, so that it won't be used unless needed for a table.
2020-12-18Bump to 2.11.3.1 and update changelog and man page.John MacFarlane1-1/+1
2020-12-18Use citeproc 0.3.0.1.John MacFarlane1-1/+1
2020-12-18Add test/writer.asciidoctor, tables.asciidoctor to extra-source-files.John MacFarlane1-0/+2
2020-12-18Include missing jats test files in pandoc.cabal.John MacFarlane1-0/+2
See #6961.
2020-12-17Use skylighting 0.10.2.John MacFarlane1-2/+2
Cloess #6625.
2020-12-16Fix citeproc regression with duplicate references.John MacFarlane1-1/+1
- Use dev version of citeproc, which handles duplicate ids better, preferring the last one in the list and discarding the rest. - Ensure that inline citations take priority over external ones. See jgm/citeproc#36. This restores the behavior of pandoc-citeproc.
2020-12-15Properly handle boolean values in writing YAML metadata.John MacFarlane1-2/+2
(Markdown writer.) This requires doctemplates >= 0.9. Closes #6388.
2020-12-13Require binary >= 0.7.John MacFarlane1-1/+1
Needed for runGetOrFail.
2020-12-12LaTeX writer: extract table handling into separate module.Albert Krewinkel1-0/+4
2020-12-10cabal: remove -Werror=missing-home-modules.John MacFarlane1-6/+0
It causes problems using cabal repl.
2020-12-10Move executable to app directory.John MacFarlane1-1/+1
Otherwise we have problems with cabal repl.
2020-12-10Add sourcepos extension for commonmarkeJohn MacFarlane1-1/+1
* Add `Ext_sourcepos` constructor for `Extension`. * Add `sourcepos` extension (only for commonmark). * Bump to 2.11.3 With the `sourcepos` extension set set, `data-pos` attributes are added to the AST by the commonmark reader. No other readers are affected. The `data-pos` attributes are put on elements that accept attributes; for other elements, an enlosing Div or Span is added to hold the attributes. Closes #4565.
2020-12-09Use latest citeproc release.John MacFarlane1-1/+1
2020-11-24Use skylighting 0.10.1.John MacFarlane1-2/+2
2020-11-24HTML reader: extract table parsing into separate moduleAlbert Krewinkel1-0/+1
2020-11-23HTML reader: extract submodulesAlbert Krewinkel1-0/+3
Reducing module size should reduce memory use during compilation. This is preparatory work to tackle support for more table features.
2020-11-18Remove 'static' flag.John MacFarlane1-9/+0
This isn't really necessary and can be misleading (e.g. on macOS, where a fully static build isn't possible). cabal's new option `--enable-executable-static` does the same. On stack you can add something like this to the options for your executable in package.yaml: ld-options: -static -pthread
2020-11-18Use citeproc 0.2John MacFarlane1-1/+1
2020-11-18Don't allow macos builds with 'static' flag.John MacFarlane1-0/+3
Closes #6771.
2020-11-17JATS writer: move Table handling to separate moduleAlbert Krewinkel1-0/+2
This makes it easier to split the module into smaller parts.
2020-11-15Bump to 2.11.2 for next release (minor API change in Logging).John MacFarlane1-1/+1
2020-11-07Bump to 2.11.1.1 and update changelog.John MacFarlane1-1/+1
2020-11-05Use citeproc 0.1.1.1.John MacFarlane1-1/+1
Closes #6813.
2020-11-05Require latest commonmark, commonmark-extensions.John MacFarlane1-2/+2
Fixes a bug with `autolink_bare_uris` and commonmark.
2020-11-05Use latest commonmark, commonmark-extensions.John MacFarlane1-2/+2
2020-11-04Use citeproc 0.1.1.John MacFarlane1-1/+1
2020-11-02Bump version to 2.11.1 and update changelog.John MacFarlane1-1/+1
2020-11-01Use latest commonmark, commonmark-extensions.John MacFarlane1-2/+2
This fixes a bug with nested blocks in footnotes with the `footnote` extension to `commonmark`. See jgm/commonmark-hs#63.
2020-10-22Bump to 2.11.0.4.John MacFarlane1-1/+1