Skip to content

Commit 5749d48

Browse files
fix: remove dead add_typst_font_path Lua API (#13521)
The TypeScript-side handler for "typst-font-path" dependencies was removed in 7bac8f0 when Typst font handling moved from Lua to TypeScript, but the Lua API declaration was missed. Remove this dead code.
1 parent 956665f commit 5749d48

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/resources/pandoc/datadir/init.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -914,11 +914,6 @@ quarto = {
914914
writeToDependencyFile(dependency("usepackage", {package = package, options = options }))
915915
end,
916916

917-
-- could be add_metadata(namespace, {stuff})
918-
add_typst_font_path = function(path)
919-
writeToDependencyFile(dependency("typst-font-path", {path = path}))
920-
end,
921-
922917
add_format_resource = function(path)
923918
writeToDependencyFile(dependency("format-resources", { file = resolvePathExt(path)}))
924919
end,

0 commit comments

Comments
 (0)