pulpweaver4 0.0.0-stage → 0.0.88
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/ast/djot.d.ts +123 -0
- package/dist/ast/djot.js +458 -0
- package/dist/ast/djot.js.map +1 -0
- package/dist/ast/index.d.ts +10 -0
- package/dist/ast/index.js +11 -0
- package/dist/ast/index.js.map +1 -0
- package/dist/ast/locator.d.ts +27 -0
- package/dist/ast/locator.js +77 -0
- package/dist/ast/locator.js.map +1 -0
- package/dist/ast/nodes.d.ts +534 -0
- package/dist/ast/nodes.js +48 -0
- package/dist/ast/nodes.js.map +1 -0
- package/dist/ast/position.d.ts +88 -0
- package/dist/ast/position.js +98 -0
- package/dist/ast/position.js.map +1 -0
- package/dist/ast/traverse.d.ts +12 -0
- package/dist/ast/traverse.js +37 -0
- package/dist/ast/traverse.js.map +1 -0
- package/dist/bibliography/biblatex.d.ts +13 -0
- package/dist/bibliography/biblatex.js +849 -0
- package/dist/bibliography/biblatex.js.map +1 -0
- package/dist/bibliography/bibtex.d.ts +39 -0
- package/dist/bibliography/bibtex.js +259 -0
- package/dist/bibliography/bibtex.js.map +1 -0
- package/dist/bibliography/csl.d.ts +9 -0
- package/dist/bibliography/csl.js +241 -0
- package/dist/bibliography/csl.js.map +1 -0
- package/dist/bibliography/dates.d.ts +33 -0
- package/dist/bibliography/dates.js +223 -0
- package/dist/bibliography/dates.js.map +1 -0
- package/dist/bibliography/index.d.ts +8 -0
- package/dist/bibliography/index.js +9 -0
- package/dist/bibliography/index.js.map +1 -0
- package/dist/bibliography/item.d.ts +142 -0
- package/dist/bibliography/item.js +181 -0
- package/dist/bibliography/item.js.map +1 -0
- package/dist/bibliography/latex.d.ts +21 -0
- package/dist/bibliography/latex.js +586 -0
- package/dist/bibliography/latex.js.map +1 -0
- package/dist/bibliography/names.d.ts +23 -0
- package/dist/bibliography/names.js +244 -0
- package/dist/bibliography/names.js.map +1 -0
- package/dist/bibliography/read.d.ts +24 -0
- package/dist/bibliography/read.js +50 -0
- package/dist/bibliography/read.js.map +1 -0
- package/dist/citations/book.d.ts +91 -0
- package/dist/citations/book.js +206 -0
- package/dist/citations/book.js.map +1 -0
- package/dist/citations/collect.d.ts +52 -0
- package/dist/citations/collect.js +125 -0
- package/dist/citations/collect.js.map +1 -0
- package/dist/citations/hast.d.ts +12 -0
- package/dist/citations/hast.js +49 -0
- package/dist/citations/hast.js.map +1 -0
- package/dist/citations/index.d.ts +14 -0
- package/dist/citations/index.js +15 -0
- package/dist/citations/index.js.map +1 -0
- package/dist/citations/lint.d.ts +70 -0
- package/dist/citations/lint.js +92 -0
- package/dist/citations/lint.js.map +1 -0
- package/dist/citations/notes.d.ts +11 -0
- package/dist/citations/notes.js +120 -0
- package/dist/citations/notes.js.map +1 -0
- package/dist/citations/positions.d.ts +34 -0
- package/dist/citations/positions.js +90 -0
- package/dist/citations/positions.js.map +1 -0
- package/dist/citations/project.d.ts +7 -0
- package/dist/citations/project.js +24 -0
- package/dist/citations/project.js.map +1 -0
- package/dist/colour/cmyk.d.ts +71 -0
- package/dist/colour/cmyk.js +210 -0
- package/dist/colour/cmyk.js.map +1 -0
- package/dist/colour/images.d.ts +36 -0
- package/dist/colour/images.js +106 -0
- package/dist/colour/images.js.map +1 -0
- package/dist/colour/index.d.ts +7 -0
- package/dist/colour/index.js +8 -0
- package/dist/colour/index.js.map +1 -0
- package/dist/colour/ink-limit.d.ts +68 -0
- package/dist/colour/ink-limit.js +109 -0
- package/dist/colour/ink-limit.js.map +1 -0
- package/dist/colour/intents.d.ts +135 -0
- package/dist/colour/intents.js +183 -0
- package/dist/colour/intents.js.map +1 -0
- package/dist/colour/lcms.d.ts +79 -0
- package/dist/colour/lcms.js +229 -0
- package/dist/colour/lcms.js.map +1 -0
- package/dist/colour/previews.d.ts +49 -0
- package/dist/colour/previews.js +116 -0
- package/dist/colour/previews.js.map +1 -0
- package/dist/colour/wasm/LICENSE-lcms2 +22 -0
- package/dist/colour/wasm/lcms2.wasm +0 -0
- package/dist/config/config.d.ts +109 -0
- package/dist/config/config.js +295 -0
- package/dist/config/config.js.map +1 -0
- package/dist/config/index.d.ts +6 -0
- package/dist/config/index.js +7 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/page.d.ts +42 -0
- package/dist/config/page.js +95 -0
- package/dist/config/page.js.map +1 -0
- package/dist/config/project-schema.d.ts +23 -0
- package/dist/config/project-schema.js +209 -0
- package/dist/config/project-schema.js.map +1 -0
- package/dist/config/schema.d.ts +68 -0
- package/dist/config/schema.js +333 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/toml.d.ts +54 -0
- package/dist/config/toml.js +238 -0
- package/dist/config/toml.js.map +1 -0
- package/dist/contents/index.d.ts +8 -0
- package/dist/contents/index.js +9 -0
- package/dist/contents/index.js.map +1 -0
- package/dist/contents/transform.d.ts +64 -0
- package/dist/contents/transform.js +149 -0
- package/dist/contents/transform.js.map +1 -0
- package/dist/csl/affix.d.ts +16 -0
- package/dist/csl/affix.js +74 -0
- package/dist/csl/affix.js.map +1 -0
- package/dist/csl/data/chicago-author-date.d.ts +2 -0
- package/dist/csl/data/chicago-author-date.js +3 -0
- package/dist/csl/data/chicago-author-date.js.map +1 -0
- package/dist/csl/data/chicago-notes-bibliography.d.ts +2 -0
- package/dist/csl/data/chicago-notes-bibliography.js +3 -0
- package/dist/csl/data/chicago-notes-bibliography.js.map +1 -0
- package/dist/csl/data/locales-en-GB.d.ts +2 -0
- package/dist/csl/data/locales-en-GB.js +3 -0
- package/dist/csl/data/locales-en-GB.js.map +1 -0
- package/dist/csl/data/locales-en-US.d.ts +2 -0
- package/dist/csl/data/locales-en-US.js +3 -0
- package/dist/csl/data/locales-en-US.js.map +1 -0
- package/dist/csl/dates.d.ts +30 -0
- package/dist/csl/dates.js +223 -0
- package/dist/csl/dates.js.map +1 -0
- package/dist/csl/format.d.ts +29 -0
- package/dist/csl/format.js +157 -0
- package/dist/csl/format.js.map +1 -0
- package/dist/csl/index.d.ts +26 -0
- package/dist/csl/index.js +16 -0
- package/dist/csl/index.js.map +1 -0
- package/dist/csl/ir.d.ts +103 -0
- package/dist/csl/ir.js +549 -0
- package/dist/csl/ir.js.map +1 -0
- package/dist/csl/load.d.ts +98 -0
- package/dist/csl/load.js +163 -0
- package/dist/csl/load.js.map +1 -0
- package/dist/csl/locale.d.ts +90 -0
- package/dist/csl/locale.js +251 -0
- package/dist/csl/locale.js.map +1 -0
- package/dist/csl/names.d.ts +41 -0
- package/dist/csl/names.js +203 -0
- package/dist/csl/names.js.map +1 -0
- package/dist/csl/numbers.d.ts +48 -0
- package/dist/csl/numbers.js +170 -0
- package/dist/csl/numbers.js.map +1 -0
- package/dist/csl/processor.d.ts +177 -0
- package/dist/csl/processor.js +759 -0
- package/dist/csl/processor.js.map +1 -0
- package/dist/csl/project.d.ts +21 -0
- package/dist/csl/project.js +78 -0
- package/dist/csl/project.js.map +1 -0
- package/dist/csl/render.d.ts +130 -0
- package/dist/csl/render.js +748 -0
- package/dist/csl/render.js.map +1 -0
- package/dist/csl/style.d.ts +168 -0
- package/dist/csl/style.js +262 -0
- package/dist/csl/style.js.map +1 -0
- package/dist/csl/xml.d.ts +28 -0
- package/dist/csl/xml.js +162 -0
- package/dist/csl/xml.js.map +1 -0
- package/dist/djot/djot.js/LICENSE +20 -0
- package/dist/djot/djot.js/src/ast.d.ts +324 -0
- package/dist/djot/djot.js/src/ast.js +61 -0
- package/dist/djot/djot.js/src/ast.js.map +1 -0
- package/dist/djot/djot.js/src/attributes.d.ts +31 -0
- package/dist/djot/djot.js/src/attributes.js +300 -0
- package/dist/djot/djot.js/src/attributes.js.map +1 -0
- package/dist/djot/djot.js/src/block.d.ts +87 -0
- package/dist/djot/djot.js/src/block.js +1201 -0
- package/dist/djot/djot.js/src/block.js.map +1 -0
- package/dist/djot/djot.js/src/djot-renderer.d.ts +8 -0
- package/dist/djot/djot.js/src/djot-renderer.js +755 -0
- package/dist/djot/djot.js/src/djot-renderer.js.map +1 -0
- package/dist/djot/djot.js/src/event.d.ts +6 -0
- package/dist/djot/djot.js/src/event.js +2 -0
- package/dist/djot/djot.js/src/event.js.map +1 -0
- package/dist/djot/djot.js/src/filter.d.ts +13 -0
- package/dist/djot/djot.js/src/filter.js +159 -0
- package/dist/djot/djot.js/src/filter.js.map +1 -0
- package/dist/djot/djot.js/src/find.d.ts +7 -0
- package/dist/djot/djot.js/src/find.js +33 -0
- package/dist/djot/djot.js/src/find.js.map +1 -0
- package/dist/djot/djot.js/src/html.d.ts +40 -0
- package/dist/djot/djot.js/src/html.js +656 -0
- package/dist/djot/djot.js/src/html.js.map +1 -0
- package/dist/djot/djot.js/src/index.d.ts +9 -0
- package/dist/djot/djot.js/src/index.js +9 -0
- package/dist/djot/djot.js/src/index.js.map +1 -0
- package/dist/djot/djot.js/src/inline.d.ts +62 -0
- package/dist/djot/djot.js/src/inline.js +1019 -0
- package/dist/djot/djot.js/src/inline.js.map +1 -0
- package/dist/djot/djot.js/src/options.d.ts +13 -0
- package/dist/djot/djot.js/src/options.js +27 -0
- package/dist/djot/djot.js/src/options.js.map +1 -0
- package/dist/djot/djot.js/src/pandoc.d.ts +20 -0
- package/dist/djot/djot.js/src/pandoc.js +1040 -0
- package/dist/djot/djot.js/src/pandoc.js.map +1 -0
- package/dist/djot/djot.js/src/parse.d.ts +19 -0
- package/dist/djot/djot.js/src/parse.js +1436 -0
- package/dist/djot/djot.js/src/parse.js.map +1 -0
- package/dist/djot/djot.js/src/version.d.ts +1 -0
- package/dist/djot/djot.js/src/version.js +2 -0
- package/dist/djot/djot.js/src/version.js.map +1 -0
- package/dist/djot/index.d.ts +5 -0
- package/dist/djot/index.js +6 -0
- package/dist/djot/index.js.map +1 -0
- package/dist/djot/read.d.ts +57 -0
- package/dist/djot/read.js +146 -0
- package/dist/djot/read.js.map +1 -0
- package/dist/fonts/css.d.ts +82 -0
- package/dist/fonts/css.js +329 -0
- package/dist/fonts/css.js.map +1 -0
- package/dist/fonts/faces.d.ts +101 -0
- package/dist/fonts/faces.js +226 -0
- package/dist/fonts/faces.js.map +1 -0
- package/dist/fonts/index.d.ts +12 -0
- package/dist/fonts/index.js +13 -0
- package/dist/fonts/index.js.map +1 -0
- package/dist/fonts/lint.d.ts +58 -0
- package/dist/fonts/lint.js +209 -0
- package/dist/fonts/lint.js.map +1 -0
- package/dist/fonts/match.d.ts +36 -0
- package/dist/fonts/match.js +104 -0
- package/dist/fonts/match.js.map +1 -0
- package/dist/fonts/names.d.ts +9 -0
- package/dist/fonts/names.js +50 -0
- package/dist/fonts/names.js.map +1 -0
- package/dist/fonts/subset.d.ts +72 -0
- package/dist/fonts/subset.js +169 -0
- package/dist/fonts/subset.js.map +1 -0
- package/dist/fonts/walk.d.ts +33 -0
- package/dist/fonts/walk.js +120 -0
- package/dist/fonts/walk.js.map +1 -0
- package/dist/fonts/wasm/LICENSE-harfbuzzjs +19 -0
- package/dist/fonts/wasm/harfbuzz-subset.wasm +0 -0
- package/dist/html/check.d.ts +62 -0
- package/dist/html/check.js +186 -0
- package/dist/html/check.js.map +1 -0
- package/dist/html/counters.d.ts +32 -0
- package/dist/html/counters.js +72 -0
- package/dist/html/counters.js.map +1 -0
- package/dist/html/css.d.ts +33 -0
- package/dist/html/css.js +72 -0
- package/dist/html/css.js.map +1 -0
- package/dist/html/dom.d.ts +28 -0
- package/dist/html/dom.js +162 -0
- package/dist/html/dom.js.map +1 -0
- package/dist/html/editions.d.ts +26 -0
- package/dist/html/editions.js +57 -0
- package/dist/html/editions.js.map +1 -0
- package/dist/html/images.d.ts +13 -0
- package/dist/html/images.js +62 -0
- package/dist/html/images.js.map +1 -0
- package/dist/html/index.d.ts +14 -0
- package/dist/html/index.js +15 -0
- package/dist/html/index.js.map +1 -0
- package/dist/html/registry.d.ts +120 -0
- package/dist/html/registry.js +48 -0
- package/dist/html/registry.js.map +1 -0
- package/dist/html/render.d.ts +99 -0
- package/dist/html/render.js +687 -0
- package/dist/html/render.js.map +1 -0
- package/dist/hyphenation/NOTICE +429 -0
- package/dist/hyphenation/exceptions.d.ts +60 -0
- package/dist/hyphenation/exceptions.js +79 -0
- package/dist/hyphenation/exceptions.js.map +1 -0
- package/dist/hyphenation/hyphenator.d.ts +66 -0
- package/dist/hyphenation/hyphenator.js +245 -0
- package/dist/hyphenation/hyphenator.js.map +1 -0
- package/dist/hyphenation/index.d.ts +4 -0
- package/dist/hyphenation/index.js +5 -0
- package/dist/hyphenation/index.js.map +1 -0
- package/dist/hyphenation/languages.d.ts +20 -0
- package/dist/hyphenation/languages.js +75 -0
- package/dist/hyphenation/languages.js.map +1 -0
- package/dist/hyphenation/patterns/af.wasm +0 -0
- package/dist/hyphenation/patterns/as.wasm +0 -0
- package/dist/hyphenation/patterns/be.wasm +0 -0
- package/dist/hyphenation/patterns/bg.wasm +0 -0
- package/dist/hyphenation/patterns/bn.wasm +0 -0
- package/dist/hyphenation/patterns/ca.wasm +0 -0
- package/dist/hyphenation/patterns/cy.wasm +0 -0
- package/dist/hyphenation/patterns/da.wasm +0 -0
- package/dist/hyphenation/patterns/de.wasm +0 -0
- package/dist/hyphenation/patterns/el-monoton.wasm +0 -0
- package/dist/hyphenation/patterns/el-polyton.wasm +0 -0
- package/dist/hyphenation/patterns/en-gb.wasm +0 -0
- package/dist/hyphenation/patterns/en-us.wasm +0 -0
- package/dist/hyphenation/patterns/eo.wasm +0 -0
- package/dist/hyphenation/patterns/es.wasm +0 -0
- package/dist/hyphenation/patterns/et.wasm +0 -0
- package/dist/hyphenation/patterns/eu.wasm +0 -0
- package/dist/hyphenation/patterns/fi-x-school.wasm +0 -0
- package/dist/hyphenation/patterns/fr.wasm +0 -0
- package/dist/hyphenation/patterns/fur.wasm +0 -0
- package/dist/hyphenation/patterns/ga.wasm +0 -0
- package/dist/hyphenation/patterns/gl.wasm +0 -0
- package/dist/hyphenation/patterns/gu.wasm +0 -0
- package/dist/hyphenation/patterns/hi.wasm +0 -0
- package/dist/hyphenation/patterns/hr.wasm +0 -0
- package/dist/hyphenation/patterns/hsb.wasm +0 -0
- package/dist/hyphenation/patterns/ia.wasm +0 -0
- package/dist/hyphenation/patterns/is.wasm +0 -0
- package/dist/hyphenation/patterns/it.wasm +0 -0
- package/dist/hyphenation/patterns/ka.wasm +0 -0
- package/dist/hyphenation/patterns/kmr.wasm +0 -0
- package/dist/hyphenation/patterns/kn.wasm +0 -0
- package/dist/hyphenation/patterns/la.wasm +0 -0
- package/dist/hyphenation/patterns/lt.wasm +0 -0
- package/dist/hyphenation/patterns/ml.wasm +0 -0
- package/dist/hyphenation/patterns/mn-cyrl.wasm +0 -0
- package/dist/hyphenation/patterns/mr.wasm +0 -0
- package/dist/hyphenation/patterns/nb.wasm +0 -0
- package/dist/hyphenation/patterns/nl.wasm +0 -0
- package/dist/hyphenation/patterns/nn.wasm +0 -0
- package/dist/hyphenation/patterns/no.wasm +0 -0
- package/dist/hyphenation/patterns/oc.wasm +0 -0
- package/dist/hyphenation/patterns/or.wasm +0 -0
- package/dist/hyphenation/patterns/pa.wasm +0 -0
- package/dist/hyphenation/patterns/pi.wasm +0 -0
- package/dist/hyphenation/patterns/pl.wasm +0 -0
- package/dist/hyphenation/patterns/pms.wasm +0 -0
- package/dist/hyphenation/patterns/pt.wasm +0 -0
- package/dist/hyphenation/patterns/rm.wasm +0 -0
- package/dist/hyphenation/patterns/ru.wasm +0 -0
- package/dist/hyphenation/patterns/sh-cyrl.wasm +0 -0
- package/dist/hyphenation/patterns/sh-latn.wasm +0 -0
- package/dist/hyphenation/patterns/sk.wasm +0 -0
- package/dist/hyphenation/patterns/sl.wasm +0 -0
- package/dist/hyphenation/patterns/sq.wasm +0 -0
- package/dist/hyphenation/patterns/sv.wasm +0 -0
- package/dist/hyphenation/patterns/ta.wasm +0 -0
- package/dist/hyphenation/patterns/te.wasm +0 -0
- package/dist/hyphenation/patterns/th.wasm +0 -0
- package/dist/hyphenation/patterns/tk.wasm +0 -0
- package/dist/hyphenation/patterns/tr.wasm +0 -0
- package/dist/hyphenation/patterns/uk.wasm +0 -0
- package/dist/hyphenation/patterns/zh-latn-pinyin.wasm +0 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -0
- package/dist/indexes/index.d.ts +10 -0
- package/dist/indexes/index.js +11 -0
- package/dist/indexes/index.js.map +1 -0
- package/dist/indexes/layout.d.ts +30 -0
- package/dist/indexes/layout.js +83 -0
- package/dist/indexes/layout.js.map +1 -0
- package/dist/indexes/locators.d.ts +33 -0
- package/dist/indexes/locators.js +51 -0
- package/dist/indexes/locators.js.map +1 -0
- package/dist/indexes/terms.d.ts +97 -0
- package/dist/indexes/terms.js +211 -0
- package/dist/indexes/terms.js.map +1 -0
- package/dist/indexes/transform.d.ts +90 -0
- package/dist/indexes/transform.js +154 -0
- package/dist/indexes/transform.js.map +1 -0
- package/dist/layout/calibrate.d.ts +12 -0
- package/dist/layout/calibrate.js +50 -0
- package/dist/layout/calibrate.js.map +1 -0
- package/dist/layout/converge.d.ts +31 -0
- package/dist/layout/converge.js +84 -0
- package/dist/layout/converge.js.map +1 -0
- package/dist/layout/counters.d.ts +16 -0
- package/dist/layout/counters.js +62 -0
- package/dist/layout/counters.js.map +1 -0
- package/dist/layout/first-letter.d.ts +34 -0
- package/dist/layout/first-letter.js +183 -0
- package/dist/layout/first-letter.js.map +1 -0
- package/dist/layout/fonts.d.ts +67 -0
- package/dist/layout/fonts.js +110 -0
- package/dist/layout/fonts.js.map +1 -0
- package/dist/layout/generated.d.ts +9 -0
- package/dist/layout/generated.js +83 -0
- package/dist/layout/generated.js.map +1 -0
- package/dist/layout/glue.d.ts +18 -0
- package/dist/layout/glue.js +48 -0
- package/dist/layout/glue.js.map +1 -0
- package/dist/layout/index.d.ts +17 -0
- package/dist/layout/index.js +18 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/lists.d.ts +91 -0
- package/dist/layout/lists.js +1068 -0
- package/dist/layout/lists.js.map +1 -0
- package/dist/layout/margin-boxes.d.ts +114 -0
- package/dist/layout/margin-boxes.js +429 -0
- package/dist/layout/margin-boxes.js.map +1 -0
- package/dist/layout/minipage.d.ts +85 -0
- package/dist/layout/minipage.js +83 -0
- package/dist/layout/minipage.js.map +1 -0
- package/dist/layout/page-box.d.ts +32 -0
- package/dist/layout/page-box.js +110 -0
- package/dist/layout/page-box.js.map +1 -0
- package/dist/layout/page-rules.d.ts +47 -0
- package/dist/layout/page-rules.js +202 -0
- package/dist/layout/page-rules.js.map +1 -0
- package/dist/layout/page.d.ts +51 -0
- package/dist/layout/page.js +133 -0
- package/dist/layout/page.js.map +1 -0
- package/dist/layout/pagebuilder.d.ts +243 -0
- package/dist/layout/pagebuilder.js +591 -0
- package/dist/layout/pagebuilder.js.map +1 -0
- package/dist/layout/pages.d.ts +71 -0
- package/dist/layout/pages.js +741 -0
- package/dist/layout/pages.js.map +1 -0
- package/dist/layout/paragraph.d.ts +194 -0
- package/dist/layout/paragraph.js +1148 -0
- package/dist/layout/paragraph.js.map +1 -0
- package/dist/layout/pre.d.ts +8 -0
- package/dist/layout/pre.js +151 -0
- package/dist/layout/pre.js.map +1 -0
- package/dist/layout/region.d.ts +66 -0
- package/dist/layout/region.js +200 -0
- package/dist/layout/region.js.map +1 -0
- package/dist/layout/vlist.d.ts +218 -0
- package/dist/layout/vlist.js +72 -0
- package/dist/layout/vlist.js.map +1 -0
- package/dist/linebreak/items.d.ts +69 -0
- package/dist/linebreak/items.js +44 -0
- package/dist/linebreak/items.js.map +1 -0
- package/dist/linebreak/knuth-plass.d.ts +149 -0
- package/dist/linebreak/knuth-plass.js +461 -0
- package/dist/linebreak/knuth-plass.js.map +1 -0
- package/dist/lint/config.d.ts +48 -0
- package/dist/lint/config.js +185 -0
- package/dist/lint/config.js.map +1 -0
- package/dist/lint/context.d.ts +64 -0
- package/dist/lint/context.js +37 -0
- package/dist/lint/context.js.map +1 -0
- package/dist/lint/fix.d.ts +40 -0
- package/dist/lint/fix.js +86 -0
- package/dist/lint/fix.js.map +1 -0
- package/dist/lint/index.d.ts +14 -0
- package/dist/lint/index.js +15 -0
- package/dist/lint/index.js.map +1 -0
- package/dist/lint/linter.d.ts +59 -0
- package/dist/lint/linter.js +239 -0
- package/dist/lint/linter.js.map +1 -0
- package/dist/lint/presets.d.ts +20 -0
- package/dist/lint/presets.js +65 -0
- package/dist/lint/presets.js.map +1 -0
- package/dist/lint/project.d.ts +31 -0
- package/dist/lint/project.js +100 -0
- package/dist/lint/project.js.map +1 -0
- package/dist/lint/rules/html.d.ts +30 -0
- package/dist/lint/rules/html.js +163 -0
- package/dist/lint/rules/html.js.map +1 -0
- package/dist/lint/rules/layout.d.ts +42 -0
- package/dist/lint/rules/layout.js +428 -0
- package/dist/lint/rules/layout.js.map +1 -0
- package/dist/lint/rules/source.d.ts +65 -0
- package/dist/lint/rules/source.js +334 -0
- package/dist/lint/rules/source.js.map +1 -0
- package/dist/lint/testing.d.ts +7 -0
- package/dist/lint/testing.js +77 -0
- package/dist/lint/testing.js.map +1 -0
- package/dist/math/hast.d.ts +46 -0
- package/dist/math/hast.js +297 -0
- package/dist/math/hast.js.map +1 -0
- package/dist/math/index.d.ts +9 -0
- package/dist/math/index.js +10 -0
- package/dist/math/index.js.map +1 -0
- package/dist/math/mathjax/LICENSE-mathjax +202 -0
- package/dist/math/mathjax/LICENSE-speech-rule-engine +177 -0
- package/dist/math/mathjax/sre/af.json +146 -0
- package/dist/math/mathjax/sre/base.json +140 -0
- package/dist/math/mathjax/sre/ca.json +140 -0
- package/dist/math/mathjax/sre/da.json +140 -0
- package/dist/math/mathjax/sre/de.json +146 -0
- package/dist/math/mathjax/sre/en.json +158 -0
- package/dist/math/mathjax/sre/es.json +140 -0
- package/dist/math/mathjax/sre/euro.json +32 -0
- package/dist/math/mathjax/sre/fr.json +146 -0
- package/dist/math/mathjax/sre/hi.json +146 -0
- package/dist/math/mathjax/sre/it.json +146 -0
- package/dist/math/mathjax/sre/ko.json +146 -0
- package/dist/math/mathjax/sre/nb.json +146 -0
- package/dist/math/mathjax/sre/nemeth.json +125 -0
- package/dist/math/mathjax/sre/nn.json +146 -0
- package/dist/math/mathjax/sre/sv.json +146 -0
- package/dist/math/mathjax/svg/PUA.json +1 -0
- package/dist/math/mathjax/svg/accents-b-i.json +1 -0
- package/dist/math/mathjax/svg/accents.json +1 -0
- package/dist/math/mathjax/svg/arabic.json +1 -0
- package/dist/math/mathjax/svg/arrows.json +1 -0
- package/dist/math/mathjax/svg/braille-d.json +1 -0
- package/dist/math/mathjax/svg/braille.json +1 -0
- package/dist/math/mathjax/svg/calligraphic.json +1 -0
- package/dist/math/mathjax/svg/cherokee.json +1 -0
- package/dist/math/mathjax/svg/cyrillic-ss.json +1 -0
- package/dist/math/mathjax/svg/cyrillic.json +1 -0
- package/dist/math/mathjax/svg/devanagari.json +1 -0
- package/dist/math/mathjax/svg/double-struck.json +1 -0
- package/dist/math/mathjax/svg/fraktur.json +1 -0
- package/dist/math/mathjax/svg/greek-ss.json +1 -0
- package/dist/math/mathjax/svg/greek.json +1 -0
- package/dist/math/mathjax/svg/hebrew.json +1 -0
- package/dist/math/mathjax/svg/latin-b.json +1 -0
- package/dist/math/mathjax/svg/latin-bi.json +1 -0
- package/dist/math/mathjax/svg/latin-i.json +1 -0
- package/dist/math/mathjax/svg/latin.json +1 -0
- package/dist/math/mathjax/svg/marrows.json +1 -0
- package/dist/math/mathjax/svg/math.json +1 -0
- package/dist/math/mathjax/svg/monospace-ex.json +1 -0
- package/dist/math/mathjax/svg/monospace-l.json +1 -0
- package/dist/math/mathjax/svg/monospace.json +1 -0
- package/dist/math/mathjax/svg/mshapes.json +1 -0
- package/dist/math/mathjax/svg/phonetics-ss.json +1 -0
- package/dist/math/mathjax/svg/phonetics.json +1 -0
- package/dist/math/mathjax/svg/sans-serif-b.json +1 -0
- package/dist/math/mathjax/svg/sans-serif-bi.json +1 -0
- package/dist/math/mathjax/svg/sans-serif-ex.json +1 -0
- package/dist/math/mathjax/svg/sans-serif-i.json +1 -0
- package/dist/math/mathjax/svg/sans-serif-r.json +1 -0
- package/dist/math/mathjax/svg/sans-serif.json +1 -0
- package/dist/math/mathjax/svg/script.json +1 -0
- package/dist/math/mathjax/svg/shapes.json +1 -0
- package/dist/math/mathjax/svg/symbols-b-i.json +1 -0
- package/dist/math/mathjax/svg/symbols.json +1 -0
- package/dist/math/mathjax/svg/variants.json +1 -0
- package/dist/math/mathjax.d.ts +67 -0
- package/dist/math/mathjax.js +162 -0
- package/dist/math/mathjax.js.map +1 -0
- package/dist/math/speech.d.ts +27 -0
- package/dist/math/speech.js +87 -0
- package/dist/math/speech.js.map +1 -0
- package/dist/math/typeset.d.ts +75 -0
- package/dist/math/typeset.js +108 -0
- package/dist/math/typeset.js.map +1 -0
- package/dist/measure/css.d.ts +44 -0
- package/dist/measure/css.js +158 -0
- package/dist/measure/css.js.map +1 -0
- package/dist/measure/index.d.ts +3 -0
- package/dist/measure/index.js +4 -0
- package/dist/measure/index.js.map +1 -0
- package/dist/measure/measurer.d.ts +159 -0
- package/dist/measure/measurer.js +300 -0
- package/dist/measure/measurer.js.map +1 -0
- package/dist/measure/model.d.ts +46 -0
- package/dist/measure/model.js +47 -0
- package/dist/measure/model.js.map +1 -0
- package/dist/output/assets.d.ts +10 -0
- package/dist/output/assets.js +65 -0
- package/dist/output/assets.js.map +1 -0
- package/dist/output/index.d.ts +4 -0
- package/dist/output/index.js +5 -0
- package/dist/output/index.js.map +1 -0
- package/dist/output/output.d.ts +103 -0
- package/dist/output/output.js +86 -0
- package/dist/output/output.js.map +1 -0
- package/dist/output/stylesheets.d.ts +45 -0
- package/dist/output/stylesheets.js +50 -0
- package/dist/output/stylesheets.js.map +1 -0
- package/dist/paint/backgrounds.d.ts +56 -0
- package/dist/paint/backgrounds.js +261 -0
- package/dist/paint/backgrounds.js.map +1 -0
- package/dist/paint/blend.d.ts +61 -0
- package/dist/paint/blend.js +157 -0
- package/dist/paint/blend.js.map +1 -0
- package/dist/paint/border-image.d.ts +13 -0
- package/dist/paint/border-image.js +149 -0
- package/dist/paint/border-image.js.map +1 -0
- package/dist/paint/borders.d.ts +47 -0
- package/dist/paint/borders.js +329 -0
- package/dist/paint/borders.js.map +1 -0
- package/dist/paint/canvas.d.ts +52 -0
- package/dist/paint/canvas.js +274 -0
- package/dist/paint/canvas.js.map +1 -0
- package/dist/paint/colours.d.ts +55 -0
- package/dist/paint/colours.js +380 -0
- package/dist/paint/colours.js.map +1 -0
- package/dist/paint/columns.d.ts +11 -0
- package/dist/paint/columns.js +42 -0
- package/dist/paint/columns.js.map +1 -0
- package/dist/paint/context.d.ts +47 -0
- package/dist/paint/context.js +2 -0
- package/dist/paint/context.js.map +1 -0
- package/dist/paint/decoration.d.ts +97 -0
- package/dist/paint/decoration.js +280 -0
- package/dist/paint/decoration.js.map +1 -0
- package/dist/paint/effects.d.ts +64 -0
- package/dist/paint/effects.js +342 -0
- package/dist/paint/effects.js.map +1 -0
- package/dist/paint/emphasis.d.ts +13 -0
- package/dist/paint/emphasis.js +95 -0
- package/dist/paint/emphasis.js.map +1 -0
- package/dist/paint/flatten.d.ts +33 -0
- package/dist/paint/flatten.js +968 -0
- package/dist/paint/flatten.js.map +1 -0
- package/dist/paint/geometry.d.ts +62 -0
- package/dist/paint/geometry.js +170 -0
- package/dist/paint/geometry.js.map +1 -0
- package/dist/paint/gradients.d.ts +31 -0
- package/dist/paint/gradients.js +394 -0
- package/dist/paint/gradients.js.map +1 -0
- package/dist/paint/images.d.ts +17 -0
- package/dist/paint/images.js +80 -0
- package/dist/paint/images.js.map +1 -0
- package/dist/paint/lint.d.ts +46 -0
- package/dist/paint/lint.js +105 -0
- package/dist/paint/lint.js.map +1 -0
- package/dist/paint/overprint.d.ts +13 -0
- package/dist/paint/overprint.js +12 -0
- package/dist/paint/overprint.js.map +1 -0
- package/dist/paint/painter.d.ts +92 -0
- package/dist/paint/painter.js +281 -0
- package/dist/paint/painter.js.map +1 -0
- package/dist/paint/path.d.ts +9 -0
- package/dist/paint/path.js +173 -0
- package/dist/paint/path.js.map +1 -0
- package/dist/paint/raster.d.ts +32 -0
- package/dist/paint/raster.js +180 -0
- package/dist/paint/raster.js.map +1 -0
- package/dist/paint/shadows.d.ts +28 -0
- package/dist/paint/shadows.js +104 -0
- package/dist/paint/shadows.js.map +1 -0
- package/dist/paint/sources.d.ts +13 -0
- package/dist/paint/sources.js +17 -0
- package/dist/paint/sources.js.map +1 -0
- package/dist/paint/stacking.d.ts +75 -0
- package/dist/paint/stacking.js +327 -0
- package/dist/paint/stacking.js.map +1 -0
- package/dist/paint/svg-lint.d.ts +57 -0
- package/dist/paint/svg-lint.js +119 -0
- package/dist/paint/svg-lint.js.map +1 -0
- package/dist/paint/svg.d.ts +95 -0
- package/dist/paint/svg.js +728 -0
- package/dist/paint/svg.js.map +1 -0
- package/dist/paint/tables.d.ts +18 -0
- package/dist/paint/tables.js +178 -0
- package/dist/paint/tables.js.map +1 -0
- package/dist/paint/text-shadow.d.ts +26 -0
- package/dist/paint/text-shadow.js +187 -0
- package/dist/paint/text-shadow.js.map +1 -0
- package/dist/paint/text.d.ts +144 -0
- package/dist/paint/text.js +713 -0
- package/dist/paint/text.js.map +1 -0
- package/dist/paint/values.d.ts +24 -0
- package/dist/paint/values.js +160 -0
- package/dist/paint/values.js.map +1 -0
- package/dist/paint/vertical.d.ts +19 -0
- package/dist/paint/vertical.js +236 -0
- package/dist/paint/vertical.js.map +1 -0
- package/dist/pdf/index.d.ts +6 -0
- package/dist/pdf/index.js +7 -0
- package/dist/pdf/index.js.map +1 -0
- package/dist/pdf/pdfx.d.ts +30 -0
- package/dist/pdf/pdfx.js +18 -0
- package/dist/pdf/pdfx.js.map +1 -0
- package/dist/pdf/structure/index.d.ts +53 -0
- package/dist/pdf/structure/index.js +52 -0
- package/dist/pdf/structure/index.js.map +1 -0
- package/dist/pdf/structure/labels.d.ts +16 -0
- package/dist/pdf/structure/labels.js +45 -0
- package/dist/pdf/structure/labels.js.map +1 -0
- package/dist/pdf/structure/links.d.ts +49 -0
- package/dist/pdf/structure/links.js +136 -0
- package/dist/pdf/structure/links.js.map +1 -0
- package/dist/pdf/structure/tags.d.ts +79 -0
- package/dist/pdf/structure/tags.js +314 -0
- package/dist/pdf/structure/tags.js.map +1 -0
- package/dist/pdf/types.d.ts +534 -0
- package/dist/pdf/types.js +16 -0
- package/dist/pdf/types.js.map +1 -0
- package/dist/pdf/wasm/pulpweaver4_pdf.d.ts +41 -0
- package/dist/pdf/wasm/pulpweaver4_pdf.js +286 -0
- package/dist/pdf/wasm/pulpweaver4_pdf_bg.wasm +0 -0
- package/dist/pdf/writer.d.ts +41 -0
- package/dist/pdf/writer.js +78 -0
- package/dist/pdf/writer.js.map +1 -0
- package/dist/plugin/attributes.d.ts +10 -0
- package/dist/plugin/attributes.js +63 -0
- package/dist/plugin/attributes.js.map +1 -0
- package/dist/plugin/define.d.ts +425 -0
- package/dist/plugin/define.js +311 -0
- package/dist/plugin/define.js.map +1 -0
- package/dist/plugin/failure.d.ts +80 -0
- package/dist/plugin/failure.js +97 -0
- package/dist/plugin/failure.js.map +1 -0
- package/dist/plugin/index.d.ts +11 -0
- package/dist/plugin/index.js +12 -0
- package/dist/plugin/index.js.map +1 -0
- package/dist/plugin/load.d.ts +105 -0
- package/dist/plugin/load.js +197 -0
- package/dist/plugin/load.js.map +1 -0
- package/dist/plugin/register.d.ts +166 -0
- package/dist/plugin/register.js +306 -0
- package/dist/plugin/register.js.map +1 -0
- package/dist/plugin/render.d.ts +4 -0
- package/dist/plugin/render.js +28 -0
- package/dist/plugin/render.js.map +1 -0
- package/dist/preflight/index.d.ts +3 -0
- package/dist/preflight/index.js +4 -0
- package/dist/preflight/index.js.map +1 -0
- package/dist/preflight/pdfx.d.ts +440 -0
- package/dist/preflight/pdfx.js +1779 -0
- package/dist/preflight/pdfx.js.map +1 -0
- package/dist/preflight/reader.d.ts +126 -0
- package/dist/preflight/reader.js +832 -0
- package/dist/preflight/reader.js.map +1 -0
- package/dist/preflight/xmp.d.ts +30 -0
- package/dist/preflight/xmp.js +145 -0
- package/dist/preflight/xmp.js.map +1 -0
- package/dist/print/index.d.ts +2 -0
- package/dist/print/index.js +3 -0
- package/dist/print/index.js.map +1 -0
- package/dist/print/output.d.ts +5 -0
- package/dist/print/output.js +199 -0
- package/dist/print/output.js.map +1 -0
- package/dist/problem.d.ts +142 -0
- package/dist/problem.js +234 -0
- package/dist/problem.js.map +1 -0
- package/dist/profile/index.d.ts +10 -0
- package/dist/profile/index.js +11 -0
- package/dist/profile/index.js.map +1 -0
- package/dist/profile/lint.d.ts +69 -0
- package/dist/profile/lint.js +282 -0
- package/dist/profile/lint.js.map +1 -0
- package/dist/profile/metadata.d.ts +27 -0
- package/dist/profile/metadata.js +38 -0
- package/dist/profile/metadata.js.map +1 -0
- package/dist/profile/profile.d.ts +92 -0
- package/dist/profile/profile.js +282 -0
- package/dist/profile/profile.js.map +1 -0
- package/dist/project.d.ts +56 -0
- package/dist/project.js +137 -0
- package/dist/project.js.map +1 -0
- package/dist/reproducible/clock.d.ts +46 -0
- package/dist/reproducible/clock.js +173 -0
- package/dist/reproducible/clock.js.map +1 -0
- package/dist/reproducible/date.d.ts +42 -0
- package/dist/reproducible/date.js +82 -0
- package/dist/reproducible/date.js.map +1 -0
- package/dist/reproducible/index.d.ts +8 -0
- package/dist/reproducible/index.js +9 -0
- package/dist/reproducible/index.js.map +1 -0
- package/dist/spike/spike-page.chromium.json +330 -0
- package/dist/spike/spike.d.ts +75 -0
- package/dist/spike/spike.js +106 -0
- package/dist/spike/spike.js.map +1 -0
- package/dist/style/borders.d.ts +25 -0
- package/dist/style/borders.js +177 -0
- package/dist/style/borders.js.map +1 -0
- package/dist/style/colours.d.ts +34 -0
- package/dist/style/colours.js +138 -0
- package/dist/style/colours.js.map +1 -0
- package/dist/style/compile.d.ts +79 -0
- package/dist/style/compile.js +325 -0
- package/dist/style/compile.js.map +1 -0
- package/dist/style/defaults.d.ts +20 -0
- package/dist/style/defaults.js +45 -0
- package/dist/style/defaults.js.map +1 -0
- package/dist/style/gcpm.d.ts +22 -0
- package/dist/style/gcpm.js +86 -0
- package/dist/style/gcpm.js.map +1 -0
- package/dist/style/index.d.ts +4 -0
- package/dist/style/index.js +5 -0
- package/dist/style/index.js.map +1 -0
- package/dist/style/media.d.ts +22 -0
- package/dist/style/media.js +342 -0
- package/dist/style/media.js.map +1 -0
- package/dist/style/properties.d.ts +44 -0
- package/dist/style/properties.js +497 -0
- package/dist/style/properties.js.map +1 -0
- package/dist/style/scope.d.ts +6 -0
- package/dist/style/scope.js +134 -0
- package/dist/style/scope.js.map +1 -0
- package/dist/style/values.d.ts +45 -0
- package/dist/style/values.js +106 -0
- package/dist/style/values.js.map +1 -0
- package/dist/test/book.d.ts +180 -0
- package/dist/test/book.js +314 -0
- package/dist/test/book.js.map +1 -0
- package/dist/test/build.d.ts +58 -0
- package/dist/test/build.js +222 -0
- package/dist/test/build.js.map +1 -0
- package/dist/test/environment.d.ts +63 -0
- package/dist/test/environment.js +46 -0
- package/dist/test/environment.js.map +1 -0
- package/dist/test/index.d.ts +17 -0
- package/dist/test/index.js +18 -0
- package/dist/test/index.js.map +1 -0
- package/dist/test/indexes.d.ts +4 -0
- package/dist/test/indexes.js +48 -0
- package/dist/test/indexes.js.map +1 -0
- package/dist/test/layout.d.ts +8 -0
- package/dist/test/layout.js +120 -0
- package/dist/test/layout.js.map +1 -0
- package/dist/test/matchers.d.ts +80 -0
- package/dist/test/matchers.js +177 -0
- package/dist/test/matchers.js.map +1 -0
- package/dist/test/pipeline.d.ts +228 -0
- package/dist/test/pipeline.js +73 -0
- package/dist/test/pipeline.js.map +1 -0
- package/dist/test/plugins.d.ts +13 -0
- package/dist/test/plugins.js +22 -0
- package/dist/test/plugins.js.map +1 -0
- package/dist/test/render.d.ts +46 -0
- package/dist/test/render.js +149 -0
- package/dist/test/render.js.map +1 -0
- package/dist/test/runner.d.ts +61 -0
- package/dist/test/runner.js +256 -0
- package/dist/test/runner.js.map +1 -0
- package/dist/test/select.d.ts +54 -0
- package/dist/test/select.js +193 -0
- package/dist/test/select.js.map +1 -0
- package/dist/test/snapshot.d.ts +52 -0
- package/dist/test/snapshot.js +175 -0
- package/dist/test/snapshot.js.map +1 -0
- package/dist/test/text.d.ts +7 -0
- package/dist/test/text.js +46 -0
- package/dist/test/text.js.map +1 -0
- package/dist/test/vitest.d.ts +3 -0
- package/dist/test/vitest.js +39 -0
- package/dist/test/vitest.js.map +1 -0
- package/dist/text/index.d.ts +5 -0
- package/dist/text/index.js +6 -0
- package/dist/text/index.js.map +1 -0
- package/dist/text/output.d.ts +5 -0
- package/dist/text/output.js +39 -0
- package/dist/text/output.js.map +1 -0
- package/dist/text/render.d.ts +82 -0
- package/dist/text/render.js +583 -0
- package/dist/text/render.js.map +1 -0
- package/dist/text/width.d.ts +16 -0
- package/dist/text/width.js +90 -0
- package/dist/text/width.js.map +1 -0
- package/dist/text/wrap.d.ts +19 -0
- package/dist/text/wrap.js +151 -0
- package/dist/text/wrap.js.map +1 -0
- package/dist/transform/core.d.ts +19 -0
- package/dist/transform/core.js +22 -0
- package/dist/transform/core.js.map +1 -0
- package/dist/transform/index.d.ts +10 -0
- package/dist/transform/index.js +11 -0
- package/dist/transform/index.js.map +1 -0
- package/dist/transform/numbering.d.ts +47 -0
- package/dist/transform/numbering.js +142 -0
- package/dist/transform/numbering.js.map +1 -0
- package/dist/transform/references.d.ts +38 -0
- package/dist/transform/references.js +182 -0
- package/dist/transform/references.js.map +1 -0
- package/dist/transform/run.d.ts +32 -0
- package/dist/transform/run.js +210 -0
- package/dist/transform/run.js.map +1 -0
- package/dist/transform/store.d.ts +111 -0
- package/dist/transform/store.js +331 -0
- package/dist/transform/store.js.map +1 -0
- package/dist/transform/testing.d.ts +31 -0
- package/dist/transform/testing.js +76 -0
- package/dist/transform/testing.js.map +1 -0
- package/dist/transform/transform.d.ts +104 -0
- package/dist/transform/transform.js +89 -0
- package/dist/transform/transform.js.map +1 -0
- package/dist/vfs/fsa.d.ts +14 -0
- package/dist/vfs/fsa.js +123 -0
- package/dist/vfs/fsa.js.map +1 -0
- package/dist/vfs/index.d.ts +7 -0
- package/dist/vfs/index.js +8 -0
- package/dist/vfs/index.js.map +1 -0
- package/dist/vfs/memory.d.ts +15 -0
- package/dist/vfs/memory.js +101 -0
- package/dist/vfs/memory.js.map +1 -0
- package/dist/vfs/path.d.ts +30 -0
- package/dist/vfs/path.js +67 -0
- package/dist/vfs/path.js.map +1 -0
- package/dist/vfs/vfs.d.ts +66 -0
- package/dist/vfs/vfs.js +68 -0
- package/dist/vfs/vfs.js.map +1 -0
- package/dist/vfs/zip.d.ts +27 -0
- package/dist/vfs/zip.js +67 -0
- package/dist/vfs/zip.js.map +1 -0
- package/dist/web/css.d.ts +15 -0
- package/dist/web/css.js +80 -0
- package/dist/web/css.js.map +1 -0
- package/dist/web/hast.d.ts +44 -0
- package/dist/web/hast.js +175 -0
- package/dist/web/hast.js.map +1 -0
- package/dist/web/index.d.ts +11 -0
- package/dist/web/index.js +12 -0
- package/dist/web/index.js.map +1 -0
- package/dist/web/justify-main.d.ts +1 -0
- package/dist/web/justify-main.js +38 -0
- package/dist/web/justify-main.js.map +1 -0
- package/dist/web/justify.d.ts +46 -0
- package/dist/web/justify.js +147 -0
- package/dist/web/justify.js.map +1 -0
- package/dist/web/output.d.ts +28 -0
- package/dist/web/output.js +251 -0
- package/dist/web/output.js.map +1 -0
- package/dist/web/runtime/LICENSE-harfbuzzjs.txt +19 -0
- package/dist/web/runtime/NOTICE-patterns.txt +429 -0
- package/dist/web/runtime/harfbuzz.wasm +0 -0
- package/dist/web/runtime/justify.js.txt +2 -0
- package/dist/web/site.d.ts +53 -0
- package/dist/web/site.js +219 -0
- package/dist/web/site.js.map +1 -0
- package/docs/README.md +16 -0
- package/docs/reference/css-properties/index.md +94 -0
- package/docs/reference/css-properties/pw-adj-demerits.md +22 -0
- package/docs/reference/css-properties/pw-border-bottom-width.md +24 -0
- package/docs/reference/css-properties/pw-border-left-width.md +24 -0
- package/docs/reference/css-properties/pw-border-right-width.md +24 -0
- package/docs/reference/css-properties/pw-border-top-width.md +24 -0
- package/docs/reference/css-properties/pw-box.md +28 -0
- package/docs/reference/css-properties/pw-broken-penalty.md +22 -0
- package/docs/reference/css-properties/pw-club-penalty.md +24 -0
- package/docs/reference/css-properties/pw-column-rule-width.md +23 -0
- package/docs/reference/css-properties/pw-content-after.md +31 -0
- package/docs/reference/css-properties/pw-content-before.md +31 -0
- package/docs/reference/css-properties/pw-double-hyphen-demerits.md +23 -0
- package/docs/reference/css-properties/pw-emergency-stretch.md +28 -0
- package/docs/reference/css-properties/pw-ex-hyphen-penalty.md +22 -0
- package/docs/reference/css-properties/pw-final-hyphen-demerits.md +22 -0
- package/docs/reference/css-properties/pw-float-skip.md +22 -0
- package/docs/reference/css-properties/pw-float.md +33 -0
- package/docs/reference/css-properties/pw-footnote-max-height.md +22 -0
- package/docs/reference/css-properties/pw-footnote-skip.md +23 -0
- package/docs/reference/css-properties/pw-hyphen-penalty.md +24 -0
- package/docs/reference/css-properties/pw-inter-line-penalty.md +24 -0
- package/docs/reference/css-properties/pw-leader-space.md +22 -0
- package/docs/reference/css-properties/pw-leader.md +29 -0
- package/docs/reference/css-properties/pw-left-hyphen-min.md +23 -0
- package/docs/reference/css-properties/pw-line-breaking.md +29 -0
- package/docs/reference/css-properties/pw-line-penalty.md +23 -0
- package/docs/reference/css-properties/pw-list-indent.md +18 -0
- package/docs/reference/css-properties/pw-looseness.md +30 -0
- package/docs/reference/css-properties/pw-max-depth.md +22 -0
- package/docs/reference/css-properties/pw-minipage-footnotes.md +23 -0
- package/docs/reference/css-properties/pw-orphans.md +24 -0
- package/docs/reference/css-properties/pw-outline-width.md +23 -0
- package/docs/reference/css-properties/pw-overprint.md +26 -0
- package/docs/reference/css-properties/pw-padding-bottom.md +22 -0
- package/docs/reference/css-properties/pw-padding-left.md +22 -0
- package/docs/reference/css-properties/pw-padding-right.md +22 -0
- package/docs/reference/css-properties/pw-padding-top.md +22 -0
- package/docs/reference/css-properties/pw-page-prefix.md +28 -0
- package/docs/reference/css-properties/pw-page.md +32 -0
- package/docs/reference/css-properties/pw-penalty-after.md +23 -0
- package/docs/reference/css-properties/pw-penalty-before.md +30 -0
- package/docs/reference/css-properties/pw-pretolerance.md +23 -0
- package/docs/reference/css-properties/pw-right-hyphen-min.md +22 -0
- package/docs/reference/css-properties/pw-running.md +23 -0
- package/docs/reference/css-properties/pw-site-background.md +21 -0
- package/docs/reference/css-properties/pw-site-link.md +17 -0
- package/docs/reference/css-properties/pw-site-measure.md +17 -0
- package/docs/reference/css-properties/pw-site-muted.md +21 -0
- package/docs/reference/css-properties/pw-site-rule.md +17 -0
- package/docs/reference/css-properties/pw-site-text.md +22 -0
- package/docs/reference/css-properties/pw-space-after.md +23 -0
- package/docs/reference/css-properties/pw-space-before.md +29 -0
- package/docs/reference/css-properties/pw-string-set.md +32 -0
- package/docs/reference/css-properties/pw-tolerance.md +33 -0
- package/docs/reference/css-properties/pw-top-skip.md +22 -0
- package/docs/reference/css-properties/pw-widow-penalty.md +32 -0
- package/docs/reference/css-properties/pw-widows.md +24 -0
- package/docs/reference/css-properties/pw-word-space.md +22 -0
- package/docs/reference/css-properties/pw-xspace.md +22 -0
- package/docs/reference/index.md +17 -0
- package/docs/reference/lint-rules/black-text.md +31 -0
- package/docs/reference/lint-rules/blank-page.md +35 -0
- package/docs/reference/lint-rules/chapter-verso.md +34 -0
- package/docs/reference/lint-rules/citation-in-heading.md +24 -0
- package/docs/reference/lint-rules/consecutive-hyphens.md +34 -0
- package/docs/reference/lint-rules/empty-link.md +32 -0
- package/docs/reference/lint-rules/figure-distance.md +34 -0
- package/docs/reference/lint-rules/fonts.md +24 -0
- package/docs/reference/lint-rules/generated-text.md +24 -0
- package/docs/reference/lint-rules/heading-levels.md +30 -0
- package/docs/reference/lint-rules/ibid-across-page.md +30 -0
- package/docs/reference/lint-rules/image-alt.md +30 -0
- package/docs/reference/lint-rules/image-resolution.md +34 -0
- package/docs/reference/lint-rules/index.md +120 -0
- package/docs/reference/lint-rules/ink-limit.md +30 -0
- package/docs/reference/lint-rules/missing-field.md +37 -0
- package/docs/reference/lint-rules/orphan.md +34 -0
- package/docs/reference/lint-rules/overfull-line.md +28 -0
- package/docs/reference/lint-rules/profile.md +24 -0
- package/docs/reference/lint-rules/raw-html.md +30 -0
- package/docs/reference/lint-rules/signature.md +34 -0
- package/docs/reference/lint-rules/straight-quotes.md +33 -0
- package/docs/reference/lint-rules/svg-use-css.md +24 -0
- package/docs/reference/lint-rules/underfull-line.md +35 -0
- package/docs/reference/lint-rules/unknown-citation.md +30 -0
- package/docs/reference/lint-rules/unknown-label.md +31 -0
- package/docs/reference/lint-rules/unpaintable.md +24 -0
- package/docs/reference/lint-rules/unplaced-index.md +31 -0
- package/docs/reference/lint-rules/unused-entry.md +36 -0
- package/docs/reference/lint-rules/widow.md +34 -0
- package/docs/reference/plugin-api/assert-no-errors.md +18 -0
- package/docs/reference/plugin-api/asset-processor.md +28 -0
- package/docs/reference/plugin-api/attribute-problem.md +26 -0
- package/docs/reference/plugin-api/attribute-type.md +18 -0
- package/docs/reference/plugin-api/capabilities.md +18 -0
- package/docs/reference/plugin-api/capability.md +22 -0
- package/docs/reference/plugin-api/check-attributes.md +18 -0
- package/docs/reference/plugin-api/claim-kind.md +20 -0
- package/docs/reference/plugin-api/combine-penalties.md +17 -0
- package/docs/reference/plugin-api/command-context.md +30 -0
- package/docs/reference/plugin-api/command-definition.md +34 -0
- package/docs/reference/plugin-api/core-claims.md +18 -0
- package/docs/reference/plugin-api/define-plugin.md +20 -0
- package/docs/reference/plugin-api/define-rule.md +19 -0
- package/docs/reference/plugin-api/describe-error.md +14 -0
- package/docs/reference/plugin-api/describe-node.md +14 -0
- package/docs/reference/plugin-api/empty-registry.md +18 -0
- package/docs/reference/plugin-api/failed-on.md +32 -0
- package/docs/reference/plugin-api/fails-as.md +18 -0
- package/docs/reference/plugin-api/import-plugins.md +20 -0
- package/docs/reference/plugin-api/import-text.md +14 -0
- package/docs/reference/plugin-api/index.md +123 -0
- package/docs/reference/plugin-api/layout-definition.md +42 -0
- package/docs/reference/plugin-api/layout-slot.md +28 -0
- package/docs/reference/plugin-api/line-breaker.md +18 -0
- package/docs/reference/plugin-api/lint-context.md +48 -0
- package/docs/reference/plugin-api/lint-definition.md +32 -0
- package/docs/reference/plugin-api/lint-edition.md +38 -0
- package/docs/reference/plugin-api/lint-fix.md +36 -0
- package/docs/reference/plugin-api/lint-level.md +20 -0
- package/docs/reference/plugin-api/lint-preset.md +30 -0
- package/docs/reference/plugin-api/lint-rule.md +42 -0
- package/docs/reference/plugin-api/load-failure.md +32 -0
- package/docs/reference/plugin-api/load-plugins-options.md +32 -0
- package/docs/reference/plugin-api/load-plugins.md +20 -0
- package/docs/reference/plugin-api/loaded-plugin.md +32 -0
- package/docs/reference/plugin-api/node-claim.md +34 -0
- package/docs/reference/plugin-api/output-definition.md +28 -0
- package/docs/reference/plugin-api/owned.md +28 -0
- package/docs/reference/plugin-api/page-builder-hook.md +18 -0
- package/docs/reference/plugin-api/penalty-rule.md +34 -0
- package/docs/reference/plugin-api/plugin-api.md +18 -0
- package/docs/reference/plugin-api/plugin-definition.md +66 -0
- package/docs/reference/plugin-api/plugin-error.md +22 -0
- package/docs/reference/plugin-api/plugin-failure.md +30 -0
- package/docs/reference/plugin-api/plugin-importer.md +34 -0
- package/docs/reference/plugin-api/plugin-problem.md +30 -0
- package/docs/reference/plugin-api/plugin-registry.md +83 -0
- package/docs/reference/plugin-api/plugin-scope.md +15 -0
- package/docs/reference/plugin-api/plugin-stage.md +18 -0
- package/docs/reference/plugin-api/plugin-threw-problem.md +34 -0
- package/docs/reference/plugin-api/plugin-threw.md +21 -0
- package/docs/reference/plugin-api/plugin.md +69 -0
- package/docs/reference/plugin-api/project-with-plugins.md +36 -0
- package/docs/reference/plugin-api/read-context.md +30 -0
- package/docs/reference/plugin-api/read-failure.md +18 -0
- package/docs/reference/plugin-api/read-plugin-styles.md +22 -0
- package/docs/reference/plugin-api/reader.md +22 -0
- package/docs/reference/plugin-api/register-options.md +28 -0
- package/docs/reference/plugin-api/register-plugins.md +20 -0
- package/docs/reference/plugin-api/render-format.md +18 -0
- package/docs/reference/plugin-api/render-formats.md +18 -0
- package/docs/reference/plugin-api/renderer-registry.md +18 -0
- package/docs/reference/plugin-api/renderer-set.md +34 -0
- package/docs/reference/plugin-api/renderers.md +34 -0
- package/docs/reference/plugin-api/specifier-kind.md +14 -0
- package/docs/reference/plugin-api/style-source.md +18 -0
- package/docs/reference/plugin-api/text-context.md +28 -0
- package/docs/reference/plugin-api/text-edit.md +28 -0
- package/docs/reference/plugin-api/text-renderer.md +24 -0
- package/docs/reference/plugin-api/try-plugin-async.md +18 -0
- package/docs/reference/plugin-api/try-plugin.md +20 -0
- package/docs/reference/pulpweaver4-toml/editions.md +194 -0
- package/docs/reference/pulpweaver4-toml/index.md +182 -0
- package/docs/reference/pulpweaver4-toml/inks.md +50 -0
- package/docs/reference/pulpweaver4-toml/lint.md +36 -0
- package/docs/reference/test-matchers/index.md +33 -0
- package/docs/reference/test-matchers/to-be-recto.md +20 -0
- package/docs/reference/test-matchers/to-cite.md +22 -0
- package/docs/reference/test-matchers/to-fit-on-one-page.md +20 -0
- package/docs/reference/test-matchers/to-have-no-overfull-lines.md +20 -0
- package/docs/reference/test-matchers/to-match-html-snapshot.md +20 -0
- package/docs/reference/test-matchers/to-match-page-snapshot.md +20 -0
- package/docs/reference/test-matchers/to-match-text-snapshot.md +21 -0
- package/docs/reference/test-matchers/to-start-page.md +20 -0
- package/package.json +75 -4
- package/README.md +0 -3
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "CSS properties"
|
|
3
|
+
description: "Every --pw-* custom property: TeX’s line and page breaking parameters in CSS, footnotes and floats, print and the web edition."
|
|
4
|
+
sidebar:
|
|
5
|
+
order: 0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
9
|
+
|
|
10
|
+
pulpweaver4’s own CSS properties are custom properties named `--pw-*`, so a browser keeps them, and the engine reads them where TeX has a parameter. They cascade like any other property: set one on `:root` for the whole book, on an element for that element, and inside `@media print` or an edition’s condition for one edition. The core’s defaults are in the `pw.defaults` cascade layer, below the theme, the plugins and your own stylesheets.
|
|
11
|
+
|
|
12
|
+
## Breaking paragraphs into lines
|
|
13
|
+
|
|
14
|
+
| Property | Default | What it does |
|
|
15
|
+
| --- | --- | --- |
|
|
16
|
+
| [`--pw-line-breaking`](pw-line-breaking.md) | `knuth-plass`; in a web edition, `browser` | Which line breaker sets a paragraph: `knuth-plass`, pulpweaver4’s engine, which breaks the whole paragraph at once as TeX does, or `browser`, the browser’s own, which fills one line at a time. |
|
|
17
|
+
| [`--pw-tolerance`](pw-tolerance.md) | `200` | The worst line the line breaker accepts, as TeX’s `\tolerance`. |
|
|
18
|
+
| [`--pw-pretolerance`](pw-pretolerance.md) | `100` | The worst line the line breaker accepts in its first pass, which tries the paragraph without hyphenating it, as TeX’s `\pretolerance`. |
|
|
19
|
+
| [`--pw-line-penalty`](pw-line-penalty.md) | `10` | Demerits added to every line, as TeX’s `\linepenalty`: the higher it is, the more the breaker prefers fewer lines. |
|
|
20
|
+
| [`--pw-hyphen-penalty`](pw-hyphen-penalty.md) | `50` | The penalty for breaking a line at a hyphenation point or a soft hyphen, as TeX’s `\hyphenpenalty`: higher means fewer hyphenated lines. |
|
|
21
|
+
| [`--pw-ex-hyphen-penalty`](pw-ex-hyphen-penalty.md) | `50` | The penalty for breaking a line after an explicit hyphen, one written in the text (as in “well-known”), as TeX’s `\exhyphenpenalty`. |
|
|
22
|
+
| [`--pw-adj-demerits`](pw-adj-demerits.md) | `10000` | Demerits for two lines in a row that differ in tightness by more than one class (a very loose line beside a tight one), as TeX’s `\adjdemerits`, so that a paragraph’s spacing changes gradually. |
|
|
23
|
+
| [`--pw-double-hyphen-demerits`](pw-double-hyphen-demerits.md) | `10000` | Demerits for two hyphenated lines in a row, as TeX’s `\doublehyphendemerits`. |
|
|
24
|
+
| [`--pw-final-hyphen-demerits`](pw-final-hyphen-demerits.md) | `5000` | Demerits for hyphenating a paragraph’s second-last line, which leaves a fragment of a word on the last, as TeX’s `\finalhyphendemerits`. |
|
|
25
|
+
| [`--pw-emergency-stretch`](pw-emergency-stretch.md) | `0` | Stretch added to every line in a last pass, when no set of lines meets [`--pw-tolerance`](pw-tolerance.md), as TeX’s `\emergencystretch`: a paragraph that would have an overfull line gets loose, evenly spread lines instead. |
|
|
26
|
+
| [`--pw-looseness`](pw-looseness.md) | `0` | How many lines longer (positive) or shorter (negative) than its best the paragraph should be, if a set of lines within [`--pw-tolerance`](pw-tolerance.md) allows it, as TeX’s `\looseness`: a way to pull a widow back or push a line over, paragraph by paragraph. |
|
|
27
|
+
| [`--pw-word-space`](pw-word-space.md) | `0.333em plus 0.167em minus 0.111em` | The space between words, as glue: its natural width, how far it may stretch, and how far shrink, as TeX’s `\spaceskip`. |
|
|
28
|
+
| [`--pw-xspace`](pw-xspace.md) | unset: a word space | The space after a sentence, as glue, as TeX’s `\xspaceskip`. |
|
|
29
|
+
| [`--pw-leader`](pw-leader.md) | unset | Makes an element a leader, as TeX’s `\leaders\hbox{…}\hfill`: glue that fills the rest of its line (`fill` stretch, which outstretches the `fil` of any alignment) with copies of a box, its string with [`--pw-leader-space`](pw-leader-space.md) either side. |
|
|
30
|
+
| [`--pw-leader-space`](pw-leader-space.md) | 0.25em, LaTeX’s 4.5mu | The space either side of a leader’s string in each of its boxes, as the `\mkern\@dotsep mu` either side of LaTeX’s dot. |
|
|
31
|
+
| [`--pw-left-hyphen-min`](pw-left-hyphen-min.md) | the language’s | The fewest letters a hyphenated word may keep before the hyphen, as TeX’s `\lefthyphenmin`. |
|
|
32
|
+
| [`--pw-right-hyphen-min`](pw-right-hyphen-min.md) | the language’s | The fewest letters a hyphenated word may carry to the next line, as TeX’s `\righthyphenmin`. |
|
|
33
|
+
|
|
34
|
+
## Breaking pages
|
|
35
|
+
|
|
36
|
+
| Property | Default | What it does |
|
|
37
|
+
| --- | --- | --- |
|
|
38
|
+
| [`--pw-inter-line-penalty`](pw-inter-line-penalty.md) | `0` | The penalty for breaking a page between any two lines of a paragraph, as TeX’s `\interlinepenalty`; the club, widow and broken penalties are added to it where they apply. |
|
|
39
|
+
| [`--pw-club-penalty`](pw-club-penalty.md) | `150` | The penalty for breaking a page after a paragraph’s first lines, leaving fewer than `orphans` of them at the foot of a page, as TeX’s `\clubpenalty`. 10000 forbids it; the `orphan` lint rule reports what gets through. |
|
|
40
|
+
| [`--pw-widow-penalty`](pw-widow-penalty.md) | `150` | The penalty for breaking a page before a paragraph’s last lines, carrying fewer than `widows` of them to the next page, as TeX’s `\widowpenalty`. 10000 forbids it; the `widow` lint rule reports what gets through. |
|
|
41
|
+
| [`--pw-broken-penalty`](pw-broken-penalty.md) | `100` | The penalty for breaking a page after a hyphenated line, which leaves half a word for the reader to carry over the page, as TeX’s `\brokenpenalty`. |
|
|
42
|
+
| [`--pw-widows`](pw-widows.md) | `widows`, which is 2 by default | How many of a paragraph’s last lines a page break may not leave alone at the top of a page, which [`--pw-widow-penalty`](pw-widow-penalty.md) then charges for. |
|
|
43
|
+
| [`--pw-orphans`](pw-orphans.md) | `orphans`, which is 2 by default | How many of a paragraph’s first lines a page break may not leave alone at the foot of a page, which [`--pw-club-penalty`](pw-club-penalty.md) then charges for. |
|
|
44
|
+
| [`--pw-penalty-before`](pw-penalty-before.md) | 0 | A penalty at the page break before the element, added to whatever `break-before` asks: negative invites a break there, positive discourages one, as a `\penalty` before it does in TeX. |
|
|
45
|
+
| [`--pw-penalty-after`](pw-penalty-after.md) | 0 | A penalty at the page break after the element, added to whatever `break-after` asks: a heading’s `break-after: avoid` keeps it with what follows, and a penalty weighs a break there without forbidding it. |
|
|
46
|
+
| [`--pw-space-before`](pw-space-before.md) | unset: the block’s `margin-top`, which neither stretches nor shrinks | The space above the block, as glue that can stretch and shrink to fill a page, in place of its `margin-top`, as LaTeX’s `\addvspace`. |
|
|
47
|
+
| [`--pw-space-after`](pw-space-after.md) | unset: the block’s `margin-bottom`, which neither stretches nor shrinks | The space below the block, as glue, in place of its `margin-bottom`; it collapses with the next block’s space before, the larger winning. |
|
|
48
|
+
| [`--pw-top-skip`](pw-top-skip.md) | `0pt` | Where the first line of a page sits, as TeX’s `\topskip`: the space from the text area’s top to the first line’s top. 0 puts the line’s top at the area’s top, as CSS would. |
|
|
49
|
+
| [`--pw-max-depth`](pw-max-depth.md) | `0pt` | How far the last line’s descenders may hang below the text area, as TeX’s `\maxdepth`. 0 keeps them inside the area, as CSS would. |
|
|
50
|
+
| [`--pw-footnote-skip`](pw-footnote-skip.md) | `12pt plus 4pt minus 4pt` | The space between the main text and the footnotes, as glue, as plain TeX’s `\skip\footins` (a `\bigskip`). |
|
|
51
|
+
| [`--pw-footnote-max-height`](pw-footnote-max-height.md) | the whole text area | The most of a page the footnotes may take, as TeX’s `\dimen\footins`; a note that doesn’t fit is split, and the rest continues on the next page. |
|
|
52
|
+
| [`--pw-float-skip`](pw-float-skip.md) | `12pt plus 4pt minus 4pt` | The space between a top or bottom float and the text, as glue (plain TeX’s `\bigskip`). |
|
|
53
|
+
|
|
54
|
+
## Footnotes, floats, running heads and minipages
|
|
55
|
+
|
|
56
|
+
| Property | Default | What it does |
|
|
57
|
+
| --- | --- | --- |
|
|
58
|
+
| [`--pw-float`](pw-float.md) | unset: in the flow | Takes the element out of the text into an insert, as CSS Generated Content for Paged Media’s `float`: `footnote` to the foot of the page (a footnote, with its call left in the text), `top` or `bottom` to the top or foot of the page it is on or the next. |
|
|
59
|
+
| [`--pw-string-set`](pw-string-set.md) | unset | Sets a named string from the element’s text, for running heads, as Generated Content for Paged Media’s `string-set`: a page’s `string(name)` is the string as it stood at the page’s start, or first set on it. |
|
|
60
|
+
| [`--pw-running`](pw-running.md) | unset | Moves the element out of the flow into a running element, which a page margin box shows with `element(name)`, as Generated Content for Paged Media’s `position: running(name)`. |
|
|
61
|
+
| [`--pw-page`](pw-page.md) | unset: the element names no page, and goes on the pages around it | The named page the element goes on, which `@page <name>` rules style: its size, margins and margin boxes. |
|
|
62
|
+
| [`--pw-page-prefix`](pw-page-prefix.md) | unset: no prefix | A prefix for the PDF’s page labels of the pages an `@page` rule styles, so that a reader’s “go to page” finds `A-3` in an appendix numbered apart. |
|
|
63
|
+
| [`--pw-content-before`](pw-content-before.md) | unset | The `content` of the element’s `::before`, when it depends on the pages, as `target-counter()` does: no browser knows the pages, so the compiler copies that `content` here, as a string, and the engine writes it into the element as text, filled in as the layout settles. |
|
|
64
|
+
| [`--pw-content-after`](pw-content-after.md) | unset | The `content` of the element’s `::after`, when it depends on the pages, as `target-counter()` does, copied here by the compiler as [`--pw-content-before`](pw-content-before.md) is for `::before`. |
|
|
65
|
+
| [`--pw-box`](pw-box.md) | unset: an ordinary block | Makes the element a minipage, as LaTeX’s `minipage` and TeX’s `\vbox`: a box with its own measure (its content box’s width, so give it a `width`) and its own vertical list, which the engine breaks into lines and stacks inside it. |
|
|
66
|
+
| [`--pw-minipage-footnotes`](pw-minipage-footnotes.md) | `inside` | Where a minipage’s footnotes go: `inside`, at its own foot, at its measure, below a short rule, as LaTeX’s are; or `outside`, out with its floats to the page (or the minipage around it), at that measure. |
|
|
67
|
+
| [`--pw-list-indent`](pw-list-indent.md) | `2em` | How far a list’s items are indented, with each item’s marker set in that space, right-aligned before the text. |
|
|
68
|
+
|
|
69
|
+
## Print
|
|
70
|
+
|
|
71
|
+
| Property | Default | What it does |
|
|
72
|
+
| --- | --- | --- |
|
|
73
|
+
| [`--pw-overprint`](pw-overprint.md) | `off` | Makes the element’s text and rules overprint what is beneath them in a CMYK edition: what they leave unpainted stays as it is, plate by plate, so black text on a tint prints on the black plate alone with nothing knocked out of the colour beneath, and a spot ink adds to the process colour under it. |
|
|
74
|
+
| [`--pw-border-top-width`](pw-border-top-width.md) | `0px` | The top border’s exact width in a print edition. |
|
|
75
|
+
| [`--pw-padding-top`](pw-padding-top.md) | `0px` | The author’s `padding-top` in a print edition, kept apart from the border’s width: the compiler sets `padding-top` to `calc(var(--pw-padding-top) + var(--pw-border-top-width))`, so the box is as wide as the exact border and the padding make it. |
|
|
76
|
+
| [`--pw-border-right-width`](pw-border-right-width.md) | `0px` | The right border’s exact width in a print edition. |
|
|
77
|
+
| [`--pw-padding-right`](pw-padding-right.md) | `0px` | The author’s `padding-right` in a print edition, kept apart from the border’s width: the compiler sets `padding-right` to `calc(var(--pw-padding-right) + var(--pw-border-right-width))`, so the box is as wide as the exact border and the padding make it. |
|
|
78
|
+
| [`--pw-border-bottom-width`](pw-border-bottom-width.md) | `0px` | The bottom border’s exact width in a print edition. |
|
|
79
|
+
| [`--pw-padding-bottom`](pw-padding-bottom.md) | `0px` | The author’s `padding-bottom` in a print edition, kept apart from the border’s width: the compiler sets `padding-bottom` to `calc(var(--pw-padding-bottom) + var(--pw-border-bottom-width))`, so the box is as wide as the exact border and the padding make it. |
|
|
80
|
+
| [`--pw-border-left-width`](pw-border-left-width.md) | `0px` | The left border’s exact width in a print edition. |
|
|
81
|
+
| [`--pw-padding-left`](pw-padding-left.md) | `0px` | The author’s `padding-left` in a print edition, kept apart from the border’s width: the compiler sets `padding-left` to `calc(var(--pw-padding-left) + var(--pw-border-left-width))`, so the box is as wide as the exact border and the padding make it. |
|
|
82
|
+
| [`--pw-outline-width`](pw-outline-width.md) | `0px` | The outline’s exact width in a print edition, which the compiler moves out of `outline-width` (which Chromium draws in whole pixels) for the painter to paint. |
|
|
83
|
+
| [`--pw-column-rule-width`](pw-column-rule-width.md) | `0px` | The rule between columns’ exact width in a print edition, which the compiler moves out of `column-rule-width` (which Chromium draws in whole pixels) for the painter to paint. |
|
|
84
|
+
|
|
85
|
+
## The web edition
|
|
86
|
+
|
|
87
|
+
| Property | Default | What it does |
|
|
88
|
+
| --- | --- | --- |
|
|
89
|
+
| [`--pw-site-text`](pw-site-text.md) | `#1f1d1a`, in the light colour scheme | The web edition’s text colour, in the light colour scheme and, set again under `prefers-color-scheme: dark`, the dark. |
|
|
90
|
+
| [`--pw-site-background`](pw-site-background.md) | `#fdfcf9`, in the light colour scheme | The web edition’s background colour, and the footnote pop-overs’. |
|
|
91
|
+
| [`--pw-site-muted`](pw-site-muted.md) | `#67625a`, in the light colour scheme | The colour of the web edition’s secondary text: the book’s title above each page, and the labels of the links to the previous and next pages. |
|
|
92
|
+
| [`--pw-site-rule`](pw-site-rule.md) | `#d6d0c4`, in the light colour scheme | The colour of the web edition’s rules: above the links to the previous and next pages, and around the footnote pop-overs. |
|
|
93
|
+
| [`--pw-site-link`](pw-site-link.md) | `#2a5a8a`, in the light colour scheme | The web edition’s link colour, also its footnote calls’ and their focus ring’s. |
|
|
94
|
+
| [`--pw-site-measure`](pw-site-measure.md) | `36em`, in the light colour scheme | The web edition’s measure: the widest its text column grows, with a little room either side on a narrow screen. |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-adj-demerits"
|
|
3
|
+
description: "Demerits for two lines in a row that differ in tightness by more than one class (a very loose line beside a tight one), as TeX’s \\adjdemerits, so that a paragraph’s spacing changes gradually."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
Demerits for two lines in a row that differ in tightness by more than one class (a very loose line beside a tight one), as TeX’s `\adjdemerits`, so that a paragraph’s spacing changes gradually.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | an `<integer>` |
|
|
13
|
+
| **Default** | `10000` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | Paragraphs the engine breaks into lines: every paragraph of a print edition, and justified ones on screen with `--pw-line-breaking: knuth-plass` |
|
|
16
|
+
| **In TeX** | `\adjdemerits` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-line-penalty`](pw-line-penalty.md)
|
|
21
|
+
|
|
22
|
+
In the group [Breaking paragraphs into lines](index.md#breaking-paragraphs-into-lines).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-border-bottom-width"
|
|
3
|
+
description: "The bottom border’s exact width in a print edition."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The bottom border’s exact width in a print edition. Chromium draws a border in whole pixels, at least one, so a 0.4pt rule would print at 0.75pt: the compiler moves each `border-bottom-width` here, sets the browser’s to 0, reserves the width in `padding-bottom`, and the painter paints the border from it.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<length>` |
|
|
13
|
+
| **Default** | `0px` |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Every element, in a print edition |
|
|
16
|
+
| **Set by** | the stylesheet compiler, from a standard property |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-padding-bottom`](pw-padding-bottom.md)
|
|
21
|
+
- [`--pw-outline-width`](pw-outline-width.md)
|
|
22
|
+
- [`--pw-column-rule-width`](pw-column-rule-width.md)
|
|
23
|
+
|
|
24
|
+
In the group [Print](index.md#print).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-border-left-width"
|
|
3
|
+
description: "The left border’s exact width in a print edition."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The left border’s exact width in a print edition. Chromium draws a border in whole pixels, at least one, so a 0.4pt rule would print at 0.75pt: the compiler moves each `border-left-width` here, sets the browser’s to 0, reserves the width in `padding-left`, and the painter paints the border from it.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<length>` |
|
|
13
|
+
| **Default** | `0px` |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Every element, in a print edition |
|
|
16
|
+
| **Set by** | the stylesheet compiler, from a standard property |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-padding-left`](pw-padding-left.md)
|
|
21
|
+
- [`--pw-outline-width`](pw-outline-width.md)
|
|
22
|
+
- [`--pw-column-rule-width`](pw-column-rule-width.md)
|
|
23
|
+
|
|
24
|
+
In the group [Print](index.md#print).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-border-right-width"
|
|
3
|
+
description: "The right border’s exact width in a print edition."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The right border’s exact width in a print edition. Chromium draws a border in whole pixels, at least one, so a 0.4pt rule would print at 0.75pt: the compiler moves each `border-right-width` here, sets the browser’s to 0, reserves the width in `padding-right`, and the painter paints the border from it.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<length>` |
|
|
13
|
+
| **Default** | `0px` |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Every element, in a print edition |
|
|
16
|
+
| **Set by** | the stylesheet compiler, from a standard property |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-padding-right`](pw-padding-right.md)
|
|
21
|
+
- [`--pw-outline-width`](pw-outline-width.md)
|
|
22
|
+
- [`--pw-column-rule-width`](pw-column-rule-width.md)
|
|
23
|
+
|
|
24
|
+
In the group [Print](index.md#print).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-border-top-width"
|
|
3
|
+
description: "The top border’s exact width in a print edition."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The top border’s exact width in a print edition. Chromium draws a border in whole pixels, at least one, so a 0.4pt rule would print at 0.75pt: the compiler moves each `border-top-width` here, sets the browser’s to 0, reserves the width in `padding-top`, and the painter paints the border from it.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<length>` |
|
|
13
|
+
| **Default** | `0px` |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Every element, in a print edition |
|
|
16
|
+
| **Set by** | the stylesheet compiler, from a standard property |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-padding-top`](pw-padding-top.md)
|
|
21
|
+
- [`--pw-outline-width`](pw-outline-width.md)
|
|
22
|
+
- [`--pw-column-rule-width`](pw-column-rule-width.md)
|
|
23
|
+
|
|
24
|
+
In the group [Print](index.md#print).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-box"
|
|
3
|
+
description: "Makes the element a minipage, as LaTeX’s minipage and TeX’s \\vbox: a box with its own measure (its content box’s width, so give it a width) and its own vertical list, which the engine breaks into lines and stacks inside it."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
Makes the element a minipage, as LaTeX’s `minipage` and TeX’s `\vbox`: a box with its own measure (its content box’s width, so give it a `width`) and its own vertical list, which the engine breaks into lines and stacks inside it. A block minipage is one box, never broken across pages; an `inline-block` one sits in its line, beside others. Its baseline is its last line’s, as LaTeX’s `[b]`; `baseline-source: first` gives `[t]`, and `vertical-align: middle` near `[c]`.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | `minipage` |
|
|
13
|
+
| **Default** | unset: an ordinary block |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Elements in a print edition |
|
|
16
|
+
| **In TeX** | `minipage`, `\vbox`, `\vtop` |
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```css
|
|
21
|
+
.pair > div { display: inline-block; width: 48%; --pw-box: minipage; }
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Related
|
|
25
|
+
|
|
26
|
+
- [`--pw-minipage-footnotes`](pw-minipage-footnotes.md)
|
|
27
|
+
|
|
28
|
+
In the group [Footnotes, floats, running heads and minipages](index.md#footnotes-floats-running-heads-and-minipages).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-broken-penalty"
|
|
3
|
+
description: "The penalty for breaking a page after a hyphenated line, which leaves half a word for the reader to carry over the page, as TeX’s \\brokenpenalty."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The penalty for breaking a page after a hyphenated line, which leaves half a word for the reader to carry over the page, as TeX’s `\brokenpenalty`.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | an `<integer>`, -10000 to 10000: negative invites a break, 10000 forbids it, -10000 forces it |
|
|
13
|
+
| **Default** | `100` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | Paragraphs in a print edition |
|
|
16
|
+
| **In TeX** | `\brokenpenalty` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-inter-line-penalty`](pw-inter-line-penalty.md)
|
|
21
|
+
|
|
22
|
+
In the group [Breaking pages](index.md#breaking-pages).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-club-penalty"
|
|
3
|
+
description: "The penalty for breaking a page after a paragraph’s first lines, leaving fewer than orphans of them at the foot of a page, as TeX’s \\clubpenalty. 10000 forbids it; the orphan lint rule reports what gets through."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The penalty for breaking a page after a paragraph’s first lines, leaving fewer than `orphans` of them at the foot of a page, as TeX’s `\clubpenalty`. 10000 forbids it; the `orphan` lint rule reports what gets through.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | an `<integer>`, -10000 to 10000: negative invites a break, 10000 forbids it, -10000 forces it |
|
|
13
|
+
| **Default** | `150` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | Paragraphs in a print edition |
|
|
16
|
+
| **In TeX** | `\clubpenalty` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-orphans`](pw-orphans.md)
|
|
21
|
+
- [`--pw-widow-penalty`](pw-widow-penalty.md)
|
|
22
|
+
- [`--pw-inter-line-penalty`](pw-inter-line-penalty.md)
|
|
23
|
+
|
|
24
|
+
In the group [Breaking pages](index.md#breaking-pages).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-column-rule-width"
|
|
3
|
+
description: "The rule between columns’ exact width in a print edition, which the compiler moves out of column-rule-width (which Chromium draws in whole pixels) for the painter to paint."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The rule between columns’ exact width in a print edition, which the compiler moves out of `column-rule-width` (which Chromium draws in whole pixels) for the painter to paint.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<length>` |
|
|
13
|
+
| **Default** | `0px` |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Multi-column elements, in a print edition |
|
|
16
|
+
| **Set by** | the stylesheet compiler, from a standard property |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-border-top-width`](pw-border-top-width.md)
|
|
21
|
+
- [`--pw-outline-width`](pw-outline-width.md)
|
|
22
|
+
|
|
23
|
+
In the group [Print](index.md#print).
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-content-after"
|
|
3
|
+
description: "The content of the element’s ::after, when it depends on the pages, as target-counter() does, copied here by the compiler as --pw-content-before is for ::before."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The `content` of the element’s `::after`, when it depends on the pages, as `target-counter()` does, copied here by the compiler as [`--pw-content-before`](pw-content-before.md) is for `::before`. Write `::after { content: … }`.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<string>` holding a `content` value |
|
|
13
|
+
| **Default** | unset |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Elements in a print edition |
|
|
16
|
+
| **In TeX** | `\pageref` |
|
|
17
|
+
| **Set by** | the stylesheet compiler, from a standard property |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```css
|
|
22
|
+
@media print {
|
|
23
|
+
a.xref::after { content: " (p. " target-counter(attr(href url), page) ")"; }
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Related
|
|
28
|
+
|
|
29
|
+
- [`--pw-content-before`](pw-content-before.md)
|
|
30
|
+
|
|
31
|
+
In the group [Footnotes, floats, running heads and minipages](index.md#footnotes-floats-running-heads-and-minipages).
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-content-before"
|
|
3
|
+
description: "The content of the element’s ::before, when it depends on the pages, as target-counter() does: no browser knows the pages, so the compiler copies that content here, as a string, and the engine writes it into the element as text, filled in as the layout settles."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The `content` of the element’s `::before`, when it depends on the pages, as `target-counter()` does: no browser knows the pages, so the compiler copies that `content` here, as a string, and the engine writes it into the element as text, filled in as the layout settles. Write `::before { content: … }`.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<string>` holding a `content` value |
|
|
13
|
+
| **Default** | unset |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Elements in a print edition |
|
|
16
|
+
| **In TeX** | `\pageref` |
|
|
17
|
+
| **Set by** | the stylesheet compiler, from a standard property |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```css
|
|
22
|
+
@media print {
|
|
23
|
+
a.xref::before { content: "p. " target-counter(attr(href url), page) " "; }
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Related
|
|
28
|
+
|
|
29
|
+
- [`--pw-content-after`](pw-content-after.md)
|
|
30
|
+
|
|
31
|
+
In the group [Footnotes, floats, running heads and minipages](index.md#footnotes-floats-running-heads-and-minipages).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-double-hyphen-demerits"
|
|
3
|
+
description: "Demerits for two hyphenated lines in a row, as TeX’s \\doublehyphendemerits."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
Demerits for two hyphenated lines in a row, as TeX’s `\doublehyphendemerits`. The `consecutive-hyphens` lint rule reports runs that get through.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | an `<integer>` |
|
|
13
|
+
| **Default** | `10000` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | Paragraphs the engine breaks into lines: every paragraph of a print edition, and justified ones on screen with `--pw-line-breaking: knuth-plass` |
|
|
16
|
+
| **In TeX** | `\doublehyphendemerits` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-final-hyphen-demerits`](pw-final-hyphen-demerits.md)
|
|
21
|
+
- [`--pw-hyphen-penalty`](pw-hyphen-penalty.md)
|
|
22
|
+
|
|
23
|
+
In the group [Breaking paragraphs into lines](index.md#breaking-paragraphs-into-lines).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-emergency-stretch"
|
|
3
|
+
description: "Stretch added to every line in a last pass, when no set of lines meets --pw-tolerance, as TeX’s \\emergencystretch: a paragraph that would have an overfull line gets loose, evenly spread lines instead."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
Stretch added to every line in a last pass, when no set of lines meets [`--pw-tolerance`](pw-tolerance.md), as TeX’s `\emergencystretch`: a paragraph that would have an overfull line gets loose, evenly spread lines instead.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<length>` |
|
|
13
|
+
| **Default** | `0` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | Paragraphs the engine breaks into lines: every paragraph of a print edition, and justified ones on screen with `--pw-line-breaking: knuth-plass` |
|
|
16
|
+
| **In TeX** | `\emergencystretch` |
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```css
|
|
21
|
+
p { --pw-emergency-stretch: 1.5em; }
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Related
|
|
25
|
+
|
|
26
|
+
- [`--pw-tolerance`](pw-tolerance.md)
|
|
27
|
+
|
|
28
|
+
In the group [Breaking paragraphs into lines](index.md#breaking-paragraphs-into-lines).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-ex-hyphen-penalty"
|
|
3
|
+
description: "The penalty for breaking a line after an explicit hyphen, one written in the text (as in “well-known”), as TeX’s \\exhyphenpenalty."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The penalty for breaking a line after an explicit hyphen, one written in the text (as in “well-known”), as TeX’s `\exhyphenpenalty`.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | an `<integer>`, -10000 to 10000: negative invites a break, 10000 forbids it, -10000 forces it |
|
|
13
|
+
| **Default** | `50` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | Paragraphs the engine breaks into lines: every paragraph of a print edition, and justified ones on screen with `--pw-line-breaking: knuth-plass` |
|
|
16
|
+
| **In TeX** | `\exhyphenpenalty` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-hyphen-penalty`](pw-hyphen-penalty.md)
|
|
21
|
+
|
|
22
|
+
In the group [Breaking paragraphs into lines](index.md#breaking-paragraphs-into-lines).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-final-hyphen-demerits"
|
|
3
|
+
description: "Demerits for hyphenating a paragraph’s second-last line, which leaves a fragment of a word on the last, as TeX’s \\finalhyphendemerits."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
Demerits for hyphenating a paragraph’s second-last line, which leaves a fragment of a word on the last, as TeX’s `\finalhyphendemerits`.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | an `<integer>` |
|
|
13
|
+
| **Default** | `5000` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | Paragraphs the engine breaks into lines: every paragraph of a print edition, and justified ones on screen with `--pw-line-breaking: knuth-plass` |
|
|
16
|
+
| **In TeX** | `\finalhyphendemerits` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-double-hyphen-demerits`](pw-double-hyphen-demerits.md)
|
|
21
|
+
|
|
22
|
+
In the group [Breaking paragraphs into lines](index.md#breaking-paragraphs-into-lines).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-float-skip"
|
|
3
|
+
description: "The space between a top or bottom float and the text, as glue (plain TeX’s \\bigskip)."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The space between a top or bottom float and the text, as glue (plain TeX’s `\bigskip`).
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | glue: a `<length>`, then `plus` a stretch (a `<length>`, or `fil`, `fill` or `filll` infinitely), then `minus` a shrink, as TeX writes it: `12pt plus 4pt minus 4pt` |
|
|
13
|
+
| **Default** | `12pt plus 4pt minus 4pt` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | The page’s flow, read on `:root` |
|
|
16
|
+
| **In TeX** | `` \topskip after `\topinsert`, LaTeX’s `\textfloatsep` `` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-float`](pw-float.md)
|
|
21
|
+
|
|
22
|
+
In the group [Breaking pages](index.md#breaking-pages).
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-float"
|
|
3
|
+
description: "Takes the element out of the text into an insert, as CSS Generated Content for Paged Media’s float: footnote to the foot of the page (a footnote, with its call left in the text), top or bottom to the top or foot of the page it is on or the next."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
Takes the element out of the text into an insert, as CSS Generated Content for Paged Media’s `float`: `footnote` to the foot of the page (a footnote, with its call left in the text), `top` or `bottom` to the top or foot of the page it is on or the next. Write `float: footnote` (or `top`, `bottom`); the compiler lowers it to this, since no browser parses those values.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | `footnote`, `top` or `bottom` |
|
|
13
|
+
| **Default** | unset: in the flow |
|
|
14
|
+
| **Inherited** | No |
|
|
15
|
+
| **Applies to** | Elements in a print edition |
|
|
16
|
+
| **In TeX** | `\footnote`, `\topinsert`, LaTeX’s floats |
|
|
17
|
+
| **Set by** | the stylesheet compiler, from a standard property |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```css
|
|
22
|
+
@media print {
|
|
23
|
+
aside.note { float: footnote; }
|
|
24
|
+
figure.plate { float: top; }
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Related
|
|
29
|
+
|
|
30
|
+
- [`--pw-footnote-skip`](pw-footnote-skip.md)
|
|
31
|
+
- [`--pw-float-skip`](pw-float-skip.md)
|
|
32
|
+
|
|
33
|
+
In the group [Footnotes, floats, running heads and minipages](index.md#footnotes-floats-running-heads-and-minipages).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-footnote-max-height"
|
|
3
|
+
description: "The most of a page the footnotes may take, as TeX’s \\dimen\\footins; a note that doesn’t fit is split, and the rest continues on the next page."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The most of a page the footnotes may take, as TeX’s `\dimen\footins`; a note that doesn’t fit is split, and the rest continues on the next page.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | a `<length>` |
|
|
13
|
+
| **Default** | the whole text area |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | The page’s flow, read on `:root` |
|
|
16
|
+
| **In TeX** | `\dimen\footins` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-footnote-skip`](pw-footnote-skip.md)
|
|
21
|
+
|
|
22
|
+
In the group [Breaking pages](index.md#breaking-pages).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-footnote-skip"
|
|
3
|
+
description: "The space between the main text and the footnotes, as glue, as plain TeX’s \\skip\\footins (a \\bigskip)."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The space between the main text and the footnotes, as glue, as plain TeX’s `\skip\footins` (a `\bigskip`). The footnote rule sits in it and takes no height. A minipage uses it too, above its own notes.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | glue: a `<length>`, then `plus` a stretch (a `<length>`, or `fil`, `fill` or `filll` infinitely), then `minus` a shrink, as TeX writes it: `12pt plus 4pt minus 4pt` |
|
|
13
|
+
| **Default** | `12pt plus 4pt minus 4pt` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | The page’s flow, read on `:root`; minipages |
|
|
16
|
+
| **In TeX** | `\skip\footins` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-footnote-max-height`](pw-footnote-max-height.md)
|
|
21
|
+
- [`--pw-float`](pw-float.md)
|
|
22
|
+
|
|
23
|
+
In the group [Breaking pages](index.md#breaking-pages).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "--pw-hyphen-penalty"
|
|
3
|
+
description: "The penalty for breaking a line at a hyphenation point or a soft hyphen, as TeX’s \\hyphenpenalty: higher means fewer hyphenated lines."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from pulpweaver4’s code by scripts/reference; edit the code, not this page. -->
|
|
7
|
+
|
|
8
|
+
The penalty for breaking a line at a hyphenation point or a soft hyphen, as TeX’s `\hyphenpenalty`: higher means fewer hyphenated lines.
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| **Value** | an `<integer>`, -10000 to 10000: negative invites a break, 10000 forbids it, -10000 forces it |
|
|
13
|
+
| **Default** | `50` |
|
|
14
|
+
| **Inherited** | Yes |
|
|
15
|
+
| **Applies to** | Paragraphs the engine breaks into lines: every paragraph of a print edition, and justified ones on screen with `--pw-line-breaking: knuth-plass` |
|
|
16
|
+
| **In TeX** | `\hyphenpenalty` |
|
|
17
|
+
|
|
18
|
+
## Related
|
|
19
|
+
|
|
20
|
+
- [`--pw-ex-hyphen-penalty`](pw-ex-hyphen-penalty.md)
|
|
21
|
+
- [`--pw-double-hyphen-demerits`](pw-double-hyphen-demerits.md)
|
|
22
|
+
- [`--pw-left-hyphen-min`](pw-left-hyphen-min.md)
|
|
23
|
+
|
|
24
|
+
In the group [Breaking paragraphs into lines](index.md#breaking-paragraphs-into-lines).
|