@pretextbook/pretext-html 0.1.0 → 0.1.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.
Files changed (111) hide show
  1. package/README.md +42 -3
  2. package/assets/preview-html.xsl +230 -230
  3. package/assets/upstream.json +7 -7
  4. package/assets/xsl/README.md +0 -0
  5. package/assets/xsl/entities.ent +154 -154
  6. package/assets/xsl/extract-asymptote.xsl +68 -68
  7. package/assets/xsl/extract-biblio-csl.xsl +327 -327
  8. package/assets/xsl/extract-datafile.xsl +71 -71
  9. package/assets/xsl/extract-dynamic.xsl +139 -139
  10. package/assets/xsl/extract-identity.xsl +136 -136
  11. package/assets/xsl/extract-interactive.xsl +81 -81
  12. package/assets/xsl/extract-latex-image.xsl +118 -118
  13. package/assets/xsl/extract-mermaid.xsl +58 -58
  14. package/assets/xsl/extract-mom.xsl +63 -63
  15. package/assets/xsl/extract-pg.xsl +2897 -2897
  16. package/assets/xsl/extract-prefigure.xsl +157 -157
  17. package/assets/xsl/extract-qrcode.xsl +100 -100
  18. package/assets/xsl/extract-runestone-page-template.xsl +139 -139
  19. package/assets/xsl/extract-sageplot.xsl +166 -166
  20. package/assets/xsl/extract-stack.xsl +56 -56
  21. package/assets/xsl/extract-trace.xsl +134 -134
  22. package/assets/xsl/extract-youtube.xsl +63 -63
  23. package/assets/xsl/html-symbols.xsl +3344 -3344
  24. package/assets/xsl/latex/pretext-latex-AIM.xsl +56 -56
  25. package/assets/xsl/latex/pretext-latex-CLP.xsl +148 -148
  26. package/assets/xsl/latex/pretext-latex-chaos.xsl +317 -317
  27. package/assets/xsl/latex/pretext-latex-dyslexic-font.xsl +76 -76
  28. package/assets/xsl/latex/pretext-latex-guide.xsl +104 -104
  29. package/assets/xsl/latex/pretext-latex-texstyle.xsl +862 -862
  30. package/assets/xsl/localizations/README.md +0 -0
  31. package/assets/xsl/localizations/af-ZA.xml +276 -276
  32. package/assets/xsl/localizations/bg-BG.xml +276 -276
  33. package/assets/xsl/localizations/ca-ES.xml +285 -285
  34. package/assets/xsl/localizations/cs-CZ.xml +280 -280
  35. package/assets/xsl/localizations/de-DE.xml +281 -281
  36. package/assets/xsl/localizations/en-US.xml +427 -427
  37. package/assets/xsl/localizations/es-ES.xml +287 -287
  38. package/assets/xsl/localizations/fi-FI.xml +275 -275
  39. package/assets/xsl/localizations/fr-CA.xml +276 -276
  40. package/assets/xsl/localizations/fr-FR.xml +280 -280
  41. package/assets/xsl/localizations/hu-HU.xml +280 -280
  42. package/assets/xsl/localizations/it-IT.xml +276 -276
  43. package/assets/xsl/localizations/ku-CKB.xml +275 -275
  44. package/assets/xsl/localizations/localizations.xml +48 -48
  45. package/assets/xsl/localizations/nl-NL.xml +275 -275
  46. package/assets/xsl/localizations/pt-BR.xml +288 -288
  47. package/assets/xsl/localizations/pt-PT.xml +292 -292
  48. package/assets/xsl/localizations/zh-HANS.xml +269 -269
  49. package/assets/xsl/pretext-assembly.xsl +4795 -4795
  50. package/assets/xsl/pretext-basic-html.xsl +86 -86
  51. package/assets/xsl/pretext-beamer.xsl +662 -662
  52. package/assets/xsl/pretext-braille-preprint.xsl +2249 -2249
  53. package/assets/xsl/pretext-common.xsl +12018 -12018
  54. package/assets/xsl/pretext-dynamic.xsl +65 -65
  55. package/assets/xsl/pretext-epub.xsl +1483 -1483
  56. package/assets/xsl/pretext-fo.xsl +4593 -4593
  57. package/assets/xsl/pretext-html.xsl +14791 -14791
  58. package/assets/xsl/pretext-json-manifest.xsl +150 -150
  59. package/assets/xsl/pretext-jupyter.xsl +868 -868
  60. package/assets/xsl/pretext-latex-classic.xsl +952 -952
  61. package/assets/xsl/pretext-latex-common.xsl +11563 -11563
  62. package/assets/xsl/pretext-latex.xsl +47 -47
  63. package/assets/xsl/pretext-litprog.xsl +105 -105
  64. package/assets/xsl/pretext-merge.xsl +41 -41
  65. package/assets/xsl/pretext-numbers.xsl +875 -875
  66. package/assets/xsl/pretext-revealjs.xsl +522 -522
  67. package/assets/xsl/pretext-runestone-fitb.xsl +1233 -1233
  68. package/assets/xsl/pretext-runestone-static.xsl +1438 -1438
  69. package/assets/xsl/pretext-runestone.xsl +3083 -3083
  70. package/assets/xsl/pretext-sage-doctest.xsl +289 -289
  71. package/assets/xsl/pretext-smc.xsl +492 -492
  72. package/assets/xsl/pretext-solution-manual-latex.xsl +323 -323
  73. package/assets/xsl/pretext-text-utilities.xsl +1217 -1217
  74. package/assets/xsl/pretext-text.xsl +392 -392
  75. package/assets/xsl/pretext-units.xsl +195 -195
  76. package/assets/xsl/pretext-view-source.xsl +157 -157
  77. package/assets/xsl/pretext-ww-problem-sets.xsl +391 -391
  78. package/assets/xsl/publisher-variables.xsl +4756 -4756
  79. package/assets/xsl/support/README.md +0 -0
  80. package/assets/xsl/support/extract-math.xsl +256 -256
  81. package/assets/xsl/support/package-math.xsl +141 -141
  82. package/assets/xsl/support/play-button/README.md +0 -0
  83. package/assets/xsl/support/play-button/play-button.png +0 -0
  84. package/assets/xsl/support/play-button/play-button.svg +3 -3
  85. package/assets/xsl/support/pretext-pg-macros.xsl +110 -110
  86. package/assets/xsl/support/webpack_static_imports.xml +14 -14
  87. package/assets/xsl/tests/README.md +0 -0
  88. package/assets/xsl/tests/null.xml +3 -3
  89. package/assets/xsl/tests/pretext-text-utilities-test.xsl +333 -333
  90. package/assets/xsl/utilities/README.md +0 -0
  91. package/assets/xsl/utilities/author-report.xsl +107 -107
  92. package/assets/xsl/utilities/deprecate-autoname.sed +18 -18
  93. package/assets/xsl/utilities/deprecate-index.sed +33 -33
  94. package/assets/xsl/utilities/fix-deprecations.xsl +663 -663
  95. package/assets/xsl/utilities/pretext-enhanced-source.xsl +112 -112
  96. package/assets/xsl/utilities/report-publisher-variables.xsl +162 -162
  97. package/assets/xsl/xml-to-json.xsl +326 -326
  98. package/assets/xsl/xml-to-string.xsl +328 -328
  99. package/dist/{cli-C6tfAVvi.js → cli-BQizBK0N.js} +74 -72
  100. package/dist/cli.d.ts +0 -0
  101. package/dist/cli.js +1 -1
  102. package/dist/index.d.ts +2 -0
  103. package/dist/index.js +12 -6
  104. package/dist/mounts.d.ts +0 -0
  105. package/dist/publication.d.ts +0 -0
  106. package/dist/renderer.d.ts +10 -0
  107. package/dist/sourcemap.d.ts +0 -0
  108. package/dist/theme.d.ts +68 -0
  109. package/dist/theme.js +93 -0
  110. package/dist/xinclude.d.ts +0 -0
  111. package/package.json +14 -2
@@ -1,47 +1,47 @@
1
- <?xml version='1.0'?>
2
-
3
- <!--********************************************************************
4
- Copyright 2020 Robert A. Beezer
5
-
6
- This file is part of PreTeXt.
7
-
8
- PreTeXt is free software: you can redistribute it and/or modify
9
- it under the terms of the GNU General Public License as published by
10
- the Free Software Foundation, either version 2 or version 3 of the
11
- License (at your option).
12
-
13
- PreTeXt is distributed in the hope that it will be useful,
14
- but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- GNU General Public License for more details.
17
-
18
- You should have received a copy of the GNU General Public License
19
- along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
20
- *********************************************************************-->
21
-
22
- <!-- This is the default LaTeX stylesheet for PreTeXt. -->
23
-
24
-
25
- <!-- Conveniences for classes of similar elements -->
26
- <!DOCTYPE xsl:stylesheet [
27
- <!ENTITY % entities SYSTEM "./entities.ent">
28
- %entities;
29
- ]>
30
-
31
- <!-- Identify as a stylesheet -->
32
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
33
- xmlns:xml="http://www.w3.org/XML/1998/namespace"
34
- >
35
-
36
- <!-- We override specific templates of the common conversion -->
37
-
38
- <xsl:import href="./pretext-latex-common.xsl" />
39
-
40
- <!-- Note (2024-11-14): This is the start of a refactoring of -->
41
- <!-- the latex stylesheet into templates common to both this -->
42
- <!-- and "classic" journal-ready latex templates (in the -->
43
- <!-- pretext-latex-classic.xsl stylesheet). Eventually more -->
44
- <!-- templates will move here. -->
45
-
46
-
47
- </xsl:stylesheet>
1
+ <?xml version='1.0'?>
2
+
3
+ <!--********************************************************************
4
+ Copyright 2020 Robert A. Beezer
5
+
6
+ This file is part of PreTeXt.
7
+
8
+ PreTeXt is free software: you can redistribute it and/or modify
9
+ it under the terms of the GNU General Public License as published by
10
+ the Free Software Foundation, either version 2 or version 3 of the
11
+ License (at your option).
12
+
13
+ PreTeXt is distributed in the hope that it will be useful,
14
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ GNU General Public License for more details.
17
+
18
+ You should have received a copy of the GNU General Public License
19
+ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
20
+ *********************************************************************-->
21
+
22
+ <!-- This is the default LaTeX stylesheet for PreTeXt. -->
23
+
24
+
25
+ <!-- Conveniences for classes of similar elements -->
26
+ <!DOCTYPE xsl:stylesheet [
27
+ <!ENTITY % entities SYSTEM "./entities.ent">
28
+ %entities;
29
+ ]>
30
+
31
+ <!-- Identify as a stylesheet -->
32
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
33
+ xmlns:xml="http://www.w3.org/XML/1998/namespace"
34
+ >
35
+
36
+ <!-- We override specific templates of the common conversion -->
37
+
38
+ <xsl:import href="./pretext-latex-common.xsl" />
39
+
40
+ <!-- Note (2024-11-14): This is the start of a refactoring of -->
41
+ <!-- the latex stylesheet into templates common to both this -->
42
+ <!-- and "classic" journal-ready latex templates (in the -->
43
+ <!-- pretext-latex-classic.xsl stylesheet). Eventually more -->
44
+ <!-- templates will move here. -->
45
+
46
+
47
+ </xsl:stylesheet>
@@ -1,105 +1,105 @@
1
- <?xml version='1.0'?> <!-- As XML file -->
2
-
3
- <!--********************************************************************
4
- Copyright 2013-2020 Robert A. Beezer
5
-
6
- This file is part of PreTeXt.
7
-
8
- PreTeXt is free software: you can redistribute it and/or modify
9
- it under the terms of the GNU General Public License as published by
10
- the Free Software Foundation, either version 2 or version 3 of the
11
- License (at your option).
12
-
13
- PreTeXt is distributed in the hope that it will be useful,
14
- but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- GNU General Public License for more details.
17
-
18
- You should have received a copy of the GNU General Public License
19
- along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
20
- *********************************************************************-->
21
-
22
- <!-- http://pimpmyxslt.com/articles/entity-tricks-part2/ -->
23
- <!DOCTYPE xsl:stylesheet [
24
- <!ENTITY % entities SYSTEM "entities.ent">
25
- %entities;
26
- ]>
27
-
28
- <!-- Identify as a stylesheet -->
29
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
30
- xmlns:xml="http://www.w3.org/XML/1998/namespace"
31
- xmlns:exsl="http://exslt.org/common"
32
- xmlns:date="http://exslt.org/dates-and-times"
33
- xmlns:str="http://exslt.org/strings"
34
- extension-element-prefixes="exsl date str"
35
- >
36
-
37
- <!-- Begin with PreTeXt source, locate "fragment" with @filename attribute, -->
38
- <!-- and do a depth-first search through the "fragment" that are pointers -->
39
- <!-- to other "fragment". Any given "fragment" will be a mix of source -->
40
- <!-- "code" (to emit) and other "fragment". If your source code has & or < -->
41
- <!-- as characters, author them as &amp; or &lt; (respectively). -->
42
-
43
- <!-- Standard conversion groundwork -->
44
- <xsl:import href="./publisher-variables.xsl"/>
45
- <xsl:import href="./pretext-assembly.xsl"/>
46
- <xsl:import href="./pretext-common.xsl"/>
47
-
48
- <!-- Intend output for rendering as source code for some language -->
49
- <!-- An output in XML syntax, like XSL, might be tricky -->
50
- <xsl:output method="text" encoding="UTF-8"/>
51
-
52
- <!-- ############## -->
53
- <!-- Entry Template -->
54
- <!-- ############## -->
55
-
56
- <!-- Deprecation warnings are universal analysis of source and parameters -->
57
- <!-- There is always a "document root" directly under the pretext element, -->
58
- <!-- Note that "docinfo" is at the same level and not processed -->
59
- <xsl:template match="/">
60
- <xsl:apply-templates select="$original" mode="generic-warnings"/>
61
- <xsl:apply-templates select="$original" mode="element-deprecation-warnings"/>
62
- <xsl:apply-templates select="$original" mode="parameter-deprecation-warnings"/>
63
- <xsl:apply-templates select="$root" />
64
- </xsl:template>
65
-
66
- <!-- Locate file roots by presence of the filename attribute -->
67
- <xsl:template match="pretext">
68
- <xsl:apply-templates select="$document-root//fragment[@filename]"/>
69
- </xsl:template>
70
-
71
- <!-- Use filename as a root indicator, allowing multiple files as output -->
72
- <!-- Otherwise process as a fragment. No banner since we have no idea -->
73
- <!-- what the target language's comments look like. Maybe the target -->
74
- <!-- language's comment character could be a docinfo item utilized by -->
75
- <!-- the banner templates? -->
76
- <xsl:template match="fragment[@filename]">
77
- <exsl:document href="{@filename}" method="text">
78
- <xsl:apply-templates select="code|fragref"/>
79
- </exsl:document>
80
- </xsl:template>
81
-
82
- <!-- If not a root, process allowed children -->
83
- <xsl:template match="fragment[not(@filename)]">
84
- <xsl:apply-templates select="code|fragref"/>
85
- </xsl:template>
86
-
87
- <!-- Duplicate code, rather than default sanitization, so author -->
88
- <!-- needs to be cognizant of indentation in PreTeXt source and -->
89
- <!-- resulting indentation of output -->
90
- <!-- TODO: indentation/relative indentation specification on a "fragment"? -->
91
- <!-- In "indentation units" with global value in spaces (or tabs?)? -->
92
- <!-- TODO: or maybe a "mangle" attribute (newlines, and/or more) -->
93
- <!-- TODO: global switch to minify (remove indentation, remove newlines?) -->
94
- <xsl:template match="fragment/code">
95
- <xsl:value-of select="."/>
96
- </xsl:template>
97
-
98
- <!-- As we process a fragment, a mix of code and pointers, -->
99
- <!-- we incorporate the referenced material referenced by -->
100
- <!-- pointers, a depth-first traversal -->
101
- <xsl:template match="fragref">
102
- <xsl:apply-templates select="id(@ref)"/>
103
- </xsl:template>
104
-
105
- </xsl:stylesheet>
1
+ <?xml version='1.0'?> <!-- As XML file -->
2
+
3
+ <!--********************************************************************
4
+ Copyright 2013-2020 Robert A. Beezer
5
+
6
+ This file is part of PreTeXt.
7
+
8
+ PreTeXt is free software: you can redistribute it and/or modify
9
+ it under the terms of the GNU General Public License as published by
10
+ the Free Software Foundation, either version 2 or version 3 of the
11
+ License (at your option).
12
+
13
+ PreTeXt is distributed in the hope that it will be useful,
14
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ GNU General Public License for more details.
17
+
18
+ You should have received a copy of the GNU General Public License
19
+ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
20
+ *********************************************************************-->
21
+
22
+ <!-- http://pimpmyxslt.com/articles/entity-tricks-part2/ -->
23
+ <!DOCTYPE xsl:stylesheet [
24
+ <!ENTITY % entities SYSTEM "entities.ent">
25
+ %entities;
26
+ ]>
27
+
28
+ <!-- Identify as a stylesheet -->
29
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
30
+ xmlns:xml="http://www.w3.org/XML/1998/namespace"
31
+ xmlns:exsl="http://exslt.org/common"
32
+ xmlns:date="http://exslt.org/dates-and-times"
33
+ xmlns:str="http://exslt.org/strings"
34
+ extension-element-prefixes="exsl date str"
35
+ >
36
+
37
+ <!-- Begin with PreTeXt source, locate "fragment" with @filename attribute, -->
38
+ <!-- and do a depth-first search through the "fragment" that are pointers -->
39
+ <!-- to other "fragment". Any given "fragment" will be a mix of source -->
40
+ <!-- "code" (to emit) and other "fragment". If your source code has & or < -->
41
+ <!-- as characters, author them as &amp; or &lt; (respectively). -->
42
+
43
+ <!-- Standard conversion groundwork -->
44
+ <xsl:import href="./publisher-variables.xsl"/>
45
+ <xsl:import href="./pretext-assembly.xsl"/>
46
+ <xsl:import href="./pretext-common.xsl"/>
47
+
48
+ <!-- Intend output for rendering as source code for some language -->
49
+ <!-- An output in XML syntax, like XSL, might be tricky -->
50
+ <xsl:output method="text" encoding="UTF-8"/>
51
+
52
+ <!-- ############## -->
53
+ <!-- Entry Template -->
54
+ <!-- ############## -->
55
+
56
+ <!-- Deprecation warnings are universal analysis of source and parameters -->
57
+ <!-- There is always a "document root" directly under the pretext element, -->
58
+ <!-- Note that "docinfo" is at the same level and not processed -->
59
+ <xsl:template match="/">
60
+ <xsl:apply-templates select="$original" mode="generic-warnings"/>
61
+ <xsl:apply-templates select="$original" mode="element-deprecation-warnings"/>
62
+ <xsl:apply-templates select="$original" mode="parameter-deprecation-warnings"/>
63
+ <xsl:apply-templates select="$root" />
64
+ </xsl:template>
65
+
66
+ <!-- Locate file roots by presence of the filename attribute -->
67
+ <xsl:template match="pretext">
68
+ <xsl:apply-templates select="$document-root//fragment[@filename]"/>
69
+ </xsl:template>
70
+
71
+ <!-- Use filename as a root indicator, allowing multiple files as output -->
72
+ <!-- Otherwise process as a fragment. No banner since we have no idea -->
73
+ <!-- what the target language's comments look like. Maybe the target -->
74
+ <!-- language's comment character could be a docinfo item utilized by -->
75
+ <!-- the banner templates? -->
76
+ <xsl:template match="fragment[@filename]">
77
+ <exsl:document href="{@filename}" method="text">
78
+ <xsl:apply-templates select="code|fragref"/>
79
+ </exsl:document>
80
+ </xsl:template>
81
+
82
+ <!-- If not a root, process allowed children -->
83
+ <xsl:template match="fragment[not(@filename)]">
84
+ <xsl:apply-templates select="code|fragref"/>
85
+ </xsl:template>
86
+
87
+ <!-- Duplicate code, rather than default sanitization, so author -->
88
+ <!-- needs to be cognizant of indentation in PreTeXt source and -->
89
+ <!-- resulting indentation of output -->
90
+ <!-- TODO: indentation/relative indentation specification on a "fragment"? -->
91
+ <!-- In "indentation units" with global value in spaces (or tabs?)? -->
92
+ <!-- TODO: or maybe a "mangle" attribute (newlines, and/or more) -->
93
+ <!-- TODO: global switch to minify (remove indentation, remove newlines?) -->
94
+ <xsl:template match="fragment/code">
95
+ <xsl:value-of select="."/>
96
+ </xsl:template>
97
+
98
+ <!-- As we process a fragment, a mix of code and pointers, -->
99
+ <!-- we incorporate the referenced material referenced by -->
100
+ <!-- pointers, a depth-first traversal -->
101
+ <xsl:template match="fragref">
102
+ <xsl:apply-templates select="id(@ref)"/>
103
+ </xsl:template>
104
+
105
+ </xsl:stylesheet>
@@ -1,41 +1,41 @@
1
- <?xml version='1.0'?>
2
-
3
- <!-- ********************************************************************* -->
4
- <!-- Copyright 2017 -->
5
- <!-- Robert A. Beezer, Alex Jordan -->
6
- <!-- -->
7
- <!-- This file is part of PreTeXt. -->
8
- <!-- -->
9
- <!-- PreTeXt is free software: you can redistribute it and/or modify -->
10
- <!-- it under the terms of the GNU General Public License as published by -->
11
- <!-- the Free Software Foundation, either version 2 or version 3 of the -->
12
- <!-- License (at your option). -->
13
- <!-- -->
14
- <!-- PreTeXt is distributed in the hope that it will be useful, -->
15
- <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
16
- <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
17
- <!-- GNU General Public License for more details. -->
18
- <!-- -->
19
- <!-- You should have received a copy of the GNU General Public License -->
20
- <!-- along with PreTeXt. If not, see <http://www.gnu.org/licenses/>. -->
21
- <!-- ********************************************************************* -->
22
-
23
- <!-- Identify as a stylesheet -->
24
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
25
-
26
- <!-- The function of this file has been subsumed into the "assembly" -->
27
- <!-- phase of processing PreTeXt source, and so its only purpose is -->
28
- <!-- to announce its retirement as of 2020-06-19. -->
29
- <xsl:template match="/">
30
- <xsl:message>
31
- <xsl:text>************************************************************&#xa;</xsl:text>
32
- <xsl:text>The WeBWorK merge stylesheet is no longer necessary and no&#xa;</xsl:text>
33
- <xsl:text>longer has any functionality. Any regular PreTeXt conversion&#xa;</xsl:text>
34
- <xsl:text>will now incorporate the WeBWorK problem representations if&#xa;</xsl:text>
35
- <xsl:text>the file is specified in the publisher file. Consult the&#xa;</xsl:text>
36
- <xsl:text>documentation for more details. (2020-06-19)&#xa;</xsl:text>
37
- <xsl:text>************************************************************&#xa;</xsl:text>
38
- </xsl:message>
39
- </xsl:template>
40
-
41
- </xsl:stylesheet>
1
+ <?xml version='1.0'?>
2
+
3
+ <!-- ********************************************************************* -->
4
+ <!-- Copyright 2017 -->
5
+ <!-- Robert A. Beezer, Alex Jordan -->
6
+ <!-- -->
7
+ <!-- This file is part of PreTeXt. -->
8
+ <!-- -->
9
+ <!-- PreTeXt is free software: you can redistribute it and/or modify -->
10
+ <!-- it under the terms of the GNU General Public License as published by -->
11
+ <!-- the Free Software Foundation, either version 2 or version 3 of the -->
12
+ <!-- License (at your option). -->
13
+ <!-- -->
14
+ <!-- PreTeXt is distributed in the hope that it will be useful, -->
15
+ <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
16
+ <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
17
+ <!-- GNU General Public License for more details. -->
18
+ <!-- -->
19
+ <!-- You should have received a copy of the GNU General Public License -->
20
+ <!-- along with PreTeXt. If not, see <http://www.gnu.org/licenses/>. -->
21
+ <!-- ********************************************************************* -->
22
+
23
+ <!-- Identify as a stylesheet -->
24
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
25
+
26
+ <!-- The function of this file has been subsumed into the "assembly" -->
27
+ <!-- phase of processing PreTeXt source, and so its only purpose is -->
28
+ <!-- to announce its retirement as of 2020-06-19. -->
29
+ <xsl:template match="/">
30
+ <xsl:message>
31
+ <xsl:text>************************************************************&#xa;</xsl:text>
32
+ <xsl:text>The WeBWorK merge stylesheet is no longer necessary and no&#xa;</xsl:text>
33
+ <xsl:text>longer has any functionality. Any regular PreTeXt conversion&#xa;</xsl:text>
34
+ <xsl:text>will now incorporate the WeBWorK problem representations if&#xa;</xsl:text>
35
+ <xsl:text>the file is specified in the publisher file. Consult the&#xa;</xsl:text>
36
+ <xsl:text>documentation for more details. (2020-06-19)&#xa;</xsl:text>
37
+ <xsl:text>************************************************************&#xa;</xsl:text>
38
+ </xsl:message>
39
+ </xsl:template>
40
+
41
+ </xsl:stylesheet>