texlive[42357] Master/texmf-dist: uspace (26oct16)

commits+karl at tug.org commits+karl at tug.org
Wed Oct 26 23:15:30 CEST 2016


Revision: 42357
          http://tug.org/svn/texlive?view=revision&revision=42357
Author:   karl
Date:     2016-10-26 23:15:30 +0200 (Wed, 26 Oct 2016)
Log Message:
-----------
uspace (26oct16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/uspace/uspace.pdf
    trunk/Master/texmf-dist/doc/latex/uspace/uspace.tex
    trunk/Master/texmf-dist/tex/latex/uspace/uspace.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh
    trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf
    trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf
    trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/uspace/uspace-test.pdf

Added: trunk/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh	2016-10-26 21:15:30 UTC (rev 42357)
@@ -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"


Property changes on: trunk/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf	2016-10-26 01:16:44 UTC (rev 42356)
+++ trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf	2016-10-26 21:15:30 UTC (rev 42357)

Property changes on: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf	2016-10-26 01:16:44 UTC (rev 42356)
+++ trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf	2016-10-26 21:15:30 UTC (rev 42357)

Property changes on: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf	2016-10-26 01:16:44 UTC (rev 42356)
+++ trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf	2016-10-26 21:15:30 UTC (rev 42357)

Property changes on: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test.pdf
===================================================================
(Binary files differ)

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

Modified: trunk/Master/texmf-dist/doc/latex/uspace/uspace.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uspace/uspace.tex	2016-10-26 01:16:44 UTC (rev 42356)
+++ trunk/Master/texmf-dist/doc/latex/uspace/uspace.tex	2016-10-26 21:15:30 UTC (rev 42357)
@@ -23,7 +23,7 @@
     \\{\small\href{mailto:vhaisman+uspace at gmail.com?subject=[uspace]}{vhaisman at gmail.com}}}{}}
 \date{\today}
 \title{\texttt{uspace} user manual}
-\subtitle{v0.01}
+\subtitle{v0.02}
 
 \usepackage{xcolor}
 \usepackage{multicol}
@@ -83,22 +83,22 @@
 
 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 @@
 
 \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}
 

Modified: trunk/Master/texmf-dist/tex/latex/uspace/uspace.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/uspace/uspace.sty	2016-10-26 01:16:44 UTC (rev 42356)
+++ trunk/Master/texmf-dist/tex/latex/uspace/uspace.sty	2016-10-26 21:15:30 UTC (rev 42357)
@@ -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 @@
 \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 @@
 \newunicodechar{ }{\leavevmode\,\linebreak[0]}
 
 % hair space
-\newunicodechar{ }{\hspace{0.0833333333333em}}
+\newunicodechar{ }{\hspace{0.08333em}}
 
 \endinput
 



More information about the tex-live-commits mailing list