@pretextbook/pretext-html 0.7.0 → 0.9.0
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/README.md +31 -2
- package/assets/preview-html.xsl +16 -0
- package/assets/upstream.json +1 -1
- package/assets/xsl/README.md +25 -24
- package/assets/xsl/entities.ent +11 -0
- package/assets/xsl/extract-dynamic.xsl +54 -3
- package/assets/xsl/extract-gdscript.xsl +61 -0
- package/assets/xsl/extract-sageplot.xsl +3 -0
- package/assets/xsl/localizations/README.md +24 -24
- package/assets/xsl/localizations/it-IT.xml +37 -41
- package/assets/xsl/pretext-assembly.xsl +190 -30
- package/assets/xsl/pretext-beamer.xsl +57 -12
- package/assets/xsl/pretext-common.xsl +175 -30
- package/assets/xsl/pretext-epub.xsl +4 -6
- package/assets/xsl/pretext-fo.xsl +127 -67
- package/assets/xsl/pretext-html.xsl +350 -94
- package/assets/xsl/pretext-jupyter.xsl +1 -0
- package/assets/xsl/pretext-latex-classic.xsl +2 -2
- package/assets/xsl/pretext-latex-common.xsl +296 -151
- package/assets/xsl/pretext-latex.xsl +16 -6
- package/assets/xsl/pretext-numbers.xsl +10 -0
- package/assets/xsl/pretext-revealjs.xsl +69 -4
- package/assets/xsl/pretext-runestone-fitb.xsl +179 -84
- package/assets/xsl/pretext-runestone-static.xsl +72 -20
- package/assets/xsl/pretext-runestone.xsl +32 -25
- package/assets/xsl/pretext-text-utilities.xsl +7 -0
- package/assets/xsl/pretext-text.xsl +17 -0
- package/assets/xsl/publisher-variables.xsl +109 -111
- package/assets/xsl/support/play-button/README.md +1 -3
- package/assets/xsl/tests/README.md +1 -1
- package/assets/xsl/utilities/README.md +6 -8
- package/assets/xsl-bundle.json +1 -1
- package/dist/cli-BUrNZxov.js +1098 -0
- package/dist/cli.js +1 -1
- package/dist/html-static.d.ts +20 -0
- package/dist/index.browser.js +598 -374
- package/dist/index.d.ts +4 -0
- package/dist/index.js +35 -30
- package/dist/renderer.d.ts +40 -1
- package/dist/skeleton.d.ts +41 -0
- package/dist/xrefs.d.ts +54 -0
- package/package.json +2 -1
- package/dist/cli-D0m0Ha1j.js +0 -856
|
@@ -353,6 +353,7 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
|
|
|
353
353
|
<xsl:text>.mathbook-content td.r {text-align: right;}
</xsl:text>
|
|
354
354
|
<xsl:text>.mathbook-content table tr.header-vertical th {writing-mode: vertical-rl; padding-left: 2em;}
</xsl:text>
|
|
355
355
|
<xsl:text>.mathbook-content .sbspanel img {max-width: 100%;}
</xsl:text>
|
|
356
|
+
<xsl:text>.mathbook-content .tablenotes {list-style: none; padding-left: 0;}
</xsl:text>
|
|
356
357
|
<xsl:text></style></xsl:text>
|
|
357
358
|
<xsl:call-template name="end-string" />
|
|
358
359
|
</xsl:with-param>
|
|
@@ -683,7 +683,7 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
|
|
|
683
683
|
|
|
684
684
|
<!-- Introductions and Conclusions -->
|
|
685
685
|
<!-- Introductions and conclusions are just their contents at their position. -->
|
|
686
|
-
<xsl:template match="article/introduction|chapter/introduction|section/introduction|subsection/introduction|appendix/introduction|exercises/introduction|solutions/introduction|worksheet/introduction|reading-questions/introduction
|
|
686
|
+
<xsl:template match="article/introduction|chapter/introduction|section/introduction|subsection/introduction|appendix/introduction|exercises/introduction|solutions/introduction|worksheet/introduction|reading-questions/introduction">
|
|
687
687
|
<xsl:text>% Introduction
</xsl:text>
|
|
688
688
|
<!-- an authored @xml:id suggests a cross-reference target -->
|
|
689
689
|
<xsl:if test="@xml:id">
|
|
@@ -694,7 +694,7 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
|
|
|
694
694
|
<xsl:text>% end of introduction
</xsl:text>
|
|
695
695
|
</xsl:template>
|
|
696
696
|
|
|
697
|
-
<xsl:template match="article/conclusion|chapter/conclusion|section/conclusion|subsection/conclusion|appendix/conclusion|exercises/conclusion|solutions/conclusion|worksheet/conclusion|reading-questions/conclusion
|
|
697
|
+
<xsl:template match="article/conclusion|chapter/conclusion|section/conclusion|subsection/conclusion|appendix/conclusion|exercises/conclusion|solutions/conclusion|worksheet/conclusion|reading-questions/conclusion">
|
|
698
698
|
<xsl:text>% Conclusion
</xsl:text>
|
|
699
699
|
<!-- an authored @xml:id suggests a cross-reference target -->
|
|
700
700
|
<xsl:if test="@xml:id">
|