Skip to content

Commit 6fc34a1

Browse files
authored
Revert "Document \data command"
1 parent c08ea76 commit 6fc34a1

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

input/tex/extensions/autoload.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ The default autoload definitions are the following:
135135
enclose: ['enclose'],
136136
extpfeil: ['xtwoheadrightarrow', 'xtwoheadleftarrow', 'xmapsto',
137137
'xlongequal', 'xtofrom', 'Newextarrow'],
138-
html: ['data', 'href', 'class', 'style', 'cssId'],
138+
html: ['href', 'class', 'style', 'cssId'],
139139
mhchem: ['ce', 'pu'],
140140
newcommand: ['newcommand', 'renewcommand', 'newenvironment', 'renewenvironment', 'def', 'let'],
141141
unicode: ['unicode'],

input/tex/extensions/html.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ html
55
####
66

77
The `html` extension gives you access to some HTML features like
8-
styles, classes, element ID's, data-* attributes, and clickable links. It defines the
8+
styles, classes, element ID's, and clickable links. It defines the
99
following non-standard macros:
1010

1111
.. describe:: \\href{url}{math}
@@ -37,10 +37,6 @@ following non-standard macros:
3737
Adds the give ``css`` declarations to the element associated with
3838
``math``.
3939

40-
.. describe:: \\data{dataset}{math}
41-
42-
Adds `data-* <https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*>`__ attributes to the element associated with ``math``.
43-
4440
For example:
4541

4642
.. code-block:: latex
@@ -51,8 +47,6 @@ For example:
5147

5248
(x+1)^2 = \cssId{step1}{\style{visibility:hidden}{(x+1)(x+1)}}
5349

54-
x = \data{during=quadratic}{\frac{-b\pm\sqrt{b^2-4ac}}{2a}}
55-
5650
.. Note::
5751

5852
For the ``\href`` macro, the `url` parameter is not processed
@@ -87,7 +81,7 @@ html Commands
8781
-------------
8882

8983
The `html` extension implements the following macros:
90-
``\class``, ``\cssId``, ``\data``, ``\href``, ``\style``
84+
``\class``, ``\cssId``, ``\href``, ``\style``
9185

9286

9387
|-----|

input/tex/extensions/textmacros.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ HTML Commands
256256
-------------
257257

258258
.. list-table::
259-
* - ``\data``
260-
- specify data-* attributes
259+
261260
* - ``\href``
262261
- make hyperlink
263262
* - ``\style``

input/tex/macros/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,6 @@ D
601601
- **ams**
602602
* - ``\dashv``
603603
-
604-
* - ``\data``
605-
- **html**
606604
* - ``\dbinom``
607605
- **ams**
608606
* - ``\dblcolon``

0 commit comments

Comments
 (0)