diff options
author | Karl Berry <karl@freefriends.org> | 2017-09-02 21:29:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-09-02 21:29:34 +0000 |
commit | 3f0ceaeacd64e41061098550d58e1a3a1136106c (patch) | |
tree | bb2346e991de340042ea039252a9f49fb8605cec /Master/texmf-dist/doc/generic | |
parent | 8bb988caff5ba16ae85c099f02fb445cca66c3f2 (diff) |
upzhkinsoku (2sep17)
git-svn-id: svn://tug.org/texlive/trunk@45193 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r-- | Master/texmf-dist/doc/generic/upzhkinsoku/README.txt | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.pdf | bin | 0 -> 203515 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.tex | 82 |
3 files changed, 99 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/upzhkinsoku/README.txt b/Master/texmf-dist/doc/generic/upzhkinsoku/README.txt new file mode 100644 index 00000000000..f50ea10413e --- /dev/null +++ b/Master/texmf-dist/doc/generic/upzhkinsoku/README.txt @@ -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-09-02 v0.2 + +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. diff --git a/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.pdf b/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.pdf Binary files differnew file mode 100644 index 00000000000..141a54f995e --- /dev/null +++ b/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.pdf diff --git a/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.tex b/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.tex new file mode 100644 index 00000000000..6296b86a581 --- /dev/null +++ b/Master/texmf-dist/doc/generic/upzhkinsoku/upzhkinsoku-doc.tex @@ -0,0 +1,82 @@ + + +% upzhkinsoku-doc.tex + +% !TeX encoding = UTF-8 +% !TeX program = pdfLaTeX + +\RequirePackage{fix-cm} + +\documentclass[a4paper]{article} + +\usepackage[OT1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[UKenglish]{babel} +\usepackage[babel]{microtype} +\usepackage{etoolbox} + +\AtBeginEnvironment{verbatim}{\microtypesetup{activate=false}} + +\newcommand\NormalSans{\normalfont\sffamily} +\newcommand\pkg[1]{{\protect\NormalSans#1}} + +\newcommand\pTeX{p\kern-0.15em\TeX} +\newcommand\e{\ensuremath{\varepsilon}} +\newcommand\upTeX{u\pTeX} +\newcommand\ApTeX{A\kern-0.1em\pTeX} + +\newcommand\kn{test} +\newcommand\sk{test} + +\font\kn=ipxm-r-u79 at 9.62216pt +\font\sk=ipxm-r-u52 at 9.62216pt + +\begin{document} + +\title{The \pkg{upzhkinsoku} package% + \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-02\quad v0.2} + +\maketitle + +\begin{abstract} +This package provides supplementary Chinese kinsoku (line breaking rules etc.) +settings for Unicode (\e-)\upTeX\footnote{(\e-)\upTeX\ when using Unicode as its +internal encoding.} and \ApTeX. +\end{abstract} + +\section{Introduction} + +\textit{Kinsoku} is the romanisation of the Japanese word ``{\kn\char"81\relax +\sk\char"47}'' which means ``prohibition rules''. It is a set of rules to avoid +prohibited line breaks in CJK typography, such as ``line-start prohibition +rules'', ``line-end prohibition rules'', inseparable or unbreakable character +sequences and so on.\footnote{\textit{Requirements for Japanese Text Layout}: +\texttt{https://www.w3.org/TR/jlreq/}} + +(\e-)\upTeX\ and \ApTeX's default kinsoku parameters are set in +\verb|ukinsoku.tex|. However, the default settings do not satisfy Chinese +typesetting,\footnote{\textit{Requirements for Chinese Text Layout}: +\texttt{https://www.w3.org/TR/clreq/}} thus this package provides supplementary +Chinese kinsoku settings for Unicode (\e-)\upTeX\ and \ApTeX. + +Please note that this package is specifically optimised for Chinese typesetting, +so it is usually not suitable for document whose main language is not Chinese. + +\section{Usage} + +This package has no options, just load it as usual: +\begin{itemize} +\item \LaTeX: \verb|\usepackage{upzhkinsoku}| +\item Plain \TeX: \verb|\input upzhkinsoku.sty| +\end{itemize} +If you are using \LaTeX\ and would like to change some kinsoku parameters (this +is usually unnecessary, however), please do that after \verb|\begin{document}|, +or via \verb|\AtBeginDocument| after loading this package; otherwise they may be +overridden.\footnote{For technical reasons, the actual execution of this package +is delayed to \texttt{\char"5C begin\char"7B document\char"7D}, also via +\texttt{\char"5C AtBeginDocument}.} + +\end{document} |