summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/semantic-markup
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-30 22:20:36 +0000
committerKarl Berry <karl@freefriends.org>2020-01-30 22:20:36 +0000
commitd0f82f4954108bf295c5cb89e22cf194a5000405 (patch)
treedaa6675c2ae039d398528d5cae54c70a5924a472 /Master/texmf-dist/tex/latex/semantic-markup
parent895ca6abce805cf84996ae25e4d3ce5b0eb6570e (diff)
semantic-markup (30jan20)
git-svn-id: svn://tug.org/texlive/trunk@53607 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/semantic-markup')
-rw-r--r--Master/texmf-dist/tex/latex/semantic-markup/semantic-markup.sty24
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/semantic-markup/semantic-markup.sty b/Master/texmf-dist/tex/latex/semantic-markup/semantic-markup.sty
index e6d33668f98..9a5223347fd 100644
--- a/Master/texmf-dist/tex/latex/semantic-markup/semantic-markup.sty
+++ b/Master/texmf-dist/tex/latex/semantic-markup/semantic-markup.sty
@@ -1,7 +1,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{semantic-markup}[2018/05/21
+\ProvidesPackage{semantic-markup}[2020/01/29
Macros for TEI-like semantic markup]
-% Copyright 2018 Andrew A. Cashner, andrewacashner@gmail.com
+% Copyright 2020 Andrew A. Cashner, andrewacashner@gmail.com
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -18,6 +18,8 @@
% and the documentation file semantic-markup.tex.
% CHANGE LOG
+% 2020-01-29 - \musfig uses stackengine now instead of amsmath
+% 2018-09-07 - ! and ? removed from autopunct for csquotes
% 2018-05-21 - Use fontspec's definition of `\strong` if it is loaded
% - Use musicography's definition of `\fl`, `\sh`, `\na` commands if
% it is loaded
@@ -49,7 +51,7 @@
% Put end punctuation inside quotation marks
% for the specified marks
\renewcommand{\mktextquote}[6]{#1#2#4#5#3#6}
- \DeclareAutoPunct{.,!?}
+ \DeclareAutoPunct{.,}
\fi
% NB: fontspec defines its own \strong command, so only define this if fontspec
@@ -99,13 +101,13 @@
%*******************
% Identify problem spot in draft
-\NewDocumentCommand{\XXX}{ O{\add{FIX}} }{%
- \strong{#1}%
+\NewDocumentCommand{\XXX}{ O{FIX} }{%
+ \strong{\add{#1}}%
}
% Indicate citation to be filled in later
% Optional argument for indicating the source
\NewDocumentCommand{\citXXX}{ o }{%
- \footnote{\strong{\add{Citation needed}\IfValueTF{#1}{#1}{}}}%
+ \footnote{\strong{\add{Citation needed\IfValueTF{#1}{: #1}{}}}}%
}
%*******************
@@ -153,13 +155,13 @@
\NewDocumentCommand{\octave}{ }{\textsubscript}
% Music figures
-\RequirePackage{amsmath}
+\RequirePackage{stackengine}
+\setstackgap{S}{2pt}
\NewDocumentCommand{\musfig}{ m m }{%
- $\genfrac{}{}{0pt}{1}{\text{#1}}{\text{#2}}$%
-}
+ \Shortstack{#1 #2}%
+}
% Meter signatures
-\RequirePackage[rm]{harmony}
-\NewDocumentCommand{\meter}{ m m }{\Takt{#1}{#2}}
+\NewDocumentCommand{\meter}{}{\musfig}
\endinput