jlreq
What is this?
This package provides the class file and JFM (Japanese font metric) files for LuaTeX-ja / pLaTeX / upLaTeX. This aims to implement Requirements for Japanese Text Layout.
Installation
Run make to generate JFM files. Move the files as
follows:
- *.tfm -> $TEXMF/fonts/tfm/public/jlreq
- *.vf -> $TEXMF/fonts/vf/public/jlreq
- jfm-jlreq.lua, jfm-jlreqv.lua, jfm-jlreq-jidori.lua jfm-jlreqv-jidori.lua -> $TEXMF/tex/luatex/jlreq
- jlreq.cls, jlreq-helpers.sty -> $TEXMF/tex/latex/jlreq
The other way to install is just to run make install. It
will install all files in $TEXMFHOME.
Usage
See jlreq-ja.html (in Japanese).
LICENSE
This package is distributed under the BSD 2-Clause License. See LICENSE.
CHANGELOG
- 2017-02-08
- First release.
- 2017-02-17
- Fixed bugs.
- Implement
abstractenvironment. - Changed/Added some keys to class
option/
\jlreqsetup - Stopped to load
pxrubirica,luatexja-rubyandnidanfloat.
- 2017-03-14
- Fixed bugs.
\sffamilyetc. also change the Japanese font family.- Added many options to
\DeclareBlockHeading. - Some options related to
quoteenvironment etc.
- 2017-03-20
- Fixed bugs.
- Insert some spaces around
\footnote / \sidenote / \endnote.
- 2017-04-04
- Fixed a bug.
- Added options
tateandfontto\DeclarePageStyle.
- 2017-04-29
- Fixed bugs.
- Added
jafontsizeandjafontscaleoptions and\jafontsize. - Added
\tatechuyoko. jlreq_warnings->jlreq_notes(class option).- Moved some class options to
\jlreqsetup. - Added some options to
\jlreqsetup. paper={<height>,<width>}->paper={<width>,<height>}.
- 2017-06-11
- Stopped to load
plextandlltjext. - Added
alignto\DeclareBlockHeadingand deleteindent=center,end_indent=center. - Changed
\kcatcodefor some characters (upLaTeX).
- Stopped to load
- 2017-08-13
- Added
column_spanningto\DeclareBlockHeading. - Sidenotes are a part of the main text now.
- Changed the default length of sidenotes to 0.
- jlreq does not define
\sidenoteif the length for sidenotes is zero. - Added a command for the full-width ideographic space.
- Added
- 2017-08-29
- Fixed a bug.
- 2017-11-23
- Fixed bugs.
- Added
\SetBlockHeadingSpaces. - Removed a space from
\contentsnameand\indexname.
- 2017-12-02
- Fixed bugs.
- 2017-12-22
- Improved JFM.
- Change the way to detect
\labelbetween block headings. - Added chapter number to
\theequation,\thefigure,\thetable.
- 2018-02-01
- Sidenotes appears only odd pages in
tatemode. - Added
\fnfixbottomtruefor LuaLaTeX. - Added some options related to captions.
- Extended
itemization_beforeafter_space. - Fixed bugs.
- Sidenotes appears only odd pages in
- 2018-04-11
- Sidenotes (
\footnote) appears in the second column intatemode. - Added options
begin_widh_(odd|even)_pageto\DeclareBlockHeading. - Changed
\labelenumias injarticleetc. - Fix a bug on
column_gapclass option. - Added
mark_formatto\DeclarePageStyle.
- Sidenotes (
- 2018-05-19
- Made the width of the label in the table of contents longer.
- Moved some macros to jlreq-helpers.sty
- Fixed bugs.
- 2018-06-17
- Gothic font is attached to font shape 'b'.
- Fixed bugs.
- 2018-08-08
- Added
nombre_iietc. to\DeclarePageStyle. - Fixed bugs.
- Added
footnote_second_indentandendnote_second_indentto\jlreqsetup.
- Added
- 2018-08-15
- Fixed bugs.
- 2018-09-01
- jlreq works with unusual
\mag. - Fixed bugs.
- jlreq works with unusual
- 2018-12-10
- Added
number=[true/false]to\New***Heading. - Added options for
\frontmatteretc in\jlreqsetup. - Made
\jlreqHeadingLabeletc available informatin\NewTobiraHeadingand\NewBlockHeading. - Fixed bugs.
- Added
- 2019-01-15
- Added
nombre_fontetc to\NewPageStyle.fontis deprecated. formatwithout#1is allowed in\NewBlockHeading.- Extended
caption_label_formatetc. in\jlreqsetup. - Fixed bugs.
- Added
- 2019-04-01
- Added
use_reverse_paginationto the class option. - Stopped to use
zrefpackage. - New regnal year.
- Fixed bugs.
- Added
- 2019-05-07
- Added a small length to
\textwidthand\textheight. - Changed the implementation of
running_head_iietc. in\DeclarePageStyle. - Fixed bugs.
- Added a small length to
- 2019-09-24
- Deleted the (re-)definitions of
\@citeand\@biblabel. - Added
\allowbreakbefore block headings. - Fixed bugs.
- Deleted the (re-)definitions of
- 2020-02-07
- Changed the default value of
itemization_label_lengthto\leftmarginietc. - Removed the redefinitions
\rmfamilyetc and added a code to\@rmfamilyhook. - Changed
\parskipto0pt. - Fixed bugs.
- Changed the default value of
- 2020-05-01
- Added
theorem_label_fontandtheorem_fontto\jlreqsetup. - Fixed bugs.
- Added
- 2020-09-27
- Added
*-version of\tatechuyoko. - Fixed bugs.
- Added
- 2020-12-29
fontsizeetc. with LuaLaTeX acceptH.- Added
\jidori. - Fixed bugs.
- 2021-03-17
- Use the pagestyle
plainat\maketitleif the current one is notempty - Removed JFM glue after
\item. - Removed JFM glue after block headings.
- Fixed bugs.
- Use the pagestyle
- 2021-05-28
- Extended
caption_alignin\jlreqsetup. - Removed some
\ifthenelse.
- Extended
- 2021-07-22
- Stopped to use
\IfHookExistsTF. - Added
\akigumi. - Stopped to load packages
xkeyvalandifthen. - It has more compatibility with expl3.
- Added
pagestyleto\DeclareBlockHeading. - Fixed bugs.
- Stopped to use
- 2021-07-25
- Load
ifthenagain. (Only for Re:VIEW, will be removed in future.) - Fixed bugs.
- Load
- 2021-08-12
- Removed the direct dependence on
etoolboxpackage. - Fixed a bug.
- Removed the direct dependence on
- 2021-10-09
- Fixed bugs.
- 2021-11-05
paper=b*is regarded as a ISO series.- Removed many codes relating with LaTeX hooks mechanism (because it seems not stable.)
- Removed
\RequirePackage{ifthen}. - Removed
\kcatcodesettings with upLaTeX.
- 2022-04-05
- Added
warichu_openingandwarichu_closingto\jlreqsetup. - Change a little bit penalties around block heading.
- Fixed a bug:
\selectfontafter\DeclareFontShaperaised an error. - Fixed a bug:
use_reverse_paginationdid not work. - Fixed a bug: A second running head disappeared sometimes.
- Rewrote
\DeclarePageStyle. - Deleted
\@makefntext, define\@makefntextdirectly. - Fixed other bugs.
- Added
- 2022-04-11
- Fixed a bug.
- 2022-07-13
- Fixed a bug: The position of running heads were not correct.
- 2022-11-28
- Fixed a bug: did not register to running head when
\SetBlockHeadingSpacesis used. - Fixed a bug: wrong papersize for ISO C4.
- Added a package
jlreq-complements - Fixed some other bugs and adjust with some other packages.
- Fixed a bug: did not register to running head when
- 2023-03-05
- Fixed a bug on cutin headings.
Noriyuki Abe https://github.com/abenori/jlreq