From 57c9d4ad99cc4ca547eef41cea1ed826b5fb0649 Mon Sep 17 00:00:00 2001 From: Daniel Himmelstein Date: Mon, 9 Nov 2020 21:26:24 -0500 Subject: [PATCH] upgrade pandoc to version 2.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit new citeproc filter name upgrade pandoc-xnos packages refs https://github.com/tomduck/pandoc-fignos/issues/85 upgrade panflute to 2.0.5 includes fix to https://github.com/manubot/rootstock/pull/386#issuecomment-724926969: Element "MetaList" received "CSL_Item" but expected pandoc html: disable document-css in template From pandoc 2.11 (2020-10-11) changelog: > Add CSS to default HTML template (#6601, Mauro Bieg). This greatly improves the default typography in pandoc’s HTML output. The CSS is sensitive to a number of variables (e.g. mainfont, fontsize, linestretch): see the manual for details. To restore the earlier, more spartan output, you can disable this with -M document-css=false. pandoc 2.11.3 https://github.com/jgm/pandoc/releases/tag/2.11.3 --- build/environment.yml | 16 ++++++++-------- build/pandoc/defaults/common.yaml | 2 +- build/pandoc/defaults/html.yaml | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/build/environment.yml b/build/environment.yml index abee7fb1..247d9201 100644 --- a/build/environment.yml +++ b/build/environment.yml @@ -5,11 +5,10 @@ dependencies: - cairo=1.14.12 - cairocffi=0.8.0 - cffi=1.12.3 - - ghp-import=0.5.5 + - ghp-import=1.0.0 - jinja2=2.11.2 - jsonschema=3.2.0 - - pandoc=2.9.2 - - panflute=1.12.5 + - pandoc=2.11.3 - pango=1.40.14 - pip=20.2 - psutil=5.7.3 @@ -21,14 +20,15 @@ dependencies: - yamllint=1.25.0 - pip: - errorhandler==2.0.1 - - git+https://github.com/manubot/manubot@553090a16ac24a9fdc3f8df241a91b790c140865 + - git+https://github.com/manubot/manubot@01d69f066eaf6554111e6bcf197f7ee1fcfb240b - isbnlib==3.10.3 - opentimestamps-client==0.7.0 - opentimestamps==0.4.1 - - pandoc-eqnos==2.3.0 - - pandoc-fignos==2.3.1 - - pandoc-tablenos==2.2.2 - - pandoc-xnos==2.4.3 + - pandoc-eqnos==2.4.0 + - pandoc-fignos==2.4.0 + - pandoc-tablenos==2.3.0 + - pandoc-xnos==2.5.0 + - panflute==2.0.5 - pybase62==0.4.3 - pysha3==1.0.2 - python-bitcoinlib==0.10.2 diff --git a/build/pandoc/defaults/common.yaml b/build/pandoc/defaults/common.yaml index 12c0c343..bfa5d971 100644 --- a/build/pandoc/defaults/common.yaml +++ b/build/pandoc/defaults/common.yaml @@ -6,7 +6,7 @@ filters: - pandoc-eqnos - pandoc-tablenos - pandoc-manubot-cite -- pandoc-citeproc +- citeproc wrap: preserve metadata: csl: build/assets/style.csl diff --git a/build/pandoc/defaults/html.yaml b/build/pandoc/defaults/html.yaml index 50d29812..8aff336a 100644 --- a/build/pandoc/defaults/html.yaml +++ b/build/pandoc/defaults/html.yaml @@ -25,6 +25,7 @@ include-after-body: - build/plugins/mathjax.html #- build/plugins/scite.html variables: + document-css: false math: "" html-math-method: method: mathjax