Debian Codegraph @

texmf-dist/tex/latex/latex-lab/latex-lab-mathintent.ltx

raw
1 %%
2 %% This is file `latex-lab-mathintent.ltx',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% latex-lab-mathintent.dtx (with options: `kernel')
8 %%
9 %% This is a generated file.
10 %%
11 %% Copyright 2021-2025 LaTeX Project
12 %%
13 %% This file was generated from file(s) of the `LaTeX-lab Bundle'.
14 %% ------------------------------------------------------------------------------------
15 %%
16 %% It may be distributed and/or modified under the
17 %% conditions of the LaTeX Project Public License, either version 1.3c
18 %% of this license or (at your option) any later version.
19 %% The latest version of this license is in
20 %% http://www.latex-project.org/lppl.txt
21 %% and version 1.3c or later is part of all distributions of LaTeX
22 %% version 2008 or later.
23 %%
24 %% This file may only be distributed together with a copy of the LaTeX
25 %% `LaTeX-lab Bundle'. You may however distribute the `LaTeX-lab Bundle'
26 %% without such generated files.
27 %%
28 %% The newest sources can be found below
29 %%
30 %% https://github.com/latex3/latex2e/required/latex-lab
31 %%
32 %% where one can also log issues in case there are any.
33 %%
34 %%
35 %% File: latex-lab-mathintent.dtx
36 \ProvidesFile{latex-lab-mathintent.ltx}
37 [2025-08-03 v0.1c MathML intent attributes]
38 \ExplSyntaxOn
39 \protected\def\invisibletimes{
40 \if_cs_exist:N\luamml_annotate:en
41 \luamml_annotate:en {
42 core = {[0] = 'mo', intent="times","^^^^2062"},
43 }{
44 \latelua{}
45 }
46 \fi:
47 }
48 \protected\def\functionapplication{
49 \if_cs_exist:N\luamml_annotate:en
50 \luamml_annotate:en {
51 core = {[0] = 'mo', intent="applied_to","^^^^2061"},
52 }{
53 \latelua{}
54 }
55 \fi:
56 }
57 \AtBeginDocument{
58 \if_cs_exist:N \luamml_attribute:een
59 \let\MathMLintent\relax
60 \NewDocumentCommand \MathMLintent {} {
61 \luamml_attribute:een { intent }
62 }
63 \let\MathMLarg\relax
64 \NewDocumentCommand \MathMLarg {} {
65 \luamml_attribute:een { arg }
66 }
67 \fi:
68 }
69 \ExplSyntaxOff
70 \endinput
71 %%
72 %% End of file `latex-lab-mathintent.ltx'.