summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-18 22:35:10 +0000
committerKarl Berry <karl@freefriends.org>2013-03-18 22:35:10 +0000
commit8cd524f9b8baa45ef34f1683ca7b2aa151af9098 (patch)
tree492a2e0bd7e218f5e48617eaf27d4cfb40babe9c /Master
parentb69db11a2c4cf8cfa09e22acfda740d4f68b2e73 (diff)
realscripts (18mar13)
git-svn-id: svn://tug.org/texlive/trunk@29423 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/realscripts/README6
-rw-r--r--Master/texmf-dist/doc/latex/realscripts/realscripts.pdfbin107108 -> 107302 bytes
-rw-r--r--Master/texmf-dist/source/latex/realscripts/realscripts.dtx9
-rw-r--r--Master/texmf-dist/tex/latex/realscripts/realscripts.sty9
4 files changed, 18 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/realscripts/README b/Master/texmf-dist/doc/latex/realscripts/README
index 03b30c34471..7bde453e3e9 100644
--- a/Master/texmf-dist/doc/latex/realscripts/README
+++ b/Master/texmf-dist/doc/latex/realscripts/README
@@ -18,6 +18,12 @@ 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
diff --git a/Master/texmf-dist/doc/latex/realscripts/realscripts.pdf b/Master/texmf-dist/doc/latex/realscripts/realscripts.pdf
index 462b621969d..15295bb5b68 100644
--- a/Master/texmf-dist/doc/latex/realscripts/realscripts.pdf
+++ b/Master/texmf-dist/doc/latex/realscripts/realscripts.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/realscripts/realscripts.dtx b/Master/texmf-dist/source/latex/realscripts/realscripts.dtx
index 3e77892b5a3..e042d021328 100644
--- a/Master/texmf-dist/source/latex/realscripts/realscripts.dtx
+++ b/Master/texmf-dist/source/latex/realscripts/realscripts.dtx
@@ -47,7 +47,7 @@ This work consists of the file realscripts.dtx
%</driver>
%<package>\ProvidesPackage{realscripts}
%<*package>
- [2013/02/27 v0.3b Access OpenType subscripts and superscripts]
+ [2013/03/18 v0.3c Access OpenType subscripts and superscripts]
%</package>
% \end{macrocode}
%
@@ -309,6 +309,7 @@ This work consists of the file realscripts.dtx
% no point writing yet another small package.
% \begin{macrocode}
\DeclareDocumentCommand \textsubsuperscript {s O{l} mm} {
+ \leavevmode
\group_begin:
\IfBooleanTF #1
{
@@ -323,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} }
- \prg_case_str:nnn {#2}
+ \str_case:nnn {#2}
{
{l}{\use_i:nnn}
{c}{\use_ii:nnn}
@@ -385,7 +386,9 @@ This work consists of the file realscripts.dtx
\group_end:
}
\DeclareDocumentCommand \textsupersubscript {s O{l} mm} {
- \textsubsuperscript #1 [#2] {#3} {#2}
+ \IfBooleanTF #1
+ { \textsubsuperscript * [#2] {#4} {#3} }
+ { \textsubsuperscript [#2] {#4} {#3} }
}
% \end{macrocode}
%
diff --git a/Master/texmf-dist/tex/latex/realscripts/realscripts.sty b/Master/texmf-dist/tex/latex/realscripts/realscripts.sty
index 84cf7236651..afda375cb42 100644
--- a/Master/texmf-dist/tex/latex/realscripts/realscripts.sty
+++ b/Master/texmf-dist/tex/latex/realscripts/realscripts.sty
@@ -11,7 +11,7 @@
%% License information appended
%%
\ProvidesPackage{realscripts}
- [2013/02/27 v0.3b Access OpenType subscripts and superscripts]
+ [2013/03/18 v0.3c Access OpenType subscripts and superscripts]
\RequirePackage{fontspec}
\ExplSyntaxOn
\DeclareDocumentCommand \fakesubscript {m} {
@@ -69,6 +69,7 @@
\cs_new:Npn \footnotemarkfont {\normalfont}
}
\DeclareDocumentCommand \textsubsuperscript {s O{l} mm} {
+ \leavevmode
\group_begin:
\IfBooleanTF #1
{
@@ -83,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} }
- \prg_case_str:nnn {#2}
+ \str_case:nnn {#2}
{
{l}{\use_i:nnn}
{c}{\use_ii:nnn}
@@ -136,7 +137,9 @@
\group_end:
}
\DeclareDocumentCommand \textsupersubscript {s O{l} mm} {
- \textsubsuperscript #1 [#2] {#3} {#2}
+ \IfBooleanTF #1
+ { \textsubsuperscript * [#2] {#4} {#3} }
+ { \textsubsuperscript [#2] {#4} {#3} }
}
\dim_new:N \subsupersep
%%