Comments (4)
This changed in pandoc 3.
I will fix yst to use pandoc 3.
from yst.
Building from master
branch source produces the same results:
ewa-mbp:~/ext andersoe % git clone [email protected]:jgm/yst.git
Cloning into 'yst'...
remote: Enumerating objects: 825, done.
remote: Counting objects: 100% (113/113), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 825 (delta 57), reused 100 (delta 46), pack-reused 712
Receiving objects: 100% (825/825), 269.57 KiB | 1.38 MiB/s, done.
Resolving deltas: 100% (472/472), done.
ewa-mbp:~/ext andersoe % cd yst
ewa-mbp:~/ext/yst andersoe % cabal v2-build
Resolving dependencies...
Build profile: -w ghc-9.4.4 -O1
In order, the following will be built (use -v for more details):
- yst-0.7.1.3 (exe:yst) (first run)
Configuring executable 'yst' for yst-0.7.1.3..
Preprocessing executable 'yst' for yst-0.7.1.3..
Building executable 'yst' for yst-0.7.1.3..
[ 1 of 11] Compiling Paths_yst ( /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/autogen/Paths_yst.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Paths_yst.o )
[ 2 of 11] Compiling Yst.Types ( Yst/Types.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Yst/Types.o )
[ 3 of 11] Compiling Yst.Sqlite3 ( Yst/Sqlite3.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Yst/Sqlite3.o )
[ 4 of 11] Compiling Yst.Util ( Yst/Util.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Yst/Util.o )
[ 5 of 11] Compiling Yst.CSV ( Yst/CSV.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Yst/CSV.o )
[ 6 of 11] Compiling Yst.Yaml ( Yst/Yaml.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Yst/Yaml.o )
[ 7 of 11] Compiling Yst.Data ( Yst/Data.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Yst/Data.o )
[ 8 of 11] Compiling Yst.Render ( Yst/Render.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Yst/Render.o )
Yst/Render.hs:165:43: error:
Variable not in scope:
writeDocbook5 :: WriterOptions -> Pandoc -> m T.Text
Suggested fix:
Perhaps use one of these:
‘writeDocBook5’ (imported from Text.Pandoc),
‘writeDocBook4’ (imported from Text.Pandoc)
|
165 | DocBookFormat -> writeDocbook5 (wopts "docbook5")
| ^^^^^^^^^^^^^
[10 of 11] Compiling Yst.Config ( Yst/Config.hs, /Users/andersoe/ext/yst/dist-newstyle/build/aarch64-osx/ghc-9.4.4/yst-0.7.1.3/x/yst/build/yst/yst-tmp/Yst/Config.o )
from yst.
Thanks for the blazingly-fast response! Making the one-character capitalization change in the source code appears to solve the problem for me locally, but if there's a bigger change/fix involved, I'm not qualified for that.
from yst.
You could also use the released version and use --constrain "pandoc < 3"
with cabal.
from yst.
Related Issues (20)
- Passing Pandoc Arguments to YST HOT 1
- HDBC sqlite3 not installing with cabal HOT 3
- html5 output? HOT 1
- Possibility of having data within document HOT 1
- On new install, using demo site, yst fails on april_events.tex HOT 3
- yst.cabal is out of date, as it's no longer possible to install via "cabal install yst". HOT 4
- Please support XML data
- `cabal install yst` fails HOT 2
- storee HOT 1
- can give a sample site which is based on yst?
- Typo in readme
- Support custom `$nav$` rendering using templates HOT 4
- How can one implement dynamic pages. [feature request][discussion] HOT 4
- installation fails on nixos HOT 4
- yst won't install on Ubuntu 18.04 HOT 1
- Pandoc 2.9.* compatibility
- Installation fails HOT 5
- Failed to build yst - Ambiguous occurrence ‘defaultTimeLocale’ HOT 1
- yst fails to build with aeson >= 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yst.