texlive[51712] Master/texmf-dist: unicode-alphabets (23jul19)

commits+karl at tug.org commits+karl at tug.org
Tue Jul 23 22:58:41 CEST 2019


Revision: 51712
          http://tug.org/svn/texlive?view=revision&revision=51712
Author:   karl
Date:     2019-07-23 22:58:40 +0200 (Tue, 23 Jul 2019)
Log Message:
-----------
unicode-alphabets (23jul19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/unicode-alphabets/README.md
    trunk/Master/texmf-dist/doc/latex/unicode-alphabets/specimen.pdf
    trunk/Master/texmf-dist/doc/latex/unicode-alphabets/specimen.tex
    trunk/Master/texmf-dist/doc/latex/unicode-alphabets/unicode-alphabets.pdf
    trunk/Master/texmf-dist/tex/latex/unicode-alphabets/unicode-alphabets.sty

Modified: trunk/Master/texmf-dist/doc/latex/unicode-alphabets/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unicode-alphabets/README.md	2019-07-23 20:58:24 UTC (rev 51711)
+++ trunk/Master/texmf-dist/doc/latex/unicode-alphabets/README.md	2019-07-23 20:58:40 UTC (rev 51712)
@@ -7,7 +7,7 @@
 
 See [specimen.pdf](docs/specimen.pdf) for examples.
 
-Contents last updated 2017-07-19.
+Contents last updated 2019-07-23.
 
 Package available via CTAN at https://www.ctan.org/pkg/unicode-alphabets
 

Modified: trunk/Master/texmf-dist/doc/latex/unicode-alphabets/specimen.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/unicode-alphabets/specimen.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unicode-alphabets/specimen.tex	2019-07-23 20:58:24 UTC (rev 51711)
+++ trunk/Master/texmf-dist/doc/latex/unicode-alphabets/specimen.tex	2019-07-23 20:58:40 UTC (rev 51712)
@@ -52,7 +52,6 @@
 	}%
 }
 
-\newif\ifspec at has@entity
 \specset{
 	character set/.code={
 		\csedef{spec at charset}{#1}%
@@ -59,30 +58,28 @@
 		\caselower[q]{\spec at charset}%
 		\csedef{spec at code}{\thestring}%
 		\csedef{spec at csvfile}{unicode-alphabets.\spec at code.csv}%
-		\csedef{spec at font}{\csname\spec at code font\endcsname}%
 	},
 	font url/.store in=\spec at font@url,
-	has entity/.is if=spec at has@entity,
 }
 
 \newcommand\specimen[1]{%
-	\specset{has entity=false,#1}%
+	\specset{#1}%
 	\chapter*{\spec at charset}
 	\addcontentsline{toc}{chapter}{\spec at charset}
 
-	Using the font \spec at showfont{\spec at font} from \url{\spec at font@url}.
+	Using the font \spec at showfont{\csuse{alph at font@\spec at code}} from \url{\spec at font@url}.
 
 	\begingroup
-	\def\mytablerow{\texttt{\csvcoli} & \csuse{\csuse{spec at code}}{\csvcoli} & \ifspec at has@entity\csvcolii &\fi \csvcoliii}
-	\ifspec at has@entity
-		\def\spec at columns{r @{ } c @{ } l @{ } X}
-	\else
-		\def\spec at columns{r @{ } c @{ } X}
-	\fi
+	\def\mytablerow{\texttt{\csvcoli} & \csuse{\csuse{spec at code}}{\csvcoli} & \ifbool{alph@\spec at code @has at entities}{\csvcolii & \csvcoliii}{\csvcolii}}
+	\ifbool{alph@\spec at code @has at entities}{%
+		\def\spec at columns{r @{ } c @{ } l @{ } X}%
+	}{%
+		\def\spec at columns{r @{ } c @{ } X}%
+	}%
 	\expanded{\unexpanded{\begin{xltabular}{\linewidth}}{\spec at columns}}
 	\toprule
-	& Code & \ifspec at has@entity&\fi \hfill \spec at charset\\
-	Glyph & Point & \ifspec at has@entity Entity Name &\fi Unicode Name\\
+	Code & & \ifbool{alph@\spec at code @has at entities}{&}{} \hfill \spec at charset\\
+	Point & Glyph & \ifbool{alph@\spec at code @has at entities}{ Entity Name &}{} Unicode Name\\
 	\midrule
 	\endhead
 	\bottomrule
@@ -107,7 +104,6 @@
 \specimen{
 	character set=MUFI,
 	font url=http://mufi.info/,
-	has entity=true,
 }
 
 \specimen{
@@ -125,7 +121,6 @@
 \specimen{
 	character set=UNZ,
 	font url=http://www.ligafaktur.de/,
-	has entity=true,
 }
 \catcode`\_=8
 \endgroup

Modified: trunk/Master/texmf-dist/doc/latex/unicode-alphabets/unicode-alphabets.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/unicode-alphabets/unicode-alphabets.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/unicode-alphabets/unicode-alphabets.sty	2019-07-23 20:58:24 UTC (rev 51711)
+++ trunk/Master/texmf-dist/tex/latex/unicode-alphabets/unicode-alphabets.sty	2019-07-23 20:58:40 UTC (rev 51712)
@@ -1,4 +1,4 @@
-\ProvidesPackage{unicode-alphabets}[2019/07/22 Unicode alphabets in the Private Use Area]
+\ProvidesPackage{unicode-alphabets}[2019/07/23 Unicode alphabets in the Private Use Area]
 
 % License: CC-BY-SA 4.0
 % Author: Mikkel Eide Eriksen <mikkel.eriksen at gmail.com>
@@ -54,6 +54,7 @@
 \newcommand\alph at make@set[2]{%
 	% #1 = character set
 	% #2 = macro name
+	\newbool{alph@#1 at has@entities}%
 	\alph at make@main{#1}{#2}%
 	\csvloop{
 		file={unicode-alphabets.#1.csv},
@@ -67,6 +68,7 @@
 			}{}%
 			\ifcsdef{alph at entity}{%
 				\ifcsempty{alph at entity}{}{%
+					\booltrue{alph@#1 at has@entities}%
 					\csxdef{alph@#1@\alph at entity}{\alph at codepoint}%
 					\ifalph at noentitymacros\relax\else%
 						\expanded{\unexpanded{\alph at make@character}{#1}{#2}{\alph at entity}{\alph at codepoint}}%



More information about the tex-live-commits mailing list