File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
name = " Books"
2
2
uuid = " 939d5c6b-51ae-42e7-97ca-7564d0d4ad91"
3
- version = " 3.0.0 "
3
+ version = " 3.0.1 "
4
4
5
5
[deps ]
6
6
Artifacts = " 56f22d72-fd6d-98f1-02f0-08ddc0907c33"
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ using Markdown: MD
26
26
using Memoize: @memoize
27
27
using ProgressMeter: ProgressMeter
28
28
using Revise: entr
29
- using pandoc_crossref_jll: pandoc_crossref_path
30
- using pandoc_jll: pandoc
29
+ using pandoc_crossref_jll: pandoc_crossref_jll
30
+ using pandoc_jll: pandoc_jll
31
31
using Typst_jll: typst
32
32
33
33
const GENERATED_DIR = " _gen"
Original file line number Diff line number Diff line change 1
- const crossref_bin = string (pandoc_crossref_path):: String
1
+ if ! pandoc_jll. is_available ()
2
+ throw (ErrorException (" pandoc_jll.jl installation failed" ))
3
+ end
4
+ if ! pandoc_crossref_jll. is_available ()
5
+ throw (ErrorException (" pandoc_crossref_jll.jl installation failed" ))
6
+ end
7
+
8
+ const crossref_bin = string (pandoc_crossref_jll. pandoc_crossref_path):: String
2
9
const crossref = " --filter=$crossref_bin "
3
10
const include_lua_filter = joinpath (PKGDIR, " src" , " include-codeblocks.lua" )
4
11
const include_files = " --lua-filter=$include_lua_filter "
@@ -52,7 +59,7 @@ function copy_extra_directories(project)
52
59
end
53
60
54
61
function call_pandoc (args):: Tuple{Base.Process, String}
55
- pandoc () do pandoc_bin
62
+ pandoc_jll . pandoc () do pandoc_bin
56
63
cmd = ` $pandoc_bin $args `
57
64
stdout = IOBuffer ()
58
65
p = run (pipeline (cmd; stdout ))
You can’t perform that action at this time.
0 commit comments