From cc00c0215603ddd1ae22fa64855ddc58af55c0e2 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Sat, 7 Mar 2026 14:03:31 +0000 Subject: [PATCH] Update DocBook schema to DocBook 5.2.1b1 This should fix the unintentional BC break from DocBook 5.1 to 5.2, meaning we no longer need to have a custom DocBook schema. --- configure.php | 2 +- .../assembly.nvdl | 8 - docbook/docbook-5.2.1b1/catalog.xml | 232 ++ .../dbits.nvdl | 8 - .../docbook.nvdl | 8 - .../release-notes/css/docbook.css | 2267 +++++++++++++++++ .../docbook-5.2.1b1/release-notes/index.html | 212 ++ .../release-notes/release-notes.xml | 516 ++++ .../rng/assembly.rnc | 44 +- .../rng/assembly.rng | 35 +- .../rng/assemblyxi.rnc | 44 +- .../rng/assemblyxi.rng | 35 +- .../rng/dbits.rnc | 44 +- .../rng/dbits.rng | 37 +- .../rng/dbitsxi.rnc | 44 +- .../rng/dbitsxi.rng | 37 +- .../rng/docbook.rnc | 44 +- .../rng/docbook.rng | 31 +- .../rng/docbookxi.rnc | 44 +- .../rng/docbookxi.rng | 31 +- .../sch/assembly.sch | 32 +- .../sch/assemblyxi.sch | 32 +- .../sch/dbits.sch | 32 +- .../sch/dbitsxi.sch | 32 +- .../sch/docbook.sch | 32 +- .../sch/docbookxi.sch | 32 +- docbook/docbook-v5.2-os/catalog.xml | 605 ----- 27 files changed, 3744 insertions(+), 776 deletions(-) rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/assembly.nvdl (57%) mode change 100755 => 100644 create mode 100644 docbook/docbook-5.2.1b1/catalog.xml rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/dbits.nvdl (56%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/docbook.nvdl (57%) mode change 100755 => 100644 create mode 100644 docbook/docbook-5.2.1b1/release-notes/css/docbook.css create mode 100644 docbook/docbook-5.2.1b1/release-notes/index.html create mode 100644 docbook/docbook-5.2.1b1/release-notes/release-notes.xml rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/assembly.rnc (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/assembly.rng (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/assemblyxi.rnc (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/assemblyxi.rng (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/dbits.rnc (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/dbits.rng (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/dbitsxi.rnc (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/dbitsxi.rng (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/docbook.rnc (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/docbook.rng (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/docbookxi.rnc (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/rng/docbookxi.rng (99%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/sch/assembly.sch (94%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/sch/assemblyxi.sch (94%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/sch/dbits.sch (97%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/sch/dbitsxi.sch (97%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/sch/docbook.sch (97%) mode change 100755 => 100644 rename docbook/{docbook-v5.2-os => docbook-5.2.1b1}/sch/docbookxi.sch (97%) mode change 100755 => 100644 delete mode 100755 docbook/docbook-v5.2-os/catalog.xml diff --git a/configure.php b/configure.php index c32723fa58..b6d1f1bd37 100755 --- a/configure.php +++ b/configure.php @@ -38,7 +38,7 @@ // phd_version() // php_history() -const RNG_SCHEMA_DIR = __DIR__ . DIRECTORY_SEPARATOR . 'docbook' . DIRECTORY_SEPARATOR . 'docbook-v5.2-os' . DIRECTORY_SEPARATOR . 'rng' . DIRECTORY_SEPARATOR; +const RNG_SCHEMA_DIR = __DIR__ . DIRECTORY_SEPARATOR . 'docbook' . DIRECTORY_SEPARATOR . 'docbook-5.2.1b1' . DIRECTORY_SEPARATOR . 'rng' . DIRECTORY_SEPARATOR; const RNG_SCHEMA_FILE = RNG_SCHEMA_DIR . 'docbook.rng'; const RNG_SCHEMA_XINCLUDE_FILE = RNG_SCHEMA_DIR . 'docbookxi.rng'; diff --git a/docbook/docbook-v5.2-os/assembly.nvdl b/docbook/docbook-5.2.1b1/assembly.nvdl old mode 100755 new mode 100644 similarity index 57% rename from docbook/docbook-v5.2-os/assembly.nvdl rename to docbook/docbook-5.2.1b1/assembly.nvdl index e402a35c52..94fa1c7ea7 --- a/docbook/docbook-v5.2-os/assembly.nvdl +++ b/docbook/docbook-5.2.1b1/assembly.nvdl @@ -1,12 +1,4 @@ - diff --git a/docbook/docbook-5.2.1b1/catalog.xml b/docbook/docbook-5.2.1b1/catalog.xml new file mode 100644 index 0000000000..5920e994fa --- /dev/null +++ b/docbook/docbook-5.2.1b1/catalog.xml @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docbook/docbook-v5.2-os/dbits.nvdl b/docbook/docbook-5.2.1b1/dbits.nvdl old mode 100755 new mode 100644 similarity index 56% rename from docbook/docbook-v5.2-os/dbits.nvdl rename to docbook/docbook-5.2.1b1/dbits.nvdl index b8edc0ee04..220bedcb41 --- a/docbook/docbook-v5.2-os/dbits.nvdl +++ b/docbook/docbook-5.2.1b1/dbits.nvdl @@ -1,12 +1,4 @@ - diff --git a/docbook/docbook-v5.2-os/docbook.nvdl b/docbook/docbook-5.2.1b1/docbook.nvdl old mode 100755 new mode 100644 similarity index 57% rename from docbook/docbook-v5.2-os/docbook.nvdl rename to docbook/docbook-5.2.1b1/docbook.nvdl index 910826d34e..a3d8730998 --- a/docbook/docbook-v5.2-os/docbook.nvdl +++ b/docbook/docbook-5.2.1b1/docbook.nvdl @@ -1,12 +1,4 @@ - diff --git a/docbook/docbook-5.2.1b1/release-notes/css/docbook.css b/docbook/docbook-5.2.1b1/release-notes/css/docbook.css new file mode 100644 index 0000000000..4891653e1d --- /dev/null +++ b/docbook/docbook-5.2.1b1/release-notes/css/docbook.css @@ -0,0 +1,2267 @@ +/* DocBook xslTNG version 2.7.5, https://xsltng.docbook.org */ +@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@1,400;1,700&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@1,400;1,700&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@1,400;1,700&display=swap"); +:root { + --symbol-fonts: "Arial Unicode", "Apple Symbols", "Symbol", "Symbola_hint"; + --body-family: "Noto Serif", serif, var(--symbol-fonts); + --title-family: "Noto Sans", sans-serif, var(--symbol-fonts); + --mono-family: "JetBrains Mono", monospace, var(--symbol-fonts); +} + +:root { + /* The default theme. */ + --background-color: #fffff8; + --surface-color: #fffff8; + --primary-color: #7f7f7f; + --primary-variant-color: #5f5f5f; + --secondary-color: #ffbc42; + --error-color: #ffafaf; + --error-border-color: #b00020; + --on-background-color: #000000; + --on-surface-color: #000000; + --on-primary-color: #ffffff; + --on-primary-variant-color: #ffffff; + --on-secondary-color: #000000; + --on-error-color: #000000; + --enabled-color: rgb(240,240,240); + --hovered-color: rgb(235,235,235); + --focused-color: rgb(221,221,221); + --modal-overlay-color: rgba(255,255,255,0.85); + --panelset-color: #f7f7f0; + --border-color: var(--primary-color); + --header-color: var(--background-color); + --on-header-color: var(--on-background-color); + --sidebar-color: var(--primary-color); + --on-sidebar-color: var(--on-primary-color); + --table-border-style: 1px solid var(--primary-color); + --default-font-size: 13.5pt; + --default-line-height: 1.75rem; + --line-number-width: 4em; + --numbered-separator-style: 1px solid var(--primary-color); + --numbered-number-color: var(--on-surface-color); + --numbered-background-color: var(--focused-color); + --verbatim-odd-background-color: var(--hovered-color); + --verbatim-even-background-color: var(--enabled-color); + --verbatim-line-highlight-background-color: var(--primary-color); + --verbatim-line-highlight-color: var(--on-primary-color); + --revadded-background-color: var(--primary-color); + --revadded-color: var(--on-primary-color); + --revadded-before: ""; + --revadded-after: ""; + --revchanged-background-color: var(--secondary-color); + --revchanged-color: var(--on-secondary-color); + --revchanged-before: ""; + --revchanged-after: ""; + --revdeleted-background-color: var(--error-color); + --revdeleted-color: var(--on-error-color); + --revdeleted-before: ""; + --revdeleted-after: ""; + --note-border-color: var(--primary-color); + --note-border-style: 2pt solid var(--note-border-color); + --note-color: var(--surface-color); + --on-note-color: var(--on-surface-color); + --tip-border-color: var(--primary-color); + --tip-border-style: 2pt solid var(--tip-border-color); + --tip-color: var(--surface-color); + --on-tip-color: var(--on-surface-color); + --important-border-color: var(--secondary-color); + --important-border-style: 2pt solid var(--important-border-color); + --important-color: var(--surface-color); + --on-important-color: var(--on-surface-color); + --caution-border-color: var(--secondary-color); + --caution-border-style: 2pt solid var(--caution-border-color); + --caution-color: var(--surface-color); + --on-caution-color: var(--on-surface-color); + --warning-border-color: var(--error-border-color); + --warning-border-style: 2pt solid var(--warning-border-color); + --warning-color: var(--error-color); + --on-warning-color: var(--on-error-color); + --danger-border-color: var(--error-border-color); + --danger-border-style: 2pt solid var(--danger-border-color); + --danger-color: var(--error-color); + --on-danger-color: var(--on-error-color); + --debug-background-color: var(--error-color); + --debug-color: var(--on-error-color); + --remark-background-color: var(--primary-color); + --remark-color: var(--on-primary-color); + --remark-border-color: var(--primary-color); + --remark-border-style: 1px solid var(--remark-border-color); + --annotation-separator-border-style: 2px dashed var(--border-color); + --annotation-header-background-color: var(--surface-color); + --annotation-header-color: var(--on-surface-color); + --annotation-header-separator-border-style: 1px solid var(--primary-color); + --annotation-body-border-style: 1px solid var(--primary-color); + --nav-background-color: var(--surface-color); + --error-border-style: 1px solid var(--error-border-color); + --keycap-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.75); +} + +/* These choices are inspired by the material design system. Someone + with actual graphical design skills would do it better. Pull + requests gleefully accepted. +*/ +html.materials-dark { + --background-color: #121212; + --surface-color: #121212; + --primary-color: #bb86fc; + --primary-variant-color: #3700b3; + --secondary-color: #03dac6; + --error-color: #cf6679; + --error-border-color: #b00020; + --on-background-color: #ffffff; + --on-surface-color: #ffffff; + --on-primary-color: #000000; + --on-primary-variant-color: #ffffff; + --on-secondary-color: #000000; + --on-error-color: #000000; + --enabled-color: rgb(44,33,56); + --hovered-color: rgb(49,38,63); + --focused-color: rgb(63,51,74); + --modal-overlay-color: rgba(18,18,18,0.85); + --keycap-box-shadow: 1px 1px 1px 0px rgba(255,255,255,0.75); +} + +html.materials-light { + --background-color: #ffffff; + --surface-color: #ffffff; + --primary-color: #6200ee; + --primary-variant-color: #3700b3; + --secondary-color: #03dac6; + --error-color: #b00020; + --error-border-color: #cf6679; + --on-background-color: #000000; + --on-surface-color: #000000; + --on-primary-color: #ffffff; + --on-primary-variant-color: #ffffff; + --on-secondary-color: #000000; + --on-error-color: #ffffff; + --enabled-color: rgb(240,240,240); + --hovered-color: rgb(235,235,235); + --focused-color: rgb(221,221,221); + --modal-overlay-color: rgba(255,255,255,0.85); +} + +html { + padding: 0; + margin-top: 0; + margin-bottom: 0; + margin-left: auto; + margin-right: auto; + font-family: var(--body-family); +} + +body { + padding-top: 0; + padding-left: 0; + padding-right: 0; + padding-bottom: 0; + margin-top: 0; + margin-bottom: 0; + margin-left: 1rem; + margin-right: 1rem; +} + +.error * { + background-color: var(--error-color); + color: var(--on-error-color); + padding-left: 2px; + padding-right: 2px; +} + +span.error { + display: inline-block; + border: var(--error-border-style); + border-radius: 4px; + padding: 2px; + margin-right: 0.5em; +} + +span.error::before { + content: " ☞ "; +} + +span.error::after { + content: " ☜ "; +} + +span.error.broken-link::after { + content: " 🔗 "; +} + +.unhandled { + font-family: monospace; + background-color: var(--error-border-color); + color: var(--on-error-color); + font-weight: bold; +} + +div.unhandled { + width: 100%; +} + +.firstterm { + font-weight: bold; +} + +.trademark::after { + content: "™"; +} + +.trademark.trade::after { + content: "™"; +} + +.trademark.copyright::after { + content: "©"; + vertical-align: super; + font-size: 85%; +} + +.trademark.registered::after { + content: "®"; + vertical-align: super; + font-size: 85%; +} + +.trademark.service::after { + content: "℠"; + vertical-align: super; +} + +.xlink-arc-list { + display: none; +} + +/* ============================================================ */ +.debug { + display: block; + padding-top: 1em; + padding-bottom: 1em; + padding-left: 1em; + background-color: var(--debug-background-color); + color: var(--debug-color); +} + +.remark { + border: var(--remark-border-style); + border-radius: 3px; + padding-left: 4px; + padding-right: 4px; + color: var(--on-surface-color); + background: repeating-linear-gradient(135deg, var(--focused-color), var(--focused-color) 5px, var(--enabled-color) 5px, var(--enabled-color) 10px); +} + +span.remark { + margin-left: 0.5em; + margin-right: 0.5em; +} + +.keycap { + font-family: var(--mono-family); + background-color: var(--verbatim-odd-background-color); + border: 1px solid var(--numbered-number-color); + border-radius: 3px; + padding-top: 0.1em; + padding-bottom: 0.1em; + padding-left: 0.3em; + padding-right: 0.3em; + margin: 0; + font-size: 85%; + box-shadow: var(--keycap-box-shadow); +} + +.keycombo .keycap + .keycap { + margin-left: 0.4em; +} + +code { + font-family: var(--mono-family); + background-color: var(--verbatim-odd-background-color); + border: 1px solid var(--focused-color); + border-radius: 6px; + padding-top: 0.1em; + padding-bottom: 0.1em; + padding-left: 0.3em; + padding-right: 0.3em; + margin: 0; + font-size: 85%; +} + +.toc code { + background-color: inherit; + border: none; + padding: inherit; +} + +code.email { + background-color: inherit; + border: inherit; + font-size: 95%; + padding-left: 0; + padding-right: 0; +} + +pre code, +.cmdsynopsis code { + border: none; + background-color: inherit; + padding: 0; + font-size: 0.85rem; /* code = 85% */ + margin: 0; +} + +pre > code { + padding: initial; +} + +.literal { + background-color: inherit; +} + +.nobreak { + white-space: nowrap; +} + +.break { + white-space: normal; +} + +.userinput { + font-weight: bold; +} + +a, a:visited { + color: inherit; +} + +a.pmuj { + text-decoration: none; +} + +.xref-area, +.xref-areaset, +.xref-co { + text-decoration: none; +} + +.xref { + font-style: italic; +} + +.xref-area, +.xref-areaset, +.xref-co, +.xref-step, +.xref-listitem { + font-style: normal; +} + +.xref .prefix, +.xref .sep, +.xref-question .label, +.xref-answer .label { + font-style: normal; +} + +.footnote-number a, +.footnote-number a:visited { + text-decoration: none; +} + +/* ============================================================ */ +h1, h2, h3, h4, h5, h6 { + color: var(--on-header-color); + background-color: var(--header-color); + font-family: var(--title-family); + font-weight: normal; + font-style: normal; + page-break-after: avoid; +} + +h1 { + margin-top: 4rem; + margin-bottom: 1.5rem; + font-size: 3.2rem; + line-height: 1; +} + +h2 { + font-weight: 400; + margin-top: 2.1rem; + margin-bottom: 2rem; + font-size: 2.2rem; + line-height: 1; +} + +h3 { + font-weight: 400; + font-size: 1.7rem; + margin-top: 2rem; + margin-bottom: 0; + line-height: 1; +} + +h4 { + font-weight: 400; + font-size: 1.5rem; + margin-top: 2rem; + margin-bottom: 0; + line-height: 1; +} + +h5 { + font-weight: 400; + font-size: 1rem; + margin-top: 1.5rem; + margin-bottom: 0; + line-height: 1; +} + +h6 { + font-weight: 400; + font-size: 1rem; + margin-top: 1.5rem; + margin-bottom: 0; + line-height: 1; +} + +.title { + color: var(--on-header-color); + background-color: var(--header-color); + font-weight: bold; + font-family: var(--title-family); + margin-bottom: 0.5em; +} + +cite.title { + font-weight: inherit; + font-family: inherit; +} + +.bibliography .titleabbrev { + font-style: italic; +} + +.bibliography .titleabbrev:before { + content: " ("; +} + +.bibliography .titleabbrev:after { + content: ")"; +} + +.set > .list-of-titles > .lot > .title, +.book > .list-of-titles > .lot > .title, +.part > .list-of-titles > .lot > .title { + font-weight: 400; + font-size: 1.5rem; + margin-top: 2rem; + margin-bottom: 1rem; + line-height: 1rem; +} + +header { + page-break-after: avoid; +} + +header .authorgroup { + margin-bottom: 2rem; +} + +/* ============================================================ */ +.article > header { + text-align: center; + margin-bottom: 2em; +} + +.article > header .abstract { + text-align: left; + margin-left: 5em; + margin-right: 5em; + border: 1px solid var(--border-color); + padding-left: 1em; + padding-right: 1em; + border-radius: 0.5em; +} + +.set > header, +.book > header { + margin-bottom: 2rem; + margin-top: 1rem; + padding-left: 1rem; + padding-right: 1rem; + padding-top: 1rem; + padding-bottom: 1rem; + border: 1px solid var(--border-color); + border-radius: 0.5em; +} + +.set > header h1, +.book > header h1 { + margin-top: 0; +} + +.revhistory .title { + font-weight: bold; + font-family: var(--title-family); + margin-bottom: 0.5em; + border-bottom: 1px solid var(--border-color); +} + +.revhistory table { + width: 100%; +} + +.revhistory table tr th, +.revhistory table tr td { + vertical-align: top; +} + +.revhistory td p { + margin: 0; + padding: 0; +} + +/* ============================================================ */ +.lot { + margin-top: 1em; +} + +.toc li { + text-indent: -2em; + padding-left: 2em; +} + +ul.toc, +.toc ul { + list-style: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} + +.bibliolist, +.glosslist { + margin-top: 1em; +} + +.iso690 .author { + text-transform: uppercase; +} + +.iso690.article .part .firstname, +.iso690.article .part .givenname { + text-transform: none; +} + +.iso690.patent .country, .iso690.patent .patenttype { + font-style: italic; +} + +.iso690 .title { + font-weight: inherit; + font-family: inherit; + color: inherit; + background-color: inherit; + margin-bottom: inherit; +} + +/* ============================================================ */ +.index-list ul { + list-style: none; + padding-left: 2rem; +} + +.index-list > ul, +.generated-index > ul, +.generated-indexdiv > ul { + padding-left: 0; +} + +/* ============================================================ */ +.pgwide, +.pgwide .fgbody { + width: 100%; +} + +.formalgroup { + margin-top: 1rem; +} + +.fgbody > div { + display: inline-block; +} + +.pgwide .fgbody > div { + width: calc(50% - 0.5rem); +} + +.fgbody > div:nth-child(even) { + margin-left: 0.5rem; +} + +.fgbody > .figure, +.fgbody > .example, +.fgbody > .equation { + margin-top: inherit; +} + +table { + table-layout: fixed; + border-spacing: 0; + border-collapse: collapse; +} + +.inlinemediaobject, +.inlinemediaobject div { + display: inline-block; +} + +.mediaobject .caption { + font-family: var(--title-family); + font-size: 80%; + margin-left: 2em; + margin-right: 2em; + font-style: italic; +} +.mediaobject .caption em, .mediaobject .caption cite { + font-style: normal; +} +.mediaobject .caption p { + margin-top: 0; +} + +td, th { + padding: 0.25em; + text-align: left; +} + +td.bottom, +th.bottom { + vertical-align: bottom; +} + +td.middle, +th.middle { + vertical-align: middle; +} + +td.top, +th.top { + vertical-align: top; +} + +td.center, +th.center { + text-align: center; +} + +td.left, +th.left { + text-align: left; +} + +td.right, +th.right { + text-align: right; +} + +td.justify, +th.justify { + text-align: justify; +} + +td.btop, +th.btop { + border-top: var(--table-border-style); +} + +td.bleft, +th.bleft { + border-left: var(--table-border-style); +} + +td.colsep, +th.colsep { + border-right: var(--table-border-style); +} + +td.rowsep, +th.rowsep { + border-bottom: var(--table-border-style); +} + +td.char, +th.char { + font-family: monospace; + text-align: right; +} + +.media-wrapper { + width: 100%; +} + +.media { + display: inline-block; +} + +div > .viewport-table { + display: table; + width: 100%; +} + +span > .viewport-table { + display: inline-table; +} + +.viewport-row { + display: table-row; +} + +.viewport-cell { + display: table-cell; +} + +.viewport-cell > span { + display: block; + line-height: 1rem; +} + +.viewport { + display: inline-block; +} + +.intrinsic-width img, +.intrinsic-width svg { + width: 100%; +} + +.intrinsic-height img, +.intrinsic-height svg { + height: 100%; +} + +.intrinsic-both img, +.intrinsic-both svg { + width: 100%; + height: 100%; +} + +.admonition { + border-radius: 0.5rem; + min-height: 3rem; + padding-top: 0; + margin-bottom: 1rem; + margin-top: 1rem; + margin-right: 4px; + display: table; + width: 100%; +} + +.admonition > div { + display: table-row; +} + +.admonition .icon { + display: table-cell; + padding-top: 1.5rem; + width: 4.5rem; + text-align: center; + vertical-align: top; + font-size: 300%; + color: var(--note-border-color); +} + +.admonition .body { + display: table-cell; + padding-right: 1rem; +} + +.admonition header { + padding-top: 0.5rem; +} + +.note { + border: var(--note-border-style); + background-color: var(--note-color); + color: var(--on-note-color); +} +.note .icon { + color: var(--note-border-color); +} +.note .title { + background-color: var(--note-color); + color: var(--on-note-color); +} +.note code { + border-color: var(--note-border-color); + background-color: var(--note-color); +} +.note pre code { + background-color: inherit; + border-color: inherit; +} + +.tip { + border: var(--tip-border-style); + background-color: var(--tip-color); + color: var(--on-tip-color); +} +.tip .icon { + color: var(--tip-border-color); +} +.tip .title { + background-color: var(--tip-color); + color: var(--on-tip-color); +} +.tip code { + border-color: var(--tip-border-color); + background-color: var(--tip-color); +} +.tip pre code { + background-color: inherit; + border-color: inherit; +} + +.important { + border: var(--important-border-style); + background-color: var(--important-color); + color: var(--on-important-color); +} +.important .icon { + padding-top: 2rem; + color: var(--important-border-color); +} +.important .title { + background-color: var(--important-color); + color: var(--on-important-color); +} +.important code { + background-color: var(--important-color); + border-color: var(--important-border-color); +} +.important pre code { + background-color: inherit; + border-color: inherit; +} + +.caution { + border: var(--caution-border-style); + background-color: var(--caution-color); + color: var(--on-caution-color); +} +.caution .icon { + color: var(--caution-border-color); +} +.caution .title { + background-color: var(--caution-color); + color: var(--on-caution-color); +} +.caution code { + background-color: var(--caution-color); + border-color: var(--caution-border-color); +} +.caution pre code { + background-color: inherit; + border-color: inherit; +} + +.warning { + border: var(--warning-border-style); + background-color: var(--warning-color); + color: var(--on-warning-color); +} +.warning .icon { + color: var(--warning-border-color); +} +.warning .title { + background-color: var(--warning-color); + color: var(--on-warning-color); +} +.warning code { + background-color: var(--warning-color); + border-color: var(--warning-border-color); +} +.warning pre code { + background-color: inherit; + border-color: inherit; +} + +.danger { + border: var(--danger-border-style); + background-color: var(--danger-color); + color: var(--on-danger-color); +} +.danger .icon { + color: var(--danger-border-color); +} +.danger .title { + background-color: var(--danger-color); + color: var(--on-danger-color); +} +.danger code { + background-color: var(--danger-color); + border-color: var(--danger-border-color); +} +.danger pre code { + background-color: inherit; + border-color: inherit; +} + +/* ============================================================ */ +.pre-wrap { + overflow-x: auto; + margin-top: 1em; + margin-bottom: 1em; +} + +pre { + margin-top: 0; + margin-bottom: 0; + margin-left: 0.5em; + margin-right: 0.5em; +} + +pre sup { + line-height: 0; +} + +pre.verblines { + margin-left: 0; + margin-right: 0; +} + +pre.address, +pre.literallayout { + font-family: var(--body-family); + margin-left: auto; + margin-right: auto; +} + +pre.monospaced { + font-family: var(--mono-family); +} + +pre.programlisting, +pre.screen { + line-height: 1.25rem; +} + +pre.verblines .nsep { + display: none; +} + +/* Adapted from https://stackoverflow.com/questions/41306797/html-how-to-add-line-numbers-to-a-source-code-block */ +pre.verblines span.line:nth-child(odd) { + background-color: var(--verbatim-odd-background-color); +} + +pre.verblines span.line:nth-child(even) { + background-color: var(--verbatim-even-background-color); +} + +/* Make the background of even lines the same as odd lines for + "monochrome" listings. */ +pre.verblines.monochrome span.line:nth-child(even) { + background-color: var(--verbatim-odd-background-color); +} + +pre.address span.line:nth-child(odd), +pre.literallayout span.line:nth-child(odd) { + background-color: inherit; +} + +pre.address span.line:nth-child(even), +pre.literallayout span.line:nth-child(even) { + background-color: inherit; +} + +pre.verblines span.ln { + font-family: var(--mono-family); + width: 4px; + padding-top: 4px; + padding-bottom: 4px; + text-align: right; + color: var(--on-background-color); +} + +pre.verblines.numbered span.ln { + width: var(--line-number-width); +} + +pre.address span.ln, +pre.literallayout span.ln { + padding-top: 0; + padding-bottom: 0; +} + +pre.verblines { + display: table; + table-layout: fixed; + width: 100%; /* anything but auto, otherwise fixed layout not guaranteed */ + white-space: pre; +} + +pre.verblines span.line { + display: table-row; +} + +pre.verblines span.ln { + display: table-cell; +} + +pre.numbered span.ln { + background-color: var(--numbered-background-color); + user-select: none; + -webkit-user-select: none; +} + +pre.numbered span.ln { + width: var(--line-number-width); + margin-right: 0.5em; +} + +pre.verblines span.ld { + display: table-cell; + padding-top: 4px; + padding-bottom: 4px; + padding-left: 4px; +} + +pre.address span.ld, +pre.literallayout span.ld { + padding-top: 0; + padding-bottom: 0; +} + +pre.verblines.numbered span.ld { + border-left: var(--numbered-separator-style); + padding-left: 0.25em; +} + +pre.verblines span.line.highlight { + background-color: var(--verbatim-line-highlight-background-color); + color: var(--verbatim-line-highlight-color); +} + +table.verbatim { + width: 100%; +} + +table.verbatim tr td { + /* N.B. 100vw not 100%. If you specify 100%, Safari calculates the width is 0 */ + width: calc(100vw - var(--line-number-width)); + padding-left: 0; + padding-right: 0; + padding-top: 0; + padding-bottom: 0; +} + +table.verbatim tr td:first-child { + width: var(--line-number-width); + padding-left: 0; + padding-right: 0; +} + +table.verbatim tr td pre { + margin-left: 0; + margin-right: 0; +} + +/* A couple of style tweaks to highlightjs-line-numbers.js line numbers */ +.hljs-ln-n { + padding-right: 1em; + text-align: right; +} + +/* ============================================================ */ +.productionset .productions { + display: table; + table-layout: fixed; + width: 100%; +} + +.productionset .productions .production { + display: table-row; +} + +.productionset .productions .production .lhs, +.productionset .productions .production .rhs, +.productionset .productions .production .lhssep { + font-family: var(--mono-family); +} + +.productionset .productions .production .lhs, +.productionset .productions .production .lhssep, +.productionset .productions .production .rhs, +.productionset .productions .production .constraint { + display: table-cell; +} + +.productionset .productions .production .lhs { + width: 25%; + white-space: nowrap; +} + +.productionset .productions .production .lhssep { + width: 3em; + text-align: center; +} + +.productionset .productions .production .constraint { + width: 2em; +} + +.lineannotation { + font-family: var(--body-family); + font-style: italic; +} + +.constraintdef { + min-height: 3rem; + margin-left: 1rem; + padding-top: 1rem; + margin-bottom: 1rem; +} + +.constraintdef .title { + font-weight: bold; + font-family: var(--title-family); +} + +/* ============================================================ */ +.qandadiv { + margin-top: 1em; +} + +.qandalist .qanda { + display: table; + table-layout: fixed; + width: 100%; +} + +.qandaentry .question, +.qandaentry .answer { + display: table-row; +} + +.qandaentry .question > .label, +.qandaentry .answer > .label { + display: table-cell; + width: 3em; +} + +.qandaentry .question > .body, +.qandaentry .answer > .body { + display: table-cell; +} + +.question p, +.answer p { + margin-top: 0; +} + +/* ============================================================ */ +.funcprototype table td { + padding: 0; +} + +.funcprototype table.params { + margin-top: 1em; +} + +.funcprototype table.params td { + padding-right: 1em; +} + +.funcprototype { + margin-top: 1em; + font-family: var(--mono-family); +} + +.funcprototype .paramdef { + font-family: var(--mono-family); +} + +.funcprototype .parameter { + font-family: var(--body-family); + font-style: italic; +} + +.funcprototype .function { + font-weight: bold; +} + +/* ============================================================ */ +.linegroup { + margin-left: 2em; +} + +.speaker::after { + content: ":"; +} + +.linegroup .speaker { + margin-left: -2em; +} + +/* ============================================================ */ +.formalpara .title { + display: inline-block; + font-weight: bold; +} + +.formalpara .title::after { + content: "."; + margin-right: 0.5em; +} + +.formalpara .titlepunct::after { + content: ""; + margin-right: 0.5em; +} + +blockquote { + margin-top: 1em; +} + +blockquote p { + margin-top: 0; +} + +blockquote .title { + font-weight: bold; + font-family: var(--title-family); + margin-bottom: 0.25em; +} + +blockquote p + .attribution { + /* Tuck it back up closer to the preceding paragraph */ + margin-top: -1em; +} + +.attribution::before { + content: "—"; +} + +.attribution { + margin-left: 50%; +} + +/* ============================================================ */ +.formalobject + .formalobject { + margin-top: 1rem; +} + +.figure, +.example, +.equation { + margin-top: 1em; +} + +.figure, +.example { + border: 1px solid var(--border-color); + padding-left: 0.5rem; + padding-right: 0.5rem; +} +.figure details p, +.example details p { + margin-left: 1rem; + margin-right: 1rem; +} + +.figure .title { + font-family: var(--title-family); +} + +.figure .media { + width: 100%; + text-align: center; +} + +.figure img { + margin-left: auto; + margin-right: auto; +} + +.floatcenter { + text-align: center; +} + +.floatright { + float: right; +} + +.floatleft { + float: left; +} + +/* ============================================================ */ +.cmdsynopsis-wrap { + margin-top: 1em; + margin-bottom: 1em; +} + +.cmdsynopsis { + margin-left: 3em; + text-indent: -3em; +} + +.synopfragment { + margin-top: 1em; +} + +.synopfragmentref { + font-style: italic; +} + +.synopfragmentref a, +.synopfragmentref a:visited { + text-decoration: none; +} + +.synopfragmentref-number { + font-family: var(--mono-family); + font-style: normal; + font-weight: bold; + font-size: 10pt; +} + +.cmdsynopsis .command, +.cmdsynopsis .cmdpunct, +.cmdsynopsis .group, +.cmdsynopsis .arg { + font-family: var(--mono-family); +} + +.calloutlist { + margin-bottom: 1em; +} + +.calloutlist dl { + margin-bottom: 0; +} + +.calloutlist dl dt { + clear: both; + float: left; + width: 1.25em; +} + +.calloutlist dl dd { + margin-left: 1.25em; + line-height: 1.5rem; /* tuck them together a little */ +} + +.calloutlist dd > p:first-child { + margin-top: 0; +} + +.calloutlist dd:last-child > p:last-child { + margin-bottom: 0; +} + +a.callout-bug, +a.callout-bug:visited { + text-decoration: none; +} + +/* ============================================================ */ +.revadded { + background-color: var(--revadded-background-color); + color: var(--revadded-color); +} + +.revadded::before { + content: var(--revadded-before); +} + +.revadded::after { + content: var(--revadded-after); +} + +.revchanged { + background-color: var(--revchanged-background-color); + color: var(--revchanged-color); +} + +.revchanged::before { + content: var(--revchanged-before); +} + +.revchanged::after { + content: var(--revchanged-after); +} + +.revdeleted { + background-color: var(--revdeleted-background-color); + color: var(--revdeleted-color); +} + +.revdeleted::before { + content: var(--revdeleted-before); +} + +.revdeleted::after { + content: var(--revdeleted-after); +} + +.revoff .revadded, +.revoff .revchanged { + background-color: inherit; + color: inherit; +} + +.revoff .revdeleted { + display: none; +} + +.revoff .revadded::before, +.revoff .revchanged::before, +.revoff .revdeleted::before, +.revoff .revadded::after, +.revoff .revchanged::after, +.revoff .revdeleted::after { + content: ""; +} + +/* ============================================================ */ +ul[db-mark=disc], +li[db-mark=disc], +ul[db-mark=bullet], +li[db-mark=bullet] { + list-style-type: disc; +} + +ul[db-mark=round], +li[db-mark=round] { + list-style-type: circle; +} + +ul[db-mark=box], +li[db-mark=box] { + list-style-type: square; +} + +/* ============================================================ */ +.simplelistvert, +.simplelisthoriz { + display: table; +} + +.simplelist .row { + display: table-row; +} + +.simplelist .row span { + display: table-cell; +} + +/* ============================================================ */ +.glossdiv { + margin-top: 1em; +} + +.glossdiv dl dt { + padding-left: 1em; +} + +/* ============================================================ */ +.sidebar { + background-color: var(--sidebar-color); + color: var(--on-sidebar-color); + padding-left: 1em; + padding-right: 1em; + padding-bottom: 1em; + padding-top: 1em; + border-radius: 0.5em; +} + +.sidebar .title { + background-color: var(--sidebar-color); + color: var(--on-sidebar-color); +} + +.sidebar code { + background-color: var(--sidebar-color); +} + +/* ============================================================ */ +.msgexplan { + margin-left: 2rem; +} + +/* ============================================================ */ +.foreignphrase { + font-style: italic; +} + +.bold { + font-weight: bold; +} + +.strikethrough { + text-decoration: line-through; +} + +.underline { + text-decoration: underline; +} + +em { + font-style: italic; +} + +em em { + font-style: normal; +} + +em em em { + font-style: italic; +} + +em em em em { + font-style: normal; +} + +em em em em em { + font-style: italic; +} + +em em me em em em { + font-style: normal; +} + +/* ============================================================ */ +/* Inline annotations */ +.annotations { + border-top: var(--annotation-separator-border-style); + padding-top: 1em; + margin-top: 6em; +} + +a.annomark, +a.annomark:visited { + text-decoration: none; + color: inherit; +} + +.annotation-wrapper { + margin-bottom: 1em; +} + +.annotation-body { + border: var(--annotation-body-border-style); + border-bottom-left-radius: 0.25em; + border-bottom-right-radius: 0.25em; +} + +.annotation-header { + height: 2em; + background-color: var(--annotation-header-background-color); + color: var(--annotation-header-color); + padding-left: 1em; + padding-right: 0.5em; + border-bottom: var(--annotation-header-separator-border-style); +} + +.annotation-header .annotation-close { + float: right; +} + +.annotation-content { + padding-left: 1em; + padding-right: 1em; + padding-top: 0.5em; + padding-bottom: 0.5em; +} + +/* ============================================================ */ +/* XLink extended links. The ".js" classes only apply if + JavaScript XLink processing is available and enabled. +*/ +.xlink .source { + border-bottom: 1px dotted black; + cursor: pointer; +} + +.xlink-arc-list { + display: inline; + font-style: normal; + cursor: pointer; + font-size: 70%; +} + +.xlink-arc-list.js::before { + content: " "; /* thin space */ +} + +.nhrefs.js .xlink-arc-delim { + display: none; +} + +.nhrefs.js { + font-style: normal; + display: none; + margin-left: 4px; + margin-right: 0; + padding-bottom: 1em; + border: 2px solid var(--primary-variant-color); + border-radius: 4px; + z-index: 2; + background-color: var(--primary-color); + color: var(--on-primary-color); +} + +.nhrefs.js .arc { + display: list-item; + margin-left: 1.5em; + padding-right: 1em; +} + +.nhrefs.js .xlink-arc-title { + display: block; + background-color: var(--primary-variant-color); + color: var(--on-primary-variant-color); + margin-left: 0; + margin-bottom: 0.5em; + text-align: center; +} + +:root { + --popup-annotation-color: var(--surface-color); + --on-popup-annotation-color: var(--on-surface-color); + --popup-annotation-border-color: var(--primary-color); + --popup-annotation-border-style: 1px solid var(--popup-annotation-border-color); + --popup-annotation-header-color: var(--primary-color); + --on-popup-annotation-header-color: var(--on-primary-color); + --popup-annotation-header-separator-border-style: 1px solid var(--popup-annotation-border-color); + --js-controls-border-color: var(--primary-color); + --js-controls-border-style: 1px solid var(--js-controls-border-color); + --js-controls-header-color: var(--primary-color); + --on-js-controls-header-color: var(--on-primary-color); + --js-controls-header-separator-border-style: 1px solid var(--popup-annotation-border-color); + --js-controls-color: var(--surface-color); + --on-js-controls-color: var(--on-surface-color); + --z-index-on-top-of-the-world: 100; +} + +html { + color: var(--on-background-color); + background-color: var(--background-color); + width: 100%; + line-height: var(--default-line-height); + font-size: var(--default-font-size); + scroll-padding-top: 40px; + height: 100%; +} + +/* https://www.smashingmagazine.com/2020/07/css-techniques-legibility/ */ +@supports (font-size-adjust: 1) { + html { + font-size-adjust: 0.5; + } +} +body { + height: 100%; + min-height: 100%; + margin-left: 0; + margin-right: 0; + display: grid; + grid-template-rows: 1fr auto; + grid-template-columns: 100%; +} + +body.draft { + background-image: url("draft-left.svg"); + background-position: 2% 2%; + background-repeat: no-repeat; + background-size: 10%; + background-attachment: fixed; +} + +main { + max-width: 50rem; + margin-left: auto; + margin-right: auto; +} + +@media screen and (max-width: 60rem) { + main { + margin-left: 1rem; + margin-right: 1rem; + } +} +@media screen and (min-width: 70rem) { + main { + min-width: 50rem; + } +} +main { + padding-top: 3rem; +} + +.book + .book { + border-top: var(--division-separator-border-style); + margin-top: 6em; + padding-top: 6em; +} + +.refentry + .refentry { + border-top: var(--division-separator-border-style); + margin-top: 6em; + padding-top: 6em; +} + +.book > .dedication > header, +.article > .dedication > header, +.book .chapter > header, +.book .preface > header, +.book .appendix > header, +.book .part > header { + margin-top: 4rem; + padding-top: 2rem; + border-top: 0.25rem solid var(--border-color); +} + +.dedication + .dedication > header { + border-top: inherit; +} + +.colophon { + margin-top: 6rem; + margin-bottom: 6rem; + margin-left: 6rem; + margin-right: 6rem; + border: 1px solid var(--border-color); + border-radius: 1em; + padding-left: 2em; + padding-right: 2em; + padding-bottom: 2em; +} + +.set header h1, +.book header h1 { + text-align: center; +} + +.footnotes { + margin-top: 2em; +} + +.table-footnotes { + margin-top: 0; +} + +.footnotes div.footnote-number { + display: inline-block; + width: 0.75rem; + height: 0; + margin-left: -0.75rem; + margin-top: 0.5rem; + vertical-align: top; +} + +.footnotes div.footnote-body { + display: inline-block; +} + +.footnotes .footnote { + margin-left: 0.75rem; +} + +.footnote p { + margin-bottom: 0; +} + +.footnotes hr { + max-width: 1in; + margin: 0; +} + +.calloutlist dl { + display: grid; + grid-template-columns: max-content auto; +} + +.calloutlist dl dt { + float: none; + width: inherit; + grid-column-start: 1; +} + +.calloutlist dl dd { + margin-left: 1em; + grid-column-start: 2; +} + +.callout-bug { + user-select: none; +} + +/* ============================================================ */ +nav table td.previous { + text-align: left; +} + +nav table td.up { + text-align: center; +} + +nav table td.next { + text-align: right; +} + +nav.bottom { + background-color: var(--nav-background-color); + z-index: var(--z-index-on-top-of-the-world); +} + +nav.bottom table { + border-top: 2px solid var(--border-color); + margin-bottom: 1rem; + width: 100%; +} + +nav.bottom table .previous { + padding-left: 4rem; +} + +nav.bottom table .next { + padding-right: 4rem; +} + +nav.top { + position: fixed; + top: 0; + width: 100%; + background-color: var(--nav-background-color); + opacity: 1; + /* N.B. this "makes sure" that floating elments go under it, + but it also interacts with the persistent ToC which must + go over it. If you're thinking of changing this, think + of changing js/persistent-toc.js as well. */ + z-index: var(--z-index-on-top-of-the-world); +} + +body.home nav.top { + display: none; +} + +nav.top div { + border-bottom: 1px solid var(--border-color); + padding-left: 4rem; + padding-right: 4rem; +} + +/* ============================================================ */ +/* Javascript annotations */ +.copyVerbIcon { + border: 1px solid var(--hovered-color); + border-radius: 0.2rem; +} + +.copyVerbIcon:hover { + cursor: pointer; + border: 1px solid var(--primary-color); +} + +/* ============================================================ */ +/* Javascript annotations */ +.popup-annotation-wrapper { + display: none; + position: fixed; + left: 0; + top: 0; + height: 100%; + width: 100%; + background-color: var(--modal-overlay-color); +} + +.popup-annotation-body { + background-color: var(--popup-annotation-color); + color: var(--on-popup-annotation-color); + border: var(--popup-annotation-border-style); + width: 50%; + min-height: 40%; + max-height: 50%; + margin-top: 10%; + margin-left: auto; + margin-right: auto; + border-radius: 0.15em; + display: grid; + grid-template-rows: auto 1fr; + grid-template-columns: 100%; +} + +.wide .popup-annotation-body { + width: 80%; +} + +.tall .popup-annotation-body { + max-height: 80%; +} + +.popup-annotation-header { + height: 2em; + background-color: var(--popup-annotation-header-color); + color: var(--on-popup-annotation-header-color); + padding-left: 1em; + padding-right: 0.5em; + border-bottom: var(--popup-annotation-header-separator-border-style); +} + +.popup-annotation-header .annotation-close { + float: right; + cursor: pointer; + font-size: 125%; +} + +.popup-annotation-header .annotation-title { + padding-top: 0.1em; +} + +.popup-annotation-content { + padding-left: 1em; + padding-right: 1em; + padding-top: 0.5em; + padding-bottom: 0.5em; + overflow: auto; +} + +.annotation-close { + padding-top: 4px; +} + +/* ============================================================ */ +/* Javascript controls */ +.js-controls-wrapper { + display: none; + position: fixed; + left: 0; + top: 0; + height: 100%; + width: 100%; + background-color: var(--modal-overlay-color); +} + +.js-controls-body { + background-color: var(--js-controls-color); + color: var(--on-js-controls-color); + border: var(--js-controls-border-style); + max-width: 300px; + margin-top: 5px; + margin-left: 10px; + opacity: 1; +} + +.js-controls-header { + height: 2em; + background-color: var(--js-controls-header-color); + color: var(--on-js-controls-header-color); + padding-left: 1em; + padding-right: 0.5em; + border-bottom: var(--js-controls-header-separator-border-style); +} + +.js-controls-header .js-controls-close { + float: right; + cursor: pointer; + font-size: 125%; +} + +.js-controls-header .js-controls-title { + padding-top: 0.1em; +} + +.js-controls-content { + background-color: var(--js-controls-color); + color: var(--on-js-controls-color); + padding: 1em; +} + +.js-controls-buttons { + text-align: center; + padding-bottom: 0.5em; +} + +.js-controls-buttons button { + display: inline-block; + text-align: center; + font-size: 14pt; + background-color: var(--enabled-color); + border-radius: 5px; + border: 2px solid var(--primary-color); + color: var(--on-surface-color); + text-align: center; + padding: 5px; + width: 3em; + transition: all 0.5s; + cursor: pointer; + margin: 5px; +} + +.js-controls-reload { + text-align: center; + background-color: var(--error-color); + color: var(--on-error-color); +} + +/* ============================================================ */ +/* Audio/video fallback. */ +.fallback { + border: solid 2px var(--error-color); + padding: 1rem; + border-radius: 4px; +} + +/* ============================================================ */ +/* Panel sets */ +/* Based on https://codepen.io/alvarotrigo/pen/RwLzvQz by Álvaro */ +.panelset { + display: flex; + flex-wrap: wrap; +} + +.panelset label { + order: 1; + display: block; + padding: 1rem 2rem; + margin-right: 0.2rem; + cursor: pointer; + transition: background ease 0.2s; + border-top-left-radius: 0.5em; + border-top-right-radius: 0.5em; + color: var(--primary-color); +} + +.panelset .paneltab { + order: 99; /* Put the tabs last */ + flex-grow: 1; + width: 100%; + display: none; + padding: 1rem; + border: 2px solid var(--focused-color); + background-color: var(--panelset-color); +} + +.panelset input[type=radio] { + display: none; +} + +.panelset input[type=radio]:checked + label { + border-bottom: 2px solid var(--focused-color); + border-left: 1px solid var(--focused-color); + background-color: var(--panelset-color); + color: var(--on-background-color); +} + +.panelset label:hover { + border: 2px solid var(--focused-color); + color: var(--on-background-color); + border-top-left-radius: 0.5em; + border-top-right-radius: 0.5em; +} + +.panelset input[type=radio]:checked + label + .paneltab { + display: block; +} + +.laser-pointer { + cursor: url("data:image/gif;base64,R0lGODlhFAAUAPYAAAAAAP81If82If82Iv82I/83I/83JP84Jf84Jv85Jv85J/86J/86KP86Kf87Kf87Kv88K/88LP89LP89Lf8+Lv8/L/8/MP9AMf9BMf9BMv9CM/9CNP9DNP9ENv9FN/9GOP9GOf9HOv9JPP9JPf9KPv9LP/9MQP9NQf9OQv9PQ/9QRf9RRv9SR/9TSP9USf9VSv9WTP9XTf9XTv9YTv9ZT/9aUf9bUf9bUv9cUv9cU/9dVP9dVf9fVv9gWP9hWf9iWv9jW/9kXP9lXf9mXv9mX/9nYP9oYP9oYf9qYv9qY/9rZP9uZ/9uaP9vaf9wav9xa/9ya/9ybP90bv91b/92cP92cf93cf95c/96dP97dv98dv98d/9+ef9/e/+Ae/+Cff+Ef/+EgP+FgP+Ggv+Jhf+Khv+MiP+Nif+Pi/+QjP+Sjv+Wkv+Zlv+bmP+em/+joP+mo/+qqP+vrf+wrv+xrv+ysP+0sv+1s/+2tP+2tf+8uv+9u/++vAAAAAAAAAAAACH5BAEAAAAALAAAAAAUABQAAAfNgACCg4SFhoeIiQBqWk1HR1FgioJaOikcmCEqPZKITSkPBwajBgccMVqHUaCjBw8PpA8xYYVlM7CmKjozJbAGHD2FUSGjwF1qZ1YxsA8qnYI9zLNwdXRuViWjIVGEOsw9bHV7e3FlMaIcR92wFkdu4nt0ZzPo6oPRBg86ZXF1dXBaUojaRqgJB21EyrBZA0aHhVIpngEIs6wUhxk9esQ4+CtYoSMlROV75atZl0NFepFq1YybpxghSHIooSOVojBReujQ0cPKmUlAgyoKBAA7") 9 9, auto; +} + +/* ============================================================ */ +@media screen { + .xref-pagenum::after { + content: "#"; + font-style: normal; + } +} +@media screen and (max-width: 1199px) { + nav.top div { + padding-left: 2rem; + padding-right: 2rem; + } + nav.bottom table .previous { + padding-left: 2rem; + } + nav.bottom table .next { + padding-right: 2rem; + } +} +@media screen and (max-width: 767px) { + nav.top div { + padding-left: 1rem; + padding-right: 1rem; + } + nav.bottom table .previous { + padding-left: 1rem; + } + nav.bottom table .next { + padding-right: 1rem; + } +} +/* + * This is xlink.css providing support for multi-targeted links. + * The "js" class is added by JavaScript. This enables graceful + * fallback in the non-JS case. +*/ +.xlink .source { + border-bottom: 1px dotted black; + cursor: pointer; +} + +.xlink-arc-list { + display: inline; + font-style: normal; + cursor: pointer; + font-size: 70%; +} + +.xlink-arc-list.js::before { + content: " "; /* thin space */ +} + +.nhrefs.js .xlink-arc-delim { + display: none; +} + +.nhrefs.js { + font-style: normal; + display: none; + margin-left: 4px; + margin-right: 0; + padding-bottom: 1em; + border: 2px solid var(--primary-variant-color); + border-radius: 4px; + z-index: 2; + background-color: var(--primary-color); + color: var(--on-primary-color); +} + +.nhrefs.js .arc { + display: list-item; + margin-left: 1.5em; + padding-right: 1em; +} + +.nhrefs.js .xlink-arc-title { + display: block; + background-color: #afafaf; + margin-left: 0; + margin-bottom: 0.5em; + text-align: center; +} + +/* + * This is oxy-markup.css. This CSS supports oXygen change markup + * processing instructions, converted to DocBook proper and then to + * HTML classes/spans. + */ +.oxy_insert { + background-color: transparent; + color: #009900; +} + +.oxy_insert::before { + content: var(--revadded-before); +} + +.oxy_insert::after { + content: var(--revadded-after); +} + +.oxy_delete { + background-color: transparent; + color: #cc3333; + text-decoration: line-through; +} + +.oxy_delete::before { + content: var(--revdeleted-before); +} + +.oxy_delete::after { + content: var(--revdeleted-after); +} + +/* This provides CSS support for the in-page ToC */ +html.js .pagetoc { + position: fixed; + top: 3rem; + right: 1em; + width: 18rem; + font-size: 95%; + height: calc(100% - 5em); + overflow: hidden; +} +html.js .pagetoc .toggle { + cursor: pointer; +} +html.js .pagetoc a { + text-decoration: none; +} +html.js .tocwrapper { + border-left: 1px solid #aaaaaa; + padding-left: 0.25rem; + line-height: 1.5; +} +html.js .pagetoc .ctrl { + position: fixed; + right: 1em; + z-index: 2; + opacity: 1; + height: 0; +} +html.js .tocwrapper .li::before { + display: inline-block; + content: " "; + width: 0.75rem; + text-indent: 0; +} +html.js .tocwrapper .li.active::before { + content: "•"; + text-indent: 0; +} +html.js .tocwrapper .li { + color: var(--primary-variant-color); + margin-left: 1.5rem; + text-indent: -1.5rem; + margin-top: 0.25rem; +} +html.js .tocwrapper .li.active { + color: var(--on-secondary-color); +} +html.js .tocwrapper .depth1 { + padding-left: 1.5rem; +} +html.js .tocwrapper .depth2 { + padding-left: 2.5rem; +} +html.js .tocwrapper .depth3 { + padding-left: 3.5rem; + font-size: 80%; +} +html.js .tocwrapper .depth4 { + padding-left: 4rem; + font-size: 80%; +} +html.js .tocwrapper .depth5 { + padding-left: 4.5rem; + font-size: 80%; +} +html.js .tocwrapper .depth6 { + padding-left: 5rem; + font-size: 80%; +} +@media screen and (max-width: 82rem) { + html.js .pagetoc { + display: none; + } +} diff --git a/docbook/docbook-5.2.1b1/release-notes/index.html b/docbook/docbook-5.2.1b1/release-notes/index.html new file mode 100644 index 0000000000..6903375f9d --- /dev/null +++ b/docbook/docbook-5.2.1b1/release-notes/index.html @@ -0,0 +1,212 @@ +DocBook 5.2.1 Release Notes

DocBook 5.2.1 Release Notes

1Background

DocBook is general purpose XML schema particularly well suited to +books and papers about computer hardware and software (though it is by +no means limited to these applications).

For many years, DocBook was maintained by the +DocBook +Technical Committee at OASIS Open. That TC closed in September, 2024. +Current development is community driven, mostly through issues on +the repository +and the mailing lists. +

DocBook is normatively available as a RELAX NG Schema (with some +additional Schematron assertions). DocBook builds on existing XML technologies: +it uses XLink for linking, W3C XML Datatypes for atomic data types, and supports +the use of XInclude for transclusion.

Note

DocBook has been under active maintenance for more than 30 years, +it began life as an SGML document type definition.

The current DocBook released standard is version 5.2. The +version described here is DocBook version 5.2.1B1.

Bug reports and feature requests are welcome. +Please send comments and requests for enhancement to +the DocBook comments list, +docbook@lists.docbook.org +mailing list. Outstanding requests can be seen in the archives as well +as in the +issue tracker. +

2Summary of differences in 5.2.1

DocBook 5.2.1 fixes a +backwards incompatibility +accidentally introduced in DocBook 5.2. A classsynopsis is once again allowed to +one or more ooclass, ooexception, or +oointerface elements.

The build system has also been updated. In the course of that update, it was discovered +that the Schematron rules for callouts were not sufficient. Additional rules have been added +to assert that all arearefs on a callout point to +an element and that all linkend attributes on coref +point to a co.

3Summary of differences in 5.2

  1. Many new synopsis elements for programming languages. +

  2. New danger admonition element. +

  3. New formalgroup element to support subfigures, etc. +

  4. New transclusion fixup attributes. +

  5. New class attribute on sectioning +elements support legal sections. +

  6. New meta element added to info. +

  7. Added XInclude-enabled schema versions of Assembly and +International Tag Set (ITS) schemas.

  8. Added missing fragid and +set-xml-id to the XInclude-enabled schema. +

  9. Allow info as top-level element.

  10. Allow foreign namespace-qualified attributes on DocBook elements. +

  11. Allow info as a top-level element. +

  12. Updated content models so that modifier can appear +after +classname in ooclass, +interfacename in oointerface, +exceptionname in ooexception, +varname in fieldsynopsis, +methodname in constructorsynopsis, +methodname in destructorsynopsis, +and +enumname in enumsynopsis. +(It was already allowed +parameter in methodparam, +templatename in template, +package in packagesynopsis, +macroname in macrosynopsis, +macrodef in macroprototype, +unionname in unionsynopsis, +and typedefname in typedefsynopsis. +

  13. Added new element buildtarget. +

  14. Added new element danger. +

  15. Added new element enumidentifier. +

  16. Added new element enumitem. +

  17. Added new element enumitemdescription. +

  18. Added new element enunname. +

  19. Added new element enumsynopsis. +

  20. Added new element enumvalue. +

  21. Added new element formalgroup to contain multiple +figure, table, example, or equation +elements. (But not mixtures of them). +

  22. Added new element macrodef. +

  23. Added new element macroname. +

  24. Added new element macroprototype. +

  25. Added new element macrosynopsis. +

  26. Added new element meta. +

  27. Added new element packagesynopsis. +

  28. Added new element specializedtemplate. +

  29. Added new element synopsisinfo with a verbatim content model. +

  30. Added new element template. +

  31. Added new element templatename. +

  32. Added new element typedefname. +

  33. Added new element typedefsynopsis. +

  34. Added new element union. +

  35. Added new element unionname. +

  36. Added new element unionsynopsis. +

  37. Added db.trans.idfixup.attribute = "none|suffix|auto". +

  38. Added db.trans.suffix.attribute as “text” with a Schematron rule to force idfixup attribute if suffix used.

  39. Added db.trans.linkscope.attribute = "user|local|near|global".

  40. Added trans:idfixup, trans:suffix, and trans:linkscope to common attributes.

  41. Added pubwork attribute with the possible +values: +article, +bbs, +book, +cdrom, +chapter, +dvd, +emailmessage, +gopher, +journal, +manuscript, +newsposting, +other, +part, +refentry, +section, +series, +set, +webpage, and +wiki +to biblioentry and bibliomixed.

  42. Added otherpubwork attribute for when +pubwork has the valeu “other” +specified, but no Schematron to enforce it.

  43. Added optional type attribute (text) to procedure element.

  44. Added optional type attribute to example, informalexample, figure, and informalfigure elements.

  45. Added fgstyle attribute, used in formalgroup only. +

  46. Added enumerated class attribute to the +section elements (section and sect1 through +sect5) with the values legal or +other. +

  47. Added otherclass attribute to +section elements to support other values. +

  48. Added other to the existing article class attribute enumeration. +

  49. Added otherclass attribute to +article. +

  50. Added a type attribute to +table and informaltable elements (CALS and HTML +table syntax). +

  51. Added a type attribute to +equation and informalequation. +

  52. Added class attribute with enumerated values +union and intersection to the +type element. +

  53. Added Schematron rule to exclude danger element as +descendant of admonitions. +

  54. Added packageref attribute to +cmdsynopsis, +funcsynopsis, +classsynopsis, +fieldsynopsis, +constructorsynopsis, +destructorsynopsis, +methodsynopsis, +macrosynopsis, +unionsynopsis, +enumsynopsis, +typedefsynopsis, and +packagesynopsis. +

  55. Added db.programmingsynopsis elements to db.synopsis.blocks. +

  56. Changed db._any to remove HTML namespace reference. +

  57. Added db.revnumber to db.publishing.inlines. +

  58. Added db.wrapper.blocks to db.nopara.blocks. +

  59. Added meta element to info set. Can be empty or have block and inline content. +

  60. Changed abstract content from db.para.blocks+ to db.all.blocks+ to expand its content model. +

  61. Added Schematron rule to footnote to exclude danger element (similar to other admonitions). +

  62. Added Schematron rule to caption to exclude danger element (similar to other admonitions). +

  63. Added Schematron rule to exclude danger element as descendant of admonitions. +

  64. Added optional info child to listitem element. +

  65. Added multimediaparam children to imagedata element (already allowed on audiodata and videodata). +

  66. Allowed refentry in sect1 through sect5 (already allowed in section). +

  67. Added elements +buildtarget, +templatename, +macroname, +unionname, +enumname, +enumvalue, +enumidentifier, and +typedefname to the list of programming inlines. +

  68. Added elements +enumsynopsis, +typedefsynopsis, +packagesynopsis, +macrosynopsis, +unionsynopsis, +enumsynopsis, and +typedefsynopsis to the list in db.synopsis.blocks. +

  69. Added elements +packagesynopsis, +macrosynopsis, +typedefsynopsis, +and enumsynopsis to the +db.programmingsynopsis set. +

  70. Added elements templatename and void to the funcdef content model. +

  71. Added elements templatename and modifier to the paramdef content model. +

  72. Added elements info, +templatename, +template, +and ooexception to the classsynopsis content model. +

  73. Added elements info and +synopsisinfo to the constructorsynopsis content model. +

  74. Added elements info and +synopsisinfo to the destructorsynopsis content model. +

  75. Added elements info, +synopsisinfo, +and templatename to the fieldsynopsis content model. +

  76. Added elements info, +synopsisinfo, +and templatename to the methodsynopsis content model. +

  77. Added element templatename to the methodparam content model. +

  78. Added programming inlines to the type element. +

  79. Allow optional element to nest in an optional element. +

  80. Added trans namespace declarations for transclusion. +

  81. Added 10 s: schematron namespace declarations. +

  82. Added db.wrapper.blocks to “start” set. +

  83. Defined db.wrapper.blocks as db.formalgroup. +

  84. Deleted db.programmingsynopsis named pattern (only used in start, now handled by +db.synopsis.blocks). +

  85. Removed unnecessary \x{a} whitespace from Schematron rules. +

  86. Added a Schematron rule to callout element so +arearefs must point to areaset, +area, or co. +

  87. Added a Schematron rule to EBNF constraint element so its +linkend must point to a +constraintdef. +

  88. Added a Schematron rule to EBNF productionrecap element so its +linkend must point to a +production. +

\ No newline at end of file diff --git a/docbook/docbook-5.2.1b1/release-notes/release-notes.xml b/docbook/docbook-5.2.1b1/release-notes/release-notes.xml new file mode 100644 index 0000000000..223fefea63 --- /dev/null +++ b/docbook/docbook-5.2.1b1/release-notes/release-notes.xml @@ -0,0 +1,516 @@ +
+ +DocBook 5.2.1 Release Notes +2026-03-05 + + +
+Background + +DocBook is general purpose XML schema particularly well suited to +books and papers about computer hardware and software (though it is by +no means limited to these applications). + +For many years, DocBook was maintained by the +DocBook +Technical Committee at OASIS Open. That TC closed in September, 2024. +Current development is community driven, mostly through issues on +the repository +and the mailing lists. + + +DocBook is normatively available as a RELAX NG Schema (with some +additional Schematron assertions). DocBook builds on existing XML technologies: +it uses XLink for linking, W3C XML Datatypes for atomic data types, and supports +the use of XInclude for transclusion. + + +DocBook has been under active maintenance for more than 30 years, +it began life as an SGML document type definition. + + +The current DocBook released standard is version 5.2. The +version described here is DocBook version 5.2.1B1. + +Bug reports and feature requests are welcome. +Please send comments and requests for enhancement to +the DocBook comments list, +docbook@lists.docbook.org +mailing list. Outstanding requests can be seen in the archives as well +as in the +issue tracker. + +
+ +
+Summary of differences in 5.2.1 + +DocBook 5.2.1 fixes a +backwards incompatibility +accidentally introduced in DocBook 5.2. A classsynopsis is once again allowed to +one or more ooclass, ooexception, or +oointerface elements. + +The build system has also been updated. In the course of that update, it was discovered +that the Schematron rules for callouts were not sufficient. Additional rules have been added +to assert that all arearefs on a callout point to +an element and that all linkend attributes on coref +point to a co. +
+ +
+Summary of differences in 5.2 + + + +Many new synopsis elements for programming languages. + + + +New danger admonition element. + + + +New formalgroup element to support subfigures, etc. + + + +New transclusion fixup attributes. + + + +New class attribute on sectioning +elements support legal sections. + + + +New meta element added to info. + + + +Added XInclude-enabled schema versions of Assembly and +International Tag Set (ITS) schemas. + + +Added missing fragid and +set-xml-id to the XInclude-enabled schema. + + + +Allow info as top-level element. + + +Allow foreign namespace-qualified attributes on DocBook elements. + + + +Allow info as a top-level element. + + + +Updated content models so that modifier can appear +after +classname in ooclass, +interfacename in oointerface, +exceptionname in ooexception, +varname in fieldsynopsis, +methodname in constructorsynopsis, +methodname in destructorsynopsis, +and +enumname in enumsynopsis. +(It was already allowed +parameter in methodparam, +templatename in template, +package in packagesynopsis, +macroname in macrosynopsis, +macrodef in macroprototype, +unionname in unionsynopsis, +and typedefname in typedefsynopsis. + + + +Added new element buildtarget. + + + +Added new element danger. + + + +Added new element enumidentifier. + + + +Added new element enumitem. + + + +Added new element enumitemdescription. + + + +Added new element enunname. + + + +Added new element enumsynopsis. + + + +Added new element enumvalue. + + + +Added new element formalgroup to contain multiple +figure, table, example, or equation +elements. (But not mixtures of them). + + + +Added new element macrodef. + + + +Added new element macroname. + + + +Added new element macroprototype. + + + +Added new element macrosynopsis. + + + +Added new element meta. + + + +Added new element packagesynopsis. + + + +Added new element specializedtemplate. + + + +Added new element synopsisinfo with a verbatim content model. + + + +Added new element template. + + + +Added new element templatename. + + + +Added new element typedefname. + + + +Added new element typedefsynopsis. + + + +Added new element union. + + + +Added new element unionname. + + + +Added new element unionsynopsis. + + + +Added db.trans.idfixup.attribute = "none|suffix|auto". + + + +Added db.trans.suffix.attribute as “text” with a Schematron rule to force idfixup attribute if suffix used. + + +Added db.trans.linkscope.attribute = "user|local|near|global". + + +Added trans:idfixup, trans:suffix, and trans:linkscope to common attributes. + + +Added pubwork attribute with the possible +values: +article, +bbs, +book, +cdrom, +chapter, +dvd, +emailmessage, +gopher, +journal, +manuscript, +newsposting, +other, +part, +refentry, +section, +series, +set, +webpage, and +wiki +to biblioentry and bibliomixed. + + +Added otherpubwork attribute for when +pubwork has the valeu “other” +specified, but no Schematron to enforce it. + + +Added optional type attribute (text) to procedure element. + + +Added optional type attribute to example, informalexample, figure, and informalfigure elements. + + +Added fgstyle attribute, used in formalgroup only. + + + +Added enumerated class attribute to the +section elements (section and sect1 through +sect5) with the values legal or +other. + + + +Added otherclass attribute to +section elements to support other values. + + + +Added other to the existing article class attribute enumeration. + + + +Added otherclass attribute to +article. + + + +Added a type attribute to +table and informaltable elements (CALS and HTML +table syntax). + + + +Added a type attribute to +equation and informalequation. + + + +Added class attribute with enumerated values +union and intersection to the +type element. + + + +Added Schematron rule to exclude danger element as +descendant of admonitions. + + + +Added packageref attribute to +cmdsynopsis, +funcsynopsis, +classsynopsis, +fieldsynopsis, +constructorsynopsis, +destructorsynopsis, +methodsynopsis, +macrosynopsis, +unionsynopsis, +enumsynopsis, +typedefsynopsis, and +packagesynopsis. + + + +Added db.programmingsynopsis elements to db.synopsis.blocks. + + + +Changed db._any to remove HTML namespace reference. + + + +Added db.revnumber to db.publishing.inlines. + + + +Added db.wrapper.blocks to db.nopara.blocks. + + + +Added meta element to info set. Can be empty or have block and inline content. + + + +Changed abstract content from db.para.blocks+ to db.all.blocks+ to expand its content model. + + + +Added Schematron rule to footnote to exclude danger element (similar to other admonitions). + + + +Added Schematron rule to caption to exclude danger element (similar to other admonitions). + + + +Added Schematron rule to exclude danger element as descendant of admonitions. + + + +Added optional info child to listitem element. + + + +Added multimediaparam children to imagedata element (already allowed on audiodata and videodata). + + + +Allowed refentry in sect1 through sect5 (already allowed in section). + + + +Added elements +buildtarget, +templatename, +macroname, +unionname, +enumname, +enumvalue, +enumidentifier, and +typedefname to the list of programming inlines. + + + +Added elements +enumsynopsis, +typedefsynopsis, +packagesynopsis, +macrosynopsis, +unionsynopsis, +enumsynopsis, and +typedefsynopsis to the list in db.synopsis.blocks. + + + +Added elements +packagesynopsis, +macrosynopsis, +typedefsynopsis, +and enumsynopsis to the +db.programmingsynopsis set. + + + +Added elements templatename and void to the funcdef content model. + + + +Added elements templatename and modifier to the paramdef content model. + + + +Added elements info, +templatename, +template, +and ooexception to the classsynopsis content model. + + + +Added elements info and +synopsisinfo to the constructorsynopsis content model. + + + +Added elements info and +synopsisinfo to the destructorsynopsis content model. + + + +Added elements info, +synopsisinfo, +and templatename to the fieldsynopsis content model. + + + +Added elements info, +synopsisinfo, +and templatename to the methodsynopsis content model. + + + +Added element templatename to the methodparam content model. + + + +Added programming inlines to the type element. + + + +Allow optional element to nest in an optional element. + + + +Added trans namespace declarations for transclusion. + + + +Added 10 s: schematron namespace declarations. + + + +Added db.wrapper.blocks to “start” set. + + + +Defined db.wrapper.blocks as db.formalgroup. + + + +Deleted db.programmingsynopsis named pattern (only used in start, now handled by +db.synopsis.blocks). + + + +Removed unnecessary \x{a} whitespace from Schematron rules. + + + +Added a Schematron rule to callout element so +arearefs must point to areaset, +area, or co. + + + +Added a Schematron rule to EBNF constraint element so its +linkend must point to a +constraintdef. + + + +Added a Schematron rule to EBNF productionrecap element so its +linkend must point to a +production. + + + +
+
diff --git a/docbook/docbook-v5.2-os/rng/assembly.rnc b/docbook/docbook-5.2.1b1/rng/assembly.rnc old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/assembly.rnc rename to docbook/docbook-5.2.1b1/rng/assembly.rnc index 22969778d5..8a19575e4f --- a/docbook/docbook-v5.2-os/rng/assembly.rnc +++ b/docbook/docbook-5.2.1b1/rng/assembly.rnc @@ -10,7 +10,7 @@ namespace svg = "http://www.w3.org/2000/svg" namespace trans = "http://docbook.org/ns/transclusion" namespace xlink = "http://www.w3.org/1999/xlink" -# This file is part of DocBook Assembly V5.2CR5 +# This file is part of DocBook Assembly V5.2.1b1 # # Copyright 2008-2015 HaL Computer Systems, Inc., # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software @@ -28,12 +28,12 @@ namespace xlink = "http://www.w3.org/1999/xlink" # # If you modify the DocBook schema in any way, label your schema as a # variant of DocBook. See the reference documentation -# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# (https://tdg.docbook.org/tdg/5.2/ch05.html#s-notdocbook) # for more information. # # Please direct all questions, bug reports, or suggestions for changes -# to the docbook-comment@lists.oasis-open.org mailing list. For more -# information, see http://www.oasis-open.org/docbook/. +# to the docbook@lists.docbook.org mailing list. For more +# information, see https://docbook.org/. # # ====================================================================== @@ -5983,6 +5983,17 @@ div { ## A called out ## description of a marked area [ + s:pattern [ + s:title [ "Callout cross reference idref constraint" ] + s:rule [ + context = "db:callout[@arearefs]" + s:assert [ + test = + "every $id in tokenize(current()/@arearefs) satisfies exists(//*[@xml:id = $id])" + "Each token in @arearefs must be an idref to an element in the document." + ] + ] + ] s:pattern [ s:title [ "Callout cross reference constraint" ] s:rule [ @@ -6145,6 +6156,29 @@ div { db.coref = ## A cross reference to a co + [ + s:pattern [ + s:title [ "Coref cross reference idref constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = "exists(//*[@xml:id=current()/@linkend])" + "@linkend on coref must point to an xml:id" + ] + ] + ] + s:pattern [ + s:title [ "Coref cross reference constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = + "every $id in @linkend satisfies (every $ar in //*[@xml:id = $id] satisfies (local-name($ar) = 'co') and namespace-uri($ar) = 'http://docbook.org/ns/docbook')" + "@linkend on coref must point to a co." + ] + ] + ] + ] element coref { db.coref.attlist, empty } } div { @@ -9030,7 +9064,7 @@ div { db.classsynopsis.info, db.classsynopsisinfo*, db.templatename*, - db.oo.inlines, + db.oo.inlines+, (db.template | db.ooexception | db.methodsynopsis diff --git a/docbook/docbook-v5.2-os/rng/assembly.rng b/docbook/docbook-5.2.1b1/rng/assembly.rng old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/assembly.rng rename to docbook/docbook-5.2.1b1/rng/assembly.rng index bcb2adc15f..8106a484dc --- a/docbook/docbook-v5.2-os/rng/assembly.rng +++ b/docbook/docbook-5.2.1b1/rng/assembly.rng @@ -1,7 +1,6 @@ - - + @@ -10492,6 +10491,12 @@ s A called out description of a marked area + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Callout cross reference constraint @@ -10795,6 +10800,18 @@ s which refer to this area. (This provides bidirectional linking which may be us A cross reference to a co + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + + + Coref cross reference constraint + + @linkend on coref must point to a co. + + @@ -15452,7 +15469,9 @@ where the nonterminal - + + + @@ -18263,4 +18282,4 @@ where the nonterminal - + \ No newline at end of file diff --git a/docbook/docbook-v5.2-os/rng/assemblyxi.rnc b/docbook/docbook-5.2.1b1/rng/assemblyxi.rnc old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/assemblyxi.rnc rename to docbook/docbook-5.2.1b1/rng/assemblyxi.rnc index 52259fc230..2d2b8e1ca6 --- a/docbook/docbook-v5.2-os/rng/assemblyxi.rnc +++ b/docbook/docbook-5.2.1b1/rng/assemblyxi.rnc @@ -11,7 +11,7 @@ namespace trans = "http://docbook.org/ns/transclusion" namespace xi = "http://www.w3.org/2001/XInclude" namespace xlink = "http://www.w3.org/1999/xlink" -# This file is part of DocBook Assembly XIncludeV5.2CR5 +# This file is part of DocBook Assembly V5.2.1b1 # # Copyright 2020 HaL Computer Systems, Inc., # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software @@ -29,12 +29,12 @@ namespace xlink = "http://www.w3.org/1999/xlink" # # If you modify the DocBook schema in any way, label your schema as a # variant of DocBook. See the reference documentation -# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# (https://tdg.docbook.org/tdg/5.2/ch05.html#s-notdocbook) # for more information. # # Please direct all questions, bug reports, or suggestions for changes -# to the docbook-comment@lists.oasis-open.org mailing list. For more -# information, see http://www.oasis-open.org/docbook/. +# to the docbook@lists.docbook.org mailing list. For more +# information, see https://docbook.org/. # # ====================================================================== @@ -5985,6 +5985,17 @@ div { ## A called out ## description of a marked area [ + s:pattern [ + s:title [ "Callout cross reference idref constraint" ] + s:rule [ + context = "db:callout[@arearefs]" + s:assert [ + test = + "every $id in tokenize(current()/@arearefs) satisfies exists(//*[@xml:id = $id])" + "Each token in @arearefs must be an idref to an element in the document." + ] + ] + ] s:pattern [ s:title [ "Callout cross reference constraint" ] s:rule [ @@ -6147,6 +6158,29 @@ div { db.coref = ## A cross reference to a co + [ + s:pattern [ + s:title [ "Coref cross reference idref constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = "exists(//*[@xml:id=current()/@linkend])" + "@linkend on coref must point to an xml:id" + ] + ] + ] + s:pattern [ + s:title [ "Coref cross reference constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = + "every $id in @linkend satisfies (every $ar in //*[@xml:id = $id] satisfies (local-name($ar) = 'co') and namespace-uri($ar) = 'http://docbook.org/ns/docbook')" + "@linkend on coref must point to a co." + ] + ] + ] + ] element coref { db.coref.attlist, empty } } div { @@ -9032,7 +9066,7 @@ div { db.classsynopsis.info, db.classsynopsisinfo*, db.templatename*, - db.oo.inlines, + db.oo.inlines+, (db.template | db.ooexception | db.methodsynopsis diff --git a/docbook/docbook-v5.2-os/rng/assemblyxi.rng b/docbook/docbook-5.2.1b1/rng/assemblyxi.rng old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/assemblyxi.rng rename to docbook/docbook-5.2.1b1/rng/assemblyxi.rng index 00c9b7405a..ca5ecb80ba --- a/docbook/docbook-v5.2-os/rng/assemblyxi.rng +++ b/docbook/docbook-5.2.1b1/rng/assemblyxi.rng @@ -1,7 +1,6 @@ - - + @@ -10493,6 +10492,12 @@ s A called out description of a marked area + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Callout cross reference constraint @@ -10796,6 +10801,18 @@ s which refer to this area. (This provides bidirectional linking which may be us A cross reference to a co + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + + + Coref cross reference constraint + + @linkend on coref must point to a co. + + @@ -15453,7 +15470,9 @@ where the nonterminal - + + + @@ -18356,4 +18375,4 @@ where the nonterminal - + \ No newline at end of file diff --git a/docbook/docbook-v5.2-os/rng/dbits.rnc b/docbook/docbook-5.2.1b1/rng/dbits.rnc old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/dbits.rnc rename to docbook/docbook-5.2.1b1/rng/dbits.rnc index ba3db291f5..99a989fe18 --- a/docbook/docbook-v5.2-os/rng/dbits.rnc +++ b/docbook/docbook-5.2.1b1/rng/dbits.rnc @@ -11,7 +11,7 @@ namespace svg = "http://www.w3.org/2000/svg" namespace trans = "http://docbook.org/ns/transclusion" namespace xlink = "http://www.w3.org/1999/xlink" -# This file is part of DocBook ITS V5.2CR5 +# This file is part of DocBook ITS V5.2.1b1 # # Copyright 2007-2020 HaL Computer Systems, Inc., # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software @@ -29,12 +29,12 @@ namespace xlink = "http://www.w3.org/1999/xlink" # # If you modify the DocBook schema in any way, label your schema as a # variant of DocBook. See the reference documentation -# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# (https://tdg.docbook.org/tdg/5.2/ch05.html#s-notdocbook) # for more information. # # Please direct all questions, bug reports, or suggestions for changes -# to the docbook-comment@lists.oasis-open.org mailing list. For more -# information, see http://www.oasis-open.org/docbook/. +# to the docbook@lists.docbook.org mailing list. For more +# information, see https://docbook.org/. # # ====================================================================== @@ -7046,6 +7046,17 @@ div { ## A called out ## description of a marked area [ + s:pattern [ + s:title [ "Callout cross reference idref constraint" ] + s:rule [ + context = "db:callout[@arearefs]" + s:assert [ + test = + "every $id in tokenize(current()/@arearefs) satisfies exists(//*[@xml:id = $id])" + "Each token in @arearefs must be an idref to an element in the document." + ] + ] + ] s:pattern [ s:title [ "Callout cross reference constraint" ] s:rule [ @@ -7244,6 +7255,29 @@ div { db.coref = ## A cross reference to a co + [ + s:pattern [ + s:title [ "Coref cross reference idref constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = "exists(//*[@xml:id=current()/@linkend])" + "@linkend on coref must point to an xml:id" + ] + ] + ] + s:pattern [ + s:title [ "Coref cross reference constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = + "every $id in @linkend satisfies (every $ar in //*[@xml:id = $id] satisfies (local-name($ar) = 'co') and namespace-uri($ar) = 'http://docbook.org/ns/docbook')" + "@linkend on coref must point to a co." + ] + ] + ] + ] element coref { db.coref.attlist, empty } } div { @@ -10421,7 +10455,7 @@ div { db.classsynopsis.info, db.classsynopsisinfo*, db.templatename*, - db.oo.inlines, + db.oo.inlines+, (db.template | db.ooexception | db.methodsynopsis diff --git a/docbook/docbook-v5.2-os/rng/dbits.rng b/docbook/docbook-5.2.1b1/rng/dbits.rng old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/dbits.rng rename to docbook/docbook-5.2.1b1/rng/dbits.rng index 253b1692d0..774d1c2fe4 --- a/docbook/docbook-v5.2-os/rng/dbits.rng +++ b/docbook/docbook-5.2.1b1/rng/dbits.rng @@ -1,7 +1,6 @@ - - + @@ -11103,6 +11102,12 @@ s A called out description of a marked area + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Callout cross reference constraint @@ -11424,6 +11429,18 @@ s which refer to this area. (This provides bidirectional linking which may be us A cross reference to a co + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + + + Coref cross reference constraint + + @linkend on coref must point to a co. + + @@ -16231,7 +16248,9 @@ where the nonterminal - + + + @@ -20347,6 +20366,4 @@ that case they MUST be delimited by quotation marks. - - - + \ No newline at end of file diff --git a/docbook/docbook-v5.2-os/rng/dbitsxi.rnc b/docbook/docbook-5.2.1b1/rng/dbitsxi.rnc old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/dbitsxi.rnc rename to docbook/docbook-5.2.1b1/rng/dbitsxi.rnc index b6bf90b6a2..8fb1cd99c7 --- a/docbook/docbook-v5.2-os/rng/dbitsxi.rnc +++ b/docbook/docbook-5.2.1b1/rng/dbitsxi.rnc @@ -13,7 +13,7 @@ namespace trans = "http://docbook.org/ns/transclusion" namespace xi = "http://www.w3.org/2001/XInclude" namespace xlink = "http://www.w3.org/1999/xlink" -# This file is part of DocBook ITS XInclude V5.2CR5 +# This file is part of DocBook ITS V5.2.1b1 # # Copyright 2007-2020 HaL Computer Systems, Inc., # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software @@ -31,12 +31,12 @@ namespace xlink = "http://www.w3.org/1999/xlink" # # If you modify the DocBook schema in any way, label your schema as a # variant of DocBook. See the reference documentation -# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# (https://tdg.docbook.org/tdg/5.2/ch05.html#s-notdocbook) # for more information. # # Please direct all questions, bug reports, or suggestions for changes -# to the docbook-comment@lists.oasis-open.org mailing list. For more -# information, see http://www.oasis-open.org/docbook/. +# to the docbook@lists.docbook.org mailing list. For more +# information, see https://docbook.org/. # # ====================================================================== @@ -7080,6 +7080,17 @@ div { ## A called out ## description of a marked area [ + s:pattern [ + s:title [ "Callout cross reference idref constraint" ] + s:rule [ + context = "db:callout[@arearefs]" + s:assert [ + test = + "every $id in tokenize(current()/@arearefs) satisfies exists(//*[@xml:id = $id])" + "Each token in @arearefs must be an idref to an element in the document." + ] + ] + ] s:pattern [ s:title [ "Callout cross reference constraint" ] s:rule [ @@ -7278,6 +7289,29 @@ div { db.coref = ## A cross reference to a co + [ + s:pattern [ + s:title [ "Coref cross reference idref constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = "exists(//*[@xml:id=current()/@linkend])" + "@linkend on coref must point to an xml:id" + ] + ] + ] + s:pattern [ + s:title [ "Coref cross reference constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = + "every $id in @linkend satisfies (every $ar in //*[@xml:id = $id] satisfies (local-name($ar) = 'co') and namespace-uri($ar) = 'http://docbook.org/ns/docbook')" + "@linkend on coref must point to a co." + ] + ] + ] + ] element coref { db.coref.attlist, empty } } div { @@ -10458,7 +10492,7 @@ div { db.classsynopsis.info, db.classsynopsisinfo*, db.templatename*, - db.oo.inlines, + db.oo.inlines+, (db.template | db.ooexception | db.methodsynopsis diff --git a/docbook/docbook-v5.2-os/rng/dbitsxi.rng b/docbook/docbook-5.2.1b1/rng/dbitsxi.rng old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/dbitsxi.rng rename to docbook/docbook-5.2.1b1/rng/dbitsxi.rng index 709a211f7e..17896375e0 --- a/docbook/docbook-v5.2-os/rng/dbitsxi.rng +++ b/docbook/docbook-5.2.1b1/rng/dbitsxi.rng @@ -1,7 +1,6 @@ - - + @@ -11237,6 +11236,12 @@ s A called out description of a marked area + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Callout cross reference constraint @@ -11558,6 +11563,18 @@ s which refer to this area. (This provides bidirectional linking which may be us A cross reference to a co + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + + + Coref cross reference constraint + + @linkend on coref must point to a co. + + @@ -16377,7 +16394,9 @@ where the nonterminal - + + + @@ -20570,6 +20589,4 @@ that case they MUST be delimited by quotation marks. - - - + \ No newline at end of file diff --git a/docbook/docbook-v5.2-os/rng/docbook.rnc b/docbook/docbook-5.2.1b1/rng/docbook.rnc old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/docbook.rnc rename to docbook/docbook-5.2.1b1/rng/docbook.rnc index f81c88db15..7f7d8eed9f --- a/docbook/docbook-v5.2-os/rng/docbook.rnc +++ b/docbook/docbook-5.2.1b1/rng/docbook.rnc @@ -10,7 +10,7 @@ namespace svg = "http://www.w3.org/2000/svg" namespace trans = "http://docbook.org/ns/transclusion" namespace xlink = "http://www.w3.org/1999/xlink" -# This file is part of DocBook V5.2CR5 +# This file is part of DocBook V5.2.1b1 # # Copyright 1992-2015 HaL Computer Systems, Inc., # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software @@ -28,12 +28,12 @@ namespace xlink = "http://www.w3.org/1999/xlink" # # If you modify the DocBook schema in any way, label your schema as a # variant of DocBook. See the reference documentation -# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# (https://tdg.docbook.org/tdg/5.2/ch05.html#s-notdocbook) # for more information. # # Please direct all questions, bug reports, or suggestions for changes -# to the docbook-comment@lists.oasis-open.org mailing list. For more -# information, see http://www.oasis-open.org/docbook/. +# to the docbook@lists.docbook.org mailing list. For more +# information, see https://docbook.org/. # # ====================================================================== @@ -7051,6 +7051,17 @@ div { ## A called out ## description of a marked area [ + s:pattern [ + s:title [ "Callout cross reference idref constraint" ] + s:rule [ + context = "db:callout[@arearefs]" + s:assert [ + test = + "every $id in tokenize(current()/@arearefs) satisfies exists(//*[@xml:id = $id])" + "Each token in @arearefs must be an idref to an element in the document." + ] + ] + ] s:pattern [ s:title [ "Callout cross reference constraint" ] s:rule [ @@ -7249,6 +7260,29 @@ div { db.coref = ## A cross reference to a co + [ + s:pattern [ + s:title [ "Coref cross reference idref constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = "exists(//*[@xml:id=current()/@linkend])" + "@linkend on coref must point to an xml:id" + ] + ] + ] + s:pattern [ + s:title [ "Coref cross reference constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = + "every $id in @linkend satisfies (every $ar in //*[@xml:id = $id] satisfies (local-name($ar) = 'co') and namespace-uri($ar) = 'http://docbook.org/ns/docbook')" + "@linkend on coref must point to a co." + ] + ] + ] + ] element coref { db.coref.attlist, empty } } div { @@ -10426,7 +10460,7 @@ div { db.classsynopsis.info, db.classsynopsisinfo*, db.templatename*, - db.oo.inlines, + db.oo.inlines+, (db.template | db.ooexception | db.methodsynopsis diff --git a/docbook/docbook-v5.2-os/rng/docbook.rng b/docbook/docbook-5.2.1b1/rng/docbook.rng old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/docbook.rng rename to docbook/docbook-5.2.1b1/rng/docbook.rng index 7490ce0b1d..c6cfd6005a --- a/docbook/docbook-v5.2-os/rng/docbook.rng +++ b/docbook/docbook-5.2.1b1/rng/docbook.rng @@ -1,7 +1,6 @@ - - + @@ -11121,6 +11120,12 @@ s A called out description of a marked area + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Callout cross reference constraint @@ -11442,6 +11447,18 @@ s which refer to this area. (This provides bidirectional linking which may be us A cross reference to a co + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + + + Coref cross reference constraint + + @linkend on coref must point to a co. + + @@ -18456,4 +18473,4 @@ where the nonterminal - + \ No newline at end of file diff --git a/docbook/docbook-v5.2-os/rng/docbookxi.rnc b/docbook/docbook-5.2.1b1/rng/docbookxi.rnc old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/docbookxi.rnc rename to docbook/docbook-5.2.1b1/rng/docbookxi.rnc index 6be7bbacf1..27e8670b72 --- a/docbook/docbook-v5.2-os/rng/docbookxi.rnc +++ b/docbook/docbook-5.2.1b1/rng/docbookxi.rnc @@ -11,7 +11,7 @@ namespace trans = "http://docbook.org/ns/transclusion" namespace xi = "http://www.w3.org/2001/XInclude" namespace xlink = "http://www.w3.org/1999/xlink" -# This file is part of DocBook XInclude V5.2CR5 +# This file is part of DocBook V5.2.1b1 # # Copyright 1992-2015 HaL Computer Systems, Inc., # O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software @@ -29,12 +29,12 @@ namespace xlink = "http://www.w3.org/1999/xlink" # # If you modify the DocBook schema in any way, label your schema as a # variant of DocBook. See the reference documentation -# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# (https://tdg.docbook.org/tdg/5.2/ch05.html#s-notdocbook) # for more information. # # Please direct all questions, bug reports, or suggestions for changes -# to the docbook-comment@lists.oasis-open.org mailing list. For more -# information, see http://www.oasis-open.org/docbook/. +# to the docbook@lists.docbook.org mailing list. For more +# information, see https://docbook.org/. # # ====================================================================== @@ -7083,6 +7083,17 @@ div { ## A called out ## description of a marked area [ + s:pattern [ + s:title [ "Callout cross reference idref constraint" ] + s:rule [ + context = "db:callout[@arearefs]" + s:assert [ + test = + "every $id in tokenize(current()/@arearefs) satisfies exists(//*[@xml:id = $id])" + "Each token in @arearefs must be an idref to an element in the document." + ] + ] + ] s:pattern [ s:title [ "Callout cross reference constraint" ] s:rule [ @@ -7281,6 +7292,29 @@ div { db.coref = ## A cross reference to a co + [ + s:pattern [ + s:title [ "Coref cross reference idref constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = "exists(//*[@xml:id=current()/@linkend])" + "@linkend on coref must point to an xml:id" + ] + ] + ] + s:pattern [ + s:title [ "Coref cross reference constraint" ] + s:rule [ + context = "db:coref[@linkend]" + s:assert [ + test = + "every $id in @linkend satisfies (every $ar in //*[@xml:id = $id] satisfies (local-name($ar) = 'co') and namespace-uri($ar) = 'http://docbook.org/ns/docbook')" + "@linkend on coref must point to a co." + ] + ] + ] + ] element coref { db.coref.attlist, empty } } div { @@ -10461,7 +10495,7 @@ div { db.classsynopsis.info, db.classsynopsisinfo*, db.templatename*, - db.oo.inlines, + db.oo.inlines+, (db.template | db.ooexception | db.methodsynopsis diff --git a/docbook/docbook-v5.2-os/rng/docbookxi.rng b/docbook/docbook-5.2.1b1/rng/docbookxi.rng old mode 100755 new mode 100644 similarity index 99% rename from docbook/docbook-v5.2-os/rng/docbookxi.rng rename to docbook/docbook-5.2.1b1/rng/docbookxi.rng index b22cc4e530..d85f3287a7 --- a/docbook/docbook-v5.2-os/rng/docbookxi.rng +++ b/docbook/docbook-5.2.1b1/rng/docbookxi.rng @@ -1,7 +1,6 @@ - - + @@ -11254,6 +11253,12 @@ s A called out description of a marked area + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Callout cross reference constraint @@ -11575,6 +11580,18 @@ s which refer to this area. (This provides bidirectional linking which may be us A cross reference to a co + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + + + Coref cross reference constraint + + @linkend on coref must point to a co. + + @@ -18678,4 +18695,4 @@ where the nonterminal - + \ No newline at end of file diff --git a/docbook/docbook-v5.2-os/sch/assembly.sch b/docbook/docbook-5.2.1b1/sch/assembly.sch old mode 100755 new mode 100644 similarity index 94% rename from docbook/docbook-v5.2-os/sch/assembly.sch rename to docbook/docbook-5.2.1b1/sch/assembly.sch index a702064810..24be665a0e --- a/docbook/docbook-v5.2-os/sch/assembly.sch +++ b/docbook/docbook-5.2.1b1/sch/assembly.sch @@ -1,16 +1,8 @@ - + xmlns:rng="http://relaxng.org/ns/structure/1.0" + xmlns:s="http://purl.oclc.org/dsdl/schematron" + queryBinding="xslt2"> @@ -20,6 +12,12 @@ @arearefs on callout must point to a areaset, area, or co. + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Cardinality of segments and titles @@ -32,6 +30,18 @@ @linkend on constraint must point to a constraintdef. + + Coref cross reference constraint + + @linkend on coref must point to a co. + + + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + Element exclusion diff --git a/docbook/docbook-v5.2-os/sch/assemblyxi.sch b/docbook/docbook-5.2.1b1/sch/assemblyxi.sch old mode 100755 new mode 100644 similarity index 94% rename from docbook/docbook-v5.2-os/sch/assemblyxi.sch rename to docbook/docbook-5.2.1b1/sch/assemblyxi.sch index a702064810..24be665a0e --- a/docbook/docbook-v5.2-os/sch/assemblyxi.sch +++ b/docbook/docbook-5.2.1b1/sch/assemblyxi.sch @@ -1,16 +1,8 @@ - + xmlns:rng="http://relaxng.org/ns/structure/1.0" + xmlns:s="http://purl.oclc.org/dsdl/schematron" + queryBinding="xslt2"> @@ -20,6 +12,12 @@ @arearefs on callout must point to a areaset, area, or co. + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Cardinality of segments and titles @@ -32,6 +30,18 @@ @linkend on constraint must point to a constraintdef. + + Coref cross reference constraint + + @linkend on coref must point to a co. + + + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + Element exclusion diff --git a/docbook/docbook-v5.2-os/sch/dbits.sch b/docbook/docbook-5.2.1b1/sch/dbits.sch old mode 100755 new mode 100644 similarity index 97% rename from docbook/docbook-v5.2-os/sch/dbits.sch rename to docbook/docbook-5.2.1b1/sch/dbits.sch index 6c7954d45f..fcb653deb1 --- a/docbook/docbook-v5.2-os/sch/dbits.sch +++ b/docbook/docbook-5.2.1b1/sch/dbits.sch @@ -1,16 +1,8 @@ - + xmlns:rng="http://relaxng.org/ns/structure/1.0" + xmlns:s="http://purl.oclc.org/dsdl/schematron" + queryBinding="xslt2"> @@ -20,6 +12,12 @@ @arearefs on callout must point to a areaset, area, or co. + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Cardinality of segments and titles @@ -32,6 +30,18 @@ @linkend on constraint must point to a constraintdef. + + Coref cross reference constraint + + @linkend on coref must point to a co. + + + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + Element exclusion diff --git a/docbook/docbook-v5.2-os/sch/dbitsxi.sch b/docbook/docbook-5.2.1b1/sch/dbitsxi.sch old mode 100755 new mode 100644 similarity index 97% rename from docbook/docbook-v5.2-os/sch/dbitsxi.sch rename to docbook/docbook-5.2.1b1/sch/dbitsxi.sch index 6c7954d45f..fcb653deb1 --- a/docbook/docbook-v5.2-os/sch/dbitsxi.sch +++ b/docbook/docbook-5.2.1b1/sch/dbitsxi.sch @@ -1,16 +1,8 @@ - + xmlns:rng="http://relaxng.org/ns/structure/1.0" + xmlns:s="http://purl.oclc.org/dsdl/schematron" + queryBinding="xslt2"> @@ -20,6 +12,12 @@ @arearefs on callout must point to a areaset, area, or co. + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Cardinality of segments and titles @@ -32,6 +30,18 @@ @linkend on constraint must point to a constraintdef. + + Coref cross reference constraint + + @linkend on coref must point to a co. + + + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + Element exclusion diff --git a/docbook/docbook-v5.2-os/sch/docbook.sch b/docbook/docbook-5.2.1b1/sch/docbook.sch old mode 100755 new mode 100644 similarity index 97% rename from docbook/docbook-v5.2-os/sch/docbook.sch rename to docbook/docbook-5.2.1b1/sch/docbook.sch index 6c7954d45f..fcb653deb1 --- a/docbook/docbook-v5.2-os/sch/docbook.sch +++ b/docbook/docbook-5.2.1b1/sch/docbook.sch @@ -1,16 +1,8 @@ - + xmlns:rng="http://relaxng.org/ns/structure/1.0" + xmlns:s="http://purl.oclc.org/dsdl/schematron" + queryBinding="xslt2"> @@ -20,6 +12,12 @@ @arearefs on callout must point to a areaset, area, or co. + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Cardinality of segments and titles @@ -32,6 +30,18 @@ @linkend on constraint must point to a constraintdef. + + Coref cross reference constraint + + @linkend on coref must point to a co. + + + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + Element exclusion diff --git a/docbook/docbook-v5.2-os/sch/docbookxi.sch b/docbook/docbook-5.2.1b1/sch/docbookxi.sch old mode 100755 new mode 100644 similarity index 97% rename from docbook/docbook-v5.2-os/sch/docbookxi.sch rename to docbook/docbook-5.2.1b1/sch/docbookxi.sch index 6c7954d45f..fcb653deb1 --- a/docbook/docbook-v5.2-os/sch/docbookxi.sch +++ b/docbook/docbook-5.2.1b1/sch/docbookxi.sch @@ -1,16 +1,8 @@ - + xmlns:rng="http://relaxng.org/ns/structure/1.0" + xmlns:s="http://purl.oclc.org/dsdl/schematron" + queryBinding="xslt2"> @@ -20,6 +12,12 @@ @arearefs on callout must point to a areaset, area, or co. + + Callout cross reference idref constraint + + Each token in @arearefs must be an idref to an element in the document. + + Cardinality of segments and titles @@ -32,6 +30,18 @@ @linkend on constraint must point to a constraintdef. + + Coref cross reference constraint + + @linkend on coref must point to a co. + + + + Coref cross reference idref constraint + + @linkend on coref must point to an xml:id + + Element exclusion diff --git a/docbook/docbook-v5.2-os/catalog.xml b/docbook/docbook-v5.2-os/catalog.xml deleted file mode 100755 index 87acd876a8..0000000000 --- a/docbook/docbook-v5.2-os/catalog.xml +++ /dev/null @@ -1,605 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -