summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-26 21:15:30 +0000
committerKarl Berry <karl@freefriends.org>2016-10-26 21:15:30 +0000
commitfafa2b737b533fe57b55e19a0ceebf8c0afa7585 (patch)
tree96882dbd5d53cd847be35ff31f3ce19acc27fe69 /Master/texmf-dist
parent274344f36fa7d518936c1cb48055647c828e20c0 (diff)
uspace (26oct16)
git-svn-id: svn://tug.org/texlive/trunk@42357 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rwxr-xr-xMaster/texmf-dist/doc/latex/uspace/uspace-ctanify.sh60
-rw-r--r--Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdfbin0 -> 143480 bytes
-rw-r--r--Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdfbin0 -> 143831 bytes
-rw-r--r--Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdfbin0 -> 25150 bytes
-rw-r--r--Master/texmf-dist/doc/latex/uspace/uspace-test.pdfbin25148 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/uspace/uspace.pdfbin73962 -> 81036 bytes
-rw-r--r--Master/texmf-dist/doc/latex/uspace/uspace.tex36
-rw-r--r--Master/texmf-dist/tex/latex/uspace/uspace.sty8
8 files changed, 83 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh b/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh
new file mode 100755
index 00000000000..58dfab59a16
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh
@@ -0,0 +1,60 @@
+#!/bin/bash
+set -x
+set -e
+
+rm -f uspace.pdf || true
+rm -f uspace-test.pdf || true
+
+latexmk -gg -pdf -jobname=uspace-test-pdflatex -interaction=nonstopmode uspace-test.tex >uspace-test.tex.output 2>&1 </dev/null &
+latexmk -gg -xelatex -jobname=uspace-test-xelatex -interaction=nonstopmode uspace-test.tex >uspace-test.tex.output 2>&1 </dev/null &
+latexmk -gg -lualatex -jobname=uspace-test-lualatex -interaction=nonstopmode uspace-test.tex >uspace-test.tex.output 2>&1 </dev/null &
+
+latexmk -gg -lualatex -interaction=nonstopmode uspace.tex >uspace.tex.output 2>&1 </dev/null &
+
+echo waiting for jobs to finish
+wait
+
+echo "uspace-test.tex.output:"
+cat uspace-test.tex.output
+
+echo "uspace.tex.output:"
+cat uspace.tex.output
+
+DOCDIR=doc/latex/uspace
+LATEXDIR=tex/latex/uspace
+
+TEMP_DIR=`mktemp -d -p "$PWD"`
+read -d '' CTANIFY_MAP <<EOF || true
+ uspace.sty=$LATEXDIR
+ README.md=$DOCDIR
+ LICENSE=$DOCDIR
+ uspace-test.tex=$DOCDIR
+ uspace-test-pdflatex.pdf=$DOCDIR
+ uspace-test-xelatex.pdf=$DOCDIR
+ uspace-test-lualatex.pdf=$DOCDIR
+ uspace.tex=$DOCDIR
+ uspace.pdf=$DOCDIR
+ uspace-ctanify.sh=$DOCDIR
+EOF
+
+echo "map:" $CTANIFY_MAP
+
+for entry in $CTANIFY_MAP ; do
+ file=${entry%=*}
+ #target_dir=${entry#*=}
+ cp -v "$file" "$TEMP_DIR"
+done
+
+ROOT_DIR="$PWD"
+(
+ cd "$TEMP_DIR"
+ setfacl -b *
+ chmod +rw-x *
+ chmod +x uspace-ctanify.sh
+ ctanify --pkgname=uspace $CTANIFY_MAP
+ mv -vf uspace.tar.gz "$ROOT_DIR"
+)
+
+tar tvvzf uspace.tar.gz
+
+rm -rf "$TEMP_DIR"
diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf b/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf
new file mode 100644
index 00000000000..f7e0a44843c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf b/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf
new file mode 100644
index 00000000000..35b9f924006
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf b/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf
new file mode 100644
index 00000000000..b9ea36d2652
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-test.pdf b/Master/texmf-dist/doc/latex/uspace/uspace-test.pdf
deleted file mode 100644
index 3d4217ab70b..00000000000
--- a/Master/texmf-dist/doc/latex/uspace/uspace-test.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/uspace/uspace.pdf b/Master/texmf-dist/doc/latex/uspace/uspace.pdf
index 29e7b3f1964..8fcbaab7555 100644
--- a/Master/texmf-dist/doc/latex/uspace/uspace.pdf
+++ b/Master/texmf-dist/doc/latex/uspace/uspace.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/uspace/uspace.tex b/Master/texmf-dist/doc/latex/uspace/uspace.tex
index b281fe682f1..dad385fed1a 100644
--- a/Master/texmf-dist/doc/latex/uspace/uspace.tex
+++ b/Master/texmf-dist/doc/latex/uspace/uspace.tex
@@ -23,7 +23,7 @@
\\{\small\href{mailto:vhaisman+uspace@gmail.com?subject=[uspace]}{vhaisman@gmail.com}}}{}}
\date{\today}
\title{\texttt{uspace} user manual}
-\subtitle{v0.01}
+\subtitle{v0.02}
\usepackage{xcolor}
\usepackage{multicol}
@@ -83,22 +83,22 @@ repository.
Here is a list of the implemented characters
and their implementations:\nobreak%
-\begin{labeling}[\quad]{\nnbsp{}}
-\item[\zwsp] \lstinline|\hspace{0pt}|
-\item[\nnbsp] \lstinline|\leavevmode\,|
-\item[\nbsp{\footnotemark[1]}] \lstinline|~|
-\item[\shy{\footnotemark[1]}] \lstinline|\-|
-\item[\emquad{\footnotemark[2]}] \lstinline|\quad|
-\item[\emspaceC{\footnotemark[2]}] \lstinline|\quad|
-\item[\enquad{\footnotemark[3]}] \lstinline|\enskip|
-\item[\enspaceC{\footnotemark[3]}] \lstinline|\enskip|
-\item[\threePerEm] \lstinline|\hspace{0.3333333333333em}|
-\item[\fourPerEm] \lstinline|\hspace{0.25em}|
-\item[\sixPerEm] \lstinline|\hspace{0.1666666666666em}|
-\item[\figuresp] \lstinline|\leavevmode\hphantom{0}|
-\item[\punctsp] \lstinline|\leavevmode\hphantom{.}|
-\item[\thinsp] \lstinline|\leavevmode\,\linebreak[0]|
-\item[\hairsp] \lstinline|\hspace{0.0833333333333em}|
+\begin{labeling}[\quad]{\nnbsp{} (\texttt{U+202F})}
+\item[\zwsp{} (\texttt{U+200B})] \lstinline|\hspace{0pt}|
+\item[\nnbsp{} (\texttt{U+202F})] \lstinline|\leavevmode\,|
+\item[\nbsp{\footnotemark[1]} (\texttt{U+00A0})] \lstinline|~|
+\item[\shy{\footnotemark[1]} (\texttt{U+00AD})] \lstinline|\-|
+\item[\emquad{\footnotemark[2]} (\texttt{U+2001})] \lstinline|\quad|
+\item[\emspaceC{\footnotemark[2]} (\texttt{U+2001})] \lstinline|\quad|
+\item[\enquad{\footnotemark[3]} (\texttt{U+2000})] \lstinline|\enskip|
+\item[\enspaceC{\footnotemark[3]} (\texttt{U+2000})] \lstinline|\enskip|
+\item[\threePerEm{} (\texttt{U+2004})] \lstinline|\hspace{0.33333em}|
+\item[\fourPerEm{} (\texttt{U+2005})] \lstinline|\hspace{0.25em}|
+\item[\sixPerEm{} (\texttt{U+2006})] \lstinline|\hspace{0.16667em}|
+\item[\figuresp{} (\texttt{U+2007})] \lstinline|\leavevmode\hphantom{0}|
+\item[\punctsp{} (\texttt{U+2008})] \lstinline|\leavevmode\hphantom{.}|
+\item[\thinsp{} (\texttt{U+2009})] \lstinline|\leavevmode\,\linebreak[0]|
+\item[\hairsp{} (\texttt{U+200A})] \lstinline|\hspace{0.08333em}|
\end{labeling}
\footnotetext[1]{This already defined for pdf\LaTeX{} because we use
\lstinline|inputenc| with \lstinline|utf8| option when compiling with
@@ -120,6 +120,8 @@ This package would not be what it is without help and comments from people of
\begin{description}[style=nextline, labelwidth=4.5em, leftmargin=!,
labelindent=0em]
+ \item[\texttt{v0.02}] Round lengths to five digits after decimal
+ point. List also Unicode code point values beside character names.
\item[\texttt{v0.01}] First published version of this package.
\end{description}
diff --git a/Master/texmf-dist/tex/latex/uspace/uspace.sty b/Master/texmf-dist/tex/latex/uspace/uspace.sty
index 2d98e86444a..3e520d19116 100644
--- a/Master/texmf-dist/tex/latex/uspace/uspace.sty
+++ b/Master/texmf-dist/tex/latex/uspace/uspace.sty
@@ -10,7 +10,7 @@
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{uspace}
-[2016/10/04 v0.01 LaTeX package that defines meanings to several different
+[2016/10/04 v0.02 LaTeX package that defines meanings to several different
Unicode space characters.]
\RequirePackage{ifxetex,ifluatex}
@@ -49,13 +49,13 @@ Unicode space characters.]
\newunicodechar{ }{\quad}
% three-per-em space
-\newunicodechar{ }{\hspace{0.3333333333333em}}
+\newunicodechar{ }{\hspace{0.33333em}}
% four-per-em space
\newunicodechar{ }{\hspace{0.25em}}
% six-per-em space
-\newunicodechar{ }{\hspace{0.1666666666666em}}
+\newunicodechar{ }{\hspace{0.16667em}}
% figure space
\newunicodechar{ }{\leavevmode\hphantom{0}}
@@ -67,7 +67,7 @@ Unicode space characters.]
\newunicodechar{ }{\leavevmode\,\linebreak[0]}
% hair space
-\newunicodechar{ }{\hspace{0.0833333333333em}}
+\newunicodechar{ }{\hspace{0.08333em}}
\endinput