@pretextbook/pretext-html 0.19.0 → 0.19.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/assets/upstream.json +2 -2
- package/assets/xsl/extract-biblio-csl.xsl +1 -1
- package/assets/xsl/extract-pg.xsl +2 -2
- package/assets/xsl/latex/pretext-latex-texstyle.xsl +3 -3
- package/assets/xsl/pretext-assembly.xsl +35 -11
- package/assets/xsl/pretext-common.xsl +4 -4
- package/assets/xsl/pretext-html.xsl +20 -10
- package/assets/xsl/pretext-latex-common.xsl +26 -25
- package/assets/xsl/pretext-runestone.xsl +26 -0
- package/assets/xsl-bundle.json +1 -1
- package/dist/{cli-CddPgMt-.js → cli-BkcKZmqL.js} +5 -6
- package/dist/cli.js +1 -1
- package/dist/html-static.d.ts +2 -2
- package/dist/index.browser.js +6 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -177,13 +177,12 @@ function ae() {
|
|
|
177
177
|
function It(e, n) {
|
|
178
178
|
return f.join(e, n);
|
|
179
179
|
}
|
|
180
|
-
const _e = "2.56.
|
|
181
|
-
"prefix-runtime.
|
|
182
|
-
"prefix-
|
|
183
|
-
"prefix-runestone.
|
|
180
|
+
const _e = "2.56.2", Lt = "8.4.0", Dt = [
|
|
181
|
+
"prefix-runtime.7e2ee203f2ecd6c8.bundle.js",
|
|
182
|
+
"prefix-23.7d27cb317c36911a.bundle.js",
|
|
183
|
+
"prefix-runestone.35a40fea06647cf2.bundle.js"
|
|
184
184
|
], Rt = [
|
|
185
|
-
"prefix-
|
|
186
|
-
"prefix-runestone.9963089870a016c8.css"
|
|
185
|
+
"prefix-runestone.7062ede5334282a6.css"
|
|
187
186
|
], At = "born-hidden-knowl", jt = /<details\b([^>]*)>(\s*)(?:<summary\b([^>]*)>)?/g;
|
|
188
187
|
function Ct(e) {
|
|
189
188
|
const n = /\bclass="([^"]*)"/.exec(e);
|
package/dist/cli.js
CHANGED
|
@@ -5,7 +5,7 @@ import "node:process";
|
|
|
5
5
|
import "node:url";
|
|
6
6
|
import "./assets.js";
|
|
7
7
|
import "./printout.js";
|
|
8
|
-
import { u as n, q as A, v as f } from "./cli-
|
|
8
|
+
import { u as n, q as A, v as f } from "./cli-BkcKZmqL.js";
|
|
9
9
|
export {
|
|
10
10
|
n as linkAssetsFrom,
|
|
11
11
|
A as main,
|
package/dist/html-static.d.ts
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* rather than tracked as "latest".
|
|
12
12
|
*/
|
|
13
13
|
/** html-static release, passed to the stylesheets as `cli.version`. */
|
|
14
|
-
export declare const HTML_STATIC_VERSION = "2.56.
|
|
14
|
+
export declare const HTML_STATIC_VERSION = "2.56.2";
|
|
15
15
|
/** Runestone Services release built into it, reported as `eBookConfig.runestone_version`. */
|
|
16
|
-
export declare const RUNESTONE_VERSION = "8.
|
|
16
|
+
export declare const RUNESTONE_VERSION = "8.4.0";
|
|
17
17
|
/** Scripts that turn Runestone's inert exercise markup into working exercises. */
|
|
18
18
|
export declare const RUNESTONE_JS: readonly string[];
|
|
19
19
|
/** Stylesheets those scripts expect. */
|
package/dist/index.browser.js
CHANGED
|
@@ -183,7 +183,7 @@ ${kt()}
|
|
|
183
183
|
${Rt}`;
|
|
184
184
|
return r.replace(/<body([^>]*)>/i, `<body$1>${i}`);
|
|
185
185
|
}
|
|
186
|
-
const Dt = "https://cdn.jsdelivr.net/npm/@pretextbook/pretext-html@0.19.
|
|
186
|
+
const Dt = "https://cdn.jsdelivr.net/npm/@pretextbook/pretext-html@0.19.1/assets";
|
|
187
187
|
let Je;
|
|
188
188
|
function $r(e) {
|
|
189
189
|
Je = e.replace(/\/+$/, "");
|
|
@@ -250,13 +250,12 @@ async function jt(e) {
|
|
|
250
250
|
return;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
const qe = "2.56.
|
|
254
|
-
"prefix-runtime.
|
|
255
|
-
"prefix-
|
|
256
|
-
"prefix-runestone.
|
|
253
|
+
const qe = "2.56.2", Ut = "8.4.0", Ft = [
|
|
254
|
+
"prefix-runtime.7e2ee203f2ecd6c8.bundle.js",
|
|
255
|
+
"prefix-23.7d27cb317c36911a.bundle.js",
|
|
256
|
+
"prefix-runestone.35a40fea06647cf2.bundle.js"
|
|
257
257
|
], Wt = [
|
|
258
|
-
"prefix-
|
|
259
|
-
"prefix-runestone.9963089870a016c8.css"
|
|
258
|
+
"prefix-runestone.7062ede5334282a6.css"
|
|
260
259
|
], Ht = "born-hidden-knowl", Vt = /<details\b([^>]*)>(\s*)(?:<summary\b([^>]*)>)?/g;
|
|
261
260
|
function Xt(e) {
|
|
262
261
|
const t = /\bclass="([^"]*)"/.exec(e);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as i, P as s, S as t, b as a, d as o, a as n, c, e as l, f as p, g as P, h as d, i as E, j as m, m as v, o as S, p as u, r as A, k as f, l as g, n as h, q as B, s as w, t as _, x as R } from "./cli-
|
|
1
|
+
import { O as i, P as s, S as t, b as a, d as o, a as n, c, e as l, f as p, g as P, h as d, i as E, j as m, m as v, o as S, p as u, r as A, k as f, l as g, n as h, q as B, s as w, t as _, x as R } from "./cli-BkcKZmqL.js";
|
|
2
2
|
import { injectRevealBridge as b, isRevealView as x, revealBridgeScript as T } from "./reveal.js";
|
|
3
3
|
import { describeAsset as I, missingAssetPlaceholder as M, missingAssetSvg as j, rewriteAssetUrls as O } from "./assets.js";
|
|
4
4
|
import { PREVIEW_THEME_MESSAGE as C, injectThemeBridge as D, isPreviewTheme as H, previewThemeMessage as k, themeBridgeScript as N } from "./theme.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pretextbook/pretext-html",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "Convert PreTeXt documents to HTML in pure JavaScript using the official PreTeXt XSLT stylesheets via libxslt-wasm. No Python or PreTeXt installation required.",
|
|
5
5
|
"author": "Oscar Levin",
|
|
6
6
|
"license": "MIT",
|