summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-27 20:50:23 +0000
committerKarl Berry <karl@freefriends.org>2022-11-27 20:50:23 +0000
commitc49d6d50cb99b4ad1e00b76df355e9e86ce89d10 (patch)
treed3f8fc6793ee664ae08c93bba25ad2faf2a0402f
parent51f5f5e2a9898085baa0807000ce6d099af16317 (diff)
jlreq (27nov22)
git-svn-id: svn://tug.org/texlive/trunk@65119 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/README-ja.md46
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/README.md5
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-ja.html163
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-ja.pdfbin371560 -> 376976 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.html62
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md20
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.html147
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md20
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq.html152
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq.pdfbin119802 -> 120615 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq-v.tfmbin2332 -> 2640 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq.tfmbin2332 -> 2640 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg-v.tfmbin2332 -> 2640 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg.tfmbin2332 -> 2640 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq-v.tfmbin2368 -> 2676 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq.tfmbin2368 -> 2676 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg-v.tfmbin2368 -> 2676 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg.tfmbin2368 -> 2676 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq-v.tfmbin2304 -> 2612 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq.tfmbin2304 -> 2612 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg-v.tfmbin2304 -> 2612 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg.tfmbin2304 -> 2612 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq-v.tfmbin2340 -> 2648 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq.tfmbin2340 -> 2648 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg-v.tfmbin2340 -> 2648 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg.tfmbin2340 -> 2648 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq-v.vfbin1590492 -> 1590716 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq.vfbin1590520 -> 1590520 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg-v.vfbin1590492 -> 1590716 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg.vfbin1590524 -> 1590524 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq-v.vfbin1590428 -> 1590652 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq.vfbin1590460 -> 1590460 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg-v.vfbin1590428 -> 1590652 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg.vfbin1590460 -> 1590460 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ujlreq-v.vfbin1590492 -> 1590716 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ujlreq.vfbin1590520 -> 1590520 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg-v.vfbin1590492 -> 1590716 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg.vfbin1590520 -> 1590520 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq-v.vfbin1590428 -> 1590652 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq.vfbin1590456 -> 1590456 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg-v.vfbin1590428 -> 1590652 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg.vfbin1590460 -> 1590460 bytes
-rw-r--r--Master/texmf-dist/source/latex/jlreq/luajfm2pl.lua2
-rw-r--r--Master/texmf-dist/tex/latex/jlreq/jlreq-complements.sty16
-rw-r--r--Master/texmf-dist/tex/latex/jlreq/jlreq-helpers.sty4
-rw-r--r--Master/texmf-dist/tex/latex/jlreq/jlreq-trimmarks.sty93
-rw-r--r--Master/texmf-dist/tex/latex/jlreq/jlreq.cls145
-rw-r--r--Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua48
-rw-r--r--Master/texmf-dist/tex/luatex/jlreq/jfm-jlreqv.lua650
49 files changed, 1360 insertions, 213 deletions
diff --git a/Master/texmf-dist/doc/latex/jlreq/README-ja.md b/Master/texmf-dist/doc/latex/jlreq/README-ja.md
index 78766ca570a..a34b2b1a960 100644
--- a/Master/texmf-dist/doc/latex/jlreq/README-ja.md
+++ b/Master/texmf-dist/doc/latex/jlreq/README-ja.md
@@ -164,6 +164,7 @@ pLaTeX / upLaTeX / LuaLaTeX上で動きます.以下のパッケージを内
* `sidenote_keyword_font=<フォント設定コード>`:`sidenote_symbol=symbol`の時に,注のついている単語のフォント指定.デフォルトは無し(強調しない)
* `endnote_second_indent=<寸法>`: 後柱の二行目以降の字下げ量を指定します.一行目からの相対字下げ量です.
* `endnote_position=[headings/paragraph/{_<見出し名1>,_<見出し名2>,...}]`:後注の出力場所を指定します.`headings`は各見出しの直前(デフォルト),`paragraph`は改段落の際に出力します.また,`endnote_position={_chapter,_section}`とすると,`\chapter`と`\section`の直前に出力します.`<_見出し名>`を指定するためには,対象の見出しが本クラスファイルの機能を使って作られていなければいけません.
+* `warichu_opening=<コード>`, `warichu_closing=<コード>`:それぞれ,割注の前と後ろに挿入されます.デフォルトは`(`と`)`です.
### キャプション
図表のキャプションを`\jlreqsetup`で変更できます.全ての設定で,各環境ごとの設定をすることができます.例えば`caption_font=\normalsize,table=\Large`とすると,table環境内では`\Large`が適用され,そのほかの環境内では`\normalsize`が適用されます.他の設定も同様です.
@@ -185,14 +186,6 @@ pLaTeX / upLaTeX / LuaLaTeX上で動きます.以下のパッケージを内
* `itemization_beforeafter_space=<寸法>`:箇条書きの前後の空きを指定します.`itemization_beforeafter_space={i=<寸法>}`とするとトップレベルのみに設定を行います.`itemization_beforeafter_space={0pt,i=10pt,ii=5pt}`とすれば,レベル1の箇条書きに10ptを,レベル2のそれに5ptを,それ以外には0ptを設定します.レベルは上記のように小文字ローマ数字で指定します.
* `itemization_itemsep=<寸法>`:項目同士の空きを指定します.
-### 定理環境
-`\jlreqsetup`で指定します.
-* `theorem_beforeafter_space=<寸法>`:定理環境の前後の空きを指定します.
-* `theorem_label_font=<フォント設定コード>`:定理環境のラベル部分のフォントを設定します.
-* `theorem_font=<フォント設定コード>`:定理環境本体のフォントを設定します.
-
-`amsthm`パッケージが読み込まれると,新しい定理スタイル`jlreq`が定義され,現在のスタイルが`jlreq`へと変更されます.このとき,上記設定はこの`jlreq`スタイルへの設定として機能します.
-
### 前付きなど
`\frontmatter` / `\mainmatter` / `\backmatter` / `\appendix`での処理を`\jlreqsetup`で指定できます.
* `frontmatter_pagebreak=[cleardoublepage/clearpage/]`:`\frontmatter`実行時の改ページを実行する命令名を指定します.空にすると何もしません.
@@ -380,6 +373,38 @@ JFMの名前は次の通りです.`[]`で囲まれている文字は設定に
## その他
* クラスオプション`jlreq_notes`が渡されると,日本語組版処理の記述と矛盾する設定が行われた場合に通知がされます.
+## jlreq-complements
+`jlreq-complements`パッケージはLaTeXのドキュメントクラスで標準的に提供される環境などをカスタマイズ可能なものに変更するパッケージです.以下のように使います.次のオプションを受け付けます.
+* `platex`, `uplatex`, `lulalatex`:エンジンの指定です.
+* `setupname=<名前>`:カスタマイズするための命令名を指定します.デフォルトでは`jlreqcomplementssetup`で,`jlreqcomplementssetup{<設定項目>}`とプリアンブルに書くことで設定できます.
+
+`jlreq`内では`\usepackage[<jlreq内で認識しているエンジン>,setupname=jlreqsetup]{jlreq-complements}`相当で読み込みがされていますので,今までの`\jlreqsetup`で環境のカスタマイズをすることができます.なお,このように既存の名前を指定してうまく行くためにはもともとの命令と整合的である必要があります.通常は避けた方がよいでしょう.
+
+### `thebibliography`環境
+* `thebibliography_heading=<コード>`:`thebibliography`環境の見出しを出力する命令を指定します.
+* `thebibliography_after_label_space=<寸法>`:`thebibliography`環境における各項目のラベル以降の空きを指定します.
+* `thebibliography_indent=<寸法>`:`thebibliography`環境全体の字下げ量を指定します.
+* `thebibliography_mark=<コード>`:`thebibliography`環境の見出しを柱に登録するためのコードを指定します.
+* `thebibliography_precode=<コード>`,`thebibliography_postcode=<コード>`:それぞれ,`thebibliography`環境の前後に実行されるコードを指定します.
+
+### `theindex`環境
+* `theindex_heading=<コード>`:`theindex`環境の見出しを出力する命令を指定します.
+* `theindex_mark=<コード>`:`theindex`環境の見出しを柱に登録するためのコードを指定します.
+* `theindex_twocolumn=[true/false]`:`theindex`環境を二段組みで出力するかを指定します.
+* `theindex_column_gap=<寸法>`:`theindex_twocolumn=true`の時の`theindex`環境内での段間を指定します.
+* `theindex_column_rule_width=<寸法>`:`theindex_twocolumn=true`の時の`theindex`環境内での`\columnseprule`の値を指定します.
+* `theindex_pagestyle=<ページスタイル名>`:`theindex`環境でのページスタイルを指定します.
+* `theindex_postcode=<コード>`,`theindex_precode=<コード>`:それぞれ,`theindex`環境の前後に実行されるコードを指定します.
+
+### 定理環境
+* `theorem_beforeafter_space=<寸法>`:定理環境の前後の空きを指定します.
+* `theorem_label_font=<フォント設定コード>`:定理環境のラベル部分のフォントを設定します.
+* `theorem_font=<フォント設定コード>`:定理環境本体のフォントを設定します.
+* `theorem_indent=<寸法>`:定理環境本体の字下げ量を指定します.
+* `proof_label_font=<フォント設定コード>`:`amsthm`パッケージが読み込まれたときのみ有効な設定です.
+
+`amsthm`パッケージが読み込まれると,新しい定理スタイル`jlreq`が定義され,現在のスタイルが`jlreq`へと変更されます.このとき,上記設定はこの`jlreq`スタイルへの設定として機能します.
+
## ライセンス
このパッケージは二条項BSDライセンスの元で配布されています.詳しくは[LICENSE](LICENSE)をご覧ください.
@@ -540,6 +565,11 @@ JFMの名前は次の通りです.`[]`で囲まれている文字は設定に
- バグ修正.
* 2022-07-13
- 右側の柱が正しく配置されないバグ修正.
+* 2022-11-28
+ - `\SetBlockHeadingSpaces`時に柱への登録が行われなかったバグを修正.
+ - ISO C4の用紙サイズが間違っていたのを修正.
+ - `jlreq-complements`を追加.
+ - その他バグ修正やその他のパッケージとの調整など.
--------------
Noriyuki Abe
diff --git a/Master/texmf-dist/doc/latex/jlreq/README.md b/Master/texmf-dist/doc/latex/jlreq/README.md
index 9d9506678bd..27ad1eee814 100644
--- a/Master/texmf-dist/doc/latex/jlreq/README.md
+++ b/Master/texmf-dist/doc/latex/jlreq/README.md
@@ -175,6 +175,11 @@ This package is distributed under the BSD 2-Clause License. See [LICENSE](LICENS
- Fixed a bug.
* 2022-07-13
- Fixed a bug: The position of running heads were not correct.
+* 2022-11-28
+ - Fixed a bug: did not register to running head when `\SetBlockHeadingSpaces` is used.
+ - Fixed a bug: wrong papersize for ISO C4.
+ - Added a package `jlreq-complements`
+ - Fixed some other bugs and adjust with some other packages.
--------------
Noriyuki Abe
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.html b/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.html
index 7b825ed72e3..1426a79c495 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.html
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.html
@@ -88,20 +88,27 @@
<article class="markdown-body">
<h1 id="jlreq">jlreq</h1>
<h2 id="これは何">これは何?</h2>
-<p><a href="https://www.w3.org/TR/jlreq/?lang=ja">日本語組版処理の要件</a>の実装を試みる<a href="https://osdn.jp/projects/luatex-ja/wiki/FrontPage">LuaTeX-ja</a> / pLaTeX / upLaTeX用のクラスファイルと,それに必要なJFMの組み合わせです.</p>
+<p><a
+href="https://www.w3.org/TR/jlreq/?lang=ja">日本語組版処理の要件</a>の実装を試みる<a
+href="https://osdn.jp/projects/luatex-ja/wiki/FrontPage">LuaTeX-ja</a> /
+pLaTeX /
+upLaTeX用のクラスファイルと,それに必要なJFMの組み合わせです.</p>
<h2 id="提供されるもの">提供されるもの</h2>
-<p>クラスファイルjlreq.clsと,横書きLuaTeX-ja用のJFMであるjfm-jlreq.luaが用意されています.また,縦書きのJFMやpLaTeX / upLaTeX用のJFMを生成するいくつかのスクリプトがあります.</p>
+<p>クラスファイルjlreq.clsと,横書きLuaTeX-ja用のJFMであるjfm-jlreq.luaが用意されています.また,縦書きのJFMやpLaTeX
+/ upLaTeX用のJFMを生成するいくつかのスクリプトがあります.</p>
<h2 id="インストール">インストール</h2>
<p><code>make</code>で必要なJFMを生成してください.その後,</p>
<ul>
<li>*.tfm -&gt; $TEXMF/fonts/tfm/public/jlreq</li>
<li>*.vf -&gt; $TEXMF/fonts/vf/public/jlreq</li>
-<li>jfm-jlreq.lua, jfm-jlreqv.lua, jfm-jlreq-jidori.lua jfm-jlreqv-jidori.lua -&gt; $TEXMF/tex/luatex/jlreq</li>
+<li>jfm-jlreq.lua, jfm-jlreqv.lua, jfm-jlreq-jidori.lua
+jfm-jlreqv-jidori.lua -&gt; $TEXMF/tex/luatex/jlreq</li>
<li>jlreq.cls, jlreq-helpers.sty -&gt; $TEXMF/tex/latex/jlreq</li>
</ul>
<p>と配置します.<code>make install</code>とすると,$TEXMF=$TEXMFHOMEとしてこのコピーを行います.</p>
<h2 id="動作環境">動作環境</h2>
-<p>pLaTeX / upLaTeX / LuaLaTeX上で動きます.以下のパッケージを内部で読み込みます.</p>
+<p>pLaTeX / upLaTeX /
+LuaLaTeX上で動きます.以下のパッケージを内部で読み込みます.</p>
<ul>
<li>(常時):l3keys2e,lmodern</li>
<li>(LuaLaTeX非利用時):everyhook</li>
@@ -110,12 +117,21 @@
<p>リリース時点での最新版での動作を確認しています.</p>
<h2 id="使い方">使い方</h2>
<p>通常通り</p>
-<div class="sourceCode" id="cb1"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\documentclass</span>{<span class="ex">jlreq</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb1"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\documentclass</span>{<span class="ex">jlreq</span>}</span></code></pre></div>
<p>とします.これで横書きのarticle相当の文書クラスとなります.エンジンは自動判定されますが,指定する場合はクラスオプションに<code>platex/uplatex/lualatex</code>のいずれかを渡してください.縦書きにするには<code>tate</code>オプションを渡します.また,reportやbook相当の文書クラスとするには,それぞれ<code>report</code>や<code>book</code>オプションを渡します.たとえば,縦書きの本を作成するには</p>
-<div class="sourceCode" id="cb2"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\documentclass</span>[tate,book]{<span class="ex">jlreq</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb2"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\documentclass</span>[tate,book]{<span class="ex">jlreq</span>}</span></code></pre></div>
<p>とします.</p>
-<p>その他,<code>oneside</code> / <code>twoside</code> / <code>onecolumn</code> / <code>twocolumn</code> / <code>titlepage</code> / <code>notitlepage</code> / <code>draft</code> / <code>final</code> / <code>landscape</code> / <code>openright</code> / <code>openany</code> / <code>leqno</code> / <code>fleqn</code>というよくあるオプションを受け付けます.また<code>disablejfam</code>オプションを渡すと,和文フォントを数式用に登録しません.</p>
-<p>標準的な文書クラスと同じように中身を書くことができますが,次のような命令が追加 / 拡張されています.なお,本ドキュメントでは<a href="https://www.w3.org/TR/jlreq/?lang=ja">日本語組版処理の要件</a>における用語を断りなく使います.</p>
+<p>その他,<code>oneside</code> / <code>twoside</code> /
+<code>onecolumn</code> / <code>twocolumn</code> / <code>titlepage</code>
+/ <code>notitlepage</code> / <code>draft</code> / <code>final</code> /
+<code>landscape</code> / <code>openright</code> / <code>openany</code> /
+<code>leqno</code> /
+<code>fleqn</code>というよくあるオプションを受け付けます.また<code>disablejfam</code>オプションを渡すと,和文フォントを数式用に登録しません.</p>
+<p>標準的な文書クラスと同じように中身を書くことができますが,次のような命令が追加
+/ 拡張されています.なお,本ドキュメントでは<a
+href="https://www.w3.org/TR/jlreq/?lang=ja">日本語組版処理の要件</a>における用語を断りなく使います.</p>
<h3 id="jlreqsetup"><code>\jlreqsetup</code></h3>
<p>設定用命令です.プリアンブルでしか使えません.文書に対する設定は,クラスオプションとして行うか<code>\jlreqsetup</code>を通じて行うかします.どちらで設定するかは設定項目によります.</p>
<h3 id="section"><code>\section</code></h3>
@@ -125,7 +141,8 @@
<h3 id="sidenote"><code>\sidenote</code></h3>
<p>この命令は傍注の幅が正の時にのみ定義されます.デフォルトの基本版面ではこの幅は0に設定されています.従って<code>\sidenote</code>は定義されません.後の基本版面の設定を参考にしてください.</p>
<p><code>\sidenote</code>は傍注(縦組みの場合は脚注)を出力します.内部では<code>\marginpar</code>を使っています.デフォルトでは<code>\footnote</code>と同様の書式となりますが,<code>\jlreqsetup</code>で<code>sidenote_type=symbol</code>が指定されている場合,その書式は<code>\sidenote{該当項目}{注}</code>となります.たとえば</p>
-<div class="sourceCode" id="cb3"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>刊行できる<span class="fu">\sidenote</span>{原稿}{印刷などの方法により……}を入手する仕事である.</span></code></pre></div>
+<div class="sourceCode" id="cb3"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>刊行できる<span class="fu">\sidenote</span>{原稿}{印刷などの方法により……}を入手する仕事である.</span></code></pre></div>
<p>とします.後の説明も参照してください.</p>
<h3 id="endnote"><code>\endnote</code></h3>
<p>後注を指定します.<code>\footnote</code>と同様の書式です.デフォルトでは,注自身の出力は見出し直前に行われます.この動作は<code>\jlreqsetup</code>に<code>endnote_position</code>を渡すことで制御できます.詳しくは後の注関係の説明をご覧ください.また<code>\theendnotes</code>を実行するとその場に出力をします.</p>
@@ -145,14 +162,19 @@
<p>全角空白(U+3000)一文字からなるマクロです.和字間隔を挿入します.LuaLaTeXでは<code> </code>のみでも和字間隔を入力できます.</p>
<h3 id="その他">その他</h3>
<ul>
-<li><p>ルビや圏点は提供されません.<a href="https://github.com/zr-tex8r/PXrubrica">PXrubrica</a>または`luatexja-ruby`(LuaLaTeX,LuaTeX-jaパッケージに付属)を使うと良いかと思います.</p></li>
-<li><p>pLaTeX / upLaTeX利用時はそれぞれ<code>zw</code>および<code>zh</code>に展開されるマクロ<code>\zw</code>と<code>\zh</code>が定義されます.LuaLaTeX利用時はLuaTeX-ja内で同名のマクロが定義されます.</p></li>
+<li><p>ルビや圏点は提供されません.<a
+href="https://github.com/zr-tex8r/PXrubrica">PXrubrica</a>または`luatexja-ruby`(LuaLaTeX,LuaTeX-jaパッケージに付属)を使うと良いかと思います.</p></li>
+<li><p>pLaTeX /
+upLaTeX利用時はそれぞれ<code>zw</code>および<code>zh</code>に展開されるマクロ<code>\zw</code>と<code>\zh</code>が定義されます.LuaLaTeX利用時はLuaTeX-ja内で同名のマクロが定義されます.</p></li>
<li><p>日本語組版処理の要件2.3.2.dによれば,横組みにおける二段組の最後のページの各段の行数は揃えることが望ましいとされていますが,この処理は行われません.<code>nidanfloat</code>パッケージを使い,</p>
-<div class="sourceCode" id="cb5"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\usepackage</span>[balance]{<span class="ex">nidanfloat</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb5"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\usepackage</span>[balance]{<span class="ex">nidanfloat</span>}</span></code></pre></div>
<p>とするとこの処理が行われます.ただし,最終ページでの<code>\newpage</code>や<code>\clearpage</code>が正しく動作しません.詳しくは<code>nidanfloat</code>パッケージのマニュアルをご覧ください.</p></li>
-<li><p>フォントを設定する機能は有していません.和文フォントは,LuaLaTeX利用時は<code>luatexja-fontspec</code>や<code>luatexja-preset</code>(いずれもLuaTeX-jaパッケージに付属)により設定することができます.dvipdfmxを使う場合は,<a href="https://github.com/zr-tex8r/PXchfon">PXchfon</a>での設定が可能です.</p></li>
+<li><p>フォントを設定する機能は有していません.和文フォントは,LuaLaTeX利用時は<code>luatexja-fontspec</code>や<code>luatexja-preset</code>(いずれもLuaTeX-jaパッケージに付属)により設定することができます.dvipdfmxを使う場合は,<a
+href="https://github.com/zr-tex8r/PXchfon">PXchfon</a>での設定が可能です.</p></li>
<li><p>和文間の空白((u)pTeXでは<code>\kanjiskip</code>に,LuateX-jaでは<code>kanjiskip</code>パラメータに格納されているもの)は,デフォルトでは1/4文字分までの空きを許容した設定になっています.これは日本語組版処理の要件に従ったものですが,TeXでの機能の制限などもあり,場合によってはあまり適切ではない結果を生じることがあります.この値を変更する場合は,<code>\jlreqkanjiskip</code>を再定義してください.例えば,</p>
-<div class="sourceCode" id="cb6"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\documentclass</span>{<span class="ex">jlreq</span>}</span>
+<div class="sourceCode" id="cb6"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\documentclass</span>{<span class="ex">jlreq</span>}</span>
<span id="cb6-2"><a href="#cb6-2" aria-hidden="true" tabindex="-1"></a><span class="fu">\renewcommand</span>{<span class="ex">\jlreqkanjiskip</span>}{0pt plus .1<span class="fu">\zw</span> minus .01<span class="fu">\zw</span>}</span>
<span id="cb6-3"><a href="#cb6-3" aria-hidden="true" tabindex="-1"></a><span class="kw">\begin</span>{<span class="ex">document</span>}</span>
<span id="cb6-4"><a href="#cb6-4" aria-hidden="true" tabindex="-1"></a>(本文)</span>
@@ -165,7 +187,9 @@
<p>以下では次の用法を使います.</p>
<ul>
<li><code>[A/B]</code>:AまたはBです.<code>[A/B/C]</code>等も同様.</li>
-<li><code>&lt;寸法&gt;</code>:TeXが認識する寸法です.簡単な式(<code>10pt+10pt</code>のような)を使うこともできます.また,クラスオプションでは,場合によっては次のような特殊な値を使うこともできます.(これらはpLaTeX / upLaTeXではもとから利用可能ですが,LuaLaTeXでも利用可能なように処理されています.)<code>\jlreqsetup</code>内のような場所では,常に<code>\zw</code>や<code>\zh</code>により全角幅が記述できます.以下,たとえば<code>Q</code>,<code>H</code>が利用可能な場合は<code>&lt;寸法;Q,H&gt;</code>のように記述します.
+<li><code>&lt;寸法&gt;</code>:TeXが認識する寸法です.簡単な式(<code>10pt+10pt</code>のような)を使うこともできます.また,クラスオプションでは,場合によっては次のような特殊な値を使うこともできます.(これらはpLaTeX
+/
+upLaTeXではもとから利用可能ですが,LuaLaTeXでも利用可能なように処理されています.)<code>\jlreqsetup</code>内のような場所では,常に<code>\zw</code>や<code>\zh</code>により全角幅が記述できます.以下,たとえば<code>Q</code>,<code>H</code>が利用可能な場合は<code>&lt;寸法;Q,H&gt;</code>のように記述します.
<ul>
<li><code>Q</code>,<code>H</code>:0.25mmと解釈されます.</li>
<li><code>zw</code>, <code>zh</code>:全角幅として解釈されます.</li>
@@ -176,10 +200,14 @@
<h3 id="基本版面">基本版面</h3>
<p>クラスオプションです.</p>
<ul>
-<li><code>paper=[&lt;紙サイズ名&gt;/{&lt;寸法&gt;,&lt;寸法&gt;}]</code>:紙サイズです.紙サイズ名は<code>a0paper</code>から<code>a10paper</code>,<code>b0paper</code>から<code>b10paper</code>,<code>c2paper</code>から<code>c8paper</code>を指定できます.B列はISO B列です.JIS B列を指定する場合は,<code>b0j</code>から<code>b10j</code>の対応するものを指定してください.また,<code>letterpaper</code>,<code>legalpaper</code>,<code>executivepaper</code>が指定できます.さらに,<code>{&lt;横&gt;,&lt;縦&gt;}</code>と直接寸法を指定することもできます.</li>
+<li><code>paper=[&lt;紙サイズ名&gt;/{&lt;寸法&gt;,&lt;寸法&gt;}]</code>:紙サイズです.紙サイズ名は<code>a0paper</code>から<code>a10paper</code>,<code>b0paper</code>から<code>b10paper</code>,<code>c2paper</code>から<code>c8paper</code>を指定できます.B列はISO
+B列です.JIS
+B列を指定する場合は,<code>b0j</code>から<code>b10j</code>の対応するものを指定してください.また,<code>letterpaper</code>,<code>legalpaper</code>,<code>executivepaper</code>が指定できます.さらに,<code>{&lt;横&gt;,&lt;縦&gt;}</code>と直接寸法を指定することもできます.</li>
<li><code>fontsize=&lt;寸法;Q,H&gt;</code>:欧文フォントサイズ.デフォルトは10pt.</li>
<li><code>jafontsize=&lt;寸法;Q,H&gt;</code>:和文フォントサイズ.</li>
-<li><code>jafontscale=&lt;実数値&gt;</code>:欧文フォントと和文フォントの比(和文 / 欧文).<code>fontsize</code>と<code>jafontsize</code>が両方指定されている場合は無視される.デフォルトは1.</li>
+<li><code>jafontscale=&lt;実数値&gt;</code>:欧文フォントと和文フォントの比(和文
+/
+欧文).<code>fontsize</code>と<code>jafontsize</code>が両方指定されている場合は無視される.デフォルトは1.</li>
<li><code>line_length=&lt;寸法;zw,zh&gt;</code>:一行の長さ.デフォルトは字送り方向の紙幅の0.75倍.実際の値は一文字の長さの整数倍になるように補正されます.</li>
<li><code>number_of_lines=&lt;自然数値&gt;</code>:一ページの行数.デフォルトは行送り方向の紙幅の0.75倍になるような値.</li>
<li><code>gutter=&lt;寸法;zw,zh&gt;</code>:のどの余白の大きさ.
@@ -212,12 +240,16 @@
<p><code>\jlreqsetup</code>で指定します.</p>
<ul>
<li><code>reference_mark=[inline/interlinear]</code>:合印の配置方法を指定します.<code>inline</code>にすると該当項目の後ろの行中に配置します.<code>interlinear</code>を指定すると該当項目の上(横組)または右(縦組)に配置します.</li>
-<li><code>footnote_second_indent=&lt;寸法&gt;</code>: 脚注(横書き時)または傍注(縦書き時)の二行目以降の字下げ量を指定します.一行目からの相対字下げ量です.</li>
+<li><code>footnote_second_indent=&lt;寸法&gt;</code>:
+脚注(横書き時)または傍注(縦書き時)の二行目以降の字下げ量を指定します.一行目からの相対字下げ量です.</li>
<li><code>sidenote_type=[number/symbol]</code>:傍注と本文との対応の方法を指定します.<code>number</code>が規定で,注の位置に通し番号が入り,それにより対応が示されます.<code>symbol</code>とすると,注の位置に特定の記号が入り,また注がついている単語が強調されます.</li>
<li><code>sidenote_symbol=&lt;コード&gt;</code>:<code>sidenote_symbol=symbol</code>の時に,注の位置に入る記号.デフォルト*</li>
<li><code>sidenote_keyword_font=&lt;フォント設定コード&gt;</code>:<code>sidenote_symbol=symbol</code>の時に,注のついている単語のフォント指定.デフォルトは無し(強調しない)</li>
-<li><code>endnote_second_indent=&lt;寸法&gt;</code>: 後柱の二行目以降の字下げ量を指定します.一行目からの相対字下げ量です.</li>
+<li><code>endnote_second_indent=&lt;寸法&gt;</code>:
+後柱の二行目以降の字下げ量を指定します.一行目からの相対字下げ量です.</li>
<li><code>endnote_position=[headings/paragraph/{_&lt;見出し名1&gt;,_&lt;見出し名2&gt;,...}]</code>:後注の出力場所を指定します.<code>headings</code>は各見出しの直前(デフォルト),<code>paragraph</code>は改段落の際に出力します.また,<code>endnote_position={_chapter,_section}</code>とすると,<code>\chapter</code>と<code>\section</code>の直前に出力します.<code>&lt;_見出し名&gt;</code>を指定するためには,対象の見出しが本クラスファイルの機能を使って作られていなければいけません.</li>
+<li><code>warichu_opening=&lt;コード&gt;</code>,
+<code>warichu_closing=&lt;コード&gt;</code>:それぞれ,割注の前と後ろに挿入されます.デフォルトは<code>(</code>と<code>)</code>です.</li>
</ul>
<h3 id="キャプション">キャプション</h3>
<p>図表のキャプションを<code>\jlreqsetup</code>で変更できます.全ての設定で,各環境ごとの設定をすることができます.例えば<code>caption_font=\normalsize,table=\Large</code>とすると,table環境内では<code>\Large</code>が適用され,そのほかの環境内では<code>\normalsize</code>が適用されます.他の設定も同様です.</p>
@@ -242,16 +274,10 @@
<li><code>itemization_beforeafter_space=&lt;寸法&gt;</code>:箇条書きの前後の空きを指定します.<code>itemization_beforeafter_space={i=&lt;寸法&gt;}</code>とするとトップレベルのみに設定を行います.<code>itemization_beforeafter_space={0pt,i=10pt,ii=5pt}</code>とすれば,レベル1の箇条書きに10ptを,レベル2のそれに5ptを,それ以外には0ptを設定します.レベルは上記のように小文字ローマ数字で指定します.</li>
<li><code>itemization_itemsep=&lt;寸法&gt;</code>:項目同士の空きを指定します.</li>
</ul>
-<h3 id="定理環境">定理環境</h3>
-<p><code>\jlreqsetup</code>で指定します.</p>
-<ul>
-<li><code>theorem_beforeafter_space=&lt;寸法&gt;</code>:定理環境の前後の空きを指定します.</li>
-<li><code>theorem_label_font=&lt;フォント設定コード&gt;</code>:定理環境のラベル部分のフォントを設定します.</li>
-<li><code>theorem_font=&lt;フォント設定コード&gt;</code>:定理環境本体のフォントを設定します.</li>
-</ul>
-<p><code>amsthm</code>パッケージが読み込まれると,新しい定理スタイル<code>jlreq</code>が定義され,現在のスタイルが<code>jlreq</code>へと変更されます.このとき,上記設定はこの<code>jlreq</code>スタイルへの設定として機能します.</p>
<h3 id="前付きなど">前付きなど</h3>
-<p><code>\frontmatter</code> / <code>\mainmatter</code> / <code>\backmatter</code> / <code>\appendix</code>での処理を<code>\jlreqsetup</code>で指定できます.</p>
+<p><code>\frontmatter</code> / <code>\mainmatter</code> /
+<code>\backmatter</code> /
+<code>\appendix</code>での処理を<code>\jlreqsetup</code>で指定できます.</p>
<ul>
<li><code>frontmatter_pagebreak=[cleardoublepage/clearpage/]</code>:<code>\frontmatter</code>実行時の改ページを実行する命令名を指定します.空にすると何もしません.</li>
<li><code>frontmatter_counter={&lt;カウンタ名&gt;={value=&lt;値&gt;, the=&lt;コード&gt;, restore=[true/false]},...}</code>:<code>\frontmatter</code>時でのカウンタの操作を指定します.例えば<code>chapter={value=0,the={[\arabic{chapter]}}</code>とすると,<code>chapter</code>カウンタの値が<code>0</code>になり,<code>\thechapter</code>が<code>[\arabic{chapter}]</code>となります.デフォルトでは<code>\mainmatter</code>時に値と<code>\the&lt;カウンタ名&gt;</code>の定義を戻しますが,<code>restore=false</code>とするとこの動きが抑制されます.</li>
@@ -317,7 +343,8 @@
<li><code>pagebreak=[clearpage/cleardoublepage/clearcolumn/nariyuki/begin_with_odd_page/begin_with_even_page]</code>:見出し直前の改ページを指定します.それぞれ,改ページ,<code>\cleardoublepage</code>実行,改段,なりゆき,奇数ページ開始,偶数ページ開始,です.</li>
<li><code>pagestyle=&lt;ページスタイル名&gt;</code>:見出し箇所のページスタイルを指定します.</li>
<li><code>afterindent=[true/false]</code>:見出し直後の段落の字下げを行うかを指定します.</li>
-<li><code>column_spanning=[true/false]</code>: 段抜きの見出しにします.<code>pagebreak=nariyuki</code>または<code>pagebreak=clearcolumn</code>の時には無視されます.</li>
+<li><code>column_spanning=[true/false]</code>:
+段抜きの見出しにします.<code>pagebreak=nariyuki</code>または<code>pagebreak=clearcolumn</code>の時には無視されます.</li>
<li><code>number=[true/false]</code>:採番を行うかを指定します.<code>\NewTobiraHeading</code>と同様の注意が必要です.</li>
</ul>
<h4 id="行取り">行取り</h4>
@@ -329,7 +356,8 @@
</ul>
<h4 id="連続して掲げる見出しの行取り">連続して掲げる見出しの行取り</h4>
<p><code>\SetBlockHeadingSpaces</code>により,見出しが連続して掲げられたときの行取りを設定することができます.<code>\SetBlockHeadingSpaces</code>は</p>
-<div class="sourceCode" id="cb8"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\SetBlockHeadingSpaces</span>{</span>
+<div class="sourceCode" id="cb8"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\SetBlockHeadingSpaces</span>{</span>
<span id="cb8-2"><a href="#cb8-2" aria-hidden="true" tabindex="-1"></a> {_part{lines=3,before_lines=1},_section{lines=2},_subsection{lines=2}}</span>
<span id="cb8-3"><a href="#cb8-3" aria-hidden="true" tabindex="-1"></a> [lines=5]{_section,23pt,_subsection,16pt}</span>
<span id="cb8-4"><a href="#cb8-4" aria-hidden="true" tabindex="-1"></a>}</span></code></pre></div>
@@ -352,7 +380,8 @@
<p><code>\NewRuninHeading</code>で作成します.通常の文書クラスにおける<code>\section</code>と同様の,<code>\&lt;命令名&gt;*[running head]{見出し文字列}</code>という書式の命令が作成されます.設定は以下の通り.</p>
<ul>
<li><code>font=&lt;フォント設定コード&gt;</code>:見出しのフォントを指定します.</li>
-<li><code>indent=&lt;寸法&gt;</code> 見出し文字列全体の字下げ量を指定します.</li>
+<li><code>indent=&lt;寸法&gt;</code>
+見出し文字列全体の字下げ量を指定します.</li>
<li><code>after_label_space=&lt;寸法&gt;</code>:ラベル後,見出し文字列までの空きを指定します.</li>
<li><code>label_format=&lt;コード&gt;</code>:ラベルのフォーマットを指定します.<code>label_format={\theparagraph}</code>などのようにします.</li>
<li><code>after_space=&lt;寸法&gt;</code>:見出しと本文との間の空きを指定します.</li>
@@ -364,15 +393,18 @@
<li><code>font=&lt;フォント設定コード&gt;</code>:見出しのフォントを指定します.</li>
<li><code>indent=&lt;寸法&gt;</code>:見出し全体の字下げ量を指定します.</li>
<li><code>after_space=&lt;寸法&gt;</code>:見出しと本文との間の空きを指定します.</li>
-<li><code>onelinemax=&lt;寸法&gt;</code>, <code>twolinemax=&lt;寸法&gt;</code>:見出し文字列の長さが<code>onelinemax</code>以下ならば一行で,<code>twolinemax</code>以下ならば二行で窓見出しを出力します.それ以上の場合は三行です.デフォルトはそれぞれ6文字,20文字の長さ.</li>
+<li><code>onelinemax=&lt;寸法&gt;</code>,
+<code>twolinemax=&lt;寸法&gt;</code>:見出し文字列の長さが<code>onelinemax</code>以下ならば一行で,<code>twolinemax</code>以下ならば二行で窓見出しを出力します.それ以上の場合は三行です.デフォルトはそれぞれ6文字,20文字の長さ.</li>
</ul>
<h3 id="modifyheading"><code>\ModifyHeading</code></h3>
<p>既に(上のどれかを使い)定義された見出し命令の設定を変更します.たとえば</p>
-<div class="sourceCode" id="cb9"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\ModifyHeading</span>{section}{lines=10}</span></code></pre></div>
+<div class="sourceCode" id="cb9"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\ModifyHeading</span>{section}{lines=10}</span></code></pre></div>
<p>とすると,<code>\section</code>のフォントなどの設定はそのままに,行取りのみが10行に変更されます.見出しの種類を変更することはできません.</p>
<h3 id="saveheading"><code>\SaveHeading</code></h3>
<p>見出し命令の定義を待避します.</p>
-<div class="sourceCode" id="cb10"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\SaveHeading</span>{section}{<span class="fu">\restoresection</span>} <span class="co">% \sectionの中身を\restoresectionに待避.</span></span>
+<div class="sourceCode" id="cb10"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\SaveHeading</span>{section}{<span class="fu">\restoresection</span>} <span class="co">% \sectionの中身を\restoresectionに待避.</span></span>
<span id="cb10-2"><a href="#cb10-2" aria-hidden="true" tabindex="-1"></a><span class="fu">\RenewBlockHeading</span>{section}{1}{font=……} <span class="co">% \sectionを新しく定義する.</span></span>
<span id="cb10-3"><a href="#cb10-3" aria-hidden="true" tabindex="-1"></a>……</span>
<span id="cb10-4"><a href="#cb10-4" aria-hidden="true" tabindex="-1"></a><span class="fu">\restoresection</span> <span class="co">% \sectionの中身を元に戻す.</span></span></code></pre></div>
@@ -385,7 +417,8 @@
<li><code>tate</code>:縦書きで小口側に出力します.</li>
<li><code>running_head_font=&lt;フォント設定命令&gt;</code>:柱のフォントを指定します.</li>
<li><code>nombre_font=&lt;フォント設定命令&gt;</code>:ノンブルのフォントを指定します.</li>
-<li><code>running_head_position</code>, <code>nombre_position</code>:柱とノンブルの位置を指定します.<code>yoko</code>か<code>tate</code>のどちらが指定されているかで指定方法が変わります.
+<li><code>running_head_position</code>,
+<code>nombre_position</code>:柱とノンブルの位置を指定します.<code>yoko</code>か<code>tate</code>のどちらが指定されているかで指定方法が変わります.
<ul>
<li><code>yoko</code>指定時:<code>top-left</code>のように指定できます.<code>top / bottom / center / left / right / gutter / fore-edge</code>が使えます.<code>gutter</code>はのど,<code>fore-edge</code>は小口です.<code>left</code>,<code>right</code>の指定は奇数ページに対するものです.<code>twoside</code>が指定されている場合,偶数ページはその逆になります.</li>
<li><code>tate</code>指定時:<code>&lt;寸法&gt;</code>が指定できます.<code>running_head_position</code>は柱の天からの下げ量を,<code>nombre_position</code>はノンブルの地からの上げ量を指定します.</li>
@@ -393,7 +426,8 @@
<li><code>nombre=&lt;書式&gt;</code>:出力するノンブルを指定します.デフォルトは<code>\thepage</code>.</li>
<li><code>odd_running_head=&lt;書式&gt;</code>,<code>even_running_head=&lt;書式&gt;</code>:それぞれ奇数ページ,偶数ページの柱を指定します.<code>_section</code>のように<code>_</code>から始まる名前を指定すると,対応する見出しを出力します.(<code>_section</code>だと現在の<code>\section</code>を出力する.)</li>
<li><code>mark_format={[odd=&lt;書式&gt;/even=&lt;書式&gt;/_&lt;見出し命令名&gt;=&lt;書式&gt;],...}</code>:見出しを柱に出力する際のフォーマットを指定します.<code>mark_format={_section={節\thesection:#1},_chapter={第\thechapter 章\quad #1}}</code>のように指定します.見出し命令名の代わりに<code>odd</code>や<code>even</code>も指定でき,それぞれ奇数ページ/偶数ページの柱の書式になります.<code>\pagestyle</code>実行時に<code>\sectionmark</code>等を定義することで実現しています.</li>
-<li><code>nombre_ii=&lt;書式&gt;</code>: 二つ目のノンブルを指定します.<code>nombre_ii_position</code>で場所指定,<code>nombre_ii_font</code>でフォント設定もできます.指定方法は<code>nombre</code>や<code>nombre_position</code>と同じです.<code>odd_running_head_ii</code>,<code>even_running_head_ii</code>,<code>running_head_ii_position</code>,<code>running_head_ii_font</code>もあります.<code>nombre_ii_position</code>や<code>running_head_ii_position</code>が指定されなかった場合,<code>yoko</code>指定時にはそれぞれ<code>nombre_position</code>および<code>running_head_position</code>と同じ位置に設定されます.<code>tate</code>指定時は一つ目のノンブルや柱に続く場所に表示されます.</li>
+<li><code>nombre_ii=&lt;書式&gt;</code>:
+二つ目のノンブルを指定します.<code>nombre_ii_position</code>で場所指定,<code>nombre_ii_font</code>でフォント設定もできます.指定方法は<code>nombre</code>や<code>nombre_position</code>と同じです.<code>odd_running_head_ii</code>,<code>even_running_head_ii</code>,<code>running_head_ii_position</code>,<code>running_head_ii_font</code>もあります.<code>nombre_ii_position</code>や<code>running_head_ii_position</code>が指定されなかった場合,<code>yoko</code>指定時にはそれぞれ<code>nombre_position</code>および<code>running_head_position</code>と同じ位置に設定されます.<code>tate</code>指定時は一つ目のノンブルや柱に続く場所に表示されます.</li>
</ul>
<p><code>\RenewPageStyle</code>,<code>\ProvidePageStyle</code>,<code>\DeclarePageStyle</code>もあります.<code>\ModifyPageStyle</code>により既存のページスタイルを改変することが可能です.</p>
<h2 id="jfm">JFM</h2>
@@ -404,8 +438,10 @@
<p>それぞれの文字は以下の場合に入ります.</p>
<ul>
<li><code>u</code>: upLaTeX利用時</li>
-<li><code>b</code>: ぶら下げ組み利用時.(クラスオプションに<code>hanging_punctuation</code>が指定された時.)</li>
-<li><code>z</code>: 行頭における開き括弧類の前の空きが,段落開始時が全角二分,折り返し時が二分の時.(クラスオプションに<code>open_bracket_pos=zenkakunibu_nibu</code>が指定された時.)</li>
+<li><code>b</code>:
+ぶら下げ組み利用時.(クラスオプションに<code>hanging_punctuation</code>が指定された時.)</li>
+<li><code>z</code>:
+行頭における開き括弧類の前の空きが,段落開始時が全角二分,折り返し時が二分の時.(クラスオプションに<code>open_bracket_pos=zenkakunibu_nibu</code>が指定された時.)</li>
<li><code>g</code>: ゴシック用フォント.</li>
<li><code>-v</code>: 縦書き用.</li>
</ul>
@@ -420,8 +456,44 @@
<ul>
<li>クラスオプション<code>jlreq_notes</code>が渡されると,日本語組版処理の記述と矛盾する設定が行われた場合に通知がされます.</li>
</ul>
+<h2 id="jlreq-complements">jlreq-complements</h2>
+<p><code>jlreq-complements</code>パッケージはLaTeXのドキュメントクラスで標準的に提供される環境などをカスタマイズ可能なものに変更するパッケージです.以下のように使います.次のオプションを受け付けます.</p>
+<ul>
+<li><code>platex</code>, <code>uplatex</code>,
+<code>lulalatex</code>:エンジンの指定です.</li>
+<li><code>setupname=&lt;名前&gt;</code>:カスタマイズするための命令名を指定します.デフォルトでは<code>jlreqcomplementssetup</code>で,<code>jlreqcomplementssetup{&lt;設定項目&gt;}</code>とプリアンブルに書くことで設定できます.</li>
+</ul>
+<p><code>jlreq</code>内では<code>\usepackage[&lt;jlreq内で認識しているエンジン&gt;,setupname=jlreqsetup]{jlreq-complements}</code>相当で読み込みがされていますので,今までの<code>\jlreqsetup</code>で環境のカスタマイズをすることができます.なお,このように既存の名前を指定してうまく行くためにはもともとの命令と整合的である必要があります.通常は避けた方がよいでしょう.</p>
+<h3 id="thebibliography環境"><code>thebibliography</code>環境</h3>
+<ul>
+<li><code>thebibliography_heading=&lt;コード&gt;</code>:<code>thebibliography</code>環境の見出しを出力する命令を指定します.</li>
+<li><code>thebibliography_after_label_space=&lt;寸法&gt;</code>:<code>thebibliography</code>環境における各項目のラベル以降の空きを指定します.</li>
+<li><code>thebibliography_indent=&lt;寸法&gt;</code>:<code>thebibliography</code>環境全体の字下げ量を指定します.</li>
+<li><code>thebibliography_mark=&lt;コード&gt;</code>:<code>thebibliography</code>環境の見出しを柱に登録するためのコードを指定します.</li>
+<li><code>thebibliography_precode=&lt;コード&gt;</code>,<code>thebibliography_postcode=&lt;コード&gt;</code>:それぞれ,<code>thebibliography</code>環境の前後に実行されるコードを指定します.</li>
+</ul>
+<h3 id="theindex環境"><code>theindex</code>環境</h3>
+<ul>
+<li><code>theindex_heading=&lt;コード&gt;</code>:<code>theindex</code>環境の見出しを出力する命令を指定します.</li>
+<li><code>theindex_mark=&lt;コード&gt;</code>:<code>theindex</code>環境の見出しを柱に登録するためのコードを指定します.</li>
+<li><code>theindex_twocolumn=[true/false]</code>:<code>theindex</code>環境を二段組みで出力するかを指定します.</li>
+<li><code>theindex_column_gap=&lt;寸法&gt;</code>:<code>theindex_twocolumn=true</code>の時の<code>theindex</code>環境内での段間を指定します.</li>
+<li><code>theindex_column_rule_width=&lt;寸法&gt;</code>:<code>theindex_twocolumn=true</code>の時の<code>theindex</code>環境内での<code>\columnseprule</code>の値を指定します.</li>
+<li><code>theindex_pagestyle=&lt;ページスタイル名&gt;</code>:<code>theindex</code>環境でのページスタイルを指定します.</li>
+<li><code>theindex_postcode=&lt;コード&gt;</code>,<code>theindex_precode=&lt;コード&gt;</code>:それぞれ,<code>theindex</code>環境の前後に実行されるコードを指定します.</li>
+</ul>
+<h3 id="定理環境">定理環境</h3>
+<ul>
+<li><code>theorem_beforeafter_space=&lt;寸法&gt;</code>:定理環境の前後の空きを指定します.</li>
+<li><code>theorem_label_font=&lt;フォント設定コード&gt;</code>:定理環境のラベル部分のフォントを設定します.</li>
+<li><code>theorem_font=&lt;フォント設定コード&gt;</code>:定理環境本体のフォントを設定します.</li>
+<li><code>theorem_indent=&lt;寸法&gt;</code>:定理環境本体の字下げ量を指定します.</li>
+<li><code>proof_label_font=&lt;フォント設定コード&gt;</code>:<code>amsthm</code>パッケージが読み込まれたときのみ有効な設定です.</li>
+</ul>
+<p><code>amsthm</code>パッケージが読み込まれると,新しい定理スタイル<code>jlreq</code>が定義され,現在のスタイルが<code>jlreq</code>へと変更されます.このとき,上記設定はこの<code>jlreq</code>スタイルへの設定として機能します.</p>
<h2 id="ライセンス">ライセンス</h2>
-<p>このパッケージは二条項BSDライセンスの元で配布されています.詳しくは<a href="LICENSE">LICENSE</a>をご覧ください.</p>
+<p>このパッケージは二条項BSDライセンスの元で配布されています.詳しくは<a
+href="LICENSE">LICENSE</a>をご覧ください.</p>
<h2 id="履歴">履歴</h2>
<ul>
<li>2017-02-08
@@ -484,7 +556,8 @@
<ul>
<li>バグ修正</li>
<li><code>\SetBlockHeadingSpaces</code>を追加.</li>
-<li><code>\contentsname</code> と <code>\indexname</code>に入っていたスペースを削除.</li>
+<li><code>\contentsname</code> と
+<code>\indexname</code>に入っていたスペースを削除.</li>
</ul></li>
<li>2017-12-02
<ul>
@@ -658,9 +731,17 @@
<ul>
<li>右側の柱が正しく配置されないバグ修正.</li>
</ul></li>
+<li>2022-11-28
+<ul>
+<li><code>\SetBlockHeadingSpaces</code>時に柱への登録が行われなかったバグを修正.</li>
+<li>ISO C4の用紙サイズが間違っていたのを修正.</li>
+<li><code>jlreq-complements</code>を追加.</li>
+<li>その他バグ修正やその他のパッケージとの調整など.</li>
+</ul></li>
</ul>
<hr />
-<p>Noriyuki Abe <a href="https://github.com/abenori/jlreq">https://github.com/abenori/jlreq</a></p>
+<p>Noriyuki Abe <a
+href="https://github.com/abenori/jlreq">https://github.com/abenori/jlreq</a></p>
</article>
</body>
</html>
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.pdf b/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.pdf
index 2fa852d4e90..a34ef0753db 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.pdf
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.html b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.html
index 0b2917ad558..bd317ccadce 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.html
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.html
@@ -88,13 +88,18 @@
<article class="markdown-body">
<h1 id="jlreq-trimmarks">jlreq-trimmarks</h1>
<h2 id="これは何">これは何?</h2>
-<p>トンボ(トリムマーク)を出力するためのパッケージです.<a href="https://osdn.jp/projects/luatex-ja/wiki/FrontPage">LuaTeX-ja</a> / pLaTeX / upLaTeX / dvipdfmx / Dvips / dviout上で動きます.jlreqクラスファイルのみでなく,汎用的に動くように設計されています.以下の機能を提供します.</p>
+<p>トンボ(トリムマーク)を出力するためのパッケージです.<a
+href="https://osdn.jp/projects/luatex-ja/wiki/FrontPage">LuaTeX-ja</a> /
+pLaTeX / upLaTeX / dvipdfmx / Dvips /
+dviout上で動きます.jlreqクラスファイルのみでなく,汎用的に動くように設計されています.以下の機能を提供します.</p>
<ul>
<li>トンボの出力</li>
<li>可能な場合には,TrimBox / BleedBoxを設定</li>
<li>紙サイズの設定</li>
</ul>
-<p>なお,本パッケージは<a href="https://www.w3.org/TR/jlreq/ja/">日本語組版処理の要件</a> (JLReq)とは無縁です.JLReqにはトンボに関する記述はありません.</p>
+<p>なお,本パッケージは<a
+href="https://www.w3.org/TR/jlreq/ja/">日本語組版処理の要件</a>
+(JLReq)とは無縁です.JLReqにはトンボに関する記述はありません.</p>
<h2 id="インストール">インストール</h2>
<p>$TEXMF/tex/latex/jlreq内にjlreq-trimmarks.styとjlreq-helpers.styを配置してください.</p>
<h2 id="使い方">使い方</h2>
@@ -102,22 +107,27 @@
<pre><code>\usepackage[dvipdfmx,platex]{jlreq-trimmarks}</code></pre>
<p>なお,クラスファイルの<code>tombow</code>オプションは使わないでください.</p>
<h2 id="ノート">ノート</h2>
-<p>jlreq-trimmarksは紙サイズを設定しますが,その他のパッケージとの兼ね合いで正しく機能しないことがあります.その際は<a href="https://github.com/zr-tex8r/BXpapersize">bxpapersize</a>のようなより強力なパッケージを試してみてください.</p>
+<p>jlreq-trimmarksは紙サイズを設定しますが,その他のパッケージとの兼ね合いで正しく機能しないことがあります.その際は<a
+href="https://github.com/zr-tex8r/BXpapersize">bxpapersize</a>のようなより強力なパッケージを試してみてください.</p>
<h2 id="オプション">オプション</h2>
<p>以下のパッケージオプションを受け付けます.keyval形式です.</p>
-<h3 id="platex-uplatex-lulatex"><code>platex</code>, <code>uplatex</code>, <code>lulatex</code></h3>
+<h3 id="platex-uplatex-lulatex"><code>platex</code>,
+<code>uplatex</code>, <code>lulatex</code></h3>
<p>エンジンの指定です.省略時は,</p>
<ul>
<li><code>jlreq</code>クラスファイルを読み込んでいる場合はそれと連動する</li>
<li>そうでなければ自動推定</li>
</ul>
<p>です.</p>
-<h3 id="dvipdfmxdvipsdviout"><code>dvipdfmx</code>,<code>dvips</code>,<code>dviout</code></h3>
+<h3
+id="dvipdfmxdvipsdviout"><code>dvipdfmx</code>,<code>dvips</code>,<code>dviout</code></h3>
<p>dviドライバの指定です.エンジンに<code>lualatex</code>を利用する場合は指定する必要はありません.省略時は<code>dvipdfmx</code>が使われます.</p>
<h3 id="trimmarks_paper"><code>trimmarks_paper</code></h3>
<p>トンボ付きの紙サイズを指定します.</p>
<ul>
-<li><code>trimmarks_paper=a4</code>のように,<code>a0--a10</code>, <code>b0--b10</code>, <code>c2--c8</code>(BはJIS B列)を指定できる他,<code>trimmarks_paper={&lt;width&gt;,&lt;height&gt;}</code>と直接寸法を指定することができます.</li>
+<li><code>trimmarks_paper=a4</code>のように,<code>a0--a10</code>,
+<code>b0--b10</code>, <code>c2--c8</code>(BはJIS
+B列)を指定できる他,<code>trimmarks_paper={&lt;width&gt;,&lt;height&gt;}</code>と直接寸法を指定することができます.</li>
<li><code>a4+{1cm,2cm}</code>や<code>{10cm,20cm}+{1cm,2cm}</code>のように<code>&lt;紙サイズ&gt;+{&lt;寸法横&gt;,&lt;寸法縦&gt;}</code>とした場合は,指定された紙サイズから指定された寸法だけ増やした紙サイズを設定します.</li>
<li><code>a4+2cm</code>は<code>a4+{2cm,2cm}</code>と等価です.</li>
<li><code>+2cm</code>と紙サイズの部分を省略すると,現在の紙サイズを利用します.</li>
@@ -135,12 +145,14 @@
</ul>
<h3 id="bleed_margin"><code>bleed_margin</code></h3>
<p>仕上がりと裁ち落としの間(ドブ)の長さを指定します.次のようにすると,上下左右を独立に変更できます.</p>
-<div class="sourceCode" id="cb2"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\usepackage</span>[bleed_margin={top=3mm,bottom=5mm,gutter=0mm,fore-edge=2mm}]{<span class="ex">jlreq-trimmarks</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb2"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\usepackage</span>[bleed_margin={top=3mm,bottom=5mm,gutter=0mm,fore-edge=2mm}]{<span class="ex">jlreq-trimmarks</span>}</span></code></pre></div>
<h2 id="jlreqtrimmarkssetup"><code>\jlreqtrimmarkssetup</code></h2>
<p>パッケージオプションで指定できない設定を行えます.keyval形式です.</p>
<h3 id="banner"><code>banner</code></h3>
<p><code>show=banner</code>時に出力される文字列.通常は左上に出力されますが,四つ角および上下左右の中心に出力することもできます.指定は</p>
-<div class="sourceCode" id="cb3"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
+<div class="sourceCode" id="cb3"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a> banner={</span>
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a> &lt;場所(上下,左右中央)&gt;={</span>
<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a> &lt;細かな位置&gt;={</span>
@@ -152,7 +164,8 @@
<span id="cb3-10"><a href="#cb3-10" aria-hidden="true" tabindex="-1"></a> }</span>
<span id="cb3-11"><a href="#cb3-11" aria-hidden="true" tabindex="-1"></a>}</span></code></pre></div>
<p>のようになります.キー名は省略することもできます.例えば次のように指定します.</p>
-<div class="sourceCode" id="cb4"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
+<div class="sourceCode" id="cb4"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a> banner={</span>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a> top-right={</span>
<span id="cb4-4"><a href="#cb4-4" aria-hidden="true" tabindex="-1"></a> tate={</span>
@@ -177,7 +190,8 @@
<span id="cb4-23"><a href="#cb4-23" aria-hidden="true" tabindex="-1"></a>}</span></code></pre></div>
<p>場所は<code>top/bottom/center</code>と<code>left/right/center/gutter/fore-edge</code>の可能な組み合わせが指定可能です.各項目に<code>\thepage</code>を指定するとページ数を出力できます.</p>
<p>次のような指定も可能です.</p>
-<div class="sourceCode" id="cb5"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
+<div class="sourceCode" id="cb5"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a> banner={</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a> tate={左上に縦書き}, <span class="co">% 場所が省略されるとtop-leftと見なされる.</span></span>
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a> odd={左上奇数ページ}, <span class="co">% 省略されたのでyokoと見なされる.</span></span>
@@ -195,11 +209,28 @@
<li><p>そうでない場合は<code>\color</code>の引数に回されます.<code>[***]</code>という形が先行する場合は,<code>\color</code>のオプションとして扱われます.例えば以下のようになります.</p>
<ul>
<li><code>black</code> -&gt; <code>\color{black}</code></li>
-<li><code>[cmyk]0.5,0.5,0.5,0</code> -&gt; <code>\color[cmyk]{0.5,0.5,0.5,0}</code></li>
+<li><code>[cmyk]0.5,0.5,0.5,0</code> -&gt;
+<code>\color[cmyk]{0.5,0.5,0.5,0}</code></li>
</ul></li>
</ul>
+<h3 id="trimmarks_pattern"><code>trimmarks_pattern</code></h3>
+<p>トンボの形.直接の描画コードを指定します.次のように<code>centers</code>に指定すると,上下左右の真ん中のトンボの形が変わります.指定するのは上の真ん中のトンボの描画コードであり,そのほかの場所にはそれを回転したものが描画されます.なお,指定前に<code>graphicx</code>パッケージを読み込んでおく必要があります.また<code>\jlreqtrimmarkswidth</code>には</p>
+<div class="sourceCode" id="cb6"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
+<span id="cb6-2"><a href="#cb6-2" aria-hidden="true" tabindex="-1"></a> trimmarks_pattern = {</span>
+<span id="cb6-3"><a href="#cb6-3" aria-hidden="true" tabindex="-1"></a> centers = {</span>
+<span id="cb6-4"><a href="#cb6-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">\raisebox</span>{3mm}{</span>
+<span id="cb6-5"><a href="#cb6-5" aria-hidden="true" tabindex="-1"></a> <span class="fu">\vrule</span> width10mm height<span class="fu">\jlreqtrimmarkswidth</span> depth 0pt</span>
+<span id="cb6-6"><a href="#cb6-6" aria-hidden="true" tabindex="-1"></a> <span class="fu">\vrule</span> height10mm width<span class="fu">\jlreqtrimmarkswidth</span> depth 3mm</span>
+<span id="cb6-7"><a href="#cb6-7" aria-hidden="true" tabindex="-1"></a> <span class="fu">\vrule</span> width10mm height<span class="fu">\jlreqtrimmarkswidth</span> depth 0pt</span>
+<span id="cb6-8"><a href="#cb6-8" aria-hidden="true" tabindex="-1"></a> }</span>
+<span id="cb6-9"><a href="#cb6-9" aria-hidden="true" tabindex="-1"></a> }</span>
+<span id="cb6-10"><a href="#cb6-10" aria-hidden="true" tabindex="-1"></a> }</span>
+<span id="cb6-11"><a href="#cb6-11" aria-hidden="true" tabindex="-1"></a>}</span></code></pre></div>
+<p>上下左右の形を個別に指定することもできます.例えば上の真ん中のみ変更するには<code>top-center=&lt;描画コード&gt;</code>を指定します.同様に<code>bottom-center</code>,<code>left-center</code>,<code>right-center</code>が指定できます.個別指定には<code>graphicx</code>パッケージは不要です.</p>
<h2 id="ライセンス">ライセンス</h2>
-<p>このパッケージは二条項BSDライセンスの元で配布されています.詳しくは<a href="LICENSE">LICENSE</a>をご覧ください.</p>
+<p>このパッケージは二条項BSDライセンスの元で配布されています.詳しくは<a
+href="LICENSE">LICENSE</a>をご覧ください.</p>
<h2 id="履歴">履歴</h2>
<ul>
<li>2018-05-19
@@ -248,9 +279,14 @@
<ul>
<li>読み込み時にエラーが出るバグ修正.</li>
</ul></li>
+<li>2022-11-28
+<ul>
+<li><code>trimmarks_pattern</code>を<code>\jlreqtrimmarkssetup</code>に追加.</li>
+</ul></li>
</ul>
<hr />
-<p>Noriyuki Abe <a href="https://github.com/abenori/jlreq">https://github.com/abenori/jlreq</a></p>
+<p>Noriyuki Abe <a
+href="https://github.com/abenori/jlreq">https://github.com/abenori/jlreq</a></p>
</article>
</body>
</html>
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md
index aace5bbeb33..2e86b26b307 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md
@@ -137,6 +137,24 @@ dviドライバの指定です.エンジンに`lualatex`を利用する場合
- `black` -> `\color{black}`
- `[cmyk]0.5,0.5,0.5,0` -> `\color[cmyk]{0.5,0.5,0.5,0}`
+### `trimmarks_pattern`
+トンボの形.直接の描画コードを指定します.次のように`centers`に指定すると,上下左右の真ん中のトンボの形が変わります.指定するのは上の真ん中のトンボの描画コードであり,そのほかの場所にはそれを回転したものが描画されます.なお,指定前に`graphicx`パッケージを読み込んでおく必要があります.また`\jlreqtrimmarkswidth`には
+```latex
+\jlreqtrimmarkssetup{
+ trimmarks_pattern = {
+ centers = {
+ \raisebox{3mm}{
+ \vrule width10mm height\jlreqtrimmarkswidth depth 0pt
+ \vrule height10mm width\jlreqtrimmarkswidth depth 3mm
+ \vrule width10mm height\jlreqtrimmarkswidth depth 0pt
+ }
+ }
+ }
+}
+```
+上下左右の形を個別に指定することもできます.例えば上の真ん中のみ変更するには`top-center=<描画コード>`を指定します.同様に`bottom-center`,`left-center`,`right-center`が指定できます.個別指定には`graphicx`パッケージは不要です.
+
+
## ライセンス
このパッケージは二条項BSDライセンスの元で配布されています.詳しくは[LICENSE](LICENSE)をご覧ください.
@@ -167,6 +185,8 @@ dviドライバの指定です.エンジンに`lualatex`を利用する場合
- `etoolbox`に依存しないようにした.
* 2022-07-13
- 読み込み時にエラーが出るバグ修正.
+* 2022-11-28
+ - `trimmarks_pattern`を`\jlreqtrimmarkssetup`に追加.
--------------
Noriyuki Abe
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.html b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.html
index 14be58383be..488b720428c 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.html
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.html
@@ -88,44 +88,79 @@
<article class="markdown-body">
<h1 id="jlreq-trimmarks">jlreq-trimmarks</h1>
<h2 id="what-is-this">What is this?</h2>
-<p>This package outputs trim (register) marks. It works with <a href="https://osdn.jp/projects/luatex-ja/wiki/FrontPage">LuaTeX-ja</a> / pLaTeX / upLaTeX / dvipdfmx / Dvips / dviout and any document class (not only with jlreq class). It provides the following.</p>
+<p>This package outputs trim (register) marks. It works with <a
+href="https://osdn.jp/projects/luatex-ja/wiki/FrontPage">LuaTeX-ja</a> /
+pLaTeX / upLaTeX / dvipdfmx / Dvips / dviout and any document class (not
+only with jlreq class). It provides the following.</p>
<ul>
<li>Output trim marks</li>
<li>Set TrimBox and BleedBox if possible.</li>
<li>Set the size of paper.</li>
</ul>
-<p>Note that this package is independent from <a href="https://www.w3.org/TR/jlreq/">Requirements for Japanese Text Layout</a> (JLReq). JLReq says nothing about trim marks.</p>
+<p>Note that this package is independent from <a
+href="https://www.w3.org/TR/jlreq/">Requirements for Japanese Text
+Layout</a> (JLReq). JLReq says nothing about trim marks.</p>
<h2 id="installation">Installation</h2>
-<p>Move jlreq-trimmarks.sty and jlre-helpers.sty to $TEXMF/tex/latex/jlreq.</p>
+<p>Move jlreq-trimmarks.sty and jlre-helpers.sty to
+$TEXMF/tex/latex/jlreq.</p>
<h2 id="how-to-use">How to use</h2>
-<p>Load it by <code>\usepackage</code> with specifying the TeX engine and the DVI driver.</p>
+<p>Load it by <code>\usepackage</code> with specifying the TeX engine
+and the DVI driver.</p>
<pre><code>\usepackage[dvipdfmx,platex]{jlreq-trimmarks}</code></pre>
<p>Do not use <code>tombow</code> option in the document class.</p>
<h2 id="note">Note</h2>
-<p>jlreq-trimmarks sets the size of the paper. However, it may not work due to a conflict with other packages. In this case, please use more powerful package, e.g., <a href="https://github.com/zr-tex8r/BXpapersize">bxpapersize</a>.</p>
+<p>jlreq-trimmarks sets the size of the paper. However, it may not work
+due to a conflict with other packages. In this case, please use more
+powerful package, e.g., <a
+href="https://github.com/zr-tex8r/BXpapersize">bxpapersize</a>.</p>
<h2 id="options">Options</h2>
<p>The following package options (keyval style) are available.</p>
-<h3 id="platex-uplatex-lulatex"><code>platex</code>, <code>uplatex</code>, <code>lulatex</code></h3>
+<h3 id="platex-uplatex-lulatex"><code>platex</code>,
+<code>uplatex</code>, <code>lulatex</code></h3>
<p>Set the engine. If it is not specified, then the engine is</p>
<ul>
<li>the one used in the jlreq class if the jlreq class is loaded.</li>
<li>guessed one if the jlreq class is not loaded.</li>
</ul>
-<h3 id="dvipdfmx-dvips-dviout"><code>dvipdfmx</code>, <code>dvips</code>, <code>dviout</code></h3>
-<p>Set the dvi driver. You do not have to specify it when using the engine <code>lualatex</code>. If it is not specified (with <code>platex</code> or <code>uplatex</code>), then <code>dvipdfmx</code> is used.</p>
+<h3 id="dvipdfmx-dvips-dviout"><code>dvipdfmx</code>,
+<code>dvips</code>, <code>dviout</code></h3>
+<p>Set the dvi driver. You do not have to specify it when using the
+engine <code>lualatex</code>. If it is not specified (with
+<code>platex</code> or <code>uplatex</code>), then <code>dvipdfmx</code>
+is used.</p>
<h3 id="trimmarks_paper"><code>trimmarks_paper</code></h3>
<p>Set the size of the paper including trim marks.</p>
<ul>
-<li><code>trimmarks_paper=&lt;paper type&gt;</code>: specify via the paper type. for the paper type, you can use <code>a0--a10</code>, <code>b0--b10</code> and <code>c2--c8</code>. Note that <code>b0--b10</code> is `JIS B' (Japanese B-series variant).</li>
-<li><code>trimmarks_paper={&lt;width&gt;,height&gt;}</code>: specify via the width and height.</li>
-<li><code>trimmarks_paper=&lt;paper size&gt;+{&lt;width&gt;,&lt;height&gt;}</code> (e.g. <code>trimmarks_paper=a4+{1cm,2cm}</code>): <code>&lt;width&gt;</code> (resp. <code>&lt;height&gt;</code>) is added to the width (resp. height) of the paper size specified by <code>&lt;paper size&gt;</code> For <code>&lt;paper size&gt;</code>, one can use <code>&lt;paper type&gt;</code> or <code>{&lt;width&gt;,&lt;height&gt;}</code> as in the above.</li>
-<li><code>trimmarks_paper=a4+2cm</code> is equivalent to <code>trimmarks_paper=a4+{2cm,2cm}</code>.</li>
-<li>If <code>&lt;paper size&gt;</code> is empty (e.g. <code>trimmarks_paper=+2cm</code>), the current paper size (which is specified usually by the option for the document class) is used.</li>
+<li><code>trimmarks_paper=&lt;paper type&gt;</code>: specify via the
+paper type. for the paper type, you can use <code>a0--a10</code>,
+<code>b0--b10</code> and <code>c2--c8</code>. Note that
+<code>b0--b10</code> is `JIS B' (Japanese B-series variant).</li>
+<li><code>trimmarks_paper={&lt;width&gt;,height&gt;}</code>: specify via
+the width and height.</li>
+<li><code>trimmarks_paper=&lt;paper size&gt;+{&lt;width&gt;,&lt;height&gt;}</code>
+(e.g. <code>trimmarks_paper=a4+{1cm,2cm}</code>):
+<code>&lt;width&gt;</code> (resp. <code>&lt;height&gt;</code>) is added
+to the width (resp. height) of the paper size specified by
+<code>&lt;paper size&gt;</code> For <code>&lt;paper size&gt;</code>, one
+can use <code>&lt;paper type&gt;</code> or
+<code>{&lt;width&gt;,&lt;height&gt;}</code> as in the above.</li>
+<li><code>trimmarks_paper=a4+2cm</code> is equivalent to
+<code>trimmarks_paper=a4+{2cm,2cm}</code>.</li>
+<li>If <code>&lt;paper size&gt;</code> is empty (e.g.
+<code>trimmarks_paper=+2cm</code>), the current paper size (which is
+specified usually by the option for the document class) is used.</li>
</ul>
<h3 id="landscape"><code>landscape</code></h3>
-<p>Swap the width and the height. This swaps only the width and height which is specified with the option <code>trimmarks_paper</code>. For example, <code>landscape,trimmarks_paper=+{1cm,2cm}</code>, adds 1cm to the height and 2cm to the width. But the current paper size is not swapped.</p>
+<p>Swap the width and the height. This swaps only the width and height
+which is specified with the option <code>trimmarks_paper</code>. For
+example, <code>landscape,trimmarks_paper=+{1cm,2cm}</code>, adds 1cm to
+the height and 2cm to the width. But the current paper size is not
+swapped.</p>
<h3 id="show"><code>show</code></h3>
-<p>Specify the types of trim marks which the package outputs. It is specified with the comma separated list like <code>show={trimmarks,banner,digital}</code>. If no argument is given, everything will be showed.</p>
+<p>Specify the types of trim marks which the package outputs. It is
+specified with the comma separated list like
+<code>show={trimmarks,banner,digital}</code>. If no argument is given,
+everything will be showed.</p>
<ul>
<li><code>trimmarks</code>: outputs the trim marks.</li>
<li><code>banner</code>: date etc.</li>
@@ -134,12 +169,16 @@
</ul>
<h3 id="bleed_margin"><code>bleed_margin</code></h3>
<p>Set the bleed margin. You can also specify as follows.</p>
-<div class="sourceCode" id="cb2"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\usepackage</span>[bleed_margin={top=3mm,bottom=5mm,gutter=0mm,fore-edge=2mm}]{<span class="ex">jlreq-trimmarks</span>}</span></code></pre></div>
+<div class="sourceCode" id="cb2"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="bu">\usepackage</span>[bleed_margin={top=3mm,bottom=5mm,gutter=0mm,fore-edge=2mm}]{<span class="ex">jlreq-trimmarks</span>}</span></code></pre></div>
<h2 id="jlreqtrimmarkssetup"><code>\jlreqtrimmarkssetup</code></h2>
<p>Set the additional settings with the keyval style.</p>
<h3 id="banner"><code>banner</code></h3>
-<p>The things which the package outputs when <code>show=banner</code> is specified in the package option. Normally it is showed in the left of the top. You can also put them in many places with</p>
-<div class="sourceCode" id="cb3"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
+<p>The things which the package outputs when <code>show=banner</code> is
+specified in the package option. Normally it is showed in the left of
+the top. You can also put them in many places with</p>
+<div class="sourceCode" id="cb3"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a> banner={</span>
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a> &lt;Position (top/bottom, left/right, center)&gt;={</span>
<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a> &lt;more precise position&gt;={</span>
@@ -151,7 +190,8 @@
<span id="cb3-10"><a href="#cb3-10" aria-hidden="true" tabindex="-1"></a> }</span>
<span id="cb3-11"><a href="#cb3-11" aria-hidden="true" tabindex="-1"></a>}</span></code></pre></div>
<p>Here is an example.</p>
-<div class="sourceCode" id="cb4"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
+<div class="sourceCode" id="cb4"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a> banner={</span>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a> top-right={</span>
<span id="cb4-4"><a href="#cb4-4" aria-hidden="true" tabindex="-1"></a> vertical={</span>
@@ -170,9 +210,13 @@
<span id="cb4-17"><a href="#cb4-17" aria-hidden="true" tabindex="-1"></a> }</span>
<span id="cb4-18"><a href="#cb4-18" aria-hidden="true" tabindex="-1"></a> }</span>
<span id="cb4-19"><a href="#cb4-19" aria-hidden="true" tabindex="-1"></a>}</span></code></pre></div>
-<p>A possible combination of <code>top/bottom/center</code> and <code>left/right/center/gutter/fore-edge</code> can be used for the position. You can use <code>\thepage</code> to output the number of the page.</p>
+<p>A possible combination of <code>top/bottom/center</code> and
+<code>left/right/center/gutter/fore-edge</code> can be used for the
+position. You can use <code>\thepage</code> to output the number of the
+page.</p>
<p>The keys can be ommited. For example:</p>
-<div class="sourceCode" id="cb5"><pre class="sourceCode latex"><code class="sourceCode latex"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
+<div class="sourceCode" id="cb5"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a> banner={</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a> vertical={Vertical mode, in the top of the left},</span>
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a> odd={In the top of the left, only in odd pages.}, <span class="co">% regarded as `horizontal`</span></span>
@@ -184,15 +228,43 @@
<h3 id="trimmarks_width"><code>trimmarks_width</code></h3>
<p>Set the width of trim marks.</p>
<h3 id="-color"><code> color</code></h3>
-<p>Set the color of the trim marks. You have to load a package which defines <code>\color</code> (`color' package or its variant) before loading this package to use this function. Here are some examples of specifying the color.</p>
+<p>Set the color of the trim marks. You have to load a package which
+defines <code>\color</code> (`color' package or its variant) before
+loading this package to use this function. Here are some examples of
+specifying the color.</p>
<ul>
<li><code>color=c</code> -&gt; <code>\color[cmyk]{1,0,0,0}</code></li>
<li><code>color=cyk</code> -&gt; <code>\color[cmyk]{1,0,1,1}</code></li>
<li><code>black</code> -&gt; <code>\color{black}</code></li>
-<li><code>[cmyk]0.5,0.5,0.5,0</code> -&gt; <code>\color[cmyk]{0.5,0.5,0.5,0}</code></li>
+<li><code>[cmyk]0.5,0.5,0.5,0</code> -&gt;
+<code>\color[cmyk]{0.5,0.5,0.5,0}</code></li>
</ul>
+<h3 id="trimmarks_pattern"><code>trimmarks_pattern</code></h3>
+<p>Set the shape of the trim marks by the code. You can change the
+shapes of trim marks at the centers of top, bottom, left and right by
+the following code. Here, the specified code is the code for the
+top-center trim marks and rotated ones are put at the other places.
+Here, <code>graphicx</code> code should be loaded.</p>
+<div class="sourceCode" id="cb6"><pre
+class="sourceCode latex"><code class="sourceCode latex"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="fu">\jlreqtrimmarkssetup</span>{</span>
+<span id="cb6-2"><a href="#cb6-2" aria-hidden="true" tabindex="-1"></a> trimmarks_pattern = {</span>
+<span id="cb6-3"><a href="#cb6-3" aria-hidden="true" tabindex="-1"></a> centers = {</span>
+<span id="cb6-4"><a href="#cb6-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">\raisebox</span>{3mm}{</span>
+<span id="cb6-5"><a href="#cb6-5" aria-hidden="true" tabindex="-1"></a> <span class="fu">\vrule</span> width10mm height<span class="fu">\jlreqtrimmarkswidth</span> depth 0pt</span>
+<span id="cb6-6"><a href="#cb6-6" aria-hidden="true" tabindex="-1"></a> <span class="fu">\vrule</span> height10mm width<span class="fu">\jlreqtrimmarkswidth</span> depth 3mm</span>
+<span id="cb6-7"><a href="#cb6-7" aria-hidden="true" tabindex="-1"></a> <span class="fu">\vrule</span> width10mm height<span class="fu">\jlreqtrimmarkswidth</span> depth 0pt</span>
+<span id="cb6-8"><a href="#cb6-8" aria-hidden="true" tabindex="-1"></a> }</span>
+<span id="cb6-9"><a href="#cb6-9" aria-hidden="true" tabindex="-1"></a> }</span>
+<span id="cb6-10"><a href="#cb6-10" aria-hidden="true" tabindex="-1"></a> }</span>
+<span id="cb6-11"><a href="#cb6-11" aria-hidden="true" tabindex="-1"></a>}</span></code></pre></div>
+<p>You can specify shapes for top, bottom, left and right independently.
+For example, you can change the shape at the top-center by
+<code>top-center=&lt;code&gt;</code>. Similarly one can use
+<code>bottom-center</code>,<code>left-center</code>,<code>right-center</code>.
+<code>graphix</code> package is not needed for these keys.</p>
<h2 id="license">LICENSE</h2>
-<p>This package is distributed under the BSD 2-Clause License. See <a href="LICENSE">LICENSE</a>.</p>
+<p>This package is distributed under the BSD 2-Clause License. See <a
+href="LICENSE">LICENSE</a>.</p>
<h2 id="changelog">CHANGELOG</h2>
<ul>
<li>2018-05-19
@@ -210,24 +282,31 @@
</ul></li>
<li>2018-09-01
<ul>
-<li>Moved <code>bleed_margin</code> from <code>\jlreqtrimmarkssetup</code> to a package option.</li>
+<li>Moved <code>bleed_margin</code> from
+<code>\jlreqtrimmarkssetup</code> to a package option.</li>
<li>jlreq-trimmarks works with unusugal<code>\mag</code>.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2018-12-10
<ul>
-<li>Extended <code>banner</code> in <code>\jlreqtrimmarkssetup</code>.</li>
+<li>Extended <code>banner</code> in
+<code>\jlreqtrimmarkssetup</code>.</li>
</ul></li>
<li>2019-04-01
<ul>
-<li>Extended <code>banner</code> in <code>\jlreqtrimmarkssetup</code>.</li>
+<li>Extended <code>banner</code> in
+<code>\jlreqtrimmarkssetup</code>.</li>
<li>Extended <code>bleed_margin</code>.</li>
</ul></li>
<li>2020-05-01
<ul>
-<li><code>jlreq-trimmarks</code> outputs the contents in <code>\@bannertoken</code> when <code>banner</code> in <code>\jlreqtrimmarkssetup</code> is not used.</li>
-<li><code>\@bannertoken</code> is ignored when <code>banner</code> in <code>\jlreqtrimmarkssetup</code> is used.</li>
-<li><code>\@bannerfont</code> is ignored when <code>banner_font</code> in <code>\jlreqtrimmarkssetup</code> is used.</li>
+<li><code>jlreq-trimmarks</code> outputs the contents in
+<code>\@bannertoken</code> when <code>banner</code> in
+<code>\jlreqtrimmarkssetup</code> is not used.</li>
+<li><code>\@bannertoken</code> is ignored when <code>banner</code> in
+<code>\jlreqtrimmarkssetup</code> is used.</li>
+<li><code>\@bannerfont</code> is ignored when <code>banner_font</code>
+in <code>\jlreqtrimmarkssetup</code> is used.</li>
</ul></li>
<li>2021-07-22
<ul>
@@ -241,9 +320,15 @@
<ul>
<li>Fixed a bug: an error occurred when loading.</li>
</ul></li>
+<li>2022-11-28
+<ul>
+<li>Added <code>trimmarks_pattern</code> to
+<code>\jlreqtrimmarkssetup</code>.</li>
+</ul></li>
</ul>
<hr />
-<p>Noriyuki Abe <a href="https://github.com/abenori/jlreq">https://github.com/abenori/jlreq</a></p>
+<p>Noriyuki Abe <a
+href="https://github.com/abenori/jlreq">https://github.com/abenori/jlreq</a></p>
</article>
</body>
</html>
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
index 3f4e72e4d37..a196aef39ee 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
@@ -131,6 +131,24 @@ Set the color of the trim marks. You have to load a package which defines `\colo
* `black` -> `\color{black}`
* `[cmyk]0.5,0.5,0.5,0` -> `\color[cmyk]{0.5,0.5,0.5,0}`
+### `trimmarks_pattern`
+Set the shape of the trim marks by the code. You can change the shapes of trim marks at the centers of top, bottom, left and right by the following code. Here, the specified code is the code for the top-center trim marks and rotated ones are put at the other places. Here, `graphicx` code should be loaded.
+```latex
+\jlreqtrimmarkssetup{
+ trimmarks_pattern = {
+ centers = {
+ \raisebox{3mm}{
+ \vrule width10mm height\jlreqtrimmarkswidth depth 0pt
+ \vrule height10mm width\jlreqtrimmarkswidth depth 3mm
+ \vrule width10mm height\jlreqtrimmarkswidth depth 0pt
+ }
+ }
+ }
+}
+```
+You can specify shapes for top, bottom, left and right independently. For example, you can change the shape at the top-center by `top-center=<code>`. Similarly one can use `bottom-center`,`left-center`,`right-center`. `graphix` package is not needed for these keys.
+
+
## LICENSE
This package is distributed under the BSD 2-Clause License. See [LICENSE](LICENSE).
@@ -161,6 +179,8 @@ This package is distributed under the BSD 2-Clause License. See [LICENSE](LICENS
- Removed dependence on `etoolbox` package.
* 2022-07-13
- Fixed a bug: an error occurred when loading.
+* 2022-11-28
+ - Added `trimmarks_pattern` to `\jlreqtrimmarkssetup`.
--------------
Noriyuki Abe
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq.html b/Master/texmf-dist/doc/latex/jlreq/jlreq.html
index c49931c4ae2..1d4e9eb5647 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq.html
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq.html
@@ -58,20 +58,27 @@
<article class="markdown-body">
<h1 id="jlreq">jlreq</h1>
<h2 id="what-is-this">What is this?</h2>
-<p>This package provides the class file and JFM (Japanese font metric) files for LuaTeX-ja / pLaTeX / upLaTeX. This aims to implement <a href="https://www.w3.org/TR/jlreq/?lang=en">Requirements for Japanese Text Layout</a>.</p>
+<p>This package provides the class file and JFM (Japanese font metric)
+files for LuaTeX-ja / pLaTeX / upLaTeX. This aims to implement <a
+href="https://www.w3.org/TR/jlreq/?lang=en">Requirements for Japanese
+Text Layout</a>.</p>
<h2 id="installation">Installation</h2>
-<p>Run <code>make</code> to generate JFM files. Move the files as follows:</p>
+<p>Run <code>make</code> to generate JFM files. Move the files as
+follows:</p>
<ul>
<li>*.tfm -&gt; $TEXMF/fonts/tfm/public/jlreq</li>
<li>*.vf -&gt; $TEXMF/fonts/vf/public/jlreq</li>
-<li>jfm-jlreq.lua, jfm-jlreqv.lua, jfm-jlreq-jidori.lua jfm-jlreqv-jidori.lua -&gt; $TEXMF/tex/luatex/jlreq</li>
+<li>jfm-jlreq.lua, jfm-jlreqv.lua, jfm-jlreq-jidori.lua
+jfm-jlreqv-jidori.lua -&gt; $TEXMF/tex/luatex/jlreq</li>
<li>jlreq.cls, jlreq-helpers.sty -&gt; $TEXMF/tex/latex/jlreq</li>
</ul>
-<p>The other way to install is just to run <code>make install</code>. It will install all files in <code>$TEXMFHOME</code>.</p>
+<p>The other way to install is just to run <code>make install</code>. It
+will install all files in <code>$TEXMFHOME</code>.</p>
<h2 id="usage">Usage</h2>
<p>See <a href="jlreq-ja.html">jlreq-ja.html</a> (in Japanese).</p>
<h2 id="license">LICENSE</h2>
-<p>This package is distributed under the BSD 2-Clause License. See <a href="LICENSE">LICENSE</a>.</p>
+<p>This package is distributed under the BSD 2-Clause License. See <a
+href="LICENSE">LICENSE</a>.</p>
<h2 id="changelog">CHANGELOG</h2>
<ul>
<li>2017-02-08
@@ -82,48 +89,59 @@
<ul>
<li>Fixed bugs.</li>
<li>Implement <code>abstract</code> environment.</li>
-<li>Changed/Added some keys to class option/<code>\jlreqsetup</code></li>
-<li>Stopped to load <code>pxrubirica</code>, <code>luatexja-ruby</code> and <code>nidanfloat</code>.</li>
+<li>Changed/Added some keys to class
+option/<code>\jlreqsetup</code></li>
+<li>Stopped to load <code>pxrubirica</code>, <code>luatexja-ruby</code>
+and <code>nidanfloat</code>.</li>
</ul></li>
<li>2017-03-14
<ul>
<li>Fixed bugs.</li>
-<li><code>\sffamily</code> etc. also change the Japanese font family.</li>
+<li><code>\sffamily</code> etc. also change the Japanese font
+family.</li>
<li>Added many options to <code>\DeclareBlockHeading</code>.</li>
<li>Some options related to <code>quote</code> environment etc.</li>
</ul></li>
<li>2017-03-20
<ul>
<li>Fixed bugs.</li>
-<li>Insert some spaces around <code>\footnote / \sidenote / \endnote</code>.</li>
+<li>Insert some spaces around
+<code>\footnote / \sidenote / \endnote</code>.</li>
</ul></li>
<li>2017-04-04
<ul>
<li>Fixed a bug.</li>
-<li>Added options <code>tate</code> and <code>font</code> to <code>\DeclarePageStyle</code>.</li>
+<li>Added options <code>tate</code> and <code>font</code> to
+<code>\DeclarePageStyle</code>.</li>
</ul></li>
<li>2017-04-29
<ul>
<li>Fixed bugs.</li>
-<li>Added <code>jafontsize</code> and <code>jafontscale</code> options and <code>\jafontsize</code>.</li>
+<li>Added <code>jafontsize</code> and <code>jafontscale</code> options
+and <code>\jafontsize</code>.</li>
<li>Added <code>\tatechuyoko</code>.</li>
-<li><code>jlreq_warnings</code> -&gt; <code>jlreq_notes</code> (class option).</li>
+<li><code>jlreq_warnings</code> -&gt; <code>jlreq_notes</code> (class
+option).</li>
<li>Moved some class options to <code>\jlreqsetup</code>.</li>
<li>Added some options to <code>\jlreqsetup</code>.</li>
-<li><code>paper={&lt;height&gt;,&lt;width&gt;}</code> -&gt; <code>paper={&lt;width&gt;,&lt;height&gt;}</code>.</li>
+<li><code>paper={&lt;height&gt;,&lt;width&gt;}</code> -&gt;
+<code>paper={&lt;width&gt;,&lt;height&gt;}</code>.</li>
</ul></li>
<li>2017-06-11
<ul>
<li>Stopped to load <code>plext</code> and <code>lltjext</code>.</li>
-<li>Added <code>align</code> to <code>\DeclareBlockHeading</code> and delete <code>indent=center</code>, <code>end_indent=center</code>.</li>
+<li>Added <code>align</code> to <code>\DeclareBlockHeading</code> and
+delete <code>indent=center</code>, <code>end_indent=center</code>.</li>
<li>Changed <code>\kcatcode</code> for some characters (upLaTeX).</li>
</ul></li>
<li>2017-08-13
<ul>
-<li>Added <code>column_spanning</code> to <code>\DeclareBlockHeading</code>.</li>
+<li>Added <code>column_spanning</code> to
+<code>\DeclareBlockHeading</code>.</li>
<li>Sidenotes are a part of the main text now.</li>
<li>Changed the default length of sidenotes to 0.</li>
-<li>jlreq does not define <code>\sidenote</code> if the length for sidenotes is zero.</li>
+<li>jlreq does not define <code>\sidenote</code> if the length for
+sidenotes is zero.</li>
<li>Added a command for the full-width ideographic space.</li>
</ul></li>
<li>2017-08-29
@@ -134,7 +152,8 @@
<ul>
<li>Fixed bugs.</li>
<li>Added <code>\SetBlockHeadingSpaces</code>.</li>
-<li>Removed a space from <code>\contentsname</code> and <code>\indexname</code>.</li>
+<li>Removed a space from <code>\contentsname</code> and
+<code>\indexname</code>.</li>
</ul></li>
<li>2017-12-02
<ul>
@@ -143,8 +162,10 @@
<li>2017-12-22
<ul>
<li>Improved JFM.</li>
-<li>Change the way to detect <code>\label</code> between block headings.</li>
-<li>Added chapter number to <code>\theequation</code>,<code>\thefigure</code>,<code>\thetable</code>.</li>
+<li>Change the way to detect <code>\label</code> between block
+headings.</li>
+<li>Added chapter number to
+<code>\theequation</code>,<code>\thefigure</code>,<code>\thetable</code>.</li>
</ul></li>
<li>2018-02-01
<ul>
@@ -156,11 +177,15 @@
</ul></li>
<li>2018-04-11
<ul>
-<li>Sidenotes (<code>\footnote</code>) appears in the second column in <code>tate</code> mode.</li>
-<li>Added options <code>begin_widh_(odd|even)_page</code> to <code>\DeclareBlockHeading</code>.</li>
-<li>Changed <code>\labelenumi</code> as in <code>jarticle</code> etc.</li>
+<li>Sidenotes (<code>\footnote</code>) appears in the second column in
+<code>tate</code> mode.</li>
+<li>Added options <code>begin_widh_(odd|even)_page</code> to
+<code>\DeclareBlockHeading</code>.</li>
+<li>Changed <code>\labelenumi</code> as in <code>jarticle</code>
+etc.</li>
<li>Fix a bug on <code>column_gap</code> class option.</li>
-<li>Added <code>mark_format</code> to <code>\DeclarePageStyle</code>.</li>
+<li>Added <code>mark_format</code> to
+<code>\DeclarePageStyle</code>.</li>
</ul></li>
<li>2018-05-19
<ul>
@@ -175,9 +200,11 @@
</ul></li>
<li>2018-08-08
<ul>
-<li>Added <code>nombre_ii</code> etc. to <code>\DeclarePageStyle</code>.</li>
+<li>Added <code>nombre_ii</code> etc. to
+<code>\DeclarePageStyle</code>.</li>
<li>Fixed bugs.</li>
-<li>Added <code>footnote_second_indent</code> and <code>endnote_second_indent</code> to <code>\jlreqsetup</code>.</li>
+<li>Added <code>footnote_second_indent</code> and
+<code>endnote_second_indent</code> to <code>\jlreqsetup</code>.</li>
</ul></li>
<li>2018-08-15
<ul>
@@ -190,16 +217,23 @@
</ul></li>
<li>2018-12-10
<ul>
-<li>Added <code>number=[true/false]</code> to <code>\New***Heading</code>.</li>
-<li>Added options for <code>\frontmatter</code> etc in <code>\jlreqsetup</code>.</li>
-<li>Made <code>\jlreqHeadingLabel</code> etc available in <code>format</code> in <code>\NewTobiraHeading</code> and <code>\NewBlockHeading</code>.</li>
+<li>Added <code>number=[true/false]</code> to
+<code>\New***Heading</code>.</li>
+<li>Added options for <code>\frontmatter</code> etc in
+<code>\jlreqsetup</code>.</li>
+<li>Made <code>\jlreqHeadingLabel</code> etc available in
+<code>format</code> in <code>\NewTobiraHeading</code> and
+<code>\NewBlockHeading</code>.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2019-01-15
<ul>
-<li>Added <code>nombre_font</code> etc to <code>\NewPageStyle</code>. <code>font</code> is deprecated.</li>
-<li><code>format</code> without <code>#1</code> is allowed in <code>\NewBlockHeading</code>.</li>
-<li>Extended <code>caption_label_format</code> etc. in <code>\jlreqsetup</code>.</li>
+<li>Added <code>nombre_font</code> etc to <code>\NewPageStyle</code>.
+<code>font</code> is deprecated.</li>
+<li><code>format</code> without <code>#1</code> is allowed in
+<code>\NewBlockHeading</code>.</li>
+<li>Extended <code>caption_label_format</code> etc. in
+<code>\jlreqsetup</code>.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2019-04-01
@@ -211,26 +245,32 @@
</ul></li>
<li>2019-05-07
<ul>
-<li>Added a small length to <code>\textwidth</code> and <code>\textheight</code>.</li>
-<li>Changed the implementation of <code>running_head_ii</code> etc. in <code>\DeclarePageStyle</code>.</li>
+<li>Added a small length to <code>\textwidth</code> and
+<code>\textheight</code>.</li>
+<li>Changed the implementation of <code>running_head_ii</code> etc. in
+<code>\DeclarePageStyle</code>.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2019-09-24
<ul>
-<li>Deleted the (re-)definitions of <code>\@cite</code> and <code>\@biblabel</code>.</li>
+<li>Deleted the (re-)definitions of <code>\@cite</code> and
+<code>\@biblabel</code>.</li>
<li>Added <code>\allowbreak</code> before block headings.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2020-02-07
<ul>
-<li>Changed the default value of <code>itemization_label_length</code> to <code>\leftmargini</code> etc.</li>
-<li>Removed the redefinitions <code>\rmfamily</code> etc and added a code to <code>\@rmfamilyhook</code>.</li>
+<li>Changed the default value of <code>itemization_label_length</code>
+to <code>\leftmargini</code> etc.</li>
+<li>Removed the redefinitions <code>\rmfamily</code> etc and added a
+code to <code>\@rmfamilyhook</code>.</li>
<li>Changed <code>\parskip</code> to <code>0pt</code>.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2020-05-01
<ul>
-<li>Added <code>theorem_label_font</code> and <code>theorem_font</code> to <code>\jlreqsetup</code>.</li>
+<li>Added <code>theorem_label_font</code> and <code>theorem_font</code>
+to <code>\jlreqsetup</code>.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2020-09-27
@@ -246,28 +286,33 @@
</ul></li>
<li>2021-03-17
<ul>
-<li>Use the pagestyle <code>plain</code> at <code>\maketitle</code> if the current one is not <code>empty</code></li>
+<li>Use the pagestyle <code>plain</code> at <code>\maketitle</code> if
+the current one is not <code>empty</code></li>
<li>Removed JFM glue after <code>\item</code>.</li>
<li>Removed JFM glue after block headings.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2021-05-28
<ul>
-<li>Extended <code>caption_align</code> in <code>\jlreqsetup</code>.</li>
+<li>Extended <code>caption_align</code> in
+<code>\jlreqsetup</code>.</li>
<li>Removed some <code>\ifthenelse</code>.</li>
</ul></li>
<li>2021-07-22
<ul>
<li>Stopped to use <code>\IfHookExistsTF</code>.</li>
<li>Added <code>\akigumi</code>.</li>
-<li>Stopped to load packages <code>xkeyval</code> and <code>ifthen</code>.</li>
+<li>Stopped to load packages <code>xkeyval</code> and
+<code>ifthen</code>.</li>
<li>It has more compatibility with expl3.</li>
-<li>Added <code>pagestyle</code> to <code>\DeclareBlockHeading</code>.</li>
+<li>Added <code>pagestyle</code> to
+<code>\DeclareBlockHeading</code>.</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2021-07-25
<ul>
-<li>Load <code>ifthen</code> again. (Only for Re:VIEW, will be removed in future.)</li>
+<li>Load <code>ifthen</code> again. (Only for Re:VIEW, will be removed
+in future.)</li>
<li>Fixed bugs.</li>
</ul></li>
<li>2021-08-12
@@ -282,19 +327,23 @@
<li>2021-11-05
<ul>
<li><code>paper=b*</code> is regarded as a ISO series.</li>
-<li>Removed many codes relating with LaTeX hooks mechanism (because it seems not stable.)</li>
+<li>Removed many codes relating with LaTeX hooks mechanism (because it
+seems not stable.)</li>
<li>Removed <code>\RequirePackage{ifthen}</code>.</li>
<li>Removed <code>\kcatcode</code>settings with upLaTeX.</li>
</ul></li>
<li>2022-04-05
<ul>
-<li>Added <code>warichu_opening</code> and <code>warichu_closing</code> to <code>\jlreqsetup</code>.</li>
+<li>Added <code>warichu_opening</code> and <code>warichu_closing</code>
+to <code>\jlreqsetup</code>.</li>
<li>Change a little bit penalties around block heading.</li>
-<li>Fixed a bug: <code>\selectfont</code> after <code>\DeclareFontShape</code> raised an error.</li>
+<li>Fixed a bug: <code>\selectfont</code> after
+<code>\DeclareFontShape</code> raised an error.</li>
<li>Fixed a bug: <code>use_reverse_pagination</code> did not work.</li>
<li>Fixed a bug: A second running head disappeared sometimes.</li>
<li>Rewrote <code>\DeclarePageStyle</code>.</li>
-<li>Deleted <code>\@makefntext</code>, define <code>\@makefntext</code> directly.</li>
+<li>Deleted <code>\@makefntext</code>, define <code>\@makefntext</code>
+directly.</li>
<li>Fixed other bugs.</li>
</ul></li>
<li>2022-04-11
@@ -305,9 +354,18 @@
<ul>
<li>Fixed a bug: The position of running heads were not correct.</li>
</ul></li>
+<li>2022-11-28
+<ul>
+<li>Fixed a bug: did not register to running head when
+<code>\SetBlockHeadingSpaces</code> is used.</li>
+<li>Fixed a bug: wrong papersize for ISO C4.</li>
+<li>Added a package <code>jlreq-complements</code></li>
+<li>Fixed some other bugs and adjust with some other packages.</li>
+</ul></li>
</ul>
<hr />
-<p>Noriyuki Abe <a href="https://github.com/abenori/jlreq">https://github.com/abenori/jlreq</a></p>
+<p>Noriyuki Abe <a
+href="https://github.com/abenori/jlreq">https://github.com/abenori/jlreq</a></p>
</article>
</body>
</html>
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq.pdf b/Master/texmf-dist/doc/latex/jlreq/jlreq.pdf
index 495dd58d85b..7bc6b4dc1ac 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq.pdf
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq.pdf
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq-v.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq-v.tfm
index d52f57b60b2..94b914379bf 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq-v.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq-v.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq.tfm
index e04af490351..1a837f43855 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg-v.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg-v.tfm
index d52f57b60b2..94b914379bf 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg-v.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg-v.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg.tfm
index e04af490351..1a837f43855 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq-v.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq-v.tfm
index 3eb8e12031e..2800a720586 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq-v.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq-v.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq.tfm
index d39d77e79ed..fe72b56cd4e 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg-v.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg-v.tfm
index 3eb8e12031e..2800a720586 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg-v.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg-v.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg.tfm
index d39d77e79ed..fe72b56cd4e 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq-v.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq-v.tfm
index 8c3bf49ec14..0ec5a32adde 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq-v.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq-v.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq.tfm
index 2ec79270e29..a194e31111b 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg-v.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg-v.tfm
index 8c3bf49ec14..0ec5a32adde 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg-v.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg-v.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg.tfm
index 2ec79270e29..a194e31111b 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq-v.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq-v.tfm
index 894103f1a82..b6d1093ba16 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq-v.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq-v.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq.tfm
index 64792076ecc..93b0ae9b8fb 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg-v.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg-v.tfm
index 894103f1a82..b6d1093ba16 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg-v.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg-v.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg.tfm b/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg.tfm
index 64792076ecc..93b0ae9b8fb 100644
--- a/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg.tfm
+++ b/Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg.tfm
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq-v.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq-v.vf
index 371de093f13..1a46ce2a326 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq-v.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq-v.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq.vf
index a6d522a17f8..3a073e11b4a 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg-v.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg-v.vf
index 014ac88b949..06c58cfebbe 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg-v.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg-v.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg.vf
index b837f6ecbe2..5d2ca679c3c 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ubjlreqg.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq-v.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq-v.vf
index 666e258a7ea..509f58c9b3e 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq-v.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq-v.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq.vf
index 7909137549f..90885cc729a 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreq.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg-v.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg-v.vf
index 8f872efc87e..32aefede384 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg-v.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg-v.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg.vf
index cc225251142..7076e5c06bb 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ubzjlreqg.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ujlreq-v.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ujlreq-v.vf
index 46e1bab6c90..3cceecb1d6c 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ujlreq-v.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ujlreq-v.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ujlreq.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ujlreq.vf
index 2ffd8509a4e..62b3f8f55e3 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ujlreq.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ujlreq.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg-v.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg-v.vf
index 9f767d71952..9594ad201e1 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg-v.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg-v.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg.vf b/Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg.vf
index f69ce6f1750..2f3bc3261da 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/ujlreqg.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq-v.vf b/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq-v.vf
index 6c7f3b48030..df675623d18 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq-v.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq-v.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq.vf b/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq.vf
index 2c80f063a87..bb4134de403 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreq.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg-v.vf b/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg-v.vf
index 41580a72c45..13f529809de 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg-v.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg-v.vf
Binary files differ
diff --git a/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg.vf b/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg.vf
index d439f4d8e64..55c71024968 100644
--- a/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg.vf
+++ b/Master/texmf-dist/fonts/vf/public/jlreq/uzjlreqg.vf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/jlreq/luajfm2pl.lua b/Master/texmf-dist/source/latex/jlreq/luajfm2pl.lua
index 5aceea506de..bccba0cb3da 100644
--- a/Master/texmf-dist/source/latex/jlreq/luajfm2pl.lua
+++ b/Master/texmf-dist/source/latex/jlreq/luajfm2pl.lua
@@ -1,6 +1,6 @@
kpse.set_program_name("texlua","lualatex")
-no_jis_chars = {'⦅','〘','〖','«','〝','⦆','〙','〗','»','〟','‼','⁇','⁈','⁉','〳','〴','〵','〻','ゕ','ゖ','ㇰ','ㇱ','ㇲ','ㇳ','ㇴ','ㇵ','ㇶ','ㇷ','ㇸ','ㇹ','ㇺ','ㇻ','ㇼ','ㇽ','ㇾ','ㇿ','ㇷ゚','€','№','㏋','ℓ','㌃','㌍','㌔','㌘','㌢','㌣','㌦','㌧','㌫','㌶','㌻','㍉','㍊','㍍','㍑','㍗','㎎','㎏','㎜','㎝','㎞','㎡','㏄','ゔ','か゚','き゚','く゚','け゚','こ゚','ヷ','ヸ','ヹ','ヺ','カ゚','キ゚','ク゚','ケ゚','コ゚','セ゚','ツ゚','ト゚','゠','–'}
+no_jis_chars = {'⦅','〘','〖','«','〝','⦆','〙','〗','»','〟','‼','⁇','⁈','⁉','〳','〴','〵','〻','ゕ','ゖ','ㇰ','ㇱ','ㇲ','ㇳ','ㇴ','ㇵ','ㇶ','ㇷ','ㇸ','ㇹ','ㇺ','ㇻ','ㇼ','ㇽ','ㇾ','ㇿ','ㇷ゚','€','№','㏋','ℓ','㌃','㌍','㌔','㌘','㌢','㌣','㌦','㌧','㌫','㌶','㌻','㍉','㍊','㍍','㍑','㍗','㎎','㎏','㎜','㎝','㎞','㎡','㏄','ゔ','か゚','き゚','く゚','け゚','こ゚','ヷ','ヸ','ヹ','ヺ','カ゚','キ゚','ク゚','ケ゚','コ゚','セ゚','ツ゚','ト゚','゠','–','ヲ', 'ァ', 'ィ', 'ゥ', 'ェ', 'ォ', 'ャ', 'ュ', 'ョ', 'ッ', 'ー', 'ア', 'イ', 'ウ', 'エ', 'オ', 'カ', 'キ', 'ク', 'ケ', 'コ', 'サ', 'シ', 'ス', 'セ', 'ソ', 'タ', 'チ', 'ツ', 'テ', 'ト', 'ナ', 'ニ', 'ヌ', 'ネ', 'ノ', 'ハ', 'ヒ', 'フ', 'ヘ', 'ホ', 'マ', 'ミ', 'ム', 'メ', 'モ', 'ヤ', 'ユ', 'ヨ', 'ラ', 'リ', 'ル', 'レ', 'ロ', 'ワ', 'ン'}
if arg[1] == nil then
print('Usage: texlua luajfm2pl.lua [--noutf] <JFM for LuaTeX-ja> [<PL file name>]')
diff --git a/Master/texmf-dist/tex/latex/jlreq/jlreq-complements.sty b/Master/texmf-dist/tex/latex/jlreq/jlreq-complements.sty
index 2e20114fe61..144bc21b577 100644
--- a/Master/texmf-dist/tex/latex/jlreq/jlreq-complements.sty
+++ b/Master/texmf-dist/tex/latex/jlreq/jlreq-complements.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{jlreq-complements}[2022/07/13 jlreq-complements]
-\RequirePackage{jlreq-helpers}[2021/08/12]
+\ProvidesPackage{jlreq-complements}[2022/11/28 jlreq-complements]
+\RequirePackage{jlreq-helpers}[2022/11/28]
\RequirePackage{l3keys2e}
\ExplSyntaxOn
@@ -40,7 +40,7 @@
\int_compare_p:n { (\ltjgetparameter{direction}-(\ltjgetparameter{direction}/8)*8) == 3 }
}
}{
- \prg_new_conditional:Nnn \__jlreq_complements_iftdir: { T, F, TF} { \legacy_if_p:n { tdir } }
+ \prg_new_conditional:Nnn \__jlreq_complements_iftdir: { T, F, TF} { \iftdir \prg_return_true: \else \prg_return_false: \fi }
}
\@ifundefined{jlreq@zw}{
@@ -129,7 +129,7 @@
\bool_new:N \g__jlreq_complements_theindex_restorepagestyle_bool
\keys_define:Vn \g__jlreq_complements_setupname_str {
theindex_yoko .bool_gset:N = \g__jlreq_complements_theindex_yoko_bool,
- theindex_twocolumn .bool_gset:N = \g__jlreq_complements_theindex_twcolumn_bool,
+ theindex_twocolumn .bool_gset:N = \g__jlreq_complements_theindex_twocolumn_bool,
}
\keys_set:Vn \g__jlreq_complements_setupname_str {
@@ -146,14 +146,15 @@
{ \keys_set:Vn \g__jlreq_complements_setupname_str { theindex_yoko = false } }
{ \keys_set:Vn \g__jlreq_complements_setupname_str { theindex_yoko = true } }
-
\bool_new:N \l__jlreq_complements_resttate_bool
+\bool_new:N \l__jlreq_complements_theindex_maincolumn_bool
\renewenvironment{theindex}{%
\prop_item:Nn \g__jlreq_complements_theindex_prop { precode }
\bool_set_false:N \l__jlreq_complements_resttate_bool
\bool_if:NT \g__jlreq_complements_theindex_yoko_bool {
\__jlreq_complements_iftdir:T { \clearpage \yoko \bool_set_true:N \l__jlreq_complements_resttate_bool }
}
+ \bool_set:Nn \l__jlreq_complements_theindex_maincolumn_bool { \legacy_if_p:n { @twocolumn } }
\bool_if:NTF \g__jlreq_complements_theindex_twocolumn_bool {
\setlength{\columnseprule}{ \prop_item:Nn \g__jlreq_complements_theindex_prop { column_rule_width } }
\setlength{\columnsep} { \prop_item:Nn \g__jlreq_complements_theindex_prop { column_gap } }
@@ -168,14 +169,15 @@
}
\prop_item:Nn \g__jlreq_complements_theindex_prop { mark }
\tl_set:Nx \l__jlreq_tmpa_tl { \exp_not:N \pagestyle { \prop_item:Nn \g__jlreq_complements_theindex_prop { pagestyle } } }
+ \l__jlreq_tmpa_tl
\parindent\z@
\parskip\z@ \@plus .03\jlreq@zh\relax
\let\item\@idxitem
}{%
\bool_if:NTF \g__jlreq_complements_theindex_twocolumn_bool {
- \legacy_if:nF { @twocolumn } { \onecolumn }
+ \bool_if:NF \l__jlreq_complements_theindex_maincolumn_bool { \onecolumn }
}{
- \legacy_if:nT { @twocolumn } { \twocolumn }
+ \bool_if:NT \l__jlreq_complements_theindex_maincolumn_bool { \twocolumn }
}
\clearpage
\bool_if:NT \l__jlreq_complements_resttate_bool { \tate }
diff --git a/Master/texmf-dist/tex/latex/jlreq/jlreq-helpers.sty b/Master/texmf-dist/tex/latex/jlreq/jlreq-helpers.sty
index ea475e87dd9..ab61fe07091 100644
--- a/Master/texmf-dist/tex/latex/jlreq/jlreq-helpers.sty
+++ b/Master/texmf-dist/tex/latex/jlreq/jlreq-helpers.sty
@@ -1,7 +1,7 @@
% エンジン非依存のマクロ集
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{jlreq-helpers}[2021/08/12 jlreq-helpers]
+\ProvidesPackage{jlreq-helpers}[2022/11/28 jlreq-helpers]
\ExplSyntaxOn
%. helper1
@@ -441,7 +441,7 @@
\@namedef{jlreq@helper@papersizelist@c2paper}{{458mm}{648mm}}
\@namedef{jlreq@helper@papersizelist@c3paper}{{324mm}{458mm}}
-\@namedef{jlreq@helper@papersizelist@c4paper}{{229mm}{354mm}}
+\@namedef{jlreq@helper@papersizelist@c4paper}{{229mm}{324mm}}
\@namedef{jlreq@helper@papersizelist@c5paper}{{162mm}{229mm}}
\@namedef{jlreq@helper@papersizelist@c6paper}{{114mm}{162mm}}
\@namedef{jlreq@helper@papersizelist@c7paper}{{81mm}{114mm}}
diff --git a/Master/texmf-dist/tex/latex/jlreq/jlreq-trimmarks.sty b/Master/texmf-dist/tex/latex/jlreq/jlreq-trimmarks.sty
index b21bdcc4538..f2e72aeddc1 100644
--- a/Master/texmf-dist/tex/latex/jlreq/jlreq-trimmarks.sty
+++ b/Master/texmf-dist/tex/latex/jlreq/jlreq-trimmarks.sty
@@ -1,7 +1,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{jlreq-trimmarks}[2022/07/13 jlreq-trimmarks]
+\ProvidesPackage{jlreq-trimmarks}[2022/11/28 jlreq-trimmarks]
\RequirePackage{l3keys2e}
-\RequirePackage{jlreq-helpers}
+\RequirePackage{jlreq-helpers}[2022/11/28]
\ExplSyntaxOn
% check \tombowdatetrue
@@ -184,9 +184,7 @@
}[\PackageError{jlreq-trimmarks}{Unknown~value~`##1'~in~the~option~`show'}{\@ehc}]
}
}
- }
-}
-\keys_define:nn { jlreq-trimmarks } {
+ },
bleed_margin .code:n = {
\begingroup
\def\jlreq@do{}%
@@ -337,6 +335,33 @@
\jlreq@do
}
+\tl_new:N \g__jlreq_trimmarks_pattern_center_top_tl
+\tl_new:N \g__jlreq_trimmarks_pattern_center_bottom_tl
+\tl_new:N \g__jlreq_trimmarks_pattern_center_left_tl
+\tl_new:N \g__jlreq_trimmarks_pattern_center_right_tl
+\cs_set:Nn \__jlreq_check_rotatebox:n {
+ \@ifundefined{rotatebox}{
+ \PackageError{jlreq-trimmarks}{`\string\rotatebox'~is~needed~to~use~#1,~please~load~the~package~`graphicx'~or~its~variant}{\@ehc}
+ }{}
+}
+\keys_define:nn { jlreq-trimmarks-pattern } {
+ top-center .tl_gset:N = \g__jlreq_trimmarks_pattern_center_top_tl,
+ center-top .tl_gset:N = \g__jlreq_trimmarks_pattern_center_top_tl,
+ bottom-center .tl_gset:N = \g__jlreq_trimmarks_pattern_center_bottom_tl,
+ center-bottom .tl_gset:N = \g__jlreq_trimmarks_pattern_center_bottom_tl,
+ center-left .tl_gset:N = \g__jlreq_trimmarks_pattern_center_left_tl,
+ left-center .tl_gset:N = \g__jlreq_trimmarks_pattern_center_left_tl,
+ center-right .tl_gset:N = \g__jlreq_trimmarks_pattern_center_right_tl,
+ right-center .tl_gset:N = \g__jlreq_trimmarks_pattern_center_right_tl,
+ centers .code:n = {
+ \__jlreq_check_rotatebox:n { trimmarks_pattern/centers }
+ \tl_gset:Nn \g__jlreq_trimmarks_pattern_center_top_tl {#1}
+ \tl_gset:Nn \g__jlreq_trimmarks_pattern_center_left_tl { \rotatebox[origin=cb]{90}{#1} }
+ \tl_gset:Nn \g__jlreq_trimmarks_pattern_center_bottom_tl { \rotatebox[origin=cb]{180}{#1} }
+ \tl_gset:Nn \g__jlreq_trimmarks_pattern_center_right_tl { \rotatebox[origin=cb]{270}{#1} }
+ },
+}
+
\keys_define:nn { jlreqtrimmarkssetup } {
banner .code:n = {
\clist_map_variable:nNn { odd,even } \@tempa {
@@ -437,11 +462,15 @@
}%
}%
}%
- }%
+ },
+ trimmarks_pattern .code:n = {
+ \keys_set:nn { jlreq-trimmarks-pattern } {#1}
+ }
}
\NewDocumentCommand { \jlreqtrimmarkssetup } { +m } {
\keys_set:nn { jlreqtrimmarkssetup } {#1}
}
+\def\jlreqtrimmarkswidth{\@tombowwidth}
\@onlypreamble\jlreqtrimmarkssetup
\@bannertoken{%
\jobname\space(\number\year-\two@digits\month-\two@digits\day
@@ -450,7 +479,27 @@
\jlreqtrimmarkssetup{
banner={\the\@bannertoken},
banner_font={\@bannerfont},
- color={}
+ color={},
+ trimmarks_pattern = {
+ top-center = {
+ \vrule width10mm~height\@tombowwidth depth\z@
+ \vrule height10mm~width\@tombowwidth depth\z@
+ \vrule width10mm~height\@tombowwidth depth\z@
+ },
+ bottom-center = {
+ \vrule width10mm~depth\@tombowwidth height\z@
+ \vrule depth10mm~width\@tombowwidth height\z@
+ \vrule width10mm~depth\@tombowwidth height\z@
+ },
+ center-right = {
+ \vrule height 10mm depth10mm width\@tombowwidth
+ \vrule height.5\@tombowwidth depth.5\@tombowwidth width10mm
+ },
+ center-left = {
+ \vrule width10mm height.5\@tombowwidth depth.5\@tombowwidth
+ \vrule height10mm depth10mm width\@tombowwidth
+ }
+ }
}
\ifx\jlreq@trimmarks@engine\@undefined
@@ -559,7 +608,14 @@
\hfill
\setbox\jlreq@tempboxa=\hbox{% \@TC
\yoko
- \vrule width10mm height\@tombowwidth depth\z@
+ \setbox\jlreq@tempboxb=\hbox{
+ \g__jlreq_trimmarks_pattern_center_top_tl
+ }%
+ \jlreq@tempdima=\wd\jlreq@tempboxb\relax
+ \ht\jlreq@tempboxb=0pt \dp\jlreq@tempboxb=0pt \wd\jlreq@tempboxb=0pt
+ \kern -0.5\jlreq@tempdima\relax
+ \box\jlreq@tempboxb
+ \kern 0.5\jlreq@tempdima\relax
\jlreq@trimmarks@outputbanner{before@top@center}{%
\setbox\jlreq@tempboxa=\hbox to 0pt{\hss\jlreq@trimmarks@bannerfont##1\hskip 5mm}%
\ht\jlreq@tempboxa=0pt \dp\jlreq@tempboxa=0pt \wd\jlreq@tempboxa=0pt
@@ -572,13 +628,11 @@
\ht\jlreq@tempboxa=0pt \dp\jlreq@tempboxa=0pt \wd\jlreq@tempboxa=0pt
\kern-\jlreq@tempdimb\raise-\jlreq@tempdima\box\jlreq@tempboxa\kern\jlreq@tempdimb
}%
- \vrule height10mm width\@tombowwidth depth\z@
\jlreq@trimmarks@outputbanner{after@top@center}{%
\setbox\jlreq@tempboxa=\hbox to 0pt{\hskip 5mm\jlreq@trimmarks@bannerfont##1\hss}%
\ht\jlreq@tempboxa=0pt \dp\jlreq@tempboxa=0pt \wd\jlreq@tempboxa=0pt
\raise 4pt\box\jlreq@tempboxa
}%
- \vrule width10mm height\@tombowwidth depth\z@
}%
\dp\jlreq@tempboxa=0pt
\box\jlreq@tempboxa
@@ -664,7 +718,7 @@
\hbox to\@@paperwidth{%
\hbox to\z@{% \@CL
\yoko\hss
- \vrule width10mm height.5\@tombowwidth depth.5\@tombowwidth
+ \g__jlreq_trimmarks_pattern_center_left_tl
\jlreq@trimmarks@outputbanner{before@center@left}{%
\setbox\jlreq@tempboxa=\hbox to 0pt{\tate\hss\adjustbaseline\jlreq@trimmarks@bannerfont##1\hskip 5mm}%
\ifx l\jlreq@trimmarks@engine
@@ -685,7 +739,6 @@
\dp\jlreq@tempboxa=0pt \ht\jlreq@tempboxa=0pt \wd\jlreq@tempboxa=0pt
\kern-\jlreq@tempdima\box\jlreq@tempboxa\kern\jlreq@tempdima
}%
- \vrule height10mm depth10mm width\@tombowwidth
\jlreq@trimmarks@outputbanner{in@center@left}{%
\setbox\jlreq@tempboxa=\hbox{\tate\adjustbaseline\jlreq@trimmarks@bannerfont##1}%
\ifx l\jlreq@trimmarks@engine
@@ -714,7 +767,6 @@
\dp\jlreq@tempboxa=0pt \ht\jlreq@tempboxa=0pt \wd\jlreq@tempboxa=0pt
\kern-\jlreq@tempdima\raise\jlreq@tempdimb\box\jlreq@tempboxa\kern\jlreq@tempdima
}%
- \vrule height10mm depth10mm width\@tombowwidth
\jlreq@trimmarks@outputbanner{before@center@right}{%
\setbox\jlreq@tempboxa=\hbox to 0pt{\tate\hss\adjustbaseline\jlreq@trimmarks@bannerfont##1\hskip 5mm}%
\jlreq@tempdima=\dimexpr 4pt \ifx l\jlreq@trimmarks@engine + \dp\jlreq@tempboxa\fi\relax
@@ -727,7 +779,8 @@
\dp\jlreq@tempboxa=0pt \ht\jlreq@tempboxa=0pt \wd\jlreq@tempboxa=0pt
\kern\jlreq@tempdima\box\jlreq@tempboxa\kern-\jlreq@tempdima
}%
- \vrule height.5\@tombowwidth depth.5\@tombowwidth width10mm\hss
+ \g__jlreq_trimmarks_pattern_center_right_tl
+ \hss
}%
}%
\vfill
@@ -811,9 +864,17 @@
\ht\jlreq@tempboxa=0pt
\box\jlreq@tempboxa
\hfill
+ \jlreq@tempafalse
\setbox\jlreq@tempboxa=\hbox{% \@BC
\yoko
- \vrule width10mm depth\@tombowwidth height\z@
+ \setbox\jlreq@tempboxb=\hbox{
+ \g__jlreq_trimmarks_pattern_center_bottom_tl
+ }%
+ \jlreq@tempdimb=\wd\jlreq@tempboxb
+ \ht\jlreq@tempboxb=0pt \dp\jlreq@tempboxb=0pt \wd\jlreq@tempboxb=0pt
+ \kern-0.5\jlreq@tempdimb
+ \box\jlreq@tempboxb
+ \kern 0.5\jlreq@tempdimb
\jlreq@trimmarks@outputbanner{before@bottom@center}{%
\setbox\jlreq@tempboxa=\hbox to 0pt{\hss\jlreq@trimmarks@bannerfont##1\hskip 5mm}%
\jlreq@tempdima=\dimexpr\ht\jlreq@tempboxa + 4pt\relax
@@ -827,14 +888,12 @@
\ht\jlreq@tempboxa=0pt \dp\jlreq@tempboxa=0pt \wd\jlreq@tempboxa=0pt
\kern-\jlreq@tempdimb\raise\jlreq@tempdima\box\jlreq@tempboxa\kern\jlreq@tempdimb
}%
- \vrule depth10mm width\@tombowwidth height\z@
\jlreq@trimmarks@outputbanner{before@bottom@center}{%
\setbox\jlreq@tempboxa=\hbox to 0pt{\hskip 5mm\jlreq@trimmarks@bannerfont##1\hss}%
\jlreq@tempdima=\dimexpr\ht\jlreq@tempboxa + 4pt\relax
\ht\jlreq@tempboxa=0pt \dp\jlreq@tempboxa=0pt
\raise-\jlreq@tempdima\box\jlreq@tempboxa
}%
- \vrule width10mm depth\@tombowwidth height\z@
}%
\ht\jlreq@tempboxa=0pt
\box\jlreq@tempboxa
diff --git a/Master/texmf-dist/tex/latex/jlreq/jlreq.cls b/Master/texmf-dist/tex/latex/jlreq/jlreq.cls
index 8615e3bf303..d6ce3e2eb0d 100644
--- a/Master/texmf-dist/tex/latex/jlreq/jlreq.cls
+++ b/Master/texmf-dist/tex/latex/jlreq/jlreq.cls
@@ -5,10 +5,10 @@
%%
% (based on JLReq 20200811 https://www.w3.org/TR/2020/NOTE-jlreq-20200811/)
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{jlreq}[2022/07/13 jlreq]
+\ProvidesClass{jlreq}[2022/11/28 jlreq]
\RequirePackage{l3keys2e}
\RequirePackage{etoolbox}
-\RequirePackage{jlreq-helpers}[2021/08/12]
+\RequirePackage{jlreq-helpers}[2022/11/28]
\ExplSyntaxOn
\int_new:N \l__jlreq_tmpa_int
@@ -1669,19 +1669,19 @@
%. 見出し関係 (4.1)
% \clear***page
-\NewDocumentCommand{\cleartooddpage}{ O{} }{
+\newcommand{\jlreq@cleartooddpage}[1][]{
\clearpage
\ifodd\c@page\else
- \jlreq@ifempty{#1}{}{\thispagestyle{#1}}%
+ \tl_if_empty:nF {#1} { \thispagestyle{#1} }%
\hbox{}%
\newpage
\if@twocolumn\hbox{}\newpage\fi
\fi
}
-\NewDocumentCommand{\cleartoevenpage}{ O{} }{
+\newcommand{\jlreq@cleartoevenpage}[1][]{
\clearpage
\ifodd\c@page
- \jlreq@ifempty{#1}{}{\thispagestyle{#1}}%
+ \tl_if_empty:nF {#1} { \thispagestyle{#1} }%
\hbox{}%
\newpage
\if@twocolumn\hbox{}\newpage\fi
@@ -1826,7 +1826,7 @@
}%
\noexpand\def\exp_not:c {jlreq@headingcs@#1}{%
% 改丁.これでよいのかな.
- \unexpanded{\if@twocolumn\onecolumn\@restonecoltrue\else\@restonecolfalse\fi\cleartooddpage[empty]}%
+ \unexpanded{\if@twocolumn\onecolumn\@restonecoltrue\else\@restonecolfalse\fi\jlreq@cleartooddpage[empty]}%
\ifx\jlreq@pagestyle\@empty\else\noexpand\thispagestyle{\exp_not:o {\jlreq@pagestyle}}\fi
\noexpand\secdef{\exp_not:c {jlreq@TobiraHeading@start@#1}}{\exp_not:c {jlreq@TobiraHeading@start@s@#1}}}%
\noexpand\def\exp_not:c {#1}{%
@@ -1886,20 +1886,27 @@
% {1 = 命令}{2 = レベル}{3 = スペース関連}{4 = 全フォーマット}{5 = *}{6 = running head}{7 = 見出し}{8 = 副題}
\long\def\jlreq@BlockHeading@start@@@@#1#2#3#4#5#6#7#8{%
+ \global\advance\jlreq@BlockHeading@spaces@current@count by 1
+ \tl_gput_right:Nn \jlreq@BlockHeading@spaces@current@sequence {_#1}%
\edef\jlreq@tempa##1##2##3##4##5##6##7{%
\unexpanded{\jlreq@BlockHeading@start@makeoutput{#1}{#2}}{{##1}{##2}{##3}}{\exp_not:o {\jlreq@BlockHeading@start@eachformat}}{\exp_not:o {\jlreq@BlockHeading@start@format}}\unexpanded{{#5}{#6}{#7}{#8}}%
\unexpanded{\def\jlreq@tempb}{{##4}{##5}{##6}}% 縦方向空き
\noexpand\jlreq@ifempty{##7}{\noexpand\jlreq@tempatrue}{\noexpand\jlreq@tempafalse}% 偶数ページのみで改ページするならば\jlreq@tempatrue
}%
\jlreq@tempa#3%
- \global\advance\jlreq@BlockHeading@spaces@current@count by 1
- \tl_gput_right:Nn \jlreq@BlockHeading@spaces@current@sequence {_#1}%
+ \expandafter\xdef\csname jlreq@BlockHeading@spaces@current@afteroutsidebox@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
+ \exp_not:o { \jlreq@resultc }
+ }%
% 連続する見出しの間の処理をするために,即時では出力せず,いったんマクロに格納する.
+ % \jlreq@BlockHeading@spaces@current@beforeoutsideiffirst@<n>
% \jlreq@BlockHeading@spaces@current@before@<n>
% \jlreq@BlockHeading@start@gyodori\jlreq@BlockHeading@spaces@current@space@<n>{jlreq@BlockHeading@spaces@current@output@<n>}
% ↑\jlreq@BlockHeading@spaces@current@format@<n>で整形される.
% \jlreq@BlockHeading@spaces@current@after@<n>
+ % \jlreq@BlockHeading@spaces@current@afteroutsidebox@<n>
+ % \jlreq@BlockHeading@spaces@current@afteroutsideiflast@<n>
% として後に呼び出される.(spaceは書き換えられる可能性がある.)
+ % outsideとついているものは全体が行取りされた場合はその外に出される.
\expandafter\xdef\csname jlreq@BlockHeading@spaces@current@output@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
\exp_not:o {\jlreq@resultb}%
}%
@@ -1907,28 +1914,31 @@
\exp_not:o {\jlreq@tempb}%
}%
\long\def\@tempa##1##2##3{##1}%
- \expandafter\xdef\csname jlreq@BlockHeading@spaces@current@before@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
+ \expandafter\xdef\csname jlreq@BlockHeading@spaces@current@beforeoutsideiffirst@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
\exp_not:o {\@tempa#4}%
- \exp_not:o {\jlreq@resulta}%
\ifjlreq@tempa\unexpanded{%
\jlreq@setcurrentpage
\edef\jlreq@BlockHeading@currentpage{\the\jlreq@currentpage}%
}\fi
}%
+ \expandafter\xdef\csname jlreq@BlockHeading@spaces@current@before@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
+ \exp_not:o {\jlreq@resulta}%
+ }%
\long\def\@tempa##1##2##3{##2}%
\expandafter\xdef\csname jlreq@BlockHeading@spaces@current@format@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
\exp_not:o {\@tempa#4}%
}%
\long\def\@tempa##1##2##3{##3}%
- \expandafter\xdef\csname jlreq@BlockHeading@spaces@current@after@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
- \exp_not:o {\jlreq@resultc}%
+ \expandafter\gdef\csname jlreq@BlockHeading@spaces@current@after@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
+ }%
+ \expandafter\xdef\csname jlreq@BlockHeading@spaces@current@afteroutsideiflast@\the\jlreq@BlockHeading@spaces@current@count\endcsname{%
\ifjlreq@tempa\unexpanded{%
\ifx\jlreq@BlockHeading@currentpage\@empty\nobreak\else
\ifodd\jlreq@BlockHeading@currentpage\nobreak\else\allowbreak\fi
\fi
}\else\noexpand\nobreak\fi
\exp_not:o {\@tempa#4}%
- }%
+ }
\ifx\jlreq@BlockHeading@spaces@headingslist\@empty
\expandafter\jlreq@BlockHeading@spaces@outputwospace
\expandafter\ignorespaces
@@ -2362,8 +2372,8 @@
pagebreak / clearpage .code:n = {\def\jlreq@pagebreak{\clearpage}\jlreq@column@spanning@possibletrue},
pagebreak / cleardoublepage .code:n = {\def\jlreq@pagebreak{\cleardoublepage}\jlreq@column@spanning@possibletrue},
pagebreak / clearcolumn .code:n = {\if@twocolumn\def\jlreq@pagebreak{\newpage}\else\def\jlreq@pagebreak{}\fi\jlreq@column@spanning@possiblefalse},
- pagebreak / begin_with_even_page .code:n = {\def\jlreq@pagebreak{\cleartoevenpage[empty]}\jlreq@column@spanning@possibletrue},
- pagebreak / begin_with_odd_page .code:n = {\def\jlreq@pagebreak{\cleartooddpage[empty]}\jlreq@column@spanning@possibletrue},
+ pagebreak / begin_with_even_page .code:n = {\def\jlreq@pagebreak{\jlreq@cleartoevenpage[empty]}\jlreq@column@spanning@possibletrue},
+ pagebreak / begin_with_odd_page .code:n = {\def\jlreq@pagebreak{\jlreq@cleartooddpage[empty]}\jlreq@column@spanning@possibletrue},
pagebreak / nariyuki .code:n = {\def\jlreq@pagebreak{}\jlreq@column@spanning@possiblefalse},
pagestyle .tl_set:N = \l__jlreq_pagestyle_tl,
% 後々数字を受け付けるようになったりするかもしれないので……
@@ -2558,7 +2568,7 @@
% それ以外:空き量
% 最初や最後に空き量指定がある場合は,全体への指定に組み込むことにする.
%
-% 現在状況保存に以下のマクロを使う
+% 現在状況保存に以下のマクロを使う,nは1から始まる.
% \jlreq@BlockHeading@spaces@current@sequence
% : 現在どのような見出しが続いているかリスト.
% \jlreq@BlockHeading@spaces@current@space@<n>
@@ -2569,8 +2579,14 @@
% : 現在処理中のn番目の見出しのフォーマット.行取りマクロを包み込むようにする.
% \jlreq@BlockHeading@spaces@current@before@<n>
% : n番目の見出しの前に出すもの
+% \jlreq@BlockHeading@spaces@current@beforeoutsideiffirst@<n>
+% : n番目の見出しの前に出すもの.現在処理中の最初の見出しの時はボックスの前に出す.
% \jlreq@BlockHeading@spaces@current@after@<n>
% : n番目の見出しの後ろに出すもの
+% \jlreq@BlockHeading@spaces@current@afteroutsideiflast@<n>
+% : n番目の見出しの前に出すもの.現在処理中の最後の見出しの時はボックスのあとに出す.
+% \jlreq@BlockHeading@spaces@current@afteroutsidebox@<n>
+% : n番目の見出しの後ろに出すが,ボックスの外に出すもの(\markなどが想定)
% \jlreq@BlockHeading@spaces@current@count
% : 現在いくつの連続する見出しを処理しているかのカウンター
\newcount\jlreq@BlockHeading@spaces@current@count
@@ -2739,7 +2755,10 @@
\def\jlreq@BlockHeading@spaces@outputwospace@{%
\ifnum\jlreq@tempcnta<\jlreq@BlockHeading@spaces@current@count
\advance\jlreq@tempcnta by 1
- \tl_put_right:Nx \jlreq@do {\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@before@\the\jlreq@tempcnta}}%
+ \tl_put_right:Nx \jlreq@do {
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@beforeoutsideiffirst@\the\jlreq@tempcnta}
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@before@\the\jlreq@tempcnta}
+ }%
\edef\jlreq@tempa{%
\unexpanded{\long\def\jlreq@tempa##1}{\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@format@\the\jlreq@tempcnta}}%
}%
@@ -2751,7 +2770,12 @@
{\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@output@\the\jlreq@tempcnta}}%
}}%
}%
- \tl_put_right:Nx \jlreq@do {\jlreq@tempb\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@after@\the\jlreq@tempcnta}}%
+ \tl_put_right:Nx \jlreq@do {
+ \jlreq@tempb
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@afteroutsidebox@\the\jlreq@tempcnta}%
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@after@\the\jlreq@tempcnta}%
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@afteroutsideiflast@\the\jlreq@tempcnta}%
+ }%
\expandafter\jlreq@BlockHeading@spaces@outputwospace@
\fi
}
@@ -2759,45 +2783,61 @@
\def\jlreq@BlockHeading@spaces@output@#1#2\jlreq@endmark{%
\def\jlreq@result{}%
\jlreq@tempcnta=0
- \jlreq@BlockHeading@spaces@output@@#2\jlreq@endmark
\jlreq@tempatrue % 周りの行取り処理が必要か
\tl_if_empty:nT {#1} {\jlreq@tempafalse}%
\tl_if_eq:nnT {#1} {{}{}{}} { \jlreq@tempafalse }
- \edef\jlreq@do{%
- \ifjlreq@tempa
- \unexpanded{\jlreq@BlockHeading@start@gyodori#1}{%
- \exp_not:o {\jlreq@result}%
- }%
- \else
- \exp_not:o {\jlreq@result}%
- \fi
- }%
+ \legacy_if:nTF { jlreq@tempa } {
+ \jlreq@BlockHeading@spaces@output@@{*}#2\jlreq@endmark
+ \tl_set:Nx \l__jlreq_do_tl {
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@beforeoutsideiffirst@1}
+ \exp_not:n { \jlreq@BlockHeading@start@gyodori#1 } {
+ \exp_not:o { \jlreq@result }
+ }
+ }
+ \int_step_inline:nnn { 1 } { \jlreq@BlockHeading@spaces@current@count } {
+ \tl_put_right:Nx \l__jlreq_do_tl {
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@afteroutsidebox@##1}
+ }
+ }
+ \tl_put_right:Nx \l__jlreq_do_tl {
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@afteroutsideiflast@\the\jlreq@BlockHeading@spaces@current@count}
+ }
+ }{
+ \jlreq@BlockHeading@spaces@output@@{}#2\jlreq@endmark
+ \tl_set:Nx \l__jlreq_do_tl { \exp_not:o { \jlreq@result } }
+ }
\jlreq@BlockHeading@spaces@clear
- \jlreq@do
+% \message{[[output~headings]]}
+% \message{\exp_not:o \l__jlreq_do_tl}
+ \l__jlreq_do_tl
}
% jlreq@resultに出力すべきものを入れていく
-\def\jlreq@BlockHeading@spaces@output@@#1{%
- \jlreq@ifendmark{#1}{}{%
- \str_if_eq:eeTF {\str_head:n {#1}} {_} {
+% #1: 全体の行取り処理をする場合は*
+\def\jlreq@BlockHeading@spaces@output@@#1#2{%
+ \jlreq@ifendmark{#2}{}{%
+ \str_if_eq:eeTF {\str_head:n {#2}} {_} {
\advance\jlreq@tempcnta by 1
- \expandafter\jlreq@BlockHeading@spaces@output@@@\expandafter{\@gobble #1}%
+ \tl_set:Nx \l__jlreq_tmpa_tl {
+ \exp_not:N \jlreq@BlockHeading@spaces@output@@@ {#1} { \exp_not:o { \@gobble #2 } }
+ }
+ \l__jlreq_tmpa_tl
}{%
- \tl_put_right:Nn \jlreq@result {\vskip\glueexpr #1\relax}%
+ \tl_put_right:Nn \jlreq@result {\vskip\glueexpr #2\relax}%
}%
- \jlreq@BlockHeading@spaces@output@@
+ \jlreq@BlockHeading@spaces@output@@{#1}
}%
}
-\def\jlreq@BlockHeading@spaces@output@@@#1{%
+\def\jlreq@BlockHeading@spaces@output@@@#1#2{%
\edef\jlreq@do{%
- \noexpand\jlreq@BlockHeading@spaces@output@@@@
- \jlreq@iffirsttoken@ignorespaces{#1}{*}{{*}\exp_not:o {\@gobble #1}}{\unexpanded{{}#1}}%
+ \noexpand\jlreq@BlockHeading@spaces@output@@@@{#1}
+ \jlreq@iffirsttoken@ignorespaces{#2}{*}{{*}\exp_not:o {\@gobble #2}}{\unexpanded{{}#2}}%
\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@space@\the\jlreq@tempcnta}%
{\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@output@\the\jlreq@tempcnta}}%
}%
\jlreq@do
}
-% #1: デフォルト値を使うならば*,#2#3#4が設定された値,#5#6#7がデフォルト値,#8は偶数ページの,#9が出力
-\def\jlreq@BlockHeading@spaces@output@@@@#1#2#3#4#5#6#7#8{%
+% #2: デフォルト値を使うならば*,#3#4#5が設定された値,#6#7#8がデフォルト値,#9は偶数ページの
+\def\jlreq@BlockHeading@spaces@output@@@@#1#2#3#4#5#6#7#8#9{%
\edef\jlreq@tempa{%
\unexpanded{\long\def\jlreq@tempa##1}{\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@format@\the\jlreq@tempcnta}}%
}%
@@ -2805,17 +2845,26 @@
\edef\jlreq@tempb{%
\noexpand\exp_not:o {\noexpand\jlreq@tempa{%
\noexpand\jlreq@BlockHeading@start@gyodori
- \jlreq@ifempty{#1}{\unexpanded{{#2}{#3}{#4}}}{%
- {\jlreq@ifempty{#2}{\unexpanded{#5}}{\unexpanded{#2}}}%
+ \jlreq@ifempty{#2}{\unexpanded{{#3}{#4}{#5}}}{%
{\jlreq@ifempty{#3}{\unexpanded{#6}}{\unexpanded{#3}}}%
{\jlreq@ifempty{#4}{\unexpanded{#7}}{\unexpanded{#4}}}%
- }\unexpanded{{#8}}%
+ {\jlreq@ifempty{#5}{\unexpanded{#8}}{\unexpanded{#5}}}%
+ }\unexpanded{{#9}}%
}}%
}%
\tl_put_right:Nx \jlreq@result {%
+ \bool_if:nT { \tl_if_empty_p:n {#1} || \int_compare_p:n { \jlreq@tempcnta > 0 } } {
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@beforeoutsideiffirst@\the\jlreq@tempcnta}%
+ }
\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@before@\the\jlreq@tempcnta}%
\jlreq@tempb
+ \tl_if_empty:nT { #1 } {
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@afteroutsidebox@\the\jlreq@tempcnta}%
+ }
\exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@after@\the\jlreq@tempcnta}%
+ \bool_if:nT { \tl_if_empty_p:n {#1} || \int_compare_p:n { \jlreq@tempcnta < \jlreq@BlockHeading@spaces@current@count } } {
+ \exp_args:Nc \exp_not:o {jlreq@BlockHeading@spaces@current@afteroutsideiflast@\the\jlreq@tempcnta}%
+ }
}%
}
@@ -2828,7 +2877,10 @@
\expandafter\global\expandafter\let\csname jlreq@BlockHeading@spaces@current@space@\the\jlreq@tempcnta\endcsname=\@undefined
\expandafter\global\expandafter\let\csname jlreq@BlockHeading@spaces@current@output@\the\jlreq@tempcnta\endcsname=\@undefined
\expandafter\global\expandafter\let\csname jlreq@BlockHeading@spaces@current@before@\the\jlreq@tempcnta\endcsname=\@undefined
+ \expandafter\global\expandafter\let\csname jlreq@BlockHeading@spaces@current@beforeoutsideiffirst@\the\jlreq@tempcnta\endcsname=\@undefined
\expandafter\global\expandafter\let\csname jlreq@BlockHeading@spaces@current@after@\the\jlreq@tempcnta\endcsname=\@undefined
+ \expandafter\global\expandafter\let\csname jlreq@BlockHeading@spaces@current@afteroutsideiflast@\the\jlreq@tempcnta\endcsname=\@undefined
+ \expandafter\global\expandafter\let\csname jlreq@BlockHeading@spaces@current@afteroutsidebox@\the\jlreq@tempcnta\endcsname=\@undefined
}%
\gdef\jlreq@BlockHeading@spaces@current@sequence{}%
\global\jlreq@BlockHeading@spaces@current@count=0
@@ -5069,7 +5121,8 @@
\vskip\abovecaptionskip
\edef\jlreq@do{\unexpanded{\def\jlreq@tempa##1}{\jlreq@jlreqsetup@withenv@nameuse{jlreq@@makecaption@label@format@setting}{\jlreq@tempb}}}%
\jlreq@do
- \setbox\jlreq@tempboxa=\hbox{\jlreq@jlreqsetup@withenv@nameuse{jlreq@@makecaption@label@font@setting}{\jlreq@tempb}#1}%
+ % 最後の\relaxはhttps://github.com/abenori/jlreq/issues/112のため.
+ \setbox\jlreq@tempboxa=\hbox{\jlreq@jlreqsetup@withenv@nameuse{jlreq@@makecaption@label@font@setting}{\jlreq@tempb}#1\relax}%
\ifdim\wd\jlreq@tempboxa=0pt
\edef\jlreq@tempa{{\jlreq@jlreqsetup@withenv@nameuse{jlreq@@makecaption@font@setting}{\jlreq@tempb}\unexpanded{#2}}}%
\else
@@ -6537,7 +6590,7 @@
\ifx p\jlreq@engine platex\fi
\ifx u\jlreq@engine uplatex\fi
,setupname=jlreqsetup
- ]{jlreq-complements}[2022-07-13]
+ ]{jlreq-complements}[2022/11/28]
}
\l__jlreq_tmpa_tl
\jlreqsetup{
diff --git a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
index 6172b1b463d..e2a2e0a68dc 100644
--- a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
+++ b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
@@ -695,6 +695,14 @@ local jfm = {
]]
},
},
+
+ [161] = { -- 半角カナ
+ chars = {'ヲ', 'ァ', 'ィ', 'ゥ', 'ェ', 'ォ', 'ャ', 'ュ', 'ョ', 'ッ', 'ー', 'ア', 'イ', 'ウ', 'エ', 'オ', 'カ', 'キ', 'ク', 'ケ', 'コ', 'サ', 'シ', 'ス', 'セ', 'ソ', 'タ', 'チ', 'ツ', 'テ', 'ト', 'ナ', 'ニ', 'ヌ', 'ネ', 'ノ', 'ハ', 'ヒ', 'フ', 'ヘ', 'ホ', 'マ', 'ミ', 'ム', 'メ', 'モ', 'ヤ', 'ユ', 'ヨ', 'ラ', 'リ', 'ル', 'レ', 'ロ', 'ワ', 'ン'},
+ width = 0.5, height = 0.88, depth = 0.12,
+ align = 'left',
+ glue = {} -- あとで
+ },
+
--[[
[17] = { -- 等号類
@@ -750,6 +758,30 @@ local jfm = {
]]
},
},
+ [191] = { -- 1/2数字,よくわからないので漢字等と同じ扱いにする
+ left = 0,
+ chars = {"AJ1-247","AJ1-248","AJ1-249","AJ1-250","AJ1-251","AJ1-252","AJ1-253","AJ1-254","AJ1-255","AJ1-256"},
+ align = 'left',
+ width = 0.5,height = 0.88,depth = 0.12,
+ glue = { -- あとで処理
+ },
+ },
+ [192] = { -- 1/3数字,同様
+ left = 0,
+ chars = {"AJ1-9758","AJ1-9759","AJ1-9760","AJ1-9761","AJ1-9762","AJ1-9763","AJ1-9764","AJ1-9765","AJ1-9766","AJ1-9767"},
+ align = 'left',
+ width = 1/3,height = 0.88,depth = 0.12,
+ glue = { -- あとで処理
+ },
+ },
+ [193] = { -- 1/4数字,同様
+ left = 0,
+ chars = {"AJ1-9738","AJ1-9739","AJ1-9740","AJ1-9741","AJ1-9742","AJ1-9743","AJ1-9744","AJ1-9745","AJ1-9746","AJ1-9747"},
+ align = 'left',
+ width = 1/4,height = 0.88,depth = 0.12,
+ glue = { -- あとで処理
+ },
+ },
--[[
@@ -1191,5 +1223,21 @@ if jlreq ~= nil then
end
end
+local function copy_jfm(from,to)
+ if jfm[from].glue ~= nil then jfm[to].glue = table.fastcopy(jfm[from].glue) end
+ for tc,_ in pairs(jfm) do
+ if type(tc) == "number" then
+ if jfm[tc].glue[from] ~= nil then
+ jfm[tc].glue[to] = table.fastcopy(jfm[tc].glue[from])
+ end
+ end
+ end
+end
+
+copy_jfm(0,191)
+copy_jfm(0,192)
+copy_jfm(0,193)
+copy_jfm(16,161)
+
luatexja.jfont.define_jfm(jfm)
diff --git a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreqv.lua b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreqv.lua
index 5e17344a9e8..c9087f14371 100644
--- a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreqv.lua
+++ b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreqv.lua
@@ -181,6 +181,30 @@ local jfm={
0,
["kanjiskip_natural"]=1,
},
+ [161]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [191]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [192]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [193]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
[300]={
0,
0,
@@ -338,6 +362,38 @@ local jfm={
["priority"]={ -1, -2 },
["ratio"]=0,
},
+ [161]={
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=0,
+ },
+ [191]={
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=0,
+ },
+ [192]={
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=0,
+ },
+ [193]={
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=0,
+ },
[300]={
0.5,
0,
@@ -478,6 +534,34 @@ local jfm={
["kanjiskip_natural"]=1,
["priority"]={ -1, 0 },
},
+ [161]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [191]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [192]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [193]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
[300]={
0,
0,
@@ -642,6 +726,38 @@ local jfm={
["priority"]={ -1, -1 },
["ratio"]=0,
},
+ [161]={
+ 0.25,
+ 0.25,
+ 0.25,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -1 },
+ ["ratio"]=0,
+ },
+ [191]={
+ 0.25,
+ 0.25,
+ 0.25,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -1 },
+ ["ratio"]=0,
+ },
+ [192]={
+ 0.25,
+ 0.25,
+ 0.25,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -1 },
+ ["ratio"]=0,
+ },
+ [193]={
+ 0.25,
+ 0.25,
+ 0.25,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -1 },
+ ["ratio"]=0,
+ },
[300]={
0.25,
0,
@@ -802,6 +918,38 @@ local jfm={
["priority"]={ -1, 0 },
["ratio"]=0,
},
+ [161]={
+ 0.5,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ ["ratio"]=0,
+ },
+ [191]={
+ 0.5,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ ["ratio"]=0,
+ },
+ [192]={
+ 0.5,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ ["ratio"]=0,
+ },
+ [193]={
+ 0.5,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ ["ratio"]=0,
+ },
[300]={
0.5,
0,
@@ -963,6 +1111,38 @@ local jfm={
["priority"]={ -1, -2 },
["ratio"]=0,
},
+ [161]={
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=0,
+ },
+ [191]={
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=0,
+ },
+ [192]={
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=0,
+ },
+ [193]={
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=0,
+ },
[300]={
0.5,
0,
@@ -1057,6 +1237,27 @@ local jfm={
["kanjiskip_natural"]=1,
["priority"]={ 0, 0 },
},
+ [191]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
+ [192]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
+ [193]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
[300]={
0,
0,
@@ -1384,6 +1585,27 @@ local jfm={
["kanjiskip_natural"]=1,
["priority"]={ 0, 0 },
},
+ [191]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
+ [192]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
+ [193]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
[300]={
0,
0,
@@ -1471,6 +1693,27 @@ local jfm={
["kanjiskip_natural"]=1,
["priority"]={ 0, 0 },
},
+ [191]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
+ [192]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
+ [193]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, 0 },
+ },
[300]={
0,
0,
@@ -1610,6 +1853,34 @@ local jfm={
["kanjiskip_natural"]=1,
["priority"]={ -1, 0 },
},
+ [161]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [191]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [192]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [193]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
[300]={
0,
0,
@@ -1875,6 +2146,301 @@ local jfm={
},
["height"]=0.5,
},
+ [161]={
+ ["align"]="left",
+ ["chars"]={ "ヲ", "ァ", "ィ", "ゥ", "ェ", "ォ", "ャ", "ュ", "ョ", "ッ", "ー", "ア", "イ", "ウ", "エ", "オ", "カ", "キ", "ク", "ケ", "コ", "サ", "シ", "ス", "セ", "ソ", "タ", "チ", "ツ", "テ", "ト", "ナ", "ニ", "ヌ", "ネ", "ノ", "ハ", "ヒ", "フ", "ヘ", "ホ", "マ", "ミ", "ム", "メ", "モ", "ヤ", "ユ", "ヨ", "ラ", "リ", "ル", "レ", "ロ", "ワ", "ン" },
+ ["depth"]=0.5,
+ ["glue"]={
+ {
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=1,
+ },
+ {
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [4]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [5]={
+ 0.25,
+ 0,
+ 0.25,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, -1 },
+ ["ratio"]=1,
+ },
+ [6]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [7]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [14]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [300]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [301]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [302]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ },
+ ["height"]=0.5,
+ ["width"]=0.5,
+ },
+ [191]={
+ ["align"]="left",
+ ["chars"]={ "AJ1-247", "AJ1-248", "AJ1-249", "AJ1-250", "AJ1-251", "AJ1-252", "AJ1-253", "AJ1-254", "AJ1-255", "AJ1-256" },
+ ["depth"]=0.5,
+ ["glue"]={
+ {
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=1,
+ },
+ {
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [4]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [5]={
+ 0.25,
+ 0,
+ 0.25,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, -1 },
+ ["ratio"]=1,
+ },
+ [6]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [7]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [14]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [300]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [301]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [302]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ },
+ ["height"]=0.5,
+ ["left"]=0,
+ ["width"]=0.5,
+ },
+ [192]={
+ ["align"]="left",
+ ["chars"]={ "AJ1-9758", "AJ1-9759", "AJ1-9760", "AJ1-9761", "AJ1-9762", "AJ1-9763", "AJ1-9764", "AJ1-9765", "AJ1-9766", "AJ1-9767" },
+ ["depth"]=0.5,
+ ["glue"]={
+ {
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=1,
+ },
+ {
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [4]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [5]={
+ 0.25,
+ 0,
+ 0.25,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, -1 },
+ ["ratio"]=1,
+ },
+ [6]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [7]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [14]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [300]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [301]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [302]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ },
+ ["height"]=0.5,
+ ["left"]=0,
+ ["width"]=0.33333333333333,
+ },
+ [193]={
+ ["align"]="left",
+ ["chars"]={ "AJ1-9738", "AJ1-9739", "AJ1-9740", "AJ1-9741", "AJ1-9742", "AJ1-9743", "AJ1-9744", "AJ1-9745", "AJ1-9746", "AJ1-9747" },
+ ["depth"]=0.5,
+ ["glue"]={
+ {
+ 0.5,
+ 0.25,
+ 0.5,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, -2 },
+ ["ratio"]=1,
+ },
+ {
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [4]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [5]={
+ 0.25,
+ 0,
+ 0.25,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ 0, -1 },
+ ["ratio"]=1,
+ },
+ [6]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [7]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [14]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [300]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [301]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ [302]={
+ 0,
+ 0,
+ 0,
+ ["kanjiskip_natural"]=1,
+ },
+ },
+ ["height"]=0.5,
+ ["left"]=0,
+ ["width"]=0.25,
+ },
[300]={
["align"]="middle",
["chars"]={ "‐" },
@@ -1994,6 +2560,34 @@ local jfm={
["kanjiskip_natural"]=1,
["priority"]={ -1, 0 },
},
+ [161]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [191]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [192]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [193]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
[300]={
0,
0,
@@ -2135,6 +2729,34 @@ local jfm={
["kanjiskip_natural"]=1,
["priority"]={ -1, 0 },
},
+ [161]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [191]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [192]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [193]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
[300]={
0,
0,
@@ -2276,6 +2898,34 @@ local jfm={
["kanjiskip_natural"]=1,
["priority"]={ -1, 0 },
},
+ [161]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [191]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [192]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
+ [193]={
+ 0,
+ 0.25,
+ 0,
+ ["kanjiskip_natural"]=1,
+ ["priority"]={ -1, 0 },
+ },
[300]={
0,
0,