Open cscheid opened 3 days ago
I'd work on a PR, but apparently I can't get Pandoc to compile right now:
$ git pull origin main && cabal update && cabal build pandoc-cli
From github.com:jgm/pandoc
* branch main -> FETCH_HEAD
Already up to date.
Downloading the latest package list from hackage.haskell.org
Package list of hackage.haskell.org is up to date.
The index-state is set to 2024-07-03T19:51:11Z.
Build profile: -w ghc-9.4.8 -O1
In order, the following will be built (use -v for more details):
- pandoc-3.2.1 (lib) (first run)
- pandoc-server-0.1.0.6 (lib) (first run)
- pandoc-lua-engine-0.3 (lib) (first run)
- pandoc-cli-3.2.1 (exe:pandoc) (first run)
Preprocessing library for pandoc-3.2.1..
Building library for pandoc-3.2.1..
[198 of 215] Compiling Text.Pandoc.Readers.TWiki
src/Text/Pandoc/Readers/TWiki.hs:19:40: error:
Module ‘Data.Char’ does not export ‘isUpperCase’
|
19 | import Data.Char (isAlphaNum, isDigit, isUpperCase, isLowerCase, isLetter)
| ^^^^^^^^^^^
src/Text/Pandoc/Readers/TWiki.hs:19:53: error:
Module ‘Data.Char’ does not export ‘isLowerCase’
|
19 | import Data.Char (isAlphaNum, isDigit, isUpperCase, isLowerCase, isLetter)
| ^^^^^^^^^^^
Error: cabal: Failed to build pandoc-3.2.1 (which is required by exe:pandoc
from pandoc-cli-3.2.1).
Explain the problem.
The
typst
writer doesn't automatically convert unitless dimensions to inches, but Typst doesn't like unitless dimensions. This behavior is inconsistent with (eg) thelatex
writer:Pandoc version?
I used 3.2 and didn't see anything relevant on the 3.2.1 changelog (still compiling 3.2.1 locally...):