Skip to content

Commit

Permalink
fix instruction to build svg math
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuto committed Sep 30, 2021
1 parent b91399f commit a342173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/format.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ imgmath_options:
math_format: imgmath
imgmath_options:
format: svg
pdfcrop_pixelize_cmd: "pdftocairo -svg -r 90 -f %p -l %p -singlefile %i %o"
pdfcrop_pixelize_cmd: "pdftocairo -%t -r 90 -f %p -l %p %i %o"
```

デフォルトでは、pdfcrop_pixelize_cmd に指定するコマンドは、1ページあたり1数式からなる複数ページの PDF のファイル名を `%i` プレースホルダで受け取り、`%p` プレースホルダのページ数に基づいて `%o`(拡張子あり)または `%O`(拡張子なし)の画像ファイルに書き出す、という仕組みになっています。
Expand Down
2 changes: 1 addition & 1 deletion doc/format.md
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ For example, to make SVG:
math_format: imgmath
imgmath_options:
format: svg
pdfcrop_pixelize_cmd: "pdftocairo -svg -r 90 -f %p -l %p -singlefile %i %o"
pdfcrop_pixelize_cmd: "pdftocairo -%t -r 90 -f %p -l %p %i %o"
```

By default, the command specified in `pdfcrop_pixelize_cmd` takes the filename of multi-page PDF consisting of one formula per page.
Expand Down

0 comments on commit a342173

Please sign in to comment.