summaryrefslogtreecommitdiff
path: root/macros/jptex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-06-19 03:02:28 +0000
committerNorbert Preining <norbert@preining.info>2023-06-19 03:02:28 +0000
commit0622b5d465a30f417f9c5372cd05a931a407380c (patch)
tree0007872c586bbdf271937367d23bb2396bf60a1a /macros/jptex
parent560cff4babb98ab81103bfe3f966c4111f31b0b0 (diff)
CTAN sync 202306190302
Diffstat (limited to 'macros/jptex')
-rw-r--r--macros/jptex/latex/jlreq/LICENSE2
-rw-r--r--macros/jptex/latex/jlreq/README-ja.md8
-rw-r--r--macros/jptex/latex/jlreq/README.md4
-rw-r--r--macros/jptex/latex/jlreq/jlreq-complements.sty2
-rw-r--r--macros/jptex/latex/jlreq/jlreq-helpers.sty2
-rw-r--r--macros/jptex/latex/jlreq/jlreq-ja.pdfbin377049 -> 377536 bytes
-rw-r--r--macros/jptex/latex/jlreq/jlreq-trimmarks-ja.md2
-rw-r--r--macros/jptex/latex/jlreq/jlreq-trimmarks.md2
-rw-r--r--macros/jptex/latex/jlreq/jlreq-trimmarks.sty8
-rw-r--r--macros/jptex/latex/jlreq/jlreq.cls23
-rw-r--r--macros/jptex/latex/jlreq/jlreq.pdfbin120674 -> 121065 bytes
11 files changed, 33 insertions, 20 deletions
diff --git a/macros/jptex/latex/jlreq/LICENSE b/macros/jptex/latex/jlreq/LICENSE
index 194b3d9994..3cf9a90f88 100644
--- a/macros/jptex/latex/jlreq/LICENSE
+++ b/macros/jptex/latex/jlreq/LICENSE
@@ -1,6 +1,6 @@
(2-clause BSD license)
jlreq and jlreq-trimmarks
-Copyright 2017-2022, Noriyuki Abe.
+Copyright 2017-2023, 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/macros/jptex/latex/jlreq/README-ja.md b/macros/jptex/latex/jlreq/README-ja.md
index ae11b0f912..3f458194b7 100644
--- a/macros/jptex/latex/jlreq/README-ja.md
+++ b/macros/jptex/latex/jlreq/README-ja.md
@@ -381,7 +381,7 @@ JFMの名前は次の通りです.`[]`で囲まれている文字は設定に
`jlreq`内では`\usepackage[<jlreq内で認識しているエンジン>,setupname=jlreqsetup]{jlreq-complements}`相当で読み込みがされていますので,今までの`\jlreqsetup`で環境のカスタマイズをすることができます.なお,このように既存の名前を指定してうまく行くためにはもともとの命令と整合的である必要があります.通常は避けた方がよいでしょう.
### `thebibliography`環境
-* `thebibliography_heading=<コード>`:`thebibliography`環境の見出しを出力する命令を指定します.
+* `thebibliography_heading=<コード>`:`thebibliography`環境の見出しを出力する命令を指定します.`thebibliography_heading={\section*{\refname}}`のように使います.
* `thebibliography_after_label_space=<寸法>`:`thebibliography`環境における各項目のラベル以降の空きを指定します.
* `thebibliography_indent=<寸法>`:`thebibliography`環境全体の字下げ量を指定します.
* `thebibliography_mark=<コード>`:`thebibliography`環境の見出しを柱に登録するためのコードを指定します.
@@ -401,7 +401,7 @@ JFMの名前は次の通りです.`[]`で囲まれている文字は設定に
* `theorem_label_font=<フォント設定コード>`:定理環境のラベル部分のフォントを設定します.
* `theorem_font=<フォント設定コード>`:定理環境本体のフォントを設定します.
* `theorem_indent=<寸法>`:定理環境本体の字下げ量を指定します.
-* `proof_label_font=<フォント設定コード>`:`amsthm`パッケージが読み込まれたときのみ有効な設定です.
+* `proof_label_font=<フォント設定コード>`:`amsthm`パッケージが読み込まれたときのみ有効な設定です.`proof`環境のラベルのフォントを指定します.
`amsthm`パッケージが読み込まれると,新しい定理スタイル`jlreq`が定義され,現在のスタイルが`jlreq`へと変更されます.このとき,上記設定はこの`jlreq`スタイルへの設定として機能します.
@@ -572,6 +572,10 @@ JFMの名前は次の通りです.`[]`で囲まれている文字は設定に
- その他バグ修正やその他のパッケージとの調整など.
* 2023-03-05
- 窓見出しに関するバグ修正
+* 2023-06-19
+ - LuaLaTeX利用時の`everyhook'パッケージの利用をやめた(ドキュメントと整合的でなかった).
+ - `enumerate'環境直前の空白が入らないことがあったのを修正.
+ - `use_reverse_pagination`に関するバグ修正.
--------------
Noriyuki Abe
diff --git a/macros/jptex/latex/jlreq/README.md b/macros/jptex/latex/jlreq/README.md
index b5734a233f..5747ed263f 100644
--- a/macros/jptex/latex/jlreq/README.md
+++ b/macros/jptex/latex/jlreq/README.md
@@ -182,6 +182,10 @@ This package is distributed under the BSD 2-Clause License. See [LICENSE](LICENS
- Fixed some other bugs and adjust with some other packages.
* 2023-03-05
- Fixed a bug on cutin headings.
+* 2023-06-19
+ - 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`.
--------------
Noriyuki Abe
diff --git a/macros/jptex/latex/jlreq/jlreq-complements.sty b/macros/jptex/latex/jlreq/jlreq-complements.sty
index 144bc21b57..80ab620650 100644
--- a/macros/jptex/latex/jlreq/jlreq-complements.sty
+++ b/macros/jptex/latex/jlreq/jlreq-complements.sty
@@ -50,7 +50,7 @@
}
\exp_args:Nx \@ifundefined { \g__jlreq_complements_setupname_str } {
- \exp_args:Ncnx \NewDocumentCommand {\g__jlreq_complements_setupname_str} { +m } {
+ \exp_args:Ncnx \NewDocumentCommand { \g__jlreq_complements_setupname_str } { +m } {
\exp_not:N \keys_set:nn { \g__jlreq_complements_setupname_str } {\exp_not:n {#1}}
}
}{}
diff --git a/macros/jptex/latex/jlreq/jlreq-helpers.sty b/macros/jptex/latex/jlreq/jlreq-helpers.sty
index ab61fe0709..76af5d797a 100644
--- a/macros/jptex/latex/jlreq/jlreq-helpers.sty
+++ b/macros/jptex/latex/jlreq/jlreq-helpers.sty
@@ -1,7 +1,7 @@
% エンジン非依存のマクロ集
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{jlreq-helpers}[2022/11/28 jlreq-helpers]
+\ProvidesPackage{jlreq-helpers}[2023/06/19 jlreq-helpers]
\ExplSyntaxOn
%. helper1
diff --git a/macros/jptex/latex/jlreq/jlreq-ja.pdf b/macros/jptex/latex/jlreq/jlreq-ja.pdf
index ac01fa53dd..98e0e76019 100644
--- a/macros/jptex/latex/jlreq/jlreq-ja.pdf
+++ b/macros/jptex/latex/jlreq/jlreq-ja.pdf
Binary files differ
diff --git a/macros/jptex/latex/jlreq/jlreq-trimmarks-ja.md b/macros/jptex/latex/jlreq/jlreq-trimmarks-ja.md
index 2e86b26b30..7524828894 100644
--- a/macros/jptex/latex/jlreq/jlreq-trimmarks-ja.md
+++ b/macros/jptex/latex/jlreq/jlreq-trimmarks-ja.md
@@ -187,6 +187,8 @@ dviドライバの指定です.エンジンに`lualatex`を利用する場合
- 読み込み時にエラーが出るバグ修正.
* 2022-11-28
- `trimmarks_pattern`を`\jlreqtrimmarkssetup`に追加.
+* 2023-06-19
+ - 縦書きで読み込み時にエラーが出るバグ修正.
--------------
Noriyuki Abe
diff --git a/macros/jptex/latex/jlreq/jlreq-trimmarks.md b/macros/jptex/latex/jlreq/jlreq-trimmarks.md
index a196aef39e..315b400311 100644
--- a/macros/jptex/latex/jlreq/jlreq-trimmarks.md
+++ b/macros/jptex/latex/jlreq/jlreq-trimmarks.md
@@ -181,6 +181,8 @@ This package is distributed under the BSD 2-Clause License. See [LICENSE](LICENS
- Fixed a bug: an error occurred when loading.
* 2022-11-28
- Added `trimmarks_pattern` to `\jlreqtrimmarkssetup`.
+* 2023-06-19
+ - Fixed a bug: an error occurred when the package is loaded with tate mode.
--------------
Noriyuki Abe
diff --git a/macros/jptex/latex/jlreq/jlreq-trimmarks.sty b/macros/jptex/latex/jlreq/jlreq-trimmarks.sty
index f2e72aeddc..36f95d6805 100644
--- a/macros/jptex/latex/jlreq/jlreq-trimmarks.sty
+++ b/macros/jptex/latex/jlreq/jlreq-trimmarks.sty
@@ -1,7 +1,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{jlreq-trimmarks}[2022/11/28 jlreq-trimmarks]
+\ProvidesPackage{jlreq-trimmarks}[2023/06/19 jlreq-trimmarks]
\RequirePackage{l3keys2e}
-\RequirePackage{jlreq-helpers}[2022/11/28]
+\RequirePackage{jlreq-helpers}[2023/06/19]
\ExplSyntaxOn
% check \tombowdatetrue
@@ -571,9 +571,9 @@
% left=gutter?
\def\ifjlreq@trimmarks@leftisgutter{%
\ifjlreq@trimmarks@tate {
- \bool_if:nTF { ! ( \int_if_odd_p:n { \c@page } || ! \legacy_if_p:n { @twoside } ) ) }
+ \bool_if:nTF { ! ( \int_if_odd_p:n { \c@page } || ! \legacy_if_p:n { @twoside } ) }
}{
- \bool_if:nTF { ( \int_if_odd_p:n { \c@page } || ! \legacy_if_p:n { @twoside } ) }
+ \bool_if:nTF { ( \int_if_odd_p:n { \c@page } || ! \legacy_if_p:n { @twoside } ) }
}
}
\def\jlreq@trimmarks@bleed@left{\ifjlreq@trimmarks@leftisgutter{\jlreq@trimmarks@bleed@gutter}{\expandafter\csname jlreq@trimmarks@bleed@fore-edge\endcsname}}
diff --git a/macros/jptex/latex/jlreq/jlreq.cls b/macros/jptex/latex/jlreq/jlreq.cls
index 495c210340..1d0d498877 100644
--- a/macros/jptex/latex/jlreq/jlreq.cls
+++ b/macros/jptex/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/03/05 jlreq]
+\ProvidesClass{jlreq}[2023/06/19 jlreq]
\RequirePackage{l3keys2e}
\RequirePackage{etoolbox}
-\RequirePackage{jlreq-helpers}[2022/11/28]
+\RequirePackage{jlreq-helpers}[2023/06/19]
\ExplSyntaxOn
\int_new:N \l__jlreq_tmpa_int
@@ -1662,7 +1662,7 @@
%. システム設定
%.. 逆ノンブル
\ifjlreq@option@use@reverse@pagination
- \AtEndDocument{\clearpage\jlreq@reference@immediate@write{lastpage}{\arabic{page}}}%
+ \AtEndDocument{\clearpage\jlreq@reference@immediate@write{lastpage}{\@arabic\numexpr \c@page - 1\relax}}
\def\c@jlreqreversepage{\numexpr\jlreq@reference@ref{lastpage}{0} - \c@page + 1\relax}
\def\thejlreqreversepage{\arabic{jlreqreversepage}}
\fi
@@ -2216,10 +2216,11 @@
\jlreq@ifgluezero\jlreq@tempskipb{}{\vskip\jlreq@tempskipb}%
\edef\jlreq@do{%
\dim_compare:nF { \parskip=0pt } {
- \exp_not:N \cs_set:Nn \exp_not:N \g__jlreq_gyodori_hook_par: {
- \noexpand\parskip=\the\parskip\noexpand\relax
- \exp_not:n { \cs_set:Nn \g__jlreq_gyodori_hook_par: {} }
- }
+% \exp_not:N \cs_set:Nn \exp_not:N \g__jlreq_gyodori_hook_par: {
+% \noexpand\parskip=\the\parskip\noexpand\relax
+% \exp_not:n { \cs_set:Nn \g__jlreq_gyodori_hook_par: {} }
+% }
+ \exp_not:N \AddToHook { para/before } { \noexpand\parskip=\the\parskip\noexpand\relax }
\noexpand\parskip=0pt
}
}%
@@ -2907,7 +2908,7 @@
\unexpanded{%
\if@noskipsec\leavevmode\fi
\begingroup
- \def\jlreq@do{\global\@noskipsectrue}%
+ \def\jlreq@do{\@nobreakfalse\global\@noskipsectrue}%
\ifnum0\jlreq@ifempty{#3}{}{1}\ifnum #2>\c@secnumdepth 1\fi>0
\def\jlreq@tempa##1{#8}%
\else
@@ -2929,9 +2930,9 @@
\noexpand\else
\unexpanded{\everypar{}}%
}%
- \ifx l\jlreq@engine\else
- \unexpanded{\unexpanded{\let\jlreq@hook@everypar\jlreq@openbracket@hook}}%
- \fi
+ \ifx l\jlreq@engine\else
+ \unexpanded{\unexpanded{\let\jlreq@hook@everypar\jlreq@openbracket@hook}}%
+ \fi
\unexpanded{\noexpand\fi}%
}%
}%
diff --git a/macros/jptex/latex/jlreq/jlreq.pdf b/macros/jptex/latex/jlreq/jlreq.pdf
index 035959fc4b..f07e3d6920 100644
--- a/macros/jptex/latex/jlreq/jlreq.pdf
+++ b/macros/jptex/latex/jlreq/jlreq.pdf
Binary files differ