Skip to content

Commit

Permalink
Merge pull request #1904 from kmuto/b5j
Browse files Browse the repository at this point in the history
use b5j instead of b5 for JIS size
  • Loading branch information
kmuto authored Jan 6, 2024
2 parents 9d1c3e7 + 31e4f98 commit 99cfd0f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
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

0 comments on commit 99cfd0f

Please sign in to comment.