diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-02 03:02:44 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-02 03:02:44 +0000 |
commit | 6276231aa1cc25fe33679b149fdbaca5471ca8a4 (patch) | |
tree | f5282bc8055c4145a733bae60f53e93986d005a6 /macros | |
parent | ad1928316d819ffb337fc4a926dbef47607dfb95 (diff) |
CTAN sync 202003020302
Diffstat (limited to 'macros')
-rw-r--r-- | macros/latex/contrib/nomencl/README | 6 | ||||
-rw-r--r-- | macros/latex/contrib/nomencl/nomencl.dtx | 24 | ||||
-rw-r--r-- | macros/latex/contrib/nomencl/nomencl.pdf | bin | 333262 -> 341763 bytes | |||
-rw-r--r-- | macros/latex/contrib/nomencl/sample01.pdf | bin | 34412 -> 34414 bytes | |||
-rw-r--r-- | macros/latex/contrib/nomencl/sample02.pdf | bin | 80166 -> 80168 bytes | |||
-rw-r--r-- | macros/latex/contrib/nomencl/sample03.pdf | bin | 81763 -> 81763 bytes | |||
-rw-r--r-- | macros/latex/contrib/nomencl/sample04.pdf | bin | 48310 -> 48310 bytes | |||
-rw-r--r-- | macros/latex/contrib/nomencl/sample05.pdf | bin | 34041 -> 34042 bytes | |||
-rw-r--r-- | macros/luatex/generic/luatexja/README | 8 | ||||
-rw-r--r-- | macros/luatex/generic/luatexja/doc/luatexja-en.pdf | bin | 531833 -> 531826 bytes | |||
-rw-r--r-- | macros/luatex/generic/luatexja/doc/luatexja-ja.pdf | bin | 939140 -> 939144 bytes | |||
-rw-r--r-- | macros/luatex/generic/luatexja/src/luatexja.sty | 4 | ||||
-rw-r--r-- | macros/luatex/generic/luatexja/src/patches/lltjfont.sty | 131 |
13 files changed, 117 insertions, 56 deletions
diff --git a/macros/latex/contrib/nomencl/README b/macros/latex/contrib/nomencl/README index 148a69af6e..80d4c124aa 100644 --- a/macros/latex/contrib/nomencl/README +++ b/macros/latex/contrib/nomencl/README @@ -10,7 +10,7 @@ nomenclature using MakeIndex. COPYING AND MODIFICATION -Copyright 1996-2018 Boris Veytsman, Bernd Shandl, Lee Netherton, CV +Copyright 1996-2020 Boris Veytsman, Bernd Shandl, Lee Netherton, CV Radhakrishnan, Brian Elmegaard @@ -40,4 +40,6 @@ VERSION HISTORY v5.3 2019/11/23 Documentation updates Slovene option -
\ No newline at end of file + + v5.4 2020/03/01 Norwegian (norwegian-bokmaal, norwegian-nynorsk) + options
\ No newline at end of file diff --git a/macros/latex/contrib/nomencl/nomencl.dtx b/macros/latex/contrib/nomencl/nomencl.dtx index 7c92a2c912..ff5f3dedcd 100644 --- a/macros/latex/contrib/nomencl/nomencl.dtx +++ b/macros/latex/contrib/nomencl/nomencl.dtx @@ -1,6 +1,6 @@ % \iffalse % File nomencl.dtx -% Copyright 1996-2019 Boris Veytsman, Bernd Shandl, Lee Netherton, CV +% Copyright 1996-2020 Boris Veytsman, Bernd Shandl, Lee Netherton, CV % Radhakrishnan, Brian Elmegaard % % @@ -28,7 +28,7 @@ %<*package|driver> % \fi % \ProvidesFile{nomencl.dtx}% - [2019/11/23 v5.3 Nomenclature package] + [2020/03/01 v5.4 Nomenclature package] % % \iffalse %</package|driver> @@ -352,7 +352,8 @@ follows easily. % \item[nonomentbl] Do not print nomenclature in the |nomentbl| style, see % Section~\ref{sec:nomentbl} (default). % \item[\hspace{-\labelsep}] -% \textbf{croatian, danish, english, french, german, italian, polish, +% \textbf{croatian, danish, english, french, german, italian, +% norwegian-bokmaal, norwegian-nynorsk, polish, % portuguese, russian, slovene, spanish, ukrainian} % The reference texts and the nomenclature title will appear in the % corresponding language. Note that in order to use Russian or Ukrainian, @@ -1175,6 +1176,7 @@ follows easily. % \changes{v5.0}{2018/12/28}{Added defaults} % \changes{v5.1}{2019/02/08}{Changed \# to \#\# in options.} % \changes{v5.3}{2019/11/23}{Added Slovene (joder)} +% \changes{v5.4}{2020/03/01}{Added Norwegian (wishfort36)} % If you can help out with translations for some other languages, let me know. % \begin{macrocode} \DeclareOptionX{croatian}{% @@ -1225,6 +1227,22 @@ follows easily. \def\nomGname{Lettere greche}% \def\nomXname{Apici}% \def\nomZname{Indici}} +\DeclareOptionX{norwegian-bokmaal}{% + \def\eqdeclaration##1{, se ligning\nobreakspace(##1)}% + \def\pagedeclaration##1{, side\nobreakspace##1}% + \def\nomname{Nomenklatur}% + \def\nomAname{Romerske bokstaver}% + \def\nomGname{Greske bokstaver}% + \def\nomXname{Hevet skrift}% + \def\nomZname{Senket skrift}} +\DeclareOptionX{norwegian-nynorsk}{% + \def\eqdeclaration##1{, se likning\nobreakspace(##1)}% + \def\pagedeclaration##1{, side\nobreakspace##1}% + \def\nomname{Nomenklatur}% + \def\nomAname{Romarske bokstavar}% + \def\nomGname{Greske bokstavar}% + \def\nomXname{Hevd skrift}% + \def\nomZname{Senka skrift}} \DeclareOptionX{polish}{% \def\eqdeclaration##1{, porownaj rownanie\nobreakspace(##1)}% \def\pagedeclaration##1{, strona\nobreakspace##1}% diff --git a/macros/latex/contrib/nomencl/nomencl.pdf b/macros/latex/contrib/nomencl/nomencl.pdf Binary files differindex c403d57b86..18775e89c1 100644 --- a/macros/latex/contrib/nomencl/nomencl.pdf +++ b/macros/latex/contrib/nomencl/nomencl.pdf diff --git a/macros/latex/contrib/nomencl/sample01.pdf b/macros/latex/contrib/nomencl/sample01.pdf Binary files differindex 1d366bbdbc..6e594d9f44 100644 --- a/macros/latex/contrib/nomencl/sample01.pdf +++ b/macros/latex/contrib/nomencl/sample01.pdf diff --git a/macros/latex/contrib/nomencl/sample02.pdf b/macros/latex/contrib/nomencl/sample02.pdf Binary files differindex 0326faed5a..376d7b49a5 100644 --- a/macros/latex/contrib/nomencl/sample02.pdf +++ b/macros/latex/contrib/nomencl/sample02.pdf diff --git a/macros/latex/contrib/nomencl/sample03.pdf b/macros/latex/contrib/nomencl/sample03.pdf Binary files differindex 2c3b85439a..96a0757132 100644 --- a/macros/latex/contrib/nomencl/sample03.pdf +++ b/macros/latex/contrib/nomencl/sample03.pdf diff --git a/macros/latex/contrib/nomencl/sample04.pdf b/macros/latex/contrib/nomencl/sample04.pdf Binary files differindex 0e73cb6cd5..ebe4f6f15c 100644 --- a/macros/latex/contrib/nomencl/sample04.pdf +++ b/macros/latex/contrib/nomencl/sample04.pdf diff --git a/macros/latex/contrib/nomencl/sample05.pdf b/macros/latex/contrib/nomencl/sample05.pdf Binary files differindex 5c6b306b82..463572254a 100644 --- a/macros/latex/contrib/nomencl/sample05.pdf +++ b/macros/latex/contrib/nomencl/sample05.pdf diff --git a/macros/luatex/generic/luatexja/README b/macros/luatex/generic/luatexja/README index 75afd2bdcb..382247cd44 100644 --- a/macros/luatex/generic/luatexja/README +++ b/macros/luatex/generic/luatexja/README @@ -1,4 +1,4 @@ -The LuaTeX-ja Package 20200227.0 +The LuaTeX-ja Package 20200301.0 -------------------------------- Copyright (c) 2011--2020 The LuaTeX-ja project License: modified BSD (see COPYING) @@ -43,9 +43,9 @@ Installation 2. If you must/want to install manually: a. Download the source archive from CTAN, - or tagged as 20200227.0 in the Git repository by + or tagged as 20200301.0 in the Git repository by <http://git.osdn.jp/view?p=luatex-ja/luatexja.git - ;a=snapshot;h=refs/tags/20200227.0;sf=tgz> + ;a=snapshot;h=refs/tags/20200301.0;sf=tgz> b. Extract the archive and process following three files by LuaLaTeX to generate classes for Japanese typesetting: @@ -93,4 +93,4 @@ Notes * src/*.{ins.dtx} and src/ltj-kinsoku_make.tex are not needed in regular use. -Last commit date: Thu Feb 27 18:45:53 2020 +0900 +Last commit date: Sun Mar 1 09:56:08 2020 +0900 diff --git a/macros/luatex/generic/luatexja/doc/luatexja-en.pdf b/macros/luatex/generic/luatexja/doc/luatexja-en.pdf Binary files differindex 9e049fda92..f4f37cabfb 100644 --- a/macros/luatex/generic/luatexja/doc/luatexja-en.pdf +++ b/macros/luatex/generic/luatexja/doc/luatexja-en.pdf diff --git a/macros/luatex/generic/luatexja/doc/luatexja-ja.pdf b/macros/luatex/generic/luatexja/doc/luatexja-ja.pdf Binary files differindex 0794623c32..0687d280bb 100644 --- a/macros/luatex/generic/luatexja/doc/luatexja-ja.pdf +++ b/macros/luatex/generic/luatexja/doc/luatexja-ja.pdf diff --git a/macros/luatex/generic/luatexja/src/luatexja.sty b/macros/luatex/generic/luatexja/src/luatexja.sty index 57a0a05c8d..e3f36d1e45 100644 --- a/macros/luatex/generic/luatexja/src/luatexja.sty +++ b/macros/luatex/generic/luatexja/src/luatexja.sty @@ -35,13 +35,13 @@ \expandafter\let\csname ifltj@in@latex\expandafter\endcsname \csname iftrue\endcsname \NeedsTeXFormat{LaTeX2e} - \ProvidesPackage{luatexja}[2020/01/27 Japanese Typesetting with Lua(La)TeX] + \ProvidesPackage{luatexja}[2020/03/01 Japanese Typesetting with Lua(La)TeX] \DeclareOption{disablejfam}{\ltj@disablejfamtrue} \DeclareOption*{} \ProcessOptions\relax \fi %</LaTeX> %%%% VERSION -\def\LuaTeXjaversion{20200227.0} +\def\LuaTeXjaversion{20200301.0} \directlua{require('ltj-unicode-ccfix.lua')}% catcode of ideographs diff --git a/macros/luatex/generic/luatexja/src/patches/lltjfont.sty b/macros/luatex/generic/luatexja/src/patches/lltjfont.sty index adc7f66edf..cfa8e2343a 100644 --- a/macros/luatex/generic/luatexja/src/patches/lltjfont.sty +++ b/macros/luatex/generic/luatexja/src/patches/lltjfont.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjfont}[2020/02/07 Patch to NFSS2 for LuaTeX-ja] +\ProvidesPackage{lltjfont}[2020/03/01 Patch to NFSS2 for LuaTeX-ja] %% patching \DeclareTextComposite \def\ltj@chardef@text@cmd#1{% @@ -568,14 +568,24 @@ \fi\fi } +\newcount\ltj@@latex@plv \ltj@@latex@plv=-1 \ifdefined\@rmfamilyhook %%%% LaTeX 2020-02-02 -\DeclareRobustCommand\romanseriesforce[1]{\edef\f@series{#1}} -\DeclareRobustCommand\kanjiseriesforce[1]{\edef\k@series{#1}} -\DeclareRobustCommand\fontseriesforce[1]{\kanjiseriesforce{#1}\romanseriesforce{#1}} -\DeclareRobustCommand\romanshapeforce[1]{\edef\f@shape{#1}} -\DeclareRobustCommand\kanjishapeforce[1]{\edef\k@shape{#1}} -\DeclareRobustCommand\fontshapeforce[1]{\kanjishapeforce{#1}\romanshapeforce{#1}} +\ifx\@forced@seriestrue\@undefined % 2020-02-02 pl0--2 + \@latex@error + {Please update LaTeX2e!^^J\space\space + At least LaTeX2e 2020-02-02 patch level 3 is required} + {LaTeX2e 2020-02-02 patch level 2 (and 4) has a bug.} +\else + \ltj@@latex@plv=300 + \unless\ifx\series@maybe@drop@one@m@x\@undefined % pl5 + develop + \ltj@@latex@plv=501 + \else + \unless\ifx\series@maybe@drop@one@m\@undefined % patch level 5 + \ltj@@latex@plv=500 + \fi + \fi +\fi \def\merge@kanji@series#1{% \expandafter\expandafter\expandafter @@ -584,10 +594,24 @@ {#1}% \@nil } -\def\set@target@series@kanji#1{% - \edef\k@series{#1}% - \edef\k@series{\expandafter\series@drop@one@m\k@series mm\series@drop@one@m}% -} + +\ifnum\ltj@@latex@plv>500 % pl5 + develop + \def\set@target@series@kanji#1{% + \edef\k@series{#1}% + \series@maybe@drop@one@m\k@series\k@series + } +\else\ifnum\ltj@@latex@plv>300 % pl5 + \def\set@target@series@kanji#1{% + \edef\k@series{#1}% + \expandafter\series@maybe@drop@one@m\expandafter{\k@series}\k@series + } +\else % pl 3, 4 + \def\set@target@series@kanji#1{% + \edef\k@series{#1}% + \edef\k@series{\expandafter\series@drop@one@m\k@series mm\series@drop@one@m}% + } +\fi\fi + \def\merge@kanji@series@#1#2#3\@nil{% \def\reserved@a{#3}% \ifx\reserved@a\@empty @@ -637,20 +661,39 @@ \fi \fi } -\DeclareRobustCommand\romanseries[1]{\merge@font@series{#1}} -\DeclareRobustCommand\kanjiseries[1]{\merge@kanji@series{#1}} -\DeclareRobustCommand\fontseries[1]{% - \merge@font@series{#1}\merge@kanji@series{#1}} +\ifnum\ltj@@latex@plv=300 % pl3, 4 + \DeclareRobustCommand\romanseries[1]{\merge@font@series{#1}} + \DeclareRobustCommand\kanjiseries[1]{\merge@kanji@series{#1}} + \DeclareRobustCommand\fontseries[1]{% + \merge@font@series{#1}\merge@kanji@series{#1}} + \DeclareRobustCommand\romanseriesforce[1]{\edef\f@series{#1}} + \DeclareRobustCommand\kanjiseriesforce[1]{\edef\k@series{#1}} + \DeclareRobustCommand\fontseriesforce[1]{% + \edef\f@series{#1}\edef\k@series{#1}} +\else % pl 5 + \DeclareRobustCommand\romanseries[1]{\@forced@seriesfalse\merge@font@series{#1}} + \DeclareRobustCommand\kanjiseries[1]{\@forced@seriesfalse\merge@kanji@series{#1}} + \DeclareRobustCommand\fontseries[1]{% + \@forced@seriesfalse\merge@font@series{#1}\merge@kanji@series{#1}} + \DeclareRobustCommand\romanseriesforce[1]{\@forced@seriestrue\merge@font@series{#1}} + \DeclareRobustCommand\kanjiseriesforce[1]{\@forced@seriestrue\merge@kanji@series{#1}} + \DeclareRobustCommand\fontseriesforce[1]{% + \@forced@seriestrue\merge@font@series{#1}\merge@kanji@series{#1}} +\fi \DeclareRobustCommand\romanshape[1]{\merge@font@shape{#1}} \DeclareRobustCommand\kanjishape[1]{\merge@kanji@shape{#1}} \DeclareRobustCommand\fontshape[1]{% \merge@font@shape{#1}\merge@kanji@shape{#1}} +\DeclareRobustCommand\romanshapeforce[1]{\edef\f@shape{#1}} +\DeclareRobustCommand\kanjishapeforce[1]{\edef\k@shape{#1}} +\DeclareRobustCommand\fontshapeforce[1]{\kanjishapeforce{#1}\romanshapeforce{#1}} \DeclareRobustCommand\usekanji[4]{% \kanjiencoding{#1}\edef\k@family{#2}\edef\k@series{#3}\edef\k@shape{#4}% \selectfont\ignorespaces} \DeclareRobustCommand\useroman[4]{% \romanencoding{#1}\edef\f@family{#2}\edef\f@series{#3}\edef\f@shape{#4}% \selectfont\ignorespaces} +%%%% LaTeX 2020-02-02 END \else %%%% LaTeX 2019-10-01 \DeclareRobustCommand\romanseries[1]{\edef\f@series{#1}} @@ -665,6 +708,7 @@ \DeclareRobustCommand\useroman[4]{% \romanencoding{#1}\romanfamily{#2}\romanseries{#3}\romanshape{#4}% \selectfont\ignorespaces} +%%%% LaTeX 2019-10-01 END \fi %%%% \protected\def\usefont#1#2#3#4{% @@ -682,54 +726,51 @@ %%%% LaTeX 2020-02-02 \let\prepare@family@series@update@kanji=\prepare@family@series@update \patchcmd\prepare@family@series@update{\fontfamily}{\romanfamily}{}{} +\patchcmd\prepare@family@series@update@kanji{\fontfamily}{\kanjifamily}{}{} \patchcmd\prepare@family@series@update@kanji{\update@series@target@value}{\update@series@target@value@kanji}{}{} +\patchcmd\prepare@family@series@update@kanji{\f@family}{\k@family}{}{} \patchcmd\prepare@family@series@update@kanji{\@meta@family@list}{\@meta@family@list@kanji}{}{} \patchcmd\prepare@family@series@update@kanji{\fontfamily}{\kanjifamily}{}{} \patchcmd\prepare@family@series@update@kanji{\maybe@load@fontshape} {\begingroup\let\f@encoding\k@encoding\let\f@family\k@family \maybe@load@fontshape\endgroup}{}{} \patchcmd\prepare@family@series@update@kanji{\f@series}{\k@series}{}{} +\patchcmd\prepare@family@series@update@kanji{\f@series}{\k@series}{}{} \let\update@series@target@value@kanji=\update@series@target@value \patchcmd\update@series@target@value@kanji{\f@family}{\k@family}{}{} \patchcmd\update@series@target@value@kanji{\f@series}{\k@series}{}{} - +\patchcmd\update@series@target@value@kanji{\f@series}{\k@series}{}{} +\patchcmd\update@series@target@value@kanji{\f@series}{\k@series}{}{} +\patchcmd\update@series@target@value@kanji{\f@series}{\k@series}{}{} \def\@meta@family@list@kanji{\@elt{mc}\@elt{gt}\@elt{jtt}} \DeclareRobustCommand\bfseries{% \not@math@alphabet\bfseries\mathbf \expand@font@defaults - \romanseries{% - \ifx\f@family\rmdef@ult \bfseries@rm - \else\ifx\f@family\sfdef@ult \bfseries@sf - \else\ifx\f@family\ttdef@ult \bfseries@tt - \else \bfdefault - \fi\fi\fi - }% - \kanjiseries{% - \ifx\k@family\mcdef@ult \bfseries@mc - \else\ifx\k@family\gtdef@ult \bfseries@gt - \else\ifx\k@family\jttdef@ult\bfseries@jtt - \else \bfdefault - \fi\fi\fi - }% + \ifx\f@family\rmdef@ult \romanseries\bfseries@rm + \else\ifx\f@family\sfdef@ult \romanseries\bfseries@sf + \else\ifx\f@family\ttdef@ult \romanseries\bfseries@tt + \else \romanseries\bfdefault + \fi\fi\fi + \ifx\k@family\mcdef@ult \kanjiseries\bfseries@mc + \else\ifx\k@family\gtdef@ult \kanjiseries\bfseries@gt + \else\ifx\k@family\jttdef@ult\kanjiseries\bfseries@jtt + \else \kanjiseries\bfdefault + \fi\fi\fi \selectfont } \DeclareRobustCommand\mdseries{% \not@math@alphabet\mdseries\relax \expand@font@defaults - \romanseries{% - \ifx\f@family\rmdef@ult \mdseries@rm - \else\ifx\f@family\sfdef@ult \mdseries@sf - \else\ifx\f@family\ttdef@ult \mdseries@tt - \else \mddefault - \fi\fi\fi - }% - \kanjiseries{% - \ifx\k@family\mcdef@ult \mdseries@mc - \else\ifx\k@family\gtdef@ult \mdseries@gt - \else\ifx\k@family\jttdef@ult\mdseries@jtt - \else \mddefault - \fi\fi\fi - }% + \ifx\f@family\rmdef@ult \romanseries\mdseries@rm + \else\ifx\f@family\sfdef@ult \romanseries\mdseries@sf + \else\ifx\f@family\ttdef@ult \romanseries\mdseries@tt + \else \romanseries\mddefault + \fi\fi\fi + \ifx\k@family\mcdef@ult \kanjiseries\mdseries@mc + \else\ifx\k@family\gtdef@ult \kanjiseries\mdseries@gt + \else\ifx\k@family\jttdef@ult\kanjiseries\mdseries@jtt + \else \kanjiseries\mddefault + \fi\fi\fi \selectfont } \appto\expand@font@defaults{% @@ -881,7 +922,7 @@ \aftergroup\subst@correction } \def\do@subst@correction{% - \ltj@@IsFontJapanese{\curr@fontshape}\ifin@% + \directlua{luatexja.jfont.is_kenc('\luatexluaescapestring{\f@encoding}')}\ifin@% \ltj@@ja@do@subst@correction \else \ltj@@al@do@subst@correction |