diff options
author | Karl Berry <karl@freefriends.org> | 2022-04-24 20:11:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-04-24 20:11:24 +0000 |
commit | bdcccc423e739c7ed18b5c29c0b7a7319abc9d29 (patch) | |
tree | ceb4f1a11346542e3a4e042ce4b565ae0229809d /Master | |
parent | a075e917a1cb19da93a8020193a1d2785926bf86 (diff) |
uspace (24apr22)
git-svn-id: svn://tug.org/texlive/trunk@63123 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf | bin | 146331 -> 34081 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf | bin | 146770 -> 153067 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf | bin | 27383 -> 32541 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/uspace/uspace.pdf | bin | 82555 -> 74129 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/uspace/uspace.tex | 16 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/uspace/uspace.sty | 7 |
7 files changed, 19 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh b/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh index 8dec20e2d53..9824eb0aebb 100755 --- a/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh +++ b/Master/texmf-dist/doc/latex/uspace/uspace-ctanify.sh @@ -30,6 +30,7 @@ DOCDIR=doc/latex/uspace LATEXDIR=tex/latex/uspace TEMP_DIR=`mktemp -d -p "$PWD"` +mkdir "$TEMP_DIR"/uspace read -d '' CTANIFY_MAP <<EOF || true uspace.sty=$LATEXDIR README.md=$DOCDIR @@ -48,17 +49,18 @@ echo "map:" $CTANIFY_MAP for entry in $CTANIFY_MAP ; do file=${entry%=*} #target_dir=${entry#*=} - cp -v "$file" "$TEMP_DIR" + cp -v "$file" "$TEMP_DIR/uspace" done ROOT_DIR="$PWD" ( - cd "$TEMP_DIR" + cd "$TEMP_DIR"/uspace setfacl -b * chmod +rw-x * chmod +x uspace-ctanify.sh #ctanify --pkgname=uspace $CTANIFY_MAP #mv -vf uspace.tar.gz "$ROOT_DIR" + cd .. tar cvvzf "$ROOT_DIR/uspace.tar.gz" . ) diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf b/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf Binary files differindex 3edef468b9f..5bf2a594d28 100644 --- a/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf +++ b/Master/texmf-dist/doc/latex/uspace/uspace-test-lualatex.pdf diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf b/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf Binary files differindex 9be669cbb42..ea6f80753b4 100644 --- a/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf +++ b/Master/texmf-dist/doc/latex/uspace/uspace-test-pdflatex.pdf diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf b/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf Binary files differindex f3bdc0cc1b1..efd71545bee 100644 --- a/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf +++ b/Master/texmf-dist/doc/latex/uspace/uspace-test-xelatex.pdf diff --git a/Master/texmf-dist/doc/latex/uspace/uspace.pdf b/Master/texmf-dist/doc/latex/uspace/uspace.pdf Binary files differindex f2306c6ca03..5e066f624bb 100644 --- a/Master/texmf-dist/doc/latex/uspace/uspace.pdf +++ b/Master/texmf-dist/doc/latex/uspace/uspace.pdf diff --git a/Master/texmf-dist/doc/latex/uspace/uspace.tex b/Master/texmf-dist/doc/latex/uspace/uspace.tex index b46a4f7b013..add8dfbf466 100644 --- a/Master/texmf-dist/doc/latex/uspace/uspace.tex +++ b/Master/texmf-dist/doc/latex/uspace/uspace.tex @@ -1,3 +1,4 @@ +\PassOptionsToPackage{unicode}{hyperref} \documentclass[paper=B5,DIV=calc,parskip=half]{scrartcl} \usepackage{ifluatex} \ifluatex @@ -5,8 +6,7 @@ \fi \usepackage{fontspec} -%\defaultfontfeatures{Ligatures={TeX,Common},Scale=MatchLowercase} -\setmainfont[]{Charis SIL} +\setmainfont[Ligatures={TeX,Common}]{Charis SIL} \setsansfont[Ligatures={TeX,Common}, Scale=MatchLowercase]{TeX Gyre Heros} \setmonofont[Ligatures=,Scale=MatchLowercase]{DejaVu Sans Mono} @@ -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.04} +\subtitle{v0.05} \usepackage{xcolor} \usepackage{multicol} @@ -31,7 +31,6 @@ \usepackage{metalogo} \usepackage{hologo} -\PassOptionsToPackage{unicode}{hyperref} \usepackage{bookmark} \hypersetup{ colorlinks, @@ -40,6 +39,8 @@ urlcolor={blue!80!black}, breaklinks=true} \urlstyle{same} % don't use monospace font for urls +\usepackage{footnotehyper} +\makesavenoteenv{labeling} \setlength{\emergencystretch}{3em} % prevent overfull lines @@ -65,6 +66,7 @@ \newcommand{\punctsp}{\textsc{punctuation space}} \newcommand{\thinsp}{\textsc{thin space}} \newcommand{\hairsp}{\textsc{hair space}} +\newcommand{\medmathsp}{\textsc{medium math space}} \newcommand{\linesep}{\textsc{line separator}} \newcommand{\nel}{\textsc{next line (nel)}} \newcommand{\parasep}{\textsc{paragraph separator}} @@ -93,9 +95,9 @@ and their implementations:\nobreak% \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[\emspaceC{\footnotemark[2]} (\texttt{U+2003})] \lstinline|\quad| \item[\enquad{\footnotemark[3]} (\texttt{U+2000})] \lstinline|\enskip| -\item[\enspaceC{\footnotemark[3]} (\texttt{U+2000})] \lstinline|\enskip| +\item[\enspaceC{\footnotemark[3]} (\texttt{U+2002})] \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}| @@ -103,6 +105,7 @@ and their implementations:\nobreak% \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[\medmathsp{} (\texttt{U+205F})] \lstinline|\hspace{0.22222em}| \item[\linesep{} (\texttt{U+2028})] \lstinline|\newline| \item[\nel{} (\texttt{U+0085})] \lstinline|\newline| \item[\parasep{} (\texttt{U+2029})] \lstinline|\csname par\endcsname| @@ -127,6 +130,7 @@ 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.05}] Add implementation for \medmathsp{}. \item[\texttt{v0.04}] Add implementation for \linesep{}, \nel{} and \parasep{}. \item[\texttt{v0.03}] Change implementation for \punctsp{} and \thinsp{} to diff --git a/Master/texmf-dist/tex/latex/uspace/uspace.sty b/Master/texmf-dist/tex/latex/uspace/uspace.sty index 29672d2df45..88ae29d1d8a 100644 --- a/Master/texmf-dist/tex/latex/uspace/uspace.sty +++ b/Master/texmf-dist/tex/latex/uspace/uspace.sty @@ -1,7 +1,7 @@ % LaTeX package that defines meanings to several different Unicode space % characters. % -% © 2016 Václav Haisman +% © 2022 Václav Haisman % %% This program can be redistributed and/or modified under the terms of the %% MIT license. See LICENSE file. @@ -10,7 +10,7 @@ \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{uspace} -[2016/11/06 v0.04 LaTeX package that defines meanings to several different +[2022/04/24 v0.05 LaTeX package that defines meanings to several different Unicode space characters.] \RequirePackage{ifxetex,ifluatex} @@ -69,6 +69,9 @@ Unicode space characters.] % hair space \newunicodechar{ }{\hspace{0.08333em}} +% Medium Mathematical Space (MMSP) +\newunicodechar{ }{\hspace{0.22222em}} + % line separator \newunicodechar{
}{\newline} |