summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/embrac
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/embrac')
-rw-r--r--Master/texmf-dist/tex/latex/embrac/embrac.sty21
1 files changed, 14 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/embrac/embrac.sty b/Master/texmf-dist/tex/latex/embrac/embrac.sty
index c5967aa1fb4..908fa356018 100644
--- a/Master/texmf-dist/tex/latex/embrac/embrac.sty
+++ b/Master/texmf-dist/tex/latex/embrac/embrac.sty
@@ -34,8 +34,8 @@
\RequirePackage { expl3 , xparse , l3keys2e }
\ProvidesExplPackage
{embrac}
- {2013/03/22}
- {0.3}
+ {2013/04/04}
+ {0.3a}
{Upright Brackets in Emphasized Text}
\bool_new:N \l__embrac_treat_biblatex_bool
@@ -240,8 +240,11 @@
{ \__embrac_orig_emph:n { ##2 } }
\RenewDocumentCommand \textit { sm }
{ \__embrac_orig_textit:n { ##2 } }
- \RenewDocumentCommand \textsi { sm }
- { \__embrac_orig_textsi:n { ##2 } }
+ \cs_if_exist:NT
+ {
+ \RenewDocumentCommand \textsi { sm }
+ { \__embrac_orig_textsi:n { ##2 } }
+ }
}
% turning embrac on:
@@ -251,8 +254,11 @@
{ \__embrac_new_emph:w ##1 { ##2 } }
\RenewDocumentCommand \textit { sm }
{ \__embrac_new_textit:w ##1 { ##2 } }
- \RenewDocumentCommand \textsi { sm }
- { \__embrac_new_textsi:w ##1 { ##2 } }
+ \cs_if_exist:NT
+ {
+ \RenewDocumentCommand \textsi { sm }
+ { \__embrac_new_textsi:w ##1 { ##2 } }
+ }
}
% --------------------------------------------------------------------------
@@ -373,4 +379,5 @@
2012/11/04 - v0.2 - extended `biblatex' option: parens/full
- changed buggy definition of \EmbracOff and \EmbracOn
2013/03/22 - v0.3 - made definitions robust where appropriate
- - added support for `fontspec's \textsi \ No newline at end of file
+ - added support for `fontspec's \textsi
+2013/04/04 - v0.3a - bug fix in \EmbracOn and \EmbracOff \ No newline at end of file