From 6d1207613a7d9c54d705e730c75c4b4189fe83d1 Mon Sep 17 00:00:00 2001 From: Masao Takaku Date: Sun, 25 Aug 2024 01:14:59 +0900 Subject: [PATCH] specify relative dir on args in asciidoctor-pdf. next-l/enju_leaf#1907 --- _pdf/convert-adoc2pdf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pdf/convert-adoc2pdf.rb b/_pdf/convert-adoc2pdf.rb index b0eb698..31d41b5 100755 --- a/_pdf/convert-adoc2pdf.rb +++ b/_pdf/convert-adoc2pdf.rb @@ -24,6 +24,6 @@ enju_user_all.adoc enju_webapi_all.adoc ].each do |file| STDERR.puts file - system("asciidoctor-pdf -v -a scripts=cjk -a pdf-theme=./cjk-theme.yml -a pdf-fontsdir=./fonts -r asciidoctor/pdf/nogmagick #{File.join(d, file)}") + system("asciidoctor-pdf -v -a scripts=cjk -a pdf-theme=#{d}/cjk-theme.yml -a pdf-fontsdir=#{d}/fonts -r asciidoctor/pdf/nogmagick #{File.join(d, file)}") end end