From a66b38a42090ca28256d46362ccacc1ad398ffe5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 13 Feb 2016 22:32:32 +0000 Subject: realscripts (13feb16) git-svn-id: svn://tug.org/texlive/trunk@39706 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/realscripts/README | 72 ------------------- Master/texmf-dist/doc/latex/realscripts/README.md | 77 +++++++++++++++++++++ .../doc/latex/realscripts/realscripts.pdf | Bin 107302 -> 106569 bytes .../source/latex/realscripts/realscripts.dtx | 20 +++--- .../source/latex/realscripts/realscripts.ins | 12 ++-- .../tex/latex/realscripts/realscripts.sty | 10 +-- 6 files changed, 98 insertions(+), 93 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/realscripts/README create mode 100644 Master/texmf-dist/doc/latex/realscripts/README.md diff --git a/Master/texmf-dist/doc/latex/realscripts/README b/Master/texmf-dist/doc/latex/realscripts/README deleted file mode 100644 index 7bde453e3e9..00000000000 --- a/Master/texmf-dist/doc/latex/realscripts/README +++ /dev/null @@ -1,72 +0,0 @@ -The REALSCRIPTS package -======================= - -Small package to replace `\textsuperscript` & `\textsubscript` -by equivalent commands that use OpenType font features -to access the appropriate glyphs if possible. - -Provides `\textsubsuperscript` (and `\textsupersubscript`) for -setting subscripts and superscripts on top of each other. - -Also patches LaTeX's default footnote command to use this -new `\textsuperscript` for footnote symbols. - -Requires fontspec running on either XeLaTeX or LuaLaTeX. - -For more information see the documentation realscripts.pdf. - -Change History --------------- - -v0.3c 2013/03/18 - - * Fix completely broken `\textsupersubscript`. - * Allow `\textsubsuperscript` at the start of a paragraph (!). - * Sync with expl3 updates. - -v0.3b 2013/02/27 - - * Remove internal definition of two functions that have since been defined - in expl3 (`\dim_min:nn` and `\dim_max:nn`). - -v0.3 2010/09/30 - - * New commands `\textsubsuperscript` and `\textsupersubscript` added. - - * Fix an "infinite loop" bug added in the last version, triggered - when loading the `xltxtra` package with the `[no-sscript]` option. - - -v0.2 2010/09/20 - - * Add feature to specify the font of the patched footnotemark. - This behaves well with KOMA-Script's `\setkomafont`, as well. - -v0.1 - - * First release - * Extracted from the xltxtra package - -Maintenance ------------ - -The release version of this package is available from CTAN: - -* - -Development and historical versions are available from GitHub: - -* - -Please report bugs and feature suggestions to the issue tracker: - -* - -Licence -------- - -The realscripts package is released under the -[LaTeX Project Public License](http://www.latex-project.org/lppl/) -version 1.3c or greater. The current maintainer is Will Robertson. - -Copyright 2010 Will Robertson diff --git a/Master/texmf-dist/doc/latex/realscripts/README.md b/Master/texmf-dist/doc/latex/realscripts/README.md new file mode 100644 index 00000000000..a98194ad9ae --- /dev/null +++ b/Master/texmf-dist/doc/latex/realscripts/README.md @@ -0,0 +1,77 @@ +The REALSCRIPTS package +======================= + +Small package to replace `\textsuperscript` & `\textsubscript` +by equivalent commands that use OpenType font features +to access the appropriate glyphs if possible. + +Provides `\textsubsuperscript` (and `\textsupersubscript`) for +setting subscripts and superscripts on top of each other. + +Also patches LaTeX's default footnote command to use this +new `\textsuperscript` for footnote symbols. + +Requires fontspec running on either XeLaTeX or LuaLaTeX. + +For more information see the documentation realscripts.pdf. + +Change History +-------------- + +v0.3d 2016/02/13 + + * Fix somewhat important typo in the documentation. + * Minor other updates to the docs. + * Fix old expl3 syntax change. + +v0.3c 2013/03/18 + + * Fix completely broken `\textsupersubscript`. + * Allow `\textsubsuperscript` at the start of a paragraph (!). + * Sync with expl3 updates. + +v0.3b 2013/02/27 + + * Remove internal definition of two functions that have since been defined + in expl3 (`\dim_min:nn` and `\dim_max:nn`). + +v0.3 2010/09/30 + + * New commands `\textsubsuperscript` and `\textsupersubscript` added. + * Fix an "infinite loop" bug added in the last version, triggered + when loading the `xltxtra` package with the `[no-sscript]` option. + + +v0.2 2010/09/20 + + * Add feature to specify the font of the patched footnotemark. + This behaves well with KOMA-Script's `\setkomafont`, as well. + +v0.1 + + * First release + * Extracted from the xltxtra package + +Maintenance +----------- + +The release version of this package is available from CTAN: + +* + +Development and historical versions are available from GitHub: + +* + +Please report bugs and feature suggestions to the issue tracker: + +* + +Licence +------- + +The realscripts package is released under the +[LaTeX Project Public License](http://www.latex-project.org/lppl/) +version 1.3c or greater. The current maintainer is Will Robertson. + +Copyright 2010 Will Robertson diff --git a/Master/texmf-dist/doc/latex/realscripts/realscripts.pdf b/Master/texmf-dist/doc/latex/realscripts/realscripts.pdf index 15295bb5b68..dc2e2e8dc7a 100644 Binary files a/Master/texmf-dist/doc/latex/realscripts/realscripts.pdf and b/Master/texmf-dist/doc/latex/realscripts/realscripts.pdf differ diff --git a/Master/texmf-dist/source/latex/realscripts/realscripts.dtx b/Master/texmf-dist/source/latex/realscripts/realscripts.dtx index e042d021328..e59103e55a9 100644 --- a/Master/texmf-dist/source/latex/realscripts/realscripts.dtx +++ b/Master/texmf-dist/source/latex/realscripts/realscripts.dtx @@ -7,15 +7,15 @@ \input docstrip.tex \keepsilent \preamble - ____________________________ + _____________________________ The REALSCRIPTS package - (C) 2010 Will Robertson + (C) 2010--2016 Will Robertson License information appended \endpreamble \postamble -Copyright (C) 2010 by Will Robertson +Copyright (C) 2010--2016 by Will Robertson Distributable under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of @@ -47,7 +47,7 @@ This work consists of the file realscripts.dtx % %\ProvidesPackage{realscripts} %<*package> - [2013/03/18 v0.3c Access OpenType subscripts and superscripts] + [2016/02/13 v0.3d Access OpenType subscripts and superscripts] % % \end{macrocode} % @@ -86,7 +86,7 @@ This work consists of the file realscripts.dtx % % If you are using the \pkg{fontspec} package\footnote{The \pkg{fontspec} package requires \XeLaTeX\ or \hologo{LuaLaTeX}.} to select OpenType fonts % (or other sorts of fonts with the necessary font features), then loading -% this package will provide versions of the \cmd\textsuperscript\ and +% this package will redefine the \cmd\textsuperscript\ and % \cmd\textsubscript\ commands that take advantage of the OpenType font % features. % @@ -97,13 +97,13 @@ This work consists of the file realscripts.dtx % % \section{Technical details} % -% The new commands are defined in starred form (e.g., \cs{textsubscript*}) for cases where the new commands are not appropriate. +% The old commands are defined in starred form (e.g., \cs{textsubscript*}) for cases where the new commands are not appropriate. % The functionality of the starred and non-starred commands can % also be accessed using the macros % \cmd\realsubscript, % \cmd\realsuperscript, % \cmd\fakesubscript, and -% \cmd\fakesuperscript, in case another package (or you wish to) +% \cmd\fakesuperscript, in case another package (or you) % redefine the original \cmd\text\dots\ commands. % % This package will also patch the default \LaTeX\ footnote mechanism to @@ -112,7 +112,7 @@ This work consists of the file realscripts.dtx % by redefining \cs{footnotemarkfont}; e.g.: % {\par\qquad\verb|\renewcommand\footnotemarkfont|\marg{font switch}\par} % \noindent and users of \pkg{KOMA-Script} may use instead -% {\par\qquad\verb|\setfkomafont{footnotelabel}|\marg{font switch}\par} +% {\par\qquad\verb|\setkomafont{footnotelabel}|\marg{font switch}\par} % \noindent where \meta{font switch} is a command such as \cs{sffamily} or a \pkg{fontspec} font defined with \cs{newfontfamily}. % % Beware of other packages, however, that change the footnote mechanism. (Usually by redefining \cs{@makefnmark}.) I can often work around or work with such packages so \pkg{realscripts} cooperates gracefully with them; please report any conflicts to me. @@ -133,7 +133,7 @@ This work consists of the file realscripts.dtx % |\textsuperscript*{…} | A \textsuperscript*{abcdefghijklmnopqrstuvwxyz1234567890} Z\par % |\textsubscript*{…} | A \textsubscript*{abcdefghijklmnopqrstuvwxyz1234567890} Z % \end{quotation} -% When the glyphs are not available the commands will fall back on the standard technique of scaling down the text font: +% When the font features are not available the commands will fall back on the standard technique of scaling down the text font: % (this is Mac\,OS\,X's `{\fontspec{Didot} Didot}') % \begin{quotation}\color{niceblue} % \fontspec{Didot} @@ -324,7 +324,7 @@ This work consists of the file realscripts.dtx { \box_move_down:nn \subsupersep {\box_use:N \l_tmpa_box} } \hbox_set:Nn \l_tmpb_box { \box_move_up:nn \subsupersep {\box_use:N \l_tmpb_box} } - \str_case:nnn {#2} + \str_case:nnF {#2} { {l}{\use_i:nnn} {c}{\use_ii:nnn} diff --git a/Master/texmf-dist/source/latex/realscripts/realscripts.ins b/Master/texmf-dist/source/latex/realscripts/realscripts.ins index be1d9da986f..c68d0669cdf 100644 --- a/Master/texmf-dist/source/latex/realscripts/realscripts.ins +++ b/Master/texmf-dist/source/latex/realscripts/realscripts.ins @@ -5,23 +5,23 @@ %% The original source files were: %% %% realscripts.dtx (with options: `batchfile') -%% ____________________________ +%% _____________________________ %% The REALSCRIPTS package -%% (C) 2010 Will Robertson +%% (C) 2010--2016 Will Robertson %% License information appended %% \input docstrip.tex \keepsilent \preamble - ____________________________ + _____________________________ The REALSCRIPTS package - (C) 2010 Will Robertson + (C) 2010--2016 Will Robertson License information appended \endpreamble \postamble -Copyright (C) 2010 by Will Robertson +Copyright (C) 2010--2016 by Will Robertson Distributable under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of @@ -40,7 +40,7 @@ This work consists of the file realscripts.dtx \generate{\file{realscripts.sty}{\from{realscripts.dtx}{package}}} \endbatchfile %% -%% Copyright (C) 2010 by Will Robertson +%% Copyright (C) 2010--2016 by Will Robertson %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/realscripts/realscripts.sty b/Master/texmf-dist/tex/latex/realscripts/realscripts.sty index afda375cb42..1ab3b8866e8 100644 --- a/Master/texmf-dist/tex/latex/realscripts/realscripts.sty +++ b/Master/texmf-dist/tex/latex/realscripts/realscripts.sty @@ -5,13 +5,13 @@ %% The original source files were: %% %% realscripts.dtx (with options: `package') -%% ____________________________ +%% _____________________________ %% The REALSCRIPTS package -%% (C) 2010 Will Robertson +%% (C) 2010--2016 Will Robertson %% License information appended %% \ProvidesPackage{realscripts} - [2013/03/18 v0.3c Access OpenType subscripts and superscripts] + [2016/02/13 v0.3d Access OpenType subscripts and superscripts] \RequirePackage{fontspec} \ExplSyntaxOn \DeclareDocumentCommand \fakesubscript {m} { @@ -84,7 +84,7 @@ { \box_move_down:nn \subsupersep {\box_use:N \l_tmpa_box} } \hbox_set:Nn \l_tmpb_box { \box_move_up:nn \subsupersep {\box_use:N \l_tmpb_box} } - \str_case:nnn {#2} + \str_case:nnF {#2} { {l}{\use_i:nnn} {c}{\use_ii:nnn} @@ -143,7 +143,7 @@ } \dim_new:N \subsupersep %% -%% Copyright (C) 2010 by Will Robertson +%% Copyright (C) 2010--2016 by Will Robertson %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of -- cgit v1.2.3