summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-13 23:48:29 +0000
committerKarl Berry <karl@freefriends.org>2024-02-13 23:48:29 +0000
commitd496a3b1eb2a83a956fcb4105a1827024125e6b2 (patch)
treea963262ee8306d47fcd7ee5e28d683adf3815ed4
parent083d59e4b247e408456d1833ad80bd724df72d43 (diff)
jlreq (14feb24)
git-svn-id: svn://tug.org/texlive/trunk@69840 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/LICENSE2
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/README-ja.md16
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/README.md9
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-ja.html135
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-ja.pdfbin377536 -> 383391 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.html50
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md4
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.html144
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md4
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq.html164
-rw-r--r--Master/texmf-dist/doc/latex/jlreq/jlreq.pdfbin121065 -> 121523 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq-v.tfmbin2640 -> 2668 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreq.tfmbin2640 -> 2668 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg-v.tfmbin2640 -> 2668 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubjlreqg.tfmbin2640 -> 2668 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq-v.tfmbin2676 -> 2704 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreq.tfmbin2676 -> 2704 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg-v.tfmbin2676 -> 2704 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ubzjlreqg.tfmbin2676 -> 2704 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq-v.tfmbin2612 -> 2640 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ujlreq.tfmbin2612 -> 2640 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg-v.tfmbin2612 -> 2640 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/ujlreqg.tfmbin2612 -> 2640 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq-v.tfmbin2648 -> 2676 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreq.tfmbin2648 -> 2676 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg-v.tfmbin2648 -> 2676 bytes
-rw-r--r--Master/texmf-dist/fonts/tfm/public/jlreq/uzjlreqg.tfmbin2648 -> 2676 bytes
-rw-r--r--Master/texmf-dist/fonts/vf/public/jlreq/ubjlreq-v.vfbin1590716 -> 1590744 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.vfbin1590716 -> 1590744 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.vfbin1590652 -> 1590680 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.vfbin1590652 -> 1590680 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.vfbin1590716 -> 1590744 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.vfbin1590716 -> 1590744 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.vfbin1590652 -> 1590680 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.vfbin1590652 -> 1590680 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-helpers.sty2
-rw-r--r--Master/texmf-dist/tex/latex/jlreq/jlreq-trimmarks.sty4
-rw-r--r--Master/texmf-dist/tex/latex/jlreq/jlreq.cls287
-rw-r--r--Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua127
-rw-r--r--Master/texmf-dist/tex/luatex/jlreq/jfm-jlreqv.lua2
49 files changed, 409 insertions, 543 deletions
diff --git a/Master/texmf-dist/doc/latex/jlreq/LICENSE b/Master/texmf-dist/doc/latex/jlreq/LICENSE
index 3cf9a90f88d..10fee310312 100644
--- a/Master/texmf-dist/doc/latex/jlreq/LICENSE
+++ b/Master/texmf-dist/doc/latex/jlreq/LICENSE
@@ -1,6 +1,6 @@
(2-clause BSD license)
jlreq and jlreq-trimmarks
-Copyright 2017-2023, Noriyuki Abe.
+Copyright 2017-2024, Noriyuki Abe.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
diff --git a/Master/texmf-dist/doc/latex/jlreq/README-ja.md b/Master/texmf-dist/doc/latex/jlreq/README-ja.md
index 3f458194b72..6d142be200f 100644
--- a/Master/texmf-dist/doc/latex/jlreq/README-ja.md
+++ b/Master/texmf-dist/doc/latex/jlreq/README-ja.md
@@ -48,7 +48,7 @@ pLaTeX / upLaTeX / LuaLaTeX上で動きます.以下のパッケージを内
`\section*[running head]{見出し文字列}[副題]`というように,通常の書式に加えて副題を受け付けられるように拡張されています.その他,`\part`(articleのみ),`\chapter`(book/reportのみ),`\subsection`,`\subsubsection`も副題を受け付けます.
### `abstract`環境
-プリアンブルにもかけるようになっています.プリアンブルに書かれた場合は,`\maketitle`とともに出力されます.二段組の場合は,段組にならず概要を出力することができます.
+プリアンブルにもかけ,そのときは`\maketitle`とともに出力されます.二段組の場合は,段組にならず概要を出力することができます.ただし今では非推奨の方法です.`\jlreqsetup`で`abstract_with_maketitle=true`を指定して`\maketitle`よりも前に書くことで同様のことができます.
### `\sidenote`
この命令は傍注の幅が正の時にのみ定義されます.デフォルトの基本版面ではこの幅は0に設定されています.従って`\sidenote`は定義されません.後の基本版面の設定を参考にしてください.
@@ -204,6 +204,8 @@ pLaTeX / upLaTeX / LuaLaTeX上で動きます.以下のパッケージを内
* `mainmatter_pagination`に`continuous`と`independent`は指定できません.
* `appendix_pagebreak`,`appendix_pagestyle`,`appendix_pagination`はありません.
+### 概要
+* `abstract_with_maketitle=[true/false]`:abstract環境が`\maketitle`に先行して書かれた場合,その中身を`\maketitle`とともに遅延します.二段組みの場合でも一段で出力されます.デフォルトは`false`です.`article`および`report`時のみ.
## 見出し
新しい見出しを`\New***Heading`という命令で作ることができます(***には見出しの種類に応じた文字列が入る).書式はすべて
@@ -340,7 +342,8 @@ pLaTeX / upLaTeX / LuaLaTeX上で動きます.以下のパッケージを内
* `nombre=<書式>`:出力するノンブルを指定します.デフォルトは`\thepage`.
* `odd_running_head=<書式>`,`even_running_head=<書式>`:それぞれ奇数ページ,偶数ページの柱を指定します.`_section`のように`_`から始まる名前を指定すると,対応する見出しを出力します.(`_section`だと現在の`\section`を出力する.)
* `mark_format={[odd=<書式>/even=<書式>/_<見出し命令名>=<書式>],...}`:見出しを柱に出力する際のフォーマットを指定します.`mark_format={_section={節\thesection:#1},_chapter={第\thechapter 章\quad #1}}`のように指定します.見出し命令名の代わりに`odd`や`even`も指定でき,それぞれ奇数ページ/偶数ページの柱の書式になります.`\pagestyle`実行時に`\sectionmark`等を定義することで実現しています.
-* `nombre_ii=<書式>`: 二つ目のノンブルを指定します.`nombre_ii_position`で場所指定,`nombre_ii_font`でフォント設定もできます.指定方法は`nombre`や`nombre_position`と同じです.`odd_running_head_ii`,`even_running_head_ii`,`running_head_ii_position`,`running_head_ii_font`もあります.`nombre_ii_position`や`running_head_ii_position`が指定されなかった場合,`yoko`指定時にはそれぞれ`nombre_position`および`running_head_position`と同じ位置に設定されます.`tate`指定時は一つ目のノンブルや柱に続く場所に表示されます.
+* `nombre_ii=<書式>`:二つ目のノンブルを指定します.`nombre_ii_position`で場所指定,`nombre_ii_font`でフォント設定もできます.指定方法は`nombre`や`nombre_position`と同じです.`odd_running_head_ii`,`even_running_head_ii`,`running_head_ii_position`,`running_head_ii_font`もあります.`nombre_ii_position`や`running_head_ii_position`が指定されなかった場合,`yoko`指定時にはそれぞれ`nombre_position`および`running_head_position`と同じ位置に設定されます.`tate`指定時は一つ目のノンブルや柱に続く場所に表示されます.
+* `odd_head_format=<書式>`, `odd_foot_format=<書式>`, `even_head_format=<書式>`, `even_foot_format=<書式>`:ヘッダやフッタのフォーマットを指定します.`#1`がヘッダまたはフッタ全体に書き換えられます.ただし`#1`には位置調整用のコードが入っている場合もあるので,特に`\NewPageStyle`に`tate`を指定している場合には思うようにならないこともあります.例えば奇数ページのヘッダに罫線を引くためには`odd_head_format={\underline{\makebox[\jlreqyokoheadlength]{#1}}}`とするとよいでしょう.なお,ここで使った`\jlreqyokoheadlength`は本クラスファイル内で定義されているマクロで,ヘッダの横方向の長さを与えます.(フッタの長さも同じです.)縦方向の長さ,すなわち`\DeclarePageStyle`で`tate`が指定されている場合の長さは`\jlreqtateheadlength`で取得できます.
`\RenewPageStyle`,`\ProvidePageStyle`,`\DeclarePageStyle`もあります.`\ModifyPageStyle`により既存のページスタイルを改変することが可能です.
@@ -576,6 +579,15 @@ JFMの名前は次の通りです.`[]`で囲まれている文字は設定に
- LuaLaTeX利用時の`everyhook'パッケージの利用をやめた(ドキュメントと整合的でなかった).
- `enumerate'環境直前の空白が入らないことがあったのを修正.
- `use_reverse_pagination`に関するバグ修正.
+* 2024-02-13
+ - LaTeXのhookシステムのために\parをいくつか挿入.
+ - `\jlreqsetup`に`tableofcontents_twocolumn`,`abstract_with_maketitle`を追加.
+ - `everyhook`の機能が呼び出されていたのを削除.
+ - jfmを少し修正.
+ - 見出し内で無限ループが出ることがあったのを修正.
+ - LuaLaTeX利用時に`stfloats`を読み込むようにした.
+ - ページスタイル内の位置調整を改善.
+ - そのほかいくつか改善など.
--------------
Noriyuki Abe
diff --git a/Master/texmf-dist/doc/latex/jlreq/README.md b/Master/texmf-dist/doc/latex/jlreq/README.md
index 5747ed263f5..aba05f53b8d 100644
--- a/Master/texmf-dist/doc/latex/jlreq/README.md
+++ b/Master/texmf-dist/doc/latex/jlreq/README.md
@@ -186,6 +186,15 @@ This package is distributed under the BSD 2-Clause License. See [LICENSE](LICENS
- Stopped to load `everyhook' package LuaLaTeX (it was not compatible with the document).
- Fixed a bug: a space before `enumerate' environment was not inserted sometimes.
- Fixed a bug on `use_reverse_pagination`.
+* 2024-02-13
+ - Added some `\par` (for hook system in LaTeX kernel)
+ - Added `tableofcontents_twocolumn` and `abstract_with_maketitle` to `\jlreqsetup`.
+ - Deleted `\PushPostHook`.
+ - Some modifications of jfm.
+ - Fixed a bug: heading command may have an infinite loop.
+ - Load `stfloats` with LuaLaTeX.
+ - Improved position adjustment in pagestyle.
+ - Some other improvements etc.
--------------
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 ad54b903380..7db0685e6b1 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.html
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-ja.html
@@ -88,27 +88,20 @@
<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>
@@ -117,32 +110,22 @@ LuaLaTeX上で動きます.以下のパッケージを内部で読み込みま
<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>
<p><code>\section*[running head]{見出し文字列}[副題]</code>というように,通常の書式に加えて副題を受け付けられるように拡張されています.その他,<code>\part</code>(articleのみ),<code>\chapter</code>(book/reportのみ),<code>\subsection</code>,<code>\subsubsection</code>も副題を受け付けます.</p>
<h3 id="abstract環境"><code>abstract</code>環境</h3>
-<p>プリアンブルにもかけるようになっています.プリアンブルに書かれた場合は,<code>\maketitle</code>とともに出力されます.二段組の場合は,段組にならず概要を出力することができます.</p>
+<p>プリアンブルにもかけ,そのときは<code>\maketitle</code>とともに出力されます.二段組の場合は,段組にならず概要を出力することができます.ただし今では非推奨の方法です.<code>\jlreqsetup</code>で<code>abstract_with_maketitle=true</code>を指定して<code>\maketitle</code>よりも前に書くことで同様のことができます.</p>
<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>
@@ -162,19 +145,14 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href
<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>
@@ -187,9 +165,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb6-1"><a href
<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>
@@ -200,14 +176,10 @@ upLaTeXではもとから利用可能ですが,LuaLaTeXでも利用可能な
<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>:のどの余白の大きさ.
@@ -240,16 +212,13 @@ B列を指定する場合は,<code>b0j</code>から<code>b10j</code>の対応
<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>
+<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>
@@ -275,9 +244,7 @@ B列を指定する場合は,<code>b0j</code>から<code>b10j</code>の対応
<li><code>itemization_itemsep=&lt;寸法&gt;</code>:項目同士の空きを指定します.</li>
</ul>
<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>
@@ -298,6 +265,10 @@ B列を指定する場合は,<code>b0j</code>から<code>b10j</code>の対応
<li><code>mainmatter_pagination</code>に<code>continuous</code>と<code>independent</code>は指定できません.</li>
<li><code>appendix_pagebreak</code>,<code>appendix_pagestyle</code>,<code>appendix_pagination</code>はありません.</li>
</ul>
+<h3 id="概要">概要</h3>
+<ul>
+<li><code>abstract_with_maketitle=[true/false]</code>:abstract環境が<code>\maketitle</code>に先行して書かれた場合,その中身を<code>\maketitle</code>とともに遅延します.二段組みの場合でも一段で出力されます.デフォルトは<code>false</code>です.<code>article</code>および<code>report</code>時のみ.</li>
+</ul>
<h2 id="見出し">見出し</h2>
<p>新しい見出しを<code>\New***Heading</code>という命令で作ることができます(***には見出しの種類に応じた文字列が入る).書式はすべて</p>
<pre><code>\New***Heading{&lt;命令名&gt;}{&lt;レベル&gt;}{&lt;設定&gt;}</code></pre>
@@ -343,8 +314,7 @@ B列を指定する場合は,<code>b0j</code>から<code>b10j</code>の対応
<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>
@@ -356,8 +326,7 @@ B列を指定する場合は,<code>b0j</code>から<code>b10j</code>の対応
</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>
@@ -380,8 +349,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb8-1"><a href
<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>
@@ -393,18 +361,15 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb8-1"><a href
<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>
@@ -417,8 +382,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb10-1"><a hre
<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>
@@ -426,8 +390,8 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb10-1"><a hre
<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>
+<li><code>odd_head_format=&lt;書式&gt;</code>, <code>odd_foot_format=&lt;書式&gt;</code>, <code>even_head_format=&lt;書式&gt;</code>, <code>even_foot_format=&lt;書式&gt;</code>:ヘッダやフッタのフォーマットを指定します.<code>#1</code>がヘッダまたはフッタ全体に書き換えられます.ただし<code>#1</code>には位置調整用のコードが入っている場合もあるので,特に<code>\NewPageStyle</code>に<code>tate</code>を指定している場合には思うようにならないこともあります.例えば奇数ページのヘッダに罫線を引くためには<code>odd_head_format={\underline{\makebox[\jlreqyokoheadlength]{#1}}}</code>とするとよいでしょう.なお,ここで使った<code>\jlreqyokoheadlength</code>は本クラスファイル内で定義されているマクロで,ヘッダの横方向の長さを与えます.(フッタの長さも同じです.)縦方向の長さ,すなわち<code>\DeclarePageStyle</code>で<code>tate</code>が指定されている場合の長さは<code>\jlreqtateheadlength</code>で取得できます.</li>
</ul>
<p><code>\RenewPageStyle</code>,<code>\ProvidePageStyle</code>,<code>\DeclarePageStyle</code>もあります.<code>\ModifyPageStyle</code>により既存のページスタイルを改変することが可能です.</p>
<h2 id="jfm">JFM</h2>
@@ -438,10 +402,8 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb10-1"><a hre
<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>
@@ -459,8 +421,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb10-1"><a hre
<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>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>
@@ -492,8 +453,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb10-1"><a hre
</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
@@ -556,8 +516,7 @@ href="LICENSE">LICENSE</a>をご覧ください.</p>
<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>
@@ -748,10 +707,20 @@ href="LICENSE">LICENSE</a>をご覧ください.</p>
<li>`enumerate'環境直前の空白が入らないことがあったのを修正.</li>
<li><code>use_reverse_pagination</code>に関するバグ修正.</li>
</ul></li>
+<li>2024-02-13
+<ul>
+<li>LaTeXのhookシステムのために\parをいくつか挿入.</li>
+<li><code>\jlreqsetup</code>に<code>tableofcontents_twocolumn</code>,<code>abstract_with_maketitle</code>を追加.</li>
+<li><code>everyhook</code>の機能が呼び出されていたのを削除.</li>
+<li>jfmを少し修正.</li>
+<li>見出し内で無限ループが出ることがあったのを修正.</li>
+<li>LuaLaTeX利用時に<code>stfloats</code>を読み込むようにした.</li>
+<li>ページスタイル内の位置調整を改善.</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 98e0e760196..9cc052ddffa 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 22de0133aa2..2a37503edec 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.html
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.html
@@ -88,18 +88,13 @@
<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>
@@ -107,27 +102,22 @@ href="https://www.w3.org/TR/jlreq/ja/">日本語組版処理の要件</a>
<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=a4paper</code>のように,<code>a0paper--a10paper</code>, <code>b0paper--b10paper</code>, <code>c2paper--c8paper</code>を指定できる他,<code>trimmarks_paper={&lt;width&gt;,&lt;height&gt;}</code>と直接寸法を指定することができます.B列はISO B列です.JIS B列を指定する場合は<code>b0j--b10j</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>
@@ -145,14 +135,12 @@ B列)を指定できる他,<code>trimmarks_paper={&lt;width&gt;,&lt;height&g
</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>
@@ -164,8 +152,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href
<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>
@@ -190,8 +177,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb4-1"><a href
<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>
@@ -209,14 +195,12 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb5-1"><a href
<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>
+<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>
@@ -229,8 +213,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb6-1"><a href
<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
@@ -287,10 +270,13 @@ href="LICENSE">LICENSE</a>をご覧ください.</p>
<ul>
<li>縦書きで読み込み時にエラーが出るバグ修正.</li>
</ul></li>
+<li>2024-02-13
+<ul>
+<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-trimmarks-ja.md b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md
index 75248288949..683ba23928e 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks-ja.md
@@ -41,7 +41,7 @@ dviドライバの指定です.エンジンに`lualatex`を利用する場合
### `trimmarks_paper`
トンボ付きの紙サイズを指定します.
-* `trimmarks_paper=a4`のように,`a0--a10`, `b0--b10`, `c2--c8`(BはJIS B列)を指定できる他,`trimmarks_paper={<width>,<height>}`と直接寸法を指定することができます.
+* `trimmarks_paper=a4paper`のように,`a0paper--a10paper`, `b0paper--b10paper`, `c2paper--c8paper`を指定できる他,`trimmarks_paper={<width>,<height>}`と直接寸法を指定することができます.B列はISO B列です.JIS B列を指定する場合は`b0j--b10j`を指定してください.
* `a4+{1cm,2cm}`や`{10cm,20cm}+{1cm,2cm}`のように`<紙サイズ>+{<寸法横>,<寸法縦>}`とした場合は,指定された紙サイズから指定された寸法だけ増やした紙サイズを設定します.
* `a4+2cm`は`a4+{2cm,2cm}`と等価です.
* `+2cm`と紙サイズの部分を省略すると,現在の紙サイズを利用します.
@@ -189,6 +189,8 @@ dviドライバの指定です.エンジンに`lualatex`を利用する場合
- `trimmarks_pattern`を`\jlreqtrimmarkssetup`に追加.
* 2023-06-19
- 縦書きで読み込み時にエラーが出るバグ修正.
+* 2024-02-13
+ - ドキュメントの間違いを修正.
--------------
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 264291fc547..a1d2f2b9302 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.html
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.html
@@ -88,79 +88,44 @@
<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>a0paper--a10paper</code>, <code>b0paper--b10paper</code> and <code>c2paper--c8paper</code>. Note that <code>b0--b10</code> is ISO B. If you wan to specify JIS B (Japanese B-series variant), use <code>b0j--b10j</code>.</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>
@@ -169,16 +134,12 @@ everything will be showed.</p>
</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>
@@ -190,8 +151,7 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb3-1"><a href
<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>
@@ -210,13 +170,9 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb4-1"><a href
<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>
@@ -228,25 +184,16 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb5-1"><a href
<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>
+<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>
@@ -257,14 +204,9 @@ class="sourceCode latex"><code class="sourceCode latex"><span id="cb6-1"><a href
<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>
+<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
@@ -282,31 +224,24 @@ href="LICENSE">LICENSE</a>.</p>
</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>
@@ -322,18 +257,19 @@ in <code>\jlreqtrimmarkssetup</code> is used.</li>
</ul></li>
<li>2022-11-28
<ul>
-<li>Added <code>trimmarks_pattern</code> to
-<code>\jlreqtrimmarkssetup</code>.</li>
+<li>Added <code>trimmarks_pattern</code> to <code>\jlreqtrimmarkssetup</code>.</li>
</ul></li>
<li>2023-06-19
<ul>
-<li>Fixed a bug: an error occurred when the package is loaded with tate
-mode.</li>
+<li>Fixed a bug: an error occurred when the package is loaded with tate mode.</li>
+</ul></li>
+<li>2023-02-13
+<ul>
+<li>Fixed a bug in a document.</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 315b4003112..724969599b2 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq-trimmarks.md
@@ -39,7 +39,7 @@ Set the dvi driver. You do not have to specify it when using the engine `lualate
### `trimmarks_paper`
Set the size of the paper including trim marks.
-* `trimmarks_paper=<paper type>`: specify via the paper type. for the paper type, you can use `a0--a10`, `b0--b10` and `c2--c8`. Note that `b0--b10` is `JIS B' (Japanese B-series variant).
+* `trimmarks_paper=<paper type>`: specify via the paper type. For the paper type, you can use `a0paper--a10paper`, `b0paper--b10paper` and `c2paper--c8paper`. Note that `b0--b10` is ISO B. If you wan to specify JIS B (Japanese B-series variant), use `b0j--b10j`.
* `trimmarks_paper={<width>,height>}`: specify via the width and height.
* `trimmarks_paper=<paper size>+{<width>,<height>}` (e.g. `trimmarks_paper=a4+{1cm,2cm}`): `<width>` (resp. `<height>`) is added to the width (resp. height) of the paper size specified by `<paper size>` For `<paper size>`, one can use `<paper type>` or `{<width>,<height>}` as in the above.
* `trimmarks_paper=a4+2cm` is equivalent to `trimmarks_paper=a4+{2cm,2cm}`.
@@ -183,6 +183,8 @@ This package is distributed under the BSD 2-Clause License. See [LICENSE](LICENS
- Added `trimmarks_pattern` to `\jlreqtrimmarkssetup`.
* 2023-06-19
- Fixed a bug: an error occurred when the package is loaded with tate mode.
+* 2023-02-13
+ - Fixed a bug in a document.
--------------
Noriyuki Abe
diff --git a/Master/texmf-dist/doc/latex/jlreq/jlreq.html b/Master/texmf-dist/doc/latex/jlreq/jlreq.html
index 62084d385a7..986ee55cce6 100644
--- a/Master/texmf-dist/doc/latex/jlreq/jlreq.html
+++ b/Master/texmf-dist/doc/latex/jlreq/jlreq.html
@@ -58,27 +58,20 @@
<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
@@ -89,59 +82,48 @@ href="LICENSE">LICENSE</a>.</p>
<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
@@ -152,8 +134,7 @@ sidenotes is zero.</li>
<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>
@@ -162,10 +143,8 @@ sidenotes is zero.</li>
<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>
@@ -177,15 +156,11 @@ headings.</li>
</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>
@@ -200,11 +175,9 @@ etc.</li>
</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>
@@ -217,23 +190,16 @@ etc.</li>
</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
@@ -245,32 +211,26 @@ etc.</li>
</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
@@ -286,33 +246,28 @@ to <code>\jlreqsetup</code>.</li>
</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
@@ -327,23 +282,19 @@ in future.)</li>
<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
@@ -356,8 +307,7 @@ directly.</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: 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>
@@ -368,16 +318,24 @@ directly.</li>
</ul></li>
<li>2023-06-19
<ul>
-<li>Stopped to load `everyhook' package LuaLaTeX (it was not compatible
-with the document).</li>
-<li>Fixed a bug: a space before `enumerate' environment was not inserted
-sometimes.</li>
+<li>Stopped to load `everyhook' package LuaLaTeX (it was not compatible with the document).</li>
+<li>Fixed a bug: a space before `enumerate' environment was not inserted sometimes.</li>
<li>Fixed a bug on <code>use_reverse_pagination</code>.</li>
</ul></li>
+<li>2024-02-13
+<ul>
+<li>Added some <code>\par</code> (for hook system in LaTeX kernel)</li>
+<li>Added <code>tableofcontents_twocolumn</code> and <code>abstract_with_maketitle</code> to <code>\jlreqsetup</code>.</li>
+<li>Deleted <code>\PushPostHook</code>.</li>
+<li>Some modifications of jfm.</li>
+<li>Fixed a bug: heading command may have an infinite loop.</li>
+<li>Load <code>stfloats</code> with LuaLaTeX.</li>
+<li>Improved position adjustment in pagestyle.</li>
+<li>Some other improvements etc.</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 f07e3d69202..522e67dee51 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 94b914379bf..f79073dfdef 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 1a837f43855..b427dfbece4 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 94b914379bf..f79073dfdef 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 1a837f43855..b427dfbece4 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 2800a720586..04ace4f0f1d 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 fe72b56cd4e..63d47906f77 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 2800a720586..04ace4f0f1d 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 fe72b56cd4e..63d47906f77 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 0ec5a32adde..e6bffb25364 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 a194e31111b..14f35e9d31a 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 0ec5a32adde..e6bffb25364 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 a194e31111b..14f35e9d31a 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 b6d1093ba16..36bccfff3b1 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 93b0ae9b8fb..f89c65ac623 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 b6d1093ba16..36bccfff3b1 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 93b0ae9b8fb..f89c65ac623 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 1a46ce2a326..6916087ab2e 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 3a073e11b4a..a2abe01087f 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 06c58cfebbe..7303770c72e 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 5d2ca679c3c..6c6c487cefa 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 509f58c9b3e..ce250e4a417 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 90885cc729a..4f036646b15 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 32aefede384..0bc612daae2 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 7076e5c06bb..d180e33b37e 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 3cceecb1d6c..1292de765aa 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 62b3f8f55e3..acf859a2133 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 9594ad201e1..7b5546d10cb 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 2f3bc3261da..86985b99f40 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 df675623d18..f10178efa7c 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 bb4134de403..88e94fb2b75 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 13f529809de..b5ca0d67dac 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 55c71024968..4765af4e798 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 bccba0cb3da..626e91853af 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-helpers.sty b/Master/texmf-dist/tex/latex/jlreq/jlreq-helpers.sty
index 76af5d797a3..0980d4e397f 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}[2023/06/19 jlreq-helpers]
+\ProvidesPackage{jlreq-helpers}[2024/02/13 jlreq-helpers]
\ExplSyntaxOn
%. helper1
diff --git a/Master/texmf-dist/tex/latex/jlreq/jlreq-trimmarks.sty b/Master/texmf-dist/tex/latex/jlreq/jlreq-trimmarks.sty
index 36f95d6805a..ec65cabae91 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}[2023/06/19 jlreq-trimmarks]
+\ProvidesPackage{jlreq-trimmarks}[2024/02/13 jlreq-trimmarks]
\RequirePackage{l3keys2e}
-\RequirePackage{jlreq-helpers}[2023/06/19]
+\RequirePackage{jlreq-helpers}[2024/02/13]
\ExplSyntaxOn
% check \tombowdatetrue
diff --git a/Master/texmf-dist/tex/latex/jlreq/jlreq.cls b/Master/texmf-dist/tex/latex/jlreq/jlreq.cls
index 1d0d498877f..b2851025850 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}[2023/06/19 jlreq]
+\ProvidesClass{jlreq}[2024/02/13 jlreq]
\RequirePackage{l3keys2e}
\RequirePackage{etoolbox}
-\RequirePackage{jlreq-helpers}[2023/06/19]
+\RequirePackage{jlreq-helpers}[2024/02/13]
\ExplSyntaxOn
\int_new:N \l__jlreq_tmpa_int
@@ -57,9 +57,9 @@
}
% preambleにいるかのスイッチ
-\newif\ifjlreq@preamble
-\jlreq@preambletrue
-\AtBeginDocument{\jlreq@preamblefalse}
+\bool_new:N \g__jlreq_inpreamble_bool
+\bool_gset_true:N \g__jlreq_inpreamble_bool
+\AtBeginDocument{ \bool_gset_false:N \g__jlreq_inpreamble_bool }
\def\jlreq@saveoriginalcs#1{%
\@ifundefined{#1}{
@@ -482,6 +482,7 @@
% http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1508&parent=8435
\if@tate\AtEndPreamble{\par}\fi
\fi
+% \zwや\zhが再定義されても動くようにするために内部では\jlreq@zw,\jlreq@zhを使う.
\let\jlreq@zw=\zw
\let\jlreq@zh=\zh
\if@tate
@@ -529,8 +530,8 @@
% 組方向を判定
% \jlreq@if(y|t)(dir|box)を定義する.
\jlreq@if{\ifx l\jlreq@engine\fi}{
- \def\jlreq@ifydir { \int_compare:nTF { \ltjgetparameter{direction} == 4 } }
- \def\jlreq@iftdir { \int_compare:nTF { (\ltjgetparameter{direction}-(\ltjgetparameter{direction}/8)*8) == 3 } }
+ \def\jlreq@ifydir { \int_compare:nTF { \ltjgetparameter{direction} == 4 } }
+ \def\jlreq@iftdir { \int_compare:nTF { (\ltjgetparameter{direction}-(\ltjgetparameter{direction}/8)*8) == 3 } }
\def\jlreq@ifybox#1{ \int_compare:nTF { \ltjgetparameter{boxdir}{#1} == 4 } }
\def\jlreq@iftbox#1{ \int_compare:nTF { (\ltjgetparameter{boxdir}{#1}-(\ltjgetparameter{boxdir}{#1}/8)*8) == 3 } }
}{
@@ -808,37 +809,14 @@
\edef\jlreq@jafontscale{\strip@pt\jlreq@resultdimen}
\__jlreq_aftercls_addtodeletecs:N \jlreq@jafontscale
\ifx l\jlreq@engine
- \jlreq@saveoriginalcs{DeclareFontShape@}
- \def\DeclareFontShape@#1#2#3#4#5#6{
- \group_begin:
- \bool_if:nT { \str_if_eq_p:nn {#1} {JY3} || \str_if_eq_p:nn {#1} {JT3} } {
- \tl_set:Nx \l__jlreq_tmpa_tl {#5}
- \tl_if_in:NnTF \l__jlreq_tmpa_tl { jfm=jlreq } {
- \tl_if_in:NnTF \l__jlreq_tmpa_tl { jfm=jlreqv }{
- \tl_replace_all:Nnn \l__jlreq_tmpa_tl { jfm=jlreqv } { jfm=jlreqv-jidori }
- }{
- \tl_replace_all:Nnn \l__jlreq_tmpa_tl { jfm=jlreq } { jfm=jlreq-jidori }
- }
- \cs_set:Nx \l_jlreq_do: {
- \exp_not:N \jlreq@useoriginalcs{DeclareFontShape@}
- \exp_not:n { {#1} {#2} {#3} { #4-jidori } }
- { \tl_use:N \l__jlreq_tmpa_tl } { \exp_not:n {#6} }
- }
- }{
- \tl_if_in:NnT \l__jlreq_tmpa_tl {<->ssub} {
- \cs_set:Nn \l_jlreq_do: {
- \jlreq@useoriginalcs{DeclareFontShape@} {#1} {#2} {#3} { #4-jidori } {#5} {#6}
- }
- }
- }
- }
- \exp_after:wN \group_end: \l_jlreq_do:
- \jlreq@useoriginalcs{DeclareFontShape@} {#1} {#2} {#3} {#4} {#5} {#6}
- }
- \DeclareFontShape{JY3}{mc}{m}{n}{<->s*[\jlreq@jafontscale]\ltj@stdmcfont :jfm=jlreq;script=latn;-kern}{}
- \DeclareFontShape{JY3}{gt}{m}{n}{<->s*[\jlreq@jafontscale]\ltj@stdgtfont :jfm=jlreq;script=latn;-kern}{}
- \DeclareFontShape{JT3}{mc}{m}{n}{<->s*[\jlreq@jafontscale]\ltj@stdmcfont :jfm=jlreqv;script=latn;-kern}{}
- \DeclareFontShape{JT3}{gt}{m}{n}{<->s*[\jlreq@jafontscale]\ltj@stdgtfont :jfm=jlreqv;script=latn;-kern}{}
+ \DeclareFontShape{JY3}{mc}{m}{n}{<->s*[\jlreq@jafontscale]\ltj@stdmcfont :jfm=jlreq;-kern}{}
+ \DeclareFontShape{JY3}{gt}{m}{n}{<->s*[\jlreq@jafontscale]\ltj@stdgtfont :jfm=jlreq;-kern}{}
+ \DeclareFontShape{JT3}{mc}{m}{n}{<->s*[\jlreq@jafontscale]\ltj@stdmcfont :jfm=jlreqv;-kern}{}
+ \DeclareFontShape{JT3}{gt}{m}{n}{<->s*[\jlreq@jafontscale]\ltj@stdgtfont :jfm=jlreqv;-kern}{}
+ \DeclareFontShape{JY3}{mc}{m}{n-jidori}{<->s*[\jlreq@jafontscale]\ltj@stdmcfont :jfm=jlreq-jidori;-kern}{}
+ \DeclareFontShape{JY3}{gt}{m}{n-jidori}{<->s*[\jlreq@jafontscale]\ltj@stdgtfont :jfm=jlreq-jidori;-kern}{}
+ \DeclareFontShape{JT3}{mc}{m}{n-jidori}{<->s*[\jlreq@jafontscale]\ltj@stdmcfont :jfm=jlreqv-jidori;-kern}{}
+ \DeclareFontShape{JT3}{gt}{m}{n-jidori}{<->s*[\jlreq@jafontscale]\ltj@stdgtfont :jfm=jlreqv-jidori;-kern}{}
\else
\DeclareFontShape{\jlreq@yokokanjiencoding}{mc}{m}{n}{<->s*[\jlreq@jafontscale]\jlreq@jfmname}{}
\DeclareFontShape{\jlreq@yokokanjiencoding}{gt}{m}{n}{<->s*[\jlreq@jafontscale]\jlreq@jfmnameg}{}
@@ -856,14 +834,17 @@
\clist_map_inline:nn { m,b,bx,sb,c } {% ####1 = series
\bool_if:nF { \str_if_eq_p:nn {##1} {n} && \str_if_eq_p:nn {####1} {m} } {
\DeclareFontShape{#1}{gt}{####1}{##1}{<->ssub*gt/m/n}{}
+ \DeclareFontShape{#1}{gt}{####1}{##1-jidori}{<->ssub*gt/m/n-jidori}{}
}
}
\clist_map_inline:nn { bx,b,sb } {% ####1 = series
\DeclareFontShape{#1}{mc}{####1}{##1}{<->ssub*gt/m/n}{}
+ \DeclareFontShape{#1}{mc}{####1}{##1-jidori}{<->ssub*gt/m/n-jidori}{}
}
\clist_map_inline:nn { m,c } {% ####1 = series
\bool_if:nF { \str_if_eq_p:nn {##1} {n} && \str_if_eq_p:nn {####1} {m} } {
\DeclareFontShape{#1}{mc}{####1}{##1}{<->ssub*mc/m/n}{}
+ \DeclareFontShape{#1}{mc}{####1}{##1-jidori}{<->ssub*mc/m/n-jidori}{}
}
}
}
@@ -1778,7 +1759,7 @@
\keys_set:nn { DeclareTobiraHeading:#1 } {#3}
\def\jlreq@do{}%
\ifx\jlreq@format\@undefined
- \def\jlreq@format##1##2{##1##2}%
+ \long\def\jlreq@format##1##2{##1##2}%
\fi
\edef\jlreq@formatwlabel{\noexpand\jlreq@format{\exp_not:o {\jlreq@label@format}}}%
\jlreq@heading@make@l@{#1}{#2}{\jlreq@label@format}%
@@ -2082,6 +2063,7 @@
\jlreq@ifempty{#2}{}{\unexpanded{\hsize=\dimexpr\hsize - #2\relax}}%
\jlreq@ifempty{#3}{}{\unexpanded{\hsize=\dimexpr\hsize - #3\relax}}%
\unexpanded{#4}%
+ \noexpand\par
}%
}%
}
@@ -2129,7 +2111,7 @@
% {1 = 前空き}{2 = 後ろ空き}{3 = トータル行数}{4 = 出力}
% 最後には\nobreak(と\vskip)が入っている
\long\def\jlreq@BlockHeading@start@gyodori#1#2#3#4{\par{%
- \setbox\jlreq@tempboxa=\vbox{#4}%
+ \setbox\jlreq@tempboxa=\vbox{#4\par}%
% \jlreq@tempskip(a/b)に前/後ろに入れるべき値を入れる
% #1がa:ならばその値は\jlreq@tempskipaには足さず\jlreq@tempskipcに入れておく
\jlreq@tempskipa=0pt
@@ -2226,8 +2208,8 @@
}%
\expandafter}\jlreq@do
}
-\cs_set:Nn \g__jlreq_gyodori_hook_par: {}
-\PushPostHook{par}{\g__jlreq_gyodori_hook_par:}
+%\cs_set:Nn \g__jlreq_gyodori_hook_par: {}
+%\PushPostHook{par}{\g__jlreq_gyodori_hook_par:}
% 行取り情報をゲットだぜ
@@ -2455,7 +2437,7 @@
\exp_not:o {\jlreq@heading@text@format}%
}%
% 副題:ラベルありかなしかはhangindentの扱いだけなので,他はまとめる
- \def\jlreq@make@subtitle@format##1##2{%
+ \long\def\jlreq@make@subtitle@format##1##2{%
\edef##1{%
\ifjlreq@subtitle@break
\noexpand\par
@@ -2838,7 +2820,7 @@
\jlreq@do
}
% #2: デフォルト値を使うならば*,#3#4#5が設定された値,#6#7#8がデフォルト値,#9は偶数ページの
-\def\jlreq@BlockHeading@spaces@output@@@@#1#2#3#4#5#6#7#8#9{%
+\long\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}}%
}%
@@ -2910,10 +2892,10 @@
\begingroup
\def\jlreq@do{\@nobreakfalse\global\@noskipsectrue}%
\ifnum0\jlreq@ifempty{#3}{}{1}\ifnum #2>\c@secnumdepth 1\fi>0
- \def\jlreq@tempa##1{#8}%
+ \long\def\jlreq@tempa##1{#8}%
\else
\tl_put_right:Nn \jlreq@do {\refstepcounter{#1}}%
- \def\jlreq@tempa##1{#7}%
+ \long\def\jlreq@tempa##1{#7}%
\fi
\par}%
\unexpanded{\tl_put_right:Nx \jlreq@do}{%
@@ -3366,6 +3348,7 @@
\ifx l\jlreq@engine
\fnfixbottomtrue
+ \IfFileExists{stfloats.sty}{\RequirePackage{stfloats}\fnbelowfloat}{}
\fi
% \footnoteと\footnotemarkの前後に\jlreq@hook@prenote/\jlreq@hook@postnoteを入れる
@@ -3377,7 +3360,7 @@
\def\footnote{%
\jlreq@footnote{\footnote}{\footnotemark}{\jlreq@footnotetext@for@footnote}%
}
-\def\jlreq@footnote#1#2#3{%
+\long\def\jlreq@footnote#1#2#3{%
\jlreq@hook@prenote
\@ifnextchar[{\jlreq@footnote@impl@woption{#1}{#2}{#3}}{\jlreq@footnote@impl@wooption{#1}{#2}{#3}}%
}
@@ -3602,6 +3585,8 @@
\long\def\jlreq@output@endnotes#1#2{%
\expandafter\def\csname\jlreq@endnotemarkname\endcsname{#1}%
\item\@makeendtext{#2}%
+ % グルーピングした方がよいか? https://okumuralab.org/tex/mod/forum/discuss.php?d=3669
+ % \item\leavevmode {\@makeendtext{#2}}%
}
\newcommand*{\theendnotes}{%
@@ -4009,7 +3994,7 @@
% * それ以降はX
% として整形した際に,#5行以内に収まる.
% \jlreq@resultboxに整形結果を返す(垂直ボックス).見つからなかったらvoid.\globalに設定する.
-\def\jlreq@inlinenote@determinelength#1#2#3#4#5#6#7{%
+\long\def\jlreq@inlinenote@determinelength#1#2#3#4#5#6#7{%
\begingroup
% \message{#1 の試行開始,行数 = #5, \the\dimexpr#6\relax から \the\dimexpr#7\relaxまで}%
\@tempcnta=1\relax
@@ -4200,7 +4185,7 @@
}
}
-\cs_generate_variant:Nn \__jlreq_pagestyle_applyformat:NnNN { NocN }
+\cs_generate_variant:Nn \__jlreq_pagestyle_applyformat:NnNN { NocN, NoNN }
% mark系の処理をする.
% #2: 奇数ページ柱(prop,{0,1,2}->柱の中身)
@@ -4347,9 +4332,7 @@
\tl_set:Nx \l__jlreq_tmpb_tl { \exp_args:No \exp_not:n {\use_ii:nn ##1} } % 中身
\tl_put_right:Nx \l__jlreq_result_tl {
\exp_not:N \hbox to~0pt {
- \exp_not:n {\hskip\glueexpr\headsep + \headheight}
- \legacy_if:nF { @tate } { \exp_not:n {+ \topskip - \Cht} }
- \tl_if_empty:oF \l__jlreq_tmpa_tl { + \exp_not:o \l__jlreq_tmpa_tl } \exp_not:N \relax
+ \tl_if_empty:oF \l__jlreq_tmpa_tl { \exp_not:n { \hskip\dimexpr } \exp_not:o \l__jlreq_tmpa_tl \exp_not:N \relax }
\exp_not:o \l__jlreq_tmpb_tl
\exp_not:N \hss
}
@@ -4586,51 +4569,52 @@
%#3: 左
%#4: 真ん中
%#5: 右
+% #6: フォーマット,#7: デフォルトフォーマット
% #1に返す.
-\cs_set:Nn \__jlreq_pagestyle_concat_left_center_right:Nnnnn {
+\cs_set:Nn \__jlreq_pagestyle_concat_left_center_right:NnnnnNN {
\str_if_eq:nnTF {#2} {odd} {
- \__jlreq_pagestyle_concat_left_center_right_aux:Nnnn #1 {#3} {#4} {#5}
+ \__jlreq_pagestyle_concat_left_center_right_aux:NnnnNN #1 {#3} {#4} {#5} #6 #7
}{
% evenでは左右入れ替え
- \__jlreq_pagestyle_concat_left_center_right_aux:Nnnn #1 {#5} {#4} {#3}
+ \__jlreq_pagestyle_concat_left_center_right_aux:NnnnNN #1 {#5} {#4} {#3} #6 #7
}
}
-\cs_generate_variant:Nn \__jlreq_pagestyle_concat_left_center_right:Nnnnn { Nneee }
+\cs_generate_variant:Nn \__jlreq_pagestyle_concat_left_center_right:NnnnnNN { NneeecN }
% #2: 左,#3: 真ん中,#4: 右をくっつける
+% #5: フォーマット,#6: デフォルトフォーマット
% #1に返す
-\cs_set:Nn \__jlreq_pagestyle_concat_left_center_right_aux:Nnnn {
+\cs_set:Nn \__jlreq_pagestyle_concat_left_center_right_aux:NnnnNN {
\group_begin:
- \tl_set:Nn \l__jlreq_tmpa_tl {} % 左
- \tl_set:Nn \l__jlreq_tmpb_tl {} % 右
- \tl_set:Nn \l__jlreq_tmpc_tl {} % 戻り値
+ % \l__jlreq_tmpa_tlにくっつけたモノを入れる
+ \tl_if_empty:nTF {#3} {
+ \bool_if:nF { \tl_if_empty_p:n {#2} && \tl_if_empty_p:n {#4} } {
+ \tl_set:Nn \l__jlreq_tmpa_tl { #2 \hfill #4 }
+ }
+ }{
+ % 真ん中のを完全に真ん中に配置するために左右の幅を0にしておく
+ \tl_set:Nx \l__jlreq_tmpa_tl {
+ \tl_if_empty:nF { #2 } { \exp_not:n { \hbox to~0pt { #2 \hss } } }
+ \exp_not:N \hfill \exp_not:n {#3} \exp_not:N \hfill
+ \tl_if_empty:nF { #4 } { \exp_not:n { \hbox to~0pt { \hss #4 } } }
+ }
+ }
+ % \l__jlreq_tmpa_tlにフォーマットを適用し\l__jlreq_tmpa_tlに代入
+ \__jlreq_pagestyle_applyformat:NoNN \l__jlreq_tmpa_tl \l__jlreq_tmpa_tl #5 #6
+ % 横方向の調整
\tl_if_empty:nF {#2} {
\bool_if:nT { ( !\dim_compare_p:nNn {\jlreq@headfoot@sidemargin}={0pt} ) || \legacy_if_p:n {@tate} }{
- \tl_set:Nx \l__jlreq_tmpa_tl { \exp_not:n {\hskip\dimexpr} \jlreq@expand@speciallength{\jlreq@headfoot@sidemargin} \legacy_if:nT { @tate } { \exp_not:n { -\Cdp } } \exp_not:N \relax }
+ \tl_put_left:Nx \l__jlreq_tmpa_tl { \exp_not:n {\hskip\dimexpr} \jlreq@expand@speciallength{\jlreq@headfoot@sidemargin} \legacy_if:nT { @tate } { \exp_not:n { -\Cdp } } \exp_not:N \relax }
}
- \tl_put_right:Nn \l__jlreq_tmpa_tl {#2}
}
\tl_if_empty:nF {#4} {
- \tl_set:Nn \l__jlreq_tmpb_tl {#4}
% \jlreq@headfoot@sidemargin = 0ptの時に本文の右に一致させるための補正.
\bool_if:nT { ( !\dim_compare_p:nNn {\jlreq@headfoot@sidemargin}={0pt} ) || \legacy_if_p:n {@tate} }{
- \tl_put_right:Nx \l__jlreq_tmpb_tl { \exp_not:n {\hskip\dimexpr} \jlreq@expand@speciallength{\jlreq@headfoot@sidemargin} \legacy_if:nT { @tate } { \exp_not:n { + \topskip - \Cht } } \exp_not:N \relax }
+ \tl_put_right:Nx \l__jlreq_tmpa_tl { \exp_not:n {\hskip\dimexpr} \jlreq@expand@speciallength{\jlreq@headfoot@sidemargin} \legacy_if:nT { @tate } { \exp_not:n { + \topskip - \Cht } } \exp_not:N \relax }
}
}
- \tl_if_empty:nTF {#3} {
- \bool_if:nF { \tl_if_empty_p:n {#2} && \tl_if_empty_p:n {#4} } {
- \tl_set:Nx \l__jlreq_tmpc_tl { \exp_not:o \l__jlreq_tmpa_tl \exp_not:N \hfil \exp_not:o \l__jlreq_tmpb_tl }
- }
- }{
- % 真ん中のを完全に真ん中に配置するために左右の幅を0にしておく
- \tl_if_empty:nF { #2 } { \tl_set:Nx \l__jlreq_tmpa_tl { \exp_not:N \hbox to~0pt { \exp_not:o { \l__jlreq_tmpa_tl } \exp_not:N \hss } } }
- \tl_if_empty:nF { #4 } { \tl_set:Nx \l__jlreq_tmpb_tl { \exp_not:N \hbox to~0pt { \exp_not:N \hss \exp_not:o { \l__jlreq_tmpb_tl } } } }
- \tl_set:Nx \l__jlreq_tmpc_tl {
- \exp_not:o \l__jlreq_tmpa_tl\exp_not:N \hfil \exp_not:n {#3} \exp_not:N \hfil \exp_not:o \l__jlreq_tmpb_tl
- }
- }
- \tl_set:Nx \l__jlreq_do_tl { \exp_not:n {\tl_set:Nn #1 } { \exp_not:o \l__jlreq_tmpc_tl } }
+ \tl_set:Nx \l__jlreq_do_tl { \exp_not:n {\tl_set:Nn #1 } { \exp_not:o \l__jlreq_tmpa_tl } }
\exp_after:wN \group_end:
\l__jlreq_do_tl
}
@@ -4885,16 +4869,24 @@
% ノンブル→\l__jlreq_tmpb_tl
\__jlreq_pagestyle_maketate_nombre:NNNNo \l__jlreq_tmpb_tl \l__jlreq_pagestyle_nombre_prop \l__jlreq_pagestyle_nombre_font_prop \l__jlreq_pagestyle_nombre_position_prop \l__jlreq_pagestyle_nombre_gap_tl
% 柱とノンブルを結合→\l__jlreq_tmpa_tl
- \tl_set:Nx \l__jlreq_tmpa_tl { \exp_not:o \l__jlreq_tmpa_tl \exp_not:N \hfil \exp_not:o \l__jlreq_tmpb_tl }
+ \tl_set:Nx \l__jlreq_tmpa_tl { \exp_not:o \l__jlreq_tmpa_tl \exp_not:N \hfill \exp_not:o \l__jlreq_tmpb_tl }
% formatを適用.
\tl_set:Nn \l__jlreq_tmpb_tl {####1} % デフォルトフォーマット
\__jlreq_pagestyle_applyformat:NocN \l__jlreq_tmpa_tl \l__jlreq_tmpa_tl { l__jlreq_pagestyle_##1_top_format_tl } \l__jlreq_tmpb_tl
% 周りのボックスをつける.結果は\l__jlreq_tmpa_propにいれる.
+ % \topskip > 最初のボックスの高さを仮定する.
\prop_put:Nnx \l__jlreq_tmpa_prop { ##1-top } {
\exp_not:n {\setbox\@tempboxa=\hbox to \dimexpr\headsep + \headheight + \textheight}
- \legacy_if:nF { @tate } { \exp_not:n { - \topskip + 1\jlreq@zh } }
+ \legacy_if:nF { @tate } { \exp_not:n { + \Cdp } }
\exp_not:N \relax
- { \exp_not:n { \tate\adjustbaseline } \exp_not:o \l__jlreq_tmpa_tl }
+ { \exp_not:n { \tate\adjustbaseline \hskip \dimexpr \headsep + \headheight }
+ \legacy_if:nF { @tate } { \exp_not:n { + \topskip - \Cht } }
+ \exp_not:N \relax
+ \hbox to \legacy_if:nF { @tate } { \exp_not:N \dimexpr }
+ \textheight
+ \legacy_if:nF { @tate } { \exp_not:n { - \topskip + 1\jlreq@zh \relax } }
+ { \exp_not:o \l__jlreq_tmpa_tl }
+ }
% Underful対策
\ifx l\jlreq@engine
\unexpanded{\wd\@tempboxa=\headheight}%
@@ -4905,13 +4897,17 @@
}
% 位置調整,左側に柱+ノンブルがある場合
\tl_set:Nx \l__jlreq_tmpa_tl {
- \exp_not:n { \hskip\dimexpr } \legacy_if:nT { @tate } { \exp_not:n { - \Cdp } } \exp_not:n { - \headsep - 1\jlreq@zw\relax }
- \exp_not:n { \box\@tempboxa\hfil }
+ \exp_not:n { \hskip\dimexpr - \headsep - 1\jlreq@zw }
+ \legacy_if:nTF { @tate } { \exp_not:n { - \Cdp } }
+ { \dim_compare:nNnF { \jlreq@sidenote@length + \jlreq@sidenote@sep } {=} { 0pt } { - \the\dimexpr\jlreq@sidenote@length + \jlreq@sidenote@sep\relax } }
+ \exp_not:n { \relax\box\@tempboxa\hfill }
}
% 位置調整,右側に柱+ノンブルがある場合
\tl_set:Nx \l__jlreq_tmpb_tl {
- \exp_not:n { \hskip\dimexpr\textwidth } \legacy_if:nT { @tate } { \exp_not:n { - \topskip + \Cht } } \exp_not:n { + \headsep\relax }
- \exp_not:n { \box\@tempboxa\hss }
+ \exp_not:n { \hskip\dimexpr\textwidth + \headsep }
+ \legacy_if:nTF { @tate } { \exp_not:n { - \topskip + \Cht } }
+ { \dim_compare:nNnF { \jlreq@sidenote@length + \jlreq@sidenote@sep } {=} { 0pt } { + \the\dimexpr\jlreq@sidenote@length + \jlreq@sidenote@sep\relax } }
+ \exp_not:n { \relax\box\@tempboxa\hss }
}
% 位置調整とすでに構築したブロックをくっつける.
\legacy_if:nTF { @tate } {
@@ -4978,14 +4974,13 @@
\prop_put:Nno \l__jlreq_tmpb_prop {########1} \l__jlreq_tmpa_tl
}
% 左,中央,右を結合し\l__jlreq_tmpa_tlへ
- \__jlreq_pagestyle_concat_left_center_right:Nneee \l__jlreq_tmpa_tl {##1} {\prop_item:Nn \l__jlreq_tmpb_prop {left} } {\prop_item:Nn \l__jlreq_tmpb_prop {center} } {\prop_item:Nn \l__jlreq_tmpb_prop {right} }
% デフォルトのフォーマットの設定
\bool_if:nTF { \dim_compare_p:n { \jlreq@sidenote@length > 0pt } && (! \legacy_if_p:n { @tate } ) }{
\tl_set:Nn \l__jlreq_tmpb_tl {\hss\hbox to \jlreqyokoheadlength{########1}\hss}
}{
\tl_set:Nn \l__jlreq_tmpb_tl {########1}
}
- \__jlreq_pagestyle_applyformat:NocN \l__jlreq_tmpa_tl \l__jlreq_tmpa_tl { l__jlreq_pagestyle_##1_####1_format_tl } \l__jlreq_tmpb_tl
+ \__jlreq_pagestyle_concat_left_center_right:NneeecN \l__jlreq_tmpa_tl {##1} {\prop_item:Nn \l__jlreq_tmpb_prop {left} } {\prop_item:Nn \l__jlreq_tmpb_prop {center} } {\prop_item:Nn \l__jlreq_tmpb_prop {right} } { l__jlreq_pagestyle_##1_####1_format_tl } \l__jlreq_tmpb_tl
% 傍注用調整
\dim_compare:nNnT {\jlreq@sidenote@length}>{0pt} {
\legacy_if:nF { @tate } {
@@ -5029,7 +5024,7 @@
}
\if@tate
- \def\jlreqyokoheadlength{\textheight}
+ \def\jlreqyokoheadlength{\textwidth}
\else
\ifdim\jlreq@sidenote@length>0pt
\if@twocolumn
@@ -5041,7 +5036,7 @@
\def\jlreqyokoheadlength{\dimexpr\textwidth\relax}
\fi
\fi
-\edef\jlreqtateheadlength{\unexpanded{\dimexpr\headsep + \headheight + \textheight}\if@tate\else\unexpanded{- \topskip + 1\jlreq@zh}\fi\noexpand\relax}
+\edef\jlreqtateheadlength{\unexpanded{\dimexpr\textheight}\if@tate\else\unexpanded{- \topskip + 1\jlreq@zh}\fi\noexpand\relax}
\NewDocumentCommand{\NewPageStyle} { m +m } {%
\expandafter\@ifdefinable\csname ps@#1\endcsname{\DeclarePageStyle{#1}{#2}}%
@@ -5258,11 +5253,20 @@
%.. figure環境
\newcounter{figure}
-\str_if_eq:VnTF \jlreq@article@type { article } {
- \renewcommand{\thefigure}{\@arabic\c@figure}
-}{%
- \@addtoreset{figure}{chapter}
- \renewcommand{\thefigure}{\ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@figure}
+\legacy_if:nTF { @tate } {
+ \str_if_eq:VnTF \jlreq@article@type { article } {
+ \renewcommand{\thefigure}{\tatechuyoko*{\@arabic\c@figure}}
+ }{%
+ \@addtoreset{table}{chapter}
+ \renewcommand{\thefigure}{\tatechuyoko*{\ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@figure}}
+ }
+}{
+ \str_if_eq:VnTF \jlreq@article@type { article } {
+ \renewcommand{\thefigure}{\@arabic\c@figure}
+ }{%
+ \@addtoreset{figure}{chapter}
+ \renewcommand{\thefigure}{\ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@figure}
+ }
}
\newcommand*{\fps@figure}{h}
\newcommand*{\ftype@figure}{1}
@@ -5273,11 +5277,20 @@
%.. table環境
\newcounter{table}
-\str_if_eq:VnTF \jlreq@article@type { article } {
- \renewcommand{\thetable}{\@arabic\c@table}
-}{%
- \@addtoreset{table}{chapter}
- \renewcommand{\thetable}{\ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@table}
+\legacy_if:nTF { @tate } {
+ \str_if_eq:VnTF \jlreq@article@type { article } {
+ \renewcommand{\thetable}{\tatechuyoko*{\@arabic\c@table}}
+ }{%
+ \@addtoreset{table}{chapter}
+ \renewcommand{\thetable}{\tatechuyoko*{\ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@table}}
+ }
+}{
+ \str_if_eq:VnTF \jlreq@article@type { article } {
+ \renewcommand{\thetable}{\@arabic\c@table}
+ }{%
+ \@addtoreset{table}{chapter}
+ \renewcommand{\thetable}{\ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@table}
+ }
}
\newcommand*{\fps@table}{h}
\newcommand*{\ftype@table}{2}
@@ -5302,6 +5315,9 @@
\fi
}
+\bool_new:N \g__jlreq_beforemaketitle_bool
+\bool_gset_true:N \g__jlreq_beforemaketitle_bool
+
\if@titlepage
\newcommand{\maketitle}{%
% jarticleとかからあまり変更していない
@@ -5379,6 +5395,7 @@
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
+ \bool_gset_false:N \g__jlreq_beforemaketitle_bool
}%
% \vskipを\baselineskipにしてみた.
\def\@maketitle{%
@@ -5410,8 +5427,11 @@
}
%.. abstract
-\def\jlreq@parhook@abstract{}
\str_if_eq:VnF \jlreq@article@type { book } {
+ \def\jlreq@parhook@abstract{}
+ \bool_new:N \g__jlreq_abstract_with_maketitle_bool
+ \keys_define:nn { jlreqsetup } { abstract_with_maketitle .bool_set:N = \g__jlreq_abstract_with_maketitle_bool }
+ \jlreqsetup { abstract_with_maketitle = false }
\newbox\jlreq@abstractbox
\newcommand*{\abstractname}{概要}
\if@titlepage
@@ -5430,21 +5450,25 @@
}
\else
\newenvironment{abstract}{%
- \ifnum0\if@twocolumn\else1\fi\ifjlreq@preamble1\fi>0
- \ifjlreq@preamble
+ \bool_if:nTF {
+ (! \legacy_if_p:n { @twocolumn } ) ||
+ \g__jlreq_inpreamble_bool ||
+ ( \g__jlreq_beforemaketitle_bool && \g__jlreq_abstract_with_maketitle_bool )
+ } {
+ \bool_if:NT \g__jlreq_inpreamble_bool {
\ifx l\jlreq@engine\else
\def\jlreq@parhook@abstract{\futurelet\jlreq@nextchar\jlreq@openbracket@hook}%
\PushPostHook{par}{\jlreq@parhook@abstract}%
\fi
- \fi
+ }
% とりあえず全部ボックスに入れる.
\global\setbox\jlreq@abstractbox=\vtop\bgroup
- \ifjlreq@preamble
+ \bool_if:NT \g__jlreq_inpreamble_bool {
% preamble後っぽく振る舞う
\@noskipsecfalse
% \@nodocumentが入っているので一時的に無効化
\everypar{}%
- \fi
+ }
\if@twocolumn
\parindent=0pt
\hsize=\textwidth
@@ -5474,11 +5498,15 @@
\parsep\z@ \@plus.1\jlreq@zh
}%
\item\relax
- \else
+ }{
\section*{\abstractname}%
- \fi
+ }
}{%
- \ifnum0\if@twocolumn\else1\fi\ifjlreq@preamble1\fi>0
+ \bool_if:nT {
+ (! \legacy_if_p:n { @twocolumn } ) ||
+ \g__jlreq_inpreamble_bool ||
+ ( \g__jlreq_beforemaketitle_bool && \g__jlreq_abstract_with_maketitle_bool )
+ } {
\endlist
\egroup
\vspace{\baselineskip}%
@@ -5486,14 +5514,18 @@
\end{minipage}
\fi
\egroup
- \fi
- \ifjlreq@preamble
+ }
+ \bool_if:NT \g__jlreq_inpreamble_bool {
\ifx l\jlreq@engine\else
\def\jlreq@parhook@abstract{}%
\fi
- \else
+ }
+ \bool_if:nF {
+ \g__jlreq_inpreamble_bool ||
+ ( \g__jlreq_beforemaketitle_bool && \g__jlreq_abstract_with_maketitle_bool )
+ }{
\unvbox\jlreq@abstractbox
- \fi
+ }
}
\fi
}
@@ -5580,7 +5612,7 @@
itemization_beforeafter_space .code:n = {\jlreq@jlreqsetup@itemization{jlreq@itemization@beforeafter@space@envlist}{jlreq@itemization@beforeafter@space@setting}{#1}},
itemization_itemsep .code:n = {\jlreq@jlreqsetup@withenv{jlreq@itemization@itemsep@envlist}{jlreq@itemization@itemsep@setting}{#1}},
itemization_labelsep .code:n = {\jlreq@jlreqsetup@withenv{jlreq@itemization@labelsep@envlist}{jlreq@itemization@labelsep@setting}{#1}},
- itemization_label_length .code:n = {\jlreq@jlreqsetup@itemization{jlreq@itemization@label@length@envlist}{jlreq@itemization@label@length@setting}{#1}}
+ itemization_label_length .code:n = {\jlreq@jlreqsetup@itemization{jlreq@itemization@label@length@envlist}{jlreq@itemization@label@length@setting}{#1}},
}
% enumerate, itemize用初期化,#1 = i,ii,...
\def\jlreq@init@list#1{%
@@ -5725,25 +5757,37 @@
\newcommand{\tableofcontents}{%
\jlreq@top@contents=-100\relax
\if@twocolumn
- \@restonecoltrue\onecolumn
+ \bool_if:NTF \g__jlreq_tableofcontents_twocolumn_bool {
+ \@restonecolfalse
+ }{
+ \@restonecoltrue\onecolumn
+ }
\else
- \@restonecolfalse
+ % スイッチの流用
+ \bool_if:NTF \g__jlreq_tableofcontents_twocolumn_bool {
+ \@restonecoltrue\twocolumn
+ }{
+ \@restonecolfalse
+ }
\fi
\prop_item:Nn \g__jlreq_tableofcontents_prop { heading }
\@mkboth{\contentsname}{\contentsname}%
\@starttoc{toc}%
- \if@restonecol\twocolumn\fi
+ \if@restonecol
+ \bool_if:NTF \g__jlreq_tableofcontents_twocolumn_bool { \onecolumn } { \twocolumn }
+ \fi
}
+\bool_new:N \g__jlreq_tableofcontents_twocolumn_bool
+\bool_gset_false:N \g__jlreq_tableofcontents_twocolumn_bool
\keys_define:nn { jlreqsetup } {
- tableofcontents_heading .code:n = { \prop_gput:Nnn \g__jlreq_tableofcontents_prop { heading } {#1} }
+ tableofcontents_heading .code:n = { \prop_gput:Nnn \g__jlreq_tableofcontents_prop { heading } {#1} },
+ tableofcontents_twocolumn .bool_gset:N = \g__jlreq_tableofcontents_twocolumn_bool
}
\str_if_eq:VnTF \jlreq@article@type { article } {
\keys_set:nn { jlreqsetup } { tableofcontents_heading = { \section*{\contentsname} } }
}{
\keys_set:nn { jlreqsetup } { tableofcontents_heading = { \chapter*{\contentsname} } }
}
-
-
% JIS X 4051自身の目次に近づけようかと……なりきれてないけど.
% 文字の大きさは全て同じ(\normalsize)にする.
@@ -5753,8 +5797,8 @@
% 「トップ」というか,一番最初に現れた見出しを入れる.
% リーダーは.から・に変更しました.
\def\@dottedtocline#1#2#3#4#5{%
- \jlreq@set@top@contents{#1}%
\ifnum #1>\c@tocdepth \else
+ \jlreq@set@top@contents{#1}%
\vskip\toclineskip
{\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
\parindent #2\relax\@afterindenttrue
@@ -5772,7 +5816,8 @@
\hfill\nobreak
\hb@xt@\@pnumwidth{\hss\normalfont\normalcolor #5}%
\par}%
- \fi}
+ \fi
+}
% listoffigures
\newcommand{\listoffigures}{%
@@ -6194,7 +6239,6 @@
\hbox_to_wd:nn {##1} {
\def#1 { }
\kanjishape{n-jidori}\selectfont
- \def\kanjishape####1{\jlreq@useoriginalcs{kanjishape}{####1-jidori}}
##2
\hskip\glueexpr 0pt~minus~1fil\relax
}
@@ -6317,7 +6361,6 @@
\renewcommand{\theparagraph}{\thesubsubsection .\arabic{paragraph}}
\renewcommand{\thesubparagraph}{\theparagraph .\arabic{subparagraph}}
\str_if_eq:VnTF \jlreq@article@type { article } {
-\def\X{}
\NewBlockHeading{part}{0}{font={\jlreq@keepbaselineskip{\LARGE\sffamily\gtfamily\bfseries}},label_format={第\thepart 部},lines=4,after_label_space=1\jlreq@zw,second_heading_text_indent={-1\jlreq@zw,1\jlreq@zw},subtitle_font={\jlreq@keepbaselineskip{\large}}}
\renewcommand{\thesection}{\arabic{section}}
}{% book, report
diff --git a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
index e2a2e0a68dc..958f5f952e7 100644
--- a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
+++ b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreq.lua
@@ -14,41 +14,6 @@ xkanjiskipは{1,-3},kanjiskip={0,0}
local stretch_width = 0.25 -- 空き第四段階の空き量
-local hyphen_glue = {
- [1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
- [2] = {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},
- [4] = {0, 0, 0, kanjiskip_natural = 1},
- [5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
- [6] = {0, 0, 0, kanjiskip_natural = 1},
- [7] = {0, 0, 0, kanjiskip_natural = 1},
- [8] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
- [9] = {0, 0, 0, kanjiskip_natural = 1},
- [10] = {0, 0, 0, kanjiskip_natural = 1},
- [11] = {0, 0, 0, kanjiskip_natural = 1},
- [12] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
- [13] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
- [14] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
- [15] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
- [16] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
- [0] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
- [27] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
---[[
- [20] = {0, 0, 0},
- [21] = {0, 0, 0},
- [22] = {0, 0, 0},
- [23] = {0, 0, 0},
- [24] = {0, 0, 0},
- [25] = {0, 0, 0},
- [26] = {0, 0, 0},
- [28] = {0, 0, 0},
- [29] = {0, 0, 0},
- [30] = {0, 0, 0},
-]]
-}
-
local jfm = {
dir = 'yoko',
zw = 1.0,
@@ -68,8 +33,6 @@ local jfm = {
[1] = {0, 0, 0, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -110,8 +73,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 0, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {0, 0, 0, kanjiskip_natural = 1},
[300] = {0.5, 0, 0.5, ratio = 0, priority = {0,-2}, kanjiskip_natural = 1},
- [301] = {0.5, 0, 0.5, ratio = 0, priority = {0,-2}, kanjiskip_natural = 1},
- [302] = {0.5, 0, 0.5, ratio = 0, priority = {0,-2}, kanjiskip_natural = 1},
[4] = {0.5, 0, 0.5, ratio = 0, priority = {0,-2}, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -148,21 +109,52 @@ local jfm = {
chars = {'‐'},
width = 0.25,height = 0.88,depth = 0.12,
align = 'middle',
- glue = hyphen_glue,-- 上の方で定義
+ glue = {
+ [1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
+ [2] = {0, 0, 0, kanjiskip_natural = 1},
+ [300] = {0, 0, 0, kanjiskip_natural = 1},
+ [4] = {0, 0, 0, kanjiskip_natural = 1},
+ [5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
+ [6] = {0, 0, 0, kanjiskip_natural = 1},
+ [7] = {0, 0, 0, kanjiskip_natural = 1},
+ [8] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
+ [9] = {0, 0, 0, kanjiskip_natural = 1},
+ [10] = {0, 0, 0, kanjiskip_natural = 1},
+ [11] = {0, 0, 0, kanjiskip_natural = 1},
+ [12] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
+ [13] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
+ [14] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
+ [15] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
+ [16] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
+ [0] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
+ [27] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
+--[[
+ [20] = {0, 0, 0},
+ [21] = {0, 0, 0},
+ [22] = {0, 0, 0},
+ [23] = {0, 0, 0},
+ [24] = {0, 0, 0},
+ [25] = {0, 0, 0},
+ [26] = {0, 0, 0},
+ [28] = {0, 0, 0},
+ [29] = {0, 0, 0},
+ [30] = {0, 0, 0},
+]]
+ }
},
[301] = {
chars = {'゠', '–'},
width = 0.5,height = 0.88,depth = 0.12,
align = 'middle',
- glue = hyphen_glue,
+ glue = {} -- 後で処理
},
[302] = {
chars = {'〜'},
width = 1,height = 0.88,depth = 0.12,
align = 'middle',
- glue = hyphen_glue,
+ glue = {} -- 後で処理
},
[4] = { -- 区切り約物
@@ -173,8 +165,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, stretch_width, 0.25, ratio = 1, priority = {-1,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -215,8 +205,6 @@ local jfm = {
[1] = {0.25, stretch_width, 0.25, ratio = 0, priority = {-1,-1}, kanjiskip_natural = 1},
[2] = {0.25, 0, 0.25, ratio = 0, priority = {0,-1}, kanjiskip_natural = 1},
[300] = {0.25, 0, 0.25, ratio = 0, priority = {0,-1}, kanjiskip_natural = 1},
- [301] = {0.25, 0, 0.25, ratio = 0, priority = {0,-1}, kanjiskip_natural = 1},
- [302] = {0.25, 0, 0.25, ratio = 0, priority = {0,-1}, kanjiskip_natural = 1},
[4] = {0.25, 0, 0.25, ratio = 0, priority = {0,-1}, kanjiskip_natural = 1},
[5] = {0.5, 0, 0.5, ratio = 0.5, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0.25, 0, 0.25, ratio = 0, priority = {0,-1}, kanjiskip_natural = 1},
@@ -257,8 +245,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0, ratio = 0, priority = {-1,0}, kanjiskip_natural = 1},
[2] = {0, 0, 0, kanjiskip_natural = 1},
[300] = {0.5, 0, 0, ratio = 0, kanjiskip_natural = 1},
- [301] = {0.5, 0, 0, ratio = 0, kanjiskip_natural = 1},
- [302] = {0.5, 0, 0, ratio = 0, kanjiskip_natural = 1},
[4] = {0.5, 0, 0, ratio = 0, kanjiskip_natural = 1},
[5] = {0.75, 0, 0.25, ratio = 0.33333333, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -299,8 +285,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 0, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {0, 0, 0, kanjiskip_natural = 1},
[300] = {0.5, 0, 0.5, ratio = 0, priority = {0,-2}, kanjiskip_natural = 1},
- [301] = {0.5, 0, 0.5, ratio = 0, priority = {0,-2}, kanjiskip_natural = 1},
- [302] = {0.5, 0, 0.5, ratio = 0, priority = {0,-2}, kanjiskip_natural = 1},
[4] = {0.5, 0, 0.5, ratio = 0, priority = {0,-2}, kanjiskip_natural = 1},
[5] = {0.75, 0, 0.75, ratio = 0.33333333, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -340,8 +324,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -380,8 +362,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -420,8 +400,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -460,8 +438,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -500,8 +476,6 @@ local jfm = {
[1] = {0.5, 0, 0.5, ratio = 1, priority = {0,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -540,8 +514,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -580,8 +552,6 @@ local jfm = {
[1] = {0, stretch_width, 0, priority = {-1,0}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -620,8 +590,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -662,8 +630,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -697,10 +663,10 @@ local jfm = {
},
[161] = { -- 半角カナ
- chars = {'ヲ', 'ァ', 'ィ', 'ゥ', 'ェ', 'ォ', 'ャ', 'ュ', 'ョ', 'ッ', 'ー', 'ア', 'イ', 'ウ', 'エ', 'オ', 'カ', 'キ', 'ク', 'ケ', 'コ', 'サ', 'シ', 'ス', 'セ', 'ソ', 'タ', 'チ', 'ツ', 'テ', 'ト', 'ナ', 'ニ', 'ヌ', 'ネ', 'ノ', 'ハ', 'ヒ', 'フ', 'ヘ', 'ホ', 'マ', 'ミ', 'ム', 'メ', 'モ', 'ヤ', 'ユ', 'ヨ', 'ラ', 'リ', 'ル', 'レ', 'ロ', 'ワ', 'ン'},
+ chars = {'ヲ', 'ァ', 'ィ', 'ゥ', 'ェ', 'ォ', 'ャ', 'ュ', 'ョ', 'ッ', 'ー', 'ア', 'イ', 'ウ', 'エ', 'オ', 'カ', 'キ', 'ク', 'ケ', 'コ', 'サ', 'シ', 'ス', 'セ', 'ソ', 'タ', 'チ', 'ツ', 'テ', 'ト', 'ナ', 'ニ', 'ヌ', 'ネ', 'ノ', 'ハ', 'ヒ', 'フ', 'ヘ', 'ホ', 'マ', 'ミ', 'ム', 'メ', 'モ', 'ヤ', 'ユ', 'ヨ', 'ラ', 'リ', 'ル', 'レ', 'ロ', 'ワ', 'ン','。', '「', '」', '、', '・', '゙', '゚'},
width = 0.5, height = 0.88, depth = 0.12,
align = 'left',
- glue = {} -- あとで
+ glue = {} -- あとで処理
},
@@ -727,8 +693,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -790,8 +754,6 @@ local jfm = {
[1] = {0,5, 0, 0.5, ratio = 1, priority = {0,-2}},
[2] = {0, 0, 0},
[300] = {0, 0, 0},
- [301] = {0, 0, 0},
- [302] = {0, 0, 0},
[4] = {0, 0, 0},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}},
[6] = {0, 0, 0},
@@ -825,8 +787,6 @@ local jfm = {
[1] = {0,5, 0, 0.5, ratio = 1, priority = {0,-2}},
[2] = {0, 0, 0},
[300] = {0, 0, 0},
- [301] = {0, 0, 0},
- [302] = {0, 0, 0},
[4] = {0, 0, 0},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}},
[6] = {0, 0, 0},
@@ -860,8 +820,6 @@ local jfm = {
[1] = {0,5, 0, 0.5, ratio = 1, priority = {0,-2}},
[2] = {0, 0, 0},
[300] = {0, 0, 0},
- [301] = {0, 0, 0},
- [302] = {0, 0, 0},
[4] = {0, 0, 0},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}},
[6] = {0, 0, 0},
@@ -895,8 +853,6 @@ local jfm = {
[1] = {0,5, 0, 0.5, ratio = 1, priority = {0,-2}},
[2] = {0, 0, 0},
[300] = {0, 0, 0},
- [301] = {0, 0, 0},
- [302] = {0, 0, 0},
[4] = {0, 0, 0},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}},
[6] = {0, 0, 0},
@@ -931,8 +887,6 @@ local jfm = {
[1] = {0,5, 0, 0.5, ratio = 1, priority = {0,-2}},
[2] = {0, 0, 0},
[300] = {0, 0, 0},
- [301] = {0, 0, 0},
- [302] = {0, 0, 0},
[4] = {0, 0, 0},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}},
[6] = {0, 0, 0},
@@ -967,8 +921,6 @@ local jfm = {
[1] = {0,5, 0, 0.5, ratio = 1, priority = {0,-2}},
[2] = {0, 0, 0},
[300] = {0, 0, 0},
- [301] = {0, 0, 0},
- [302] = {0, 0, 0},
[4] = {0, 0, 0},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}},-- 注12
[6] = {0, 0, 0},
@@ -1003,8 +955,6 @@ local jfm = {
[1] = {0.5, 0, 0.5, ratio = 1},
[2] = {0, 0, 0},
[300] = {0, 0, 0},
- [301] = {0, 0, 0},
- [302] = {0, 0, 0},
[4] = {0, 0, 0},
[5] = {0.25, 0, 0.25, ratio = 1},
[6] = {0, 0, 0},
@@ -1038,8 +988,6 @@ local jfm = {
[1] = {0.5, stretch_width, 0.5, ratio = 1, priority = {-1,-2}, kanjiskip_natural = 1},
[2] = {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},
[4] = {0, 0, 0, kanjiskip_natural = 1},
[5] = {0.25, 0, 0.25, ratio = 1, priority = {0,-1}, kanjiskip_natural = 1},
[6] = {0, 0, 0, kanjiskip_natural = 1},
@@ -1238,6 +1186,7 @@ copy_jfm(0,191)
copy_jfm(0,192)
copy_jfm(0,193)
copy_jfm(16,161)
-
+copy_jfm(300,301)
+copy_jfm(300,302)
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 c9087f14371..5b2c3ec9993 100644
--- a/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreqv.lua
+++ b/Master/texmf-dist/tex/luatex/jlreq/jfm-jlreqv.lua
@@ -2148,7 +2148,7 @@ local jfm={
},
[161]={
["align"]="left",
- ["chars"]={ "ヲ", "ァ", "ィ", "ゥ", "ェ", "ォ", "ャ", "ュ", "ョ", "ッ", "ー", "ア", "イ", "ウ", "エ", "オ", "カ", "キ", "ク", "ケ", "コ", "サ", "シ", "ス", "セ", "ソ", "タ", "チ", "ツ", "テ", "ト", "ナ", "ニ", "ヌ", "ネ", "ノ", "ハ", "ヒ", "フ", "ヘ", "ホ", "マ", "ミ", "ム", "メ", "モ", "ヤ", "ユ", "ヨ", "ラ", "リ", "ル", "レ", "ロ", "ワ", "ン" },
+ ["chars"]={ "ヲ", "ァ", "ィ", "ゥ", "ェ", "ォ", "ャ", "ュ", "ョ", "ッ", "ー", "ア", "イ", "ウ", "エ", "オ", "カ", "キ", "ク", "ケ", "コ", "サ", "シ", "ス", "セ", "ソ", "タ", "チ", "ツ", "テ", "ト", "ナ", "ニ", "ヌ", "ネ", "ノ", "ハ", "ヒ", "フ", "ヘ", "ホ", "マ", "ミ", "ム", "メ", "モ", "ヤ", "ユ", "ヨ", "ラ", "リ", "ル", "レ", "ロ", "ワ", "ン", "。", "「", "」", "、", "・", "゙", "゚" },
["depth"]=0.5,
["glue"]={
{