@drghaliasri/butex 8.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/document-cli.js +103 -62
- package/dist/document-cli.js.map +1 -1
- package/dist/document.js +103 -62
- package/dist/document.js.map +1 -1
- package/dist/document.mjs +103 -62
- package/dist/document.mjs.map +1 -1
- package/dist/index.d.mts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.global.js +14 -0
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react-document-preview.js +28 -8
- package/dist/react-document-preview.js.map +1 -1
- package/dist/react-document-preview.mjs +28 -8
- package/dist/react-document-preview.mjs.map +1 -1
- package/dist/react-document.js +29 -8
- package/dist/react-document.js.map +1 -1
- package/dist/react-document.mjs +29 -8
- package/dist/react-document.mjs.map +1 -1
- package/dist/react.d.mts +12 -0
- package/dist/react.d.ts +12 -0
- package/dist/react.js +29 -8
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +29 -8
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -628,6 +628,18 @@ declare const ATOMIC_COMMANDS: {
|
|
|
628
628
|
readonly level: 1;
|
|
629
629
|
};
|
|
630
630
|
};
|
|
631
|
+
readonly thinSpace: {
|
|
632
|
+
readonly id: "thinSpace";
|
|
633
|
+
readonly category: "spacing";
|
|
634
|
+
readonly englishTex: "\\,";
|
|
635
|
+
readonly arabicTex: "\\,";
|
|
636
|
+
readonly arabicLabel: "";
|
|
637
|
+
readonly title: "فراغ رفيع";
|
|
638
|
+
readonly spacing: {
|
|
639
|
+
readonly direction: "positive";
|
|
640
|
+
readonly level: 1;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
631
643
|
readonly mediumSpace: {
|
|
632
644
|
readonly id: "mediumSpace";
|
|
633
645
|
readonly category: "spacing";
|
package/dist/index.d.ts
CHANGED
|
@@ -628,6 +628,18 @@ declare const ATOMIC_COMMANDS: {
|
|
|
628
628
|
readonly level: 1;
|
|
629
629
|
};
|
|
630
630
|
};
|
|
631
|
+
readonly thinSpace: {
|
|
632
|
+
readonly id: "thinSpace";
|
|
633
|
+
readonly category: "spacing";
|
|
634
|
+
readonly englishTex: "\\,";
|
|
635
|
+
readonly arabicTex: "\\,";
|
|
636
|
+
readonly arabicLabel: "";
|
|
637
|
+
readonly title: "فراغ رفيع";
|
|
638
|
+
readonly spacing: {
|
|
639
|
+
readonly direction: "positive";
|
|
640
|
+
readonly level: 1;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
631
643
|
readonly mediumSpace: {
|
|
632
644
|
readonly id: "mediumSpace";
|
|
633
645
|
readonly category: "spacing";
|
package/dist/index.global.js
CHANGED
|
@@ -679,6 +679,15 @@ mjx-container[jax="CHTML"] .butex-preview-mirror {
|
|
|
679
679
|
title: "\u0641\u0631\u0627\u063A \u0633\u0627\u0644\u0628 \u0631\u0641\u064A\u0639",
|
|
680
680
|
spacing: { direction: "negative", level: 1 }
|
|
681
681
|
},
|
|
682
|
+
thinSpace: {
|
|
683
|
+
id: "thinSpace",
|
|
684
|
+
category: "spacing",
|
|
685
|
+
englishTex: "\\,",
|
|
686
|
+
arabicTex: "\\,",
|
|
687
|
+
arabicLabel: "",
|
|
688
|
+
title: "\u0641\u0631\u0627\u063A \u0631\u0641\u064A\u0639",
|
|
689
|
+
spacing: { direction: "positive", level: 1 }
|
|
690
|
+
},
|
|
682
691
|
mediumSpace: {
|
|
683
692
|
id: "mediumSpace",
|
|
684
693
|
category: "spacing",
|
|
@@ -1756,6 +1765,7 @@ mjx-container[jax="CHTML"] .butex-preview-mirror {
|
|
|
1756
1765
|
C: "Complex numbers",
|
|
1757
1766
|
H: "Quaternions",
|
|
1758
1767
|
negThinSpace: "Negative thin space",
|
|
1768
|
+
thinSpace: "Thin space",
|
|
1759
1769
|
mediumSpace: "Medium space",
|
|
1760
1770
|
thickSpace: "Thick space",
|
|
1761
1771
|
quadSpace: "Large space",
|
|
@@ -3803,6 +3813,10 @@ ${STANDARD_COMMAND_CSS}
|
|
|
3803
3813
|
}
|
|
3804
3814
|
if (node.kind === "char") {
|
|
3805
3815
|
if (node.sourceLatex) {
|
|
3816
|
+
if (node.wrapperCommand === "\\boldarabic" || node.wrapperCommand === "\\mathbf") {
|
|
3817
|
+
const boldSource = node.sourceLatex.startsWith("\\mathbf{") ? node.sourceLatex : `\\mathbf{${node.sourceLatex}}`;
|
|
3818
|
+
return `${boldSource}${latinScripts(node, options)}`;
|
|
3819
|
+
}
|
|
3806
3820
|
return `${node.sourceLatex}${latinScripts(node, options)}`;
|
|
3807
3821
|
}
|
|
3808
3822
|
if (node.wrapperCommand) {
|