diff options
Diffstat (limited to 'Master/texmf-dist/tex')
4 files changed, 147 insertions, 35 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/glossaries.4ht b/Master/texmf-dist/tex/generic/tex4ht/glossaries.4ht index c5476ebbfae..43cf42c0fb5 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/glossaries.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/glossaries.4ht @@ -1,31 +1,23 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% glossaries.4ht 2009-05-21-09:32 % -% Copyright (C) 2008--2009 Eitan M. Gurari % -% % -% This work may be distributed and/or modified under the % -% conditions of the LaTeX Project Public License, either % -% version 1.3c of this license or (at your option) any % -% later version. The latest version of this license is % -% in % -% http://www.latex-project.org/lppl.txt % -% and version 1.3c or later is part of all distributions % -% of LaTeX version 2005/12/01 or later. % -% % -% This work has the LPPL maintenance status "maintained".% -% % -% This Current Maintainer of this work % -% is Eitan M. Gurari. % -% % -% If you modify this program your changing its signature % -% with a directive of the following form will be % -% appreciated. % -% \message{signature} % -% % -% gurari@cse.ohio-state.edu % -% http://www.cse.ohio-state.edu/~gurari % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2009-05-21-09:32} - +% glossaries.4ht 2022-11-25-13:16 % +% Copyright (C) 2008-2009 Eitan M. Gurari % +% Copyright 2009-2022 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. \def\:tempc#1#2{\Link{#1}{}#2\EndLink} \HLet\@glslink\:tempc \def\:tempc#1#2{\Link{}{#1}\EndLink#2} @@ -47,6 +39,12 @@ } \HLet\@gls@removespaces\:tempc +\Configure{@begin}{theglossary}{ + \Configure{theindex}{}{}{}{}{}{}{}{}{}{} + \def\idx:item{\SaveEverypar\ht:everypar{}} + \let\end:theidx\empty +} + \Hinput{glossaries} \endinput diff --git a/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht b/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht index 572384b574a..16af14dc0ea 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/imakeidx.4ht @@ -1,5 +1,5 @@ -% imakeidx.4ht (2022-11-25-13:16), generated from tex4ht-4ht.tex -% Copyright 2019 TeX Users Group +% imakeidx.4ht (2022-11-27-07:50), generated from tex4ht-4ht.tex +% Copyright 2019-2022 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2022-11-25-13:16} +\immediate\write-1{version 2022-11-27-07:50} \def\:temp#1#2#3{\html:addr% diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht index a933cf25226..f4b4e99b2d9 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht @@ -1,4 +1,4 @@ -% mathjax-latex-4ht.4ht (2022-10-17-13:57), generated from tex4ht-mathjax.tex +% mathjax-latex-4ht.4ht (2022-11-28-13:11), generated from tex4ht-mathjax.tex % Copyright 2018-2022 TeX Users Group % % This work may be distributed and/or modified under the @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2022-10-17-13:57} +\immediate\write-1{version 2022-11-28-13:11} \ExplSyntaxOn @@ -54,9 +54,28 @@ \end{#2}}% } \ExplSyntaxOn +\seq_new:N\:savedmathjaxenvs + +\newcommand\:savemathjaxenv[1]{% + \seq_gput_right:Nn\:savedmathjaxenvs{#1} + \expandafter\let\csname mathjax-#1\expandafter\endcsname\csname #1\endcsname% + \expandafter\let\csname mathjax-end#1\expandafter\endcsname\csname end#1\endcsname% +} + +\newcommand\RestoreMathJaxEnvironment[1]{% + \expandafter\let\csname #1\expandafter\endcsname\csname mathjax-#1\endcsname% + \expandafter\let\csname end#1\expandafter\endcsname\csname mathjax-end#1\endcsname% +} + +\newcommand\RestoreMathJaxEnvironments{% + \seq_map_function:NN\:savedmathjaxenvs\RestoreMathJaxEnvironment% +} +\ExplSyntaxOff +\ExplSyntaxOn \cs_generate_variant:Nn \regex_extract_once:nnNTF {nV} \newcommand\VerbMath[2][]{% \cs_if_exist:cTF{#2}{ + \:savemathjaxenv{#2}% \RenewDocumentEnvironment{#2}{+!b}{% \NoFonts\expandafter\VerbMathToks\expandafter{\detokenize{##1}}{#2}\EndNoFonts% \ifx\relax#1\relax\else% @@ -68,7 +87,6 @@ } \ExplSyntaxOff \def\fixmathjaxtoc#1{\Configure{writetoc}{\def#1{\detokenize{#1}}}} -\def\fixmathjaxsec#1{\def#1{\detokenize{#1}}} \AtBeginDocument{% \VerbMath{subarray} @@ -108,8 +126,6 @@ \ConfigureEnv{gather*}{}{}{}{} \ConfigureEnv{multline}{}{}{}{} \ConfigureEnv{multline*}{}{}{}{} -\fixmathjaxsec\left -\fixmathjaxsec\right \fixmathjaxtoc\int \fixmathjaxtoc\, \fixmathjaxtoc\sin @@ -139,6 +155,10 @@ \def\ce#1{\texttt{\detokenize{\(\ce{#1}\)}}} }{} +\@ifpackageloaded{tikz}{% +\tikzset{every picture/.append code={\RestoreMathJaxEnvironments}} +}{} + } \endinput @@ -618,5 +638,15 @@ + + + + + + + + + + \endinput diff --git a/Master/texmf-dist/tex/generic/tex4ht/musicography.4ht b/Master/texmf-dist/tex/generic/tex4ht/musicography.4ht new file mode 100644 index 00000000000..48dde27ac71 --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/musicography.4ht @@ -0,0 +1,84 @@ +% musicography.4ht (2022-11-28-13:11), generated from tex4ht-4ht.tex +% Copyright 2022 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. +\immediate\write-1{version 2022-11-28-13:11} + +\NewConfigure{musSymbol}{2} +\NewDocumentCommand{\:musSymbol}{ O{\musFont} m m m m }{% + \a:musSymbol\o:musSymbol:[#1]{#2}{#3}{#4}{#5}\b:musSymbol% +} + +\NewConfigure{musFlaggedNote}{2} +\NewDocumentCommand{\:musFlaggedNote}{ m m }{% + \a:musFlaggedNote\o:musFlaggedNote:{#1}{#2}\b:musFlaggedNote +} +\HLet\musFlaggedNote\:musFlaggedNote + + +\NewConfigure{musStemmedNote}{2} +\NewDocumentCommand{\:musStemmedNote}{ m }{% + \a:musStemmedNote\o:musStemmedNote:{#1}\b:musStemmedNote% +} + +\HLet\musStemmedNote\:musStemmedNote + + +\NewConfigure{musDottedNote}{2} +\NewDocumentCommand{\:musDottedNote}{ m }{% + \a:musDottedNote\o:musDottedNote:{#1}\b:musDottedNote% +} + +\HLet\musDottedNote\:musDottedNote + + +\NewConfigure{musStack}{2} +\NewDocumentCommand{\:musStack}{ O{\musNumFont} m }{% + \a:musStack\o:musStack:[#1]{#2}\b:musStack% +} + +\HLet\musStack\:musStack + +\NewConfigure{meterCplus}{2} +\NewDocumentCommand{\:meterCplus}{ m }{\a:meterCplus\o:meterCplus:{#1}\b:meterCplus} +\HLet\meterCplus\:meterCplus + + +\Configure{musStack}{\Picture+{}}{\EndPicture} +\Css{.mustack{display:block-inline}} +\Configure{musDottedNote}{\Picture+{}}{\EndPicture} +\Configure{musStemmedNote}{\Picture+{}}{\EndPicture} +\Configure{musFlaggedNote}{\Picture+{}}{\EndPicture} +\Configure{musSymbol}{\Picture+{}}{\EndPicture} +\Configure{meterCplus}{\Picture+{}}{\EndPicture} + + +% \def\:tempa#1#2{% +% \def\:tempb{\x:unicode{#2}}% +% \HLet#1\:tempb% +% } +% these characters are strange, they seems to overlap with the following character, and they are too small +% it is probably better to use images +% \:tempa\musEighth{1D160} +% \:tempa\musSixteenth{1D161} +% \:tempa\musThirtySecond{1D162} +% \:tempa\musSixtyFourth{1D163} + + +\Hinput{musicography} +\endinput + |