Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use b5j instead of b5 for JIS size #1904

Merged
merged 2 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions samples/syntax-book/config-jlreq.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# call me by 'REVIEW_TEMPLATE=review-jlreq REVIEW_CONFIG_FILE=config-jlreq.yml rake pdf'
inherit: ["config.yml"]
# texdocumentclass: ["review-jlreq", "media=print,paper=b5"]
texdocumentclass: ["review-jlreq", "media=ebook,paper=b5"]
# texdocumentclass: ["review-jlreq", "media=print,paper=b5,bleed_margin=3mm,cover=true,Q=14,startpage=3,serial_pagination=true,hiddenfolio=nikko-pc"]
# texdocumentclass: ["review-jlreq", "media=print,paper=b5j"]
texdocumentclass: ["review-jlreq", "media=ebook,paper=b5j"]
# texdocumentclass: ["review-jlreq", "media=print,paper=b5j,bleed_margin=3mm,cover=true,Q=14,startpage=3,serial_pagination=true,hiddenfolio=nikko-pc"]
5 changes: 4 additions & 1 deletion templates/latex/review-jlreq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ texdocumentclass: ["review-jlreq", "クラスオプションたち(省略可
利用可能な特定の用紙サイズを指定できます。[デフォルト]は a5 です。

* `a0` 〜 `a10`:A 列
* `b0` 〜 `b10`:JIS B 列
* `b0j` 〜 `b10j`:JIS B 列
* `b0` 〜 `b10`:ISO B 列
* `c0` 〜 `c8`:C 列
* `a4var`:210mm x 283mm
* `b5var`:182mm x 230mm
Expand All @@ -57,6 +58,8 @@ texdocumentclass: ["review-jlreq", "クラスオプションたち(省略可
* `hagaki`:葉書き、100mm x 148mm
* `{横幅,縦幅}`:任意の指定サイズ

日本の B 列サイズにするには `b5j` のように j 付きで指定することに注意してください。

### トンボ用紙サイズ `tombopaper=<用紙サイズ>` および塗り足し幅 `bleed_margin=<幅>`

`tombopaper` ではトンボ用紙サイズを指定できます。
Expand Down
1 change: 1 addition & 0 deletions test/test_img_graph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def install_playwright
File.write(File.join(@tmpdir, 'package.json'), json)
Dir.chdir(@tmpdir) do
system('npm install')
system('npx playwright install chromium')
end

File.join(@tmpdir, 'node_modules', '.bin', 'playwright')
Expand Down
Loading