texlive[42456] Master/texmf-dist: uspace (7nov16)
commits+karl at tug.org
commits+karl at tug.org
Mon Nov 7 23:15:26 CET 2016
Revision: 42456
http://tug.org/svn/texlive?view=revision&revision=42456
Author: karl
Date: 2016-11-07 23:15:26 +0100 (Mon, 07 Nov 2016)
Log Message:
-----------
uspace (7nov16)
Modified Paths:
--------------
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
trunk/Master/texmf-dist/doc/latex/uspace/uspace-test.tex
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
Modified: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/uspace/uspace-test.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/uspace/uspace-test.tex 2016-11-07 22:15:13 UTC (rev 42455)
+++ trunk/Master/texmf-dist/doc/latex/uspace/uspace-test.tex 2016-11-07 22:15:26 UTC (rev 42456)
@@ -184,6 +184,4 @@
\end{threeparttable}
\end{center}
-\pagebreak
-
\end{document}
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-11-07 22:15:13 UTC (rev 42455)
+++ trunk/Master/texmf-dist/doc/latex/uspace/uspace.tex 2016-11-07 22:15:26 UTC (rev 42456)
@@ -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.03}
+\subtitle{v0.04}
\usepackage{xcolor}
\usepackage{multicol}
@@ -65,6 +65,9 @@
\newcommand{\punctsp}{\textsc{punctuation space}}
\newcommand{\thinsp}{\textsc{thin space}}
\newcommand{\hairsp}{\textsc{hair space}}
+\newcommand{\linesep}{\textsc{line separator}}
+\newcommand{\nel}{\textsc{next line (nel)}}
+\newcommand{\parasep}{\textsc{paragraph separator}}
\begin{document}
\begin{titlepage}
@@ -100,6 +103,9 @@
\item[\punctsp{} (\texttt{U+2008})] \lstinline|\hspace{\fontcharwd \font `\,}|
\item[\thinsp{} (\texttt{U+2009})] \lstinline|\leavevmode\allowbreak\,|
\item[\hairsp{} (\texttt{U+200A})] \lstinline|\hspace{0.08333em}|
+\item[\linesep{} (\texttt{U+2028})] \lstinline|\newline|
+\item[\nel{} (\texttt{U+0085})] \lstinline|\newline|
+\item[\parasep{} (\texttt{U+2029})] \lstinline|\csname par\endcsname|
\end{labeling}
\footnotetext[1]{This already defined for \hologo{pdfLaTeX} because we use
\lstinline|inputenc| with \lstinline|utf8| option when compiling with
@@ -121,6 +127,8 @@
\begin{description}[style=nextline, labelwidth=4.5em, leftmargin=!,
labelindent=0em]
+ \item[\texttt{v0.04}] Add implementation for \linesep{}, \nel{}
+ and \parasep{}.
\item[\texttt{v0.03}] Change implementation for \punctsp{} and \thinsp{} to
fix issues with line wrapping when using these characters.
\item[\texttt{v0.02}] Round lengths to five digits after decimal
Modified: trunk/Master/texmf-dist/tex/latex/uspace/uspace.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/uspace/uspace.sty 2016-11-07 22:15:13 UTC (rev 42455)
+++ trunk/Master/texmf-dist/tex/latex/uspace/uspace.sty 2016-11-07 22:15:26 UTC (rev 42456)
@@ -10,7 +10,7 @@
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{uspace}
-[2016/10/30 v0.03 LaTeX package that defines meanings to several different
+[2016/11/06 v0.04 LaTeX package that defines meanings to several different
Unicode space characters.]
\RequirePackage{ifxetex,ifluatex}
@@ -69,6 +69,15 @@
% hair space
\newunicodechar{ }{\hspace{0.08333em}}
+% line separator
+\newunicodechar{
}{\newline}
+
+% next line (NEL)
+\newunicodechar{
}{\newline}
+
+% paragraph separator
+\newunicodechar{
}{\csname par\endcsname}
+
\endinput
%%
More information about the tex-live-commits
mailing list