Git Product home page Git Product logo

Comments (4)

jgm avatar jgm commented on September 26, 2024

This changed in pandoc 3.
I will fix yst to use pandoc 3.

from yst.

ewa avatar ewa commented on September 26, 2024

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.

ewa avatar ewa commented on September 26, 2024

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.

jgm avatar jgm commented on September 26, 2024

You could also use the released version and use --constrain "pandoc < 3" with cabal.

from yst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.