Skip to content

Commit

Permalink
Merge branch 'jotf-uptex-0.22'
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Dec 8, 2018
2 parents 98d5538 + 43503a9 commit 86cd2fa
Show file tree
Hide file tree
Showing 94 changed files with 68 additions and 34 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ hiraprop は Makefile のインストール対象に含めていません(準

### japanese-otf-uptex

- Obtain and extract `http://www.t-lab.opal.ne.jp/tex/otfbeta-uptex-0.21.tar.xz`
- Obtain and extract `https://github.com/t-tk/japanese-otf-uptex/releases/tag/v0.22`
- `make` (at top directory)
- Add `README` (almost same as `00otf-uptex.txt`)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This bundle is an unofficial mirror of the followings:
- japanese-otf-uptex
(upLaTeX support of japanese-otf by Takuji Tanaka)
- upstream: http://www.t-lab.opal.ne.jp/tex/uptex_en.html
- currently otfbeta-uptex Ver.0.21 (2018/05/13)
- currently japanese-otf-uptex Ver.0.22 (2018/12/08)
- hiraprop
(LaTeX and TFM/VF support for Hiragino Proportional Alphabet)
- upstream: http://psitau.kitunebi.com/experiment.html
Expand Down
42 changes: 37 additions & 5 deletions japanese-otf-uptex/00otf-uptex.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[ Title ]
otfbeta-uptex (japanese-otf-uptex) Ver.0.21 2018/05/13
japanese-otf-uptex Ver.0.22 2018/12/08


[ Abstract ]
This is a package for upLaTeX support of
This package provides upLaTeX support of
japanese-otf package "otfbeta (v1.7b7 2018/02/01)" by psitau-san
( http://psitau.kitunebi.com/otf.html )
It requires upTeX-0.20 or later.


[ Contents ]
Expand Down Expand Up @@ -47,6 +46,20 @@ COPYRIGHT : copyright notice of this package.
Beta version.


[ To Build ]
## From source files
The source distribution of japanese-otf-uptex does not contain tfm, vf files.
To ganerate them, uppltotf and ovp2ovf (TeX Live r43143 or later) are required and
we run scripts as follows:
$ ./umakeotf
$ ./umakeotf_brsg
$ ./umakeotf_jis04
$ ./umakeotf_prop

## CTAN distribution
The CTAN distribution contains tfm, vf files.


[ About jis2004 option ]
otfbeta-uptex (japanese-otf-uptex) Ver.0.12 or later supports
combination of "jis2004" and "uplatex" option.
Expand All @@ -71,6 +84,11 @@ proportional kana at deluxe option and \propshape.
To build tfm files, uppltotf in TeX Live r43143 or TeX Live 2017 or later is required.


[ Repository ]
japanese-otf-uptex is maintained on GitHub:
https://github.com/t-tk/japanese-otf-uptex


[ History ]
2007.12.09 Ver0.00
Initial version.
Expand Down Expand Up @@ -311,7 +329,7 @@ To build tfm files, uppltotf in TeX Live r43143 or TeX Live 2017 or later is req
Update references:
Adobe-CNS1-7 cid2code.txt (Version 10/24/2017), and
Adobe-Japan1-6 cid2code.txt (Version 10/24/2017).
script/CheckDVICode.pm, basepl/u{base,brsg}-{h,v}.pl ::
script/CheckDVICode.pm, script/umk{,v}pkana.pl, basepl/u{base,brsg}-{h,v}.pl ::
Add U+00B7 to char_type 3.
COPYRIGHT ::
Update year.
Expand All @@ -334,4 +352,18 @@ To build tfm files, uppltotf in TeX Live r43143 or TeX Live 2017 or later is req
Remove feature 'switch'
test/uplatex/{exclam,upkanatest1}.tex, test/uplatex/Makefile ::
Add a new test for punctuations and halfwidth katakana.

2018.12.08 Ver0.22
## Thank @aminophen san, 柳田 Ryo san and @Man-Ting-Fan san for many contributions.
sty/otf.sty, sty/mlutf.sty ::
Increment version number.
script/CheckDVICode.pm ::
Bug fix on U+3090..3093.
script/mkutf32list.pl ::
Replace encoding pragma to binmode.
script/mktfm_sp.pl, script/mkutfvf_sp.pl ::
Apply FindBin module.
script/mkutf32list.pl, script/sp_list_j.txt, test/uplatex/sp_jp_{utf,text}.tex ::
Update references:
Adobe-Japan1-7 cid2code.txt (Version 07/30/2018).
test/uplatex/paren0.tex ::
Fix typo.
11 changes: 5 additions & 6 deletions japanese-otf-uptex/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ README

From 00otf-uptex.txt:
[ Title ]
otfbeta-uptex (japanese-otf-uptex) Ver.0.21 2018/05/13
japanese-otf-uptex Ver.0.22 2018/12/08


[ Abstract ]
This is a package for upLaTeX support of
This package provides upLaTeX support of
japanese-otf package "otfbeta (v1.7b7 2018/02/01)" by psitau-san
( http://psitau.kitunebi.com/otf.html )
It requires upTeX-0.20 or later.

--------------------

Expand All @@ -21,13 +20,13 @@ Ref. http://opensource.org/licenses/BSD-3-Clause
--------------------

The original source has been downloaded from
http://www.t-lab.opal.ne.jp/tex/uptex_en.html
https://github.com/t-tk/japanese-otf-uptex
as
http://www.t-lab.opal.ne.jp/tex/otfbeta-uptex-0.21.tar.xz
https://github.com/t-tk/japanese-otf-uptex/releases/tag/v0.22

After that the scripts run and the generated tfm and vf files included.

Norbert Preining <preining@logic.at>
TANAKA Takuji <ttk@t-lab.opal.ne.jp>
2018-05-13
2018-12-08

6 changes: 3 additions & 3 deletions japanese-otf-uptex/README.nonfree
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package name: otfbeta-uptex-nonfree or japanese-otf-uptex-nonfree
package name: japanese-otf-uptex-nonfree

This package is a companion to `japanese-otf-uptex' including
support for nonfree Hiragino fonts, which we decided not to be
included in TeX Live. Current version of this package used is
based on
otfbeta-uptex Ver.0.21 2018/05/13
japanese-otf-uptex Ver.0.22 2018/12/08

The contents of this package is under the license given in the
The contents of this package is under the license given in the
COPYRIGHT file, which is more or less BSD license.

Norbert Preining
Expand Down
3 changes: 1 addition & 2 deletions japanese-otf-uptex/script/CheckDVICode.pm
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ sub is_ucs_kigo{
return 1 if ($dvicode>=0x201C && $dvicode<=0x201D);
return 1 if ($dvicode>=0x2329 && $dvicode<=0x232A);
return 1 if ($dvicode>=0x3001 && $dvicode<=0x301F);
return 1 if ($dvicode>=0x3090 && $dvicode<=0x3093);
return 1 if ($dvicode>=0x3097 && $dvicode<=0x309F);
return 1 if ($dvicode>=0x30FB && $dvicode<=0x30FE);
return 1 if ($dvicode>=0xFF08 && $dvicode<=0xFF60);
Expand All @@ -191,7 +190,7 @@ sub is_ucs_kigo{
}

sub is_ucs_hira{
return 1 if ($dvicode>=0x3041 && $dvicode<=0x308F);
return 1 if ($dvicode>=0x3041 && $dvicode<=0x3093);
return 1 if ($dvicode>=0x3094 && $dvicode<=0x3096); # Vu, small Ka, small Ke
return 0;
}
Expand Down
4 changes: 3 additions & 1 deletion japanese-otf-uptex/script/mktfm_sp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ =head1 NOTE
=cut

use script::MakeSPList;
use FindBin;
use lib "$FindBin::Bin";
use MakeSPList;

$multi=3;
@tex_tfm_h=(0x00, 0x0B, 0x00, 0x01, 0x00, 0x2B, 0x00, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0x00, 0x00, 0x0E, 0x54, 0x45, 0x58, 0x20, 0x4B, 0x41, 0x4E, 0x4A, 0x49, 0x20, 0x54, 0x45, 0x58, 0x54, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x4F, 0x54, 0x46, 0x20, 0x4B, 0x41, 0x4E, 0x4A, 0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0E, 0x14, 0x7B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xEB, 0x85, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x99, 0x9A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x33, 0x33, 0x00, 0x02, 0x00, 0x00);
Expand Down
6 changes: 3 additions & 3 deletions japanese-otf-uptex/script/mkutf32list.pl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ =head1 NOTE
=cut

use strict;
use encoding 'utf8';
binmode(STDOUT, ":utf8");

our ($style, $allrange);
our (@count, %reset_ch, $icollec, $cid2code, $line);
Expand Down Expand Up @@ -62,9 +62,9 @@ BEGIN
$utfmac="UTFK"; $cmap="UniKS-UTF32";
$source="Adobe-Korea1-2/cid2code.txt"; }
else {
@cid_max = qw/-1 8283 8358 8719 9353 15443 20316 23057/;
@cid_max = qw/-1 8283 8358 8719 9353 15443 20316 23057 23059/;
$utfmac="UTF"; $cmap="UniJIS-UTF32";
$source="Adobe-Japan1-6/cid2code.txt"; }
$source="Adobe-Japan1-7/cid2code.txt"; }
}

next if (/^#/);
Expand Down
4 changes: 3 additions & 1 deletion japanese-otf-uptex/script/mkutfvf_sp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ =head1 NOTE
=cut

use script::MakeSPList;
use FindBin;
use lib "$FindBin::Bin";
use MakeSPList;

if (!defined($ovp2ovf)) { ## check option '-ovp2ovf=????'
$ovp2ovf = defined($ENV{'OVP2OVF'}) ? $ENV{'OVP2OVF'} : 'ovp2ovf';
Expand Down
6 changes: 3 additions & 3 deletions japanese-otf-uptex/script/sp_list_j.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%
% This file is generated from the data of UniJIS-UTF32
% in cid2code.txt (Version 10/24/2017)
% for Adobe-Japan1-6
% in cid2code.txt (Version 07/30/2018)
% for Adobe-Japan1-7
%
% Reference:
% https://github.com/adobe-type-tools/cmap-resources/
% Adobe-Japan1-6/cid2code.txt
% Adobe-Japan1-7/cid2code.txt
%
% A newer CMap may be required for some code points.
%
Expand Down
2 changes: 1 addition & 1 deletion japanese-otf-uptex/sty/mlutf.sty
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{mlutf}[2004/04/17 v1.1.2 psitau, u0.21 ttk]
\ProvidesPackage{mlutf}[2004/04/17 v1.1.2 psitau, u0.22 ttk]
%force catcode of \" be 12
\count@\catcode`\"
\catcode`\"=12
Expand Down
2 changes: 1 addition & 1 deletion japanese-otf-uptex/sty/otf.sty
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{otf}[2018/02/01 v1.7b7 psitau, u0.21 ttk]
\ProvidesPackage{otf}[2018/02/01 v1.7b7 psitau, u0.22 ttk]
\RequirePackage{keyval}
%for processing options
\newif\if@kana \@kanafalse
Expand Down
6 changes: 3 additions & 3 deletions japanese-otf-uptex/test/uplatex/sp_jp_text.tex
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%
% This file is generated from the data of UniJIS-UTF32
% in cid2code.txt (Version 10/24/2017)
% for Adobe-Japan1-6
% in cid2code.txt (Version 07/30/2018)
% for Adobe-Japan1-7
%
% Reference:
% https://github.com/adobe-type-tools/cmap-resources/
% Adobe-Japan1-6/cid2code.txt
% Adobe-Japan1-7/cid2code.txt
%
% A newer CMap may be required for some code points.
%
Expand Down
6 changes: 3 additions & 3 deletions japanese-otf-uptex/test/uplatex/sp_jp_utf.tex
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%
% This file is generated from the data of UniJIS-UTF32
% in cid2code.txt (Version 10/24/2017)
% for Adobe-Japan1-6
% in cid2code.txt (Version 07/30/2018)
% for Adobe-Japan1-7
%
% Reference:
% https://github.com/adobe-type-tools/cmap-resources/
% Adobe-Japan1-6/cid2code.txt
% Adobe-Japan1-7/cid2code.txt
%
% A newer CMap may be required for some code points.
%
Expand Down
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothbn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothbn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgotheb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgotheb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothebn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothebn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothr-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothrn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpgothrn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpmgothr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpmgothr-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpmgothrn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpmgothrn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminbn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminbn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminl-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminl-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminln-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminln-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminr-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminrn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upbrsgexpminrn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothbn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothbn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgotheb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgotheb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothebn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothebn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothr-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothrn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpgothrn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpmgothr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpmgothr-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpmgothrn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpmgothrn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminbn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminbn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminl-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminl-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminln-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminln-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminr-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminrn-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upexpminrn-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphirakakuw3-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphirakakuw3-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphirakakuw6-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphirakakuw6-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphiramaruw4-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphiramaruw4-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphiraminw3-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphiraminw3-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphiraminw6-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/upphiraminw6-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubygothb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubygothb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubygotheb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubygotheb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubygothr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubygothr-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubymgothr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubymgothr-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubyminb-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubyminb-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubyminl-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubyminl-v.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubyminr-h.vf
Binary file not shown.
Binary file modified japanese-otf-uptex/vf/uprubyminr-v.vf
Binary file not shown.

0 comments on commit 86cd2fa

Please sign in to comment.