texlive[46154] Master/texmf-dist: upzhkinsoku (27dec17)

commits+karl at tug.org commits+karl at tug.org
Thu Dec 28 01:26:52 CET 2017


Revision: 46154
          http://tug.org/svn/texlive?view=revision&revision=46154
Author:   karl
Date:     2017-12-28 01:26:52 +0100 (Thu, 28 Dec 2017)
Log Message:
-----------
upzhkinsoku (27dec17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.pdf
    trunk/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.tex
    trunk/Master/texmf-dist/tex/generic/upzhkinsoku/upzhkinsoku.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README.txt

Added: trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README	2017-12-28 00:26:52 UTC (rev 46154)
@@ -0,0 +1,17 @@
+
+
+The upzhkinsoku package --- Supplementary Chinese kinsoku for Unicode *pTeX
+
+CTAN Homepage: https://ctan.org/pkg/upzhkinsoku
+
+Repository: https://github.com/Man-Ting-Fang/upzhkinsoku
+
+Version: 2017-12-27 v0.3
+
+Copyright 2017 Yue ZHANG
+
+License: Knuth License (https://ctan.org/license/knuth)
+
+This package provides supplementary Chinese kinsoku (line breaking rules etc.)
+settings for Unicode (e-)upTeX ((e-)upTeX when using Unicode as its internal
+encoding) and ApTeX. Both LaTeX and plain TeX are supported.


Property changes on: trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README.txt	2017-12-28 00:26:34 UTC (rev 46153)
+++ trunk/Master/texmf-dist/doc/generic/upzhkinsoku/README.txt	2017-12-28 00:26:52 UTC (rev 46154)
@@ -1,17 +0,0 @@
-
-
-The upzhkinsoku package --- Supplementary Chinese kinsoku for Unicode *pTeX
-
-CTAN Homepage: https://ctan.org/pkg/upzhkinsoku
-
-Repository: https://github.com/Man-Ting-Fang/upzhkinsoku
-
-Version: 2017-09-04 v0.2a
-
-Copyright 2017 Yue ZHANG
-
-License: Knuth License (https://ctan.org/license/knuth)
-
-This package provides supplementary Chinese kinsoku (line breaking rules etc.)
-settings for Unicode (e-)upTeX ((e-)upTeX when using Unicode as its internal
-encoding) and ApTeX. Both LaTeX and plain TeX are supported.

Modified: trunk/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.tex	2017-12-28 00:26:34 UTC (rev 46153)
+++ trunk/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.tex	2017-12-28 00:26:52 UTC (rev 46154)
@@ -37,7 +37,7 @@
   \thanks{CTAN Homepage: \texttt{https://ctan.org/pkg/upzhkinsoku}}
   \thanks{Repository: \texttt{https://github.com/Man-Ting-Fang/upzhkinsoku}}}
 \author{Yue \textsc{Zhang}}
-\date{2017-09-04\quad v0.2a}
+\date{2017-12-27\quad v0.3}
 
 \maketitle
 

Modified: trunk/Master/texmf-dist/tex/generic/upzhkinsoku/upzhkinsoku.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/upzhkinsoku/upzhkinsoku.sty	2017-12-28 00:26:34 UTC (rev 46153)
+++ trunk/Master/texmf-dist/tex/generic/upzhkinsoku/upzhkinsoku.sty	2017-12-28 00:26:52 UTC (rev 46154)
@@ -11,7 +11,7 @@
 \begingroup\expandafter\expandafter\expandafter\endgroup
   \expandafter\ifx\csname ProvidesPackage\endcsname\relax
   \else
-    \ProvidesPackage{upzhkinsoku}[2017/09/04 v0.2a
+    \ProvidesPackage{upzhkinsoku}[2017/12/27 v0.3
       Supplementary Chinese kinsoku for Unicode *pTeX]%
   \fi
 
@@ -43,55 +43,55 @@
 \fi
 
 \def\upzhkinsoku at setpenalties{%
-  \postbreakpenalty`\#=10000\relax % U+0023
-  \postbreakpenalty"24=10000\relax % U+0024 ($; variable slot)
-  \prebreakpenalty`\%=10000\relax  % U+0025
-  \prebreakpenalty`\&=10000\relax  % U+0026
-  \prebreakpenalty`\*=10000\relax  % U+002A
-  \prebreakpenalty"2B=10000\relax  % U+002B (+; \+ is \outer in plain.tex)
-  \prebreakpenalty`\/=10000\relax  % U+002F
-  \prebreakpenalty`\==10000\relax  % U+003D
-  \postbreakpenalty`\@=10000\relax % U+0040
-  \prebreakpenalty`\^=10000\relax  % U+005E
-  \prebreakpenalty`\~=10000\relax  % U+007E
-  \postbreakpenalty`〚=10000\relax % U+301A
-  \prebreakpenalty`〛=10000\relax  % U+301B
-  \prebreakpenalty"B7=10000\relax  % U+00B7 (·; variable slot)
-  \prebreakpenalty`•=10000\relax   % U+2022
-  \prebreakpenalty`‧=10000\relax  % U+2027
-  \prebreakpenalty`‐=10000\relax   % U+2010
-  \prebreakpenalty`–=10000\relax   % U+2013
-  \prebreakpenalty`-=10000\relax  % U+FF0D
-  \prebreakpenalty`…=0\relax       % U+2026
-  \prebreakpenalty`‥=0\relax      % U+2025
-  \prebreakpenalty`/=10000\relax  % U+FF0F
-  \prebreakpenalty`~=10000\relax  % U+FF5E
+  \postbreakpenalty"23=10000\relax % #
+  \postbreakpenalty"24=10000\relax % $ (variable slot)
+  \prebreakpenalty"25=10000\relax  % %
+  \prebreakpenalty"26=10000\relax  % &
+  \prebreakpenalty"2A=10000\relax  % *
+  \prebreakpenalty"2B=10000\relax  % + (\+ is \outer in plain.tex)
+  \prebreakpenalty"2F=10000\relax  % /
+  \prebreakpenalty"3D=10000\relax  % =
+  \postbreakpenalty"40=10000\relax % @
+  \prebreakpenalty"5E=10000\relax  % ^
+  \prebreakpenalty"7E=10000\relax  % ~
+  \postbreakpenalty\ucs"301A=10000\relax % 〚
+  \prebreakpenalty\ucs"301B=10000\relax  % 〛
+  \prebreakpenalty"B7=10000\relax  % · (variable slot)
+  \prebreakpenalty\ucs"2022=10000\relax  % •
+  \prebreakpenalty\ucs"2027=10000\relax  % ‧
+  \prebreakpenalty\ucs"2010=10000\relax  % ‐
+  \prebreakpenalty\ucs"2013=10000\relax  % –
+  \prebreakpenalty\ucs"FF0D=10000\relax  % -
+  \prebreakpenalty\ucs"2026=0\relax      % …
+  \prebreakpenalty\ucs"2025=0\relax      % ‥
+  \prebreakpenalty\ucs"FF0F=10000\relax  % /
+  \prebreakpenalty\ucs"FF5E=10000\relax  % ~
 }
 \def\upzhkinsoku at setxspcodes{%
-  \xspcode`\!=2\relax % U+0021
-  \xspcode`\#=1\relax % U+0023
-  \xspcode"24=1\relax % U+0024 ($; variable slot)
-  \xspcode`\%=2\relax % U+0025
-  \xspcode`\&=3\relax % U+0026
-  \xspcode`\:=2\relax % U+003A
-  \xspcode`\?=2\relax % U+003F
-  \xspcode`\@=1\relax % U+0040
+  \xspcode"21=2\relax % !
+  \xspcode"23=1\relax % #
+  \xspcode"24=1\relax % $ (variable slot)
+  \xspcode"25=2\relax % %
+  \xspcode"26=3\relax % &
+  \xspcode"3A=2\relax % :
+  \xspcode"3F=2\relax % ?
+  \xspcode"40=1\relax % @
 }
 \def\upzhkinsoku at setinhibitxspcodes{%
-  \inhibitxspcode`〚=2\relax % U+301A
-  \inhibitxspcode`〛=1\relax % U+301B
-  \inhibitxspcode"B7=0\relax % U+00B7 (·; variable slot)
-  \inhibitxspcode`•=0\relax  % U+2022
-  \inhibitxspcode`‧=0\relax % U+2027
-  \inhibitxspcode`・=0\relax % U+30FB
-  \inhibitxspcode`:=1\relax % U+FF1A
-  \inhibitxspcode`!=1\relax % U+FF01
-  \inhibitxspcode`‐=0\relax  % U+2010
-  \inhibitxspcode`–=0\relax  % U+2013
-  \inhibitxspcode`⸺=0\relax  % U+2E3A
-  \inhibitxspcode`-=0\relax % U+FF0D
-  \inhibitxspcode`‥=0\relax % U+2025
-  \inhibitxspcode`/=0\relax % U+FF0F
+  \inhibitxspcode\ucs"301A=2\relax % 〚
+  \inhibitxspcode\ucs"301B=1\relax % 〛
+  \inhibitxspcode"B7=0\relax % · (variable slot)
+  \inhibitxspcode\ucs"2022=0\relax % •
+  \inhibitxspcode\ucs"2027=0\relax % ‧
+  \inhibitxspcode\ucs"30FB=0\relax % ・
+  \inhibitxspcode\ucs"FF1A=1\relax % :
+  \inhibitxspcode\ucs"FF01=1\relax % !
+  \inhibitxspcode\ucs"2010=0\relax % ‐
+  \inhibitxspcode\ucs"2013=0\relax % –
+  \inhibitxspcode\ucs"2E3A=0\relax % ⸺
+  \inhibitxspcode\ucs"FF0D=0\relax % -
+  \inhibitxspcode\ucs"2025=0\relax % ‥
+  \inhibitxspcode\ucs"FF0F=0\relax % /
 }
 
 \def\upzhkinsoku at setwith@ascii{% variable slots
@@ -128,17 +128,17 @@
 \def\DisableOTLatinVariableSlotsKinsoku{\upzhkinsoku at setwith@ascii}
 \def\EnableOTLatinVariableSlotsKinsoku{\upzhkinsoku at setwith@otlatin}
 
-\upzhkinsoku at ifprimitive\input
-  \def\upzhkinsoku at input#1{\input#1\relax}%
-\else
-  \def\upzhkinsoku at input#1{\input{#1}}%
-\fi
+%\upzhkinsoku at ifprimitive\input
+%  \def\upzhkinsoku at input#1{\input#1\relax}%
+%\else
+%  \def\upzhkinsoku at input#1{\input{#1}}%
+%\fi
 
-\edef\upzhkinsoku at otone{OT1}
-\edef\upzhkinsoku at otfour{OT4}
+\def\upzhkinsoku at otone{OT1}
+\def\upzhkinsoku at otfour{OT4}
 
 \def\setupzhkinsokuwith#1{%
-  \upzhkinsoku at input{ukinsoku.tex}%
+%  \upzhkinsoku at input{ukinsoku.tex}%
   \upzhkinsoku at setpenalties
   \upzhkinsoku at setxspcodes
   \upzhkinsoku at setinhibitxspcodes



More information about the tex-live-commits mailing list