docbook-dsssl-1.79/0000775000175000001440000000000010142575507014710 5ustar msmithusers00000000000000docbook-dsssl-1.79/docsrc/0000755000175000001440000000000010142564561016161 5ustar msmithusers00000000000000docbook-dsssl-1.79/docsrc/ChangeLog0000644000175000001440000000463410142575332017740 0ustar msmithusers000000000000002004-10-23 Michael Smith * collateindex.sgm, dblib.sgm, docbook.sgm, htparam.sgm, imagelib.sgm, indexing.sgm, olinksemantics.sgm, otherdoc.sgm, prparam.sgm: Bug #1052834 (PIs in dsssl/doc sources causing jade errors) apparently jade has a problem dealing with single quotation marks in PIs -- at least it appears like that in the case where it needs to take a single-quoted value from within a PI and use it to write a filename; so changed al single-quote filenames in PIs to doubly quoted ones; seems to have made jade happy 2004-09-18 * custom.sgm: Fix for Documentation Request #510281: Add missing -d option in example * custom.sgm: Fix for Documentation Request #992388: Removed obsolete section about setting the stylesheet language via a customization layer (now done using a stylesheet parameter). 2003-03-17 Adam Di Carlo * doc.dsl: Minor readability fixes. 2003-01-04 Adam Di Carlo * docbook.sgm: setting some IDs 2002-12-22 Adam Di Carlo * doc.dsl: roll back rev 1.2, it was a mistake 2002-12-20 Adam Di Carlo * doc.dsl: use relative references for the print and html stylesheets, so you don't have to have the dsssl catalogs in place in order to build 2002-12-16 Adam Di Carlo * common-version.sgm, common.sgm, html-version.sgm, html.sgm, lib-version.sgm, lib.sgm, print-version.sgm, print.sgm: references to ChangeLog should be relative 2002-11-27 Adam Di Carlo * otherdoc.sgm: fix location of the DocBook FAQ 2002-03-24 Adam Di Carlo * Makefile: add a clean rule here 2001-07-07 Norman Walsh * custom.sgm, docbook.sgm, install.sgm, lib.sgm: Fixed documentation bugs 2001-04-04 Norman Walsh * Makefile, dblib.sgm, htparam.sgm, prparam.sgm: New file. 2001-04-02 Norman Walsh * .cvsignore, collateindex.sgm, common-version.sgm, common.sgm, custom.sgm, doc.dsl, docbook.sgm, faq.sgm, html-version.sgm, html.sgm, imagelib.sgm, indexing.sgm, install.sgm, lib-version.sgm, lib.sgm, olinksemantics.modespecs, olinksemantics.sgm, olinktarget.sgm, otherdoc.sgm, print-version.sgm, print.sgm: New file. docbook-dsssl-1.79/docsrc/olinktarget.olink0000644000175000001440000000141210142563700021532 0ustar msmithusers00000000000000
OLink Test Document
A1 Section One
Article Section Two
A1 S1 Subsection One1
A1 S1 Subsection Two2
A1 Section Three
docbook-dsssl-1.79/docsrc/indexing.olink0000644000175000001440000000136410142563674021034 0ustar msmithusers00000000000000
Automatic Indexing with the DocBook DSSSL Stylesheets
Authoring for Indexing
Creating Index Terms
Incorporating the Index
Creating an Index
Drawbacks
docbook-dsssl-1.79/docsrc/olinksemantics.olink0000644000175000001440000000572710142563665022261 0ustar msmithusers00000000000000
OLink Semantics in the DocBook DSSSL Stylesheets
OLink Generated Text
Really Simple OLinks
Intra-document OLinks
ExamplesExample Target DocumentExample Target DocumentAn OLink with ContentA Simple OLinkAn OLink to a DocumentAn OLink to a SectionAn Intra-Document OLinkAn XRef
docbook-dsssl-1.79/docsrc/imagelib.olink0000644000175000001440000000173110142563661020772 0ustar msmithusers00000000000000
Image Library Files
Image Library File FormatThe Image Library DTD
Creating Image Library Files
Image Library File Location
The Catalog Trick
Using the Image Library
An Example
docbook-dsssl-1.79/docsrc/collateindex.olink0000644000175000001440000000041310142563650021666 0ustar msmithusers00000000000000
collateindex.pl
Description
docbook-dsssl-1.79/docsrc/printpr/0000755000175000001440000000000010142564561017657 5ustar msmithusers00000000000000docbook-dsssl-1.79/docsrc/printpr/ChangeLog0000644000175000001440000000012310142575332021423 0ustar msmithusers000000000000002001-04-04 Norman Walsh * .cvsignore: New file. docbook-dsssl-1.79/docsrc/printpr/body-font-family.sgm0000644000175000001440000000212610142563635023551 0ustar msmithusers00000000000000 %body-font-family% dbparam.dsl %body-font-family% The font family used in body text Synopsis %body-font-family% Description The name of the font family used in body text (Times New Roman by default). The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them). The values here work for the RTF backend under MS Windows. YMMV. Source Code (define %body-font-family% ;; The font family used in body text "Times New Roman") docbook-dsssl-1.79/docsrc/printpr/indent-synopsis-lines.sgm0000644000175000001440000000210310142563635024642 0ustar msmithusers00000000000000 %indent-synopsis-lines% dbparam.dsl %indent-synopsis-lines% Indent lines in a 'Synopsis'? Synopsis %indent-synopsis-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-synopsis-lines% ;; Indent lines in a 'Synopsis'? #f) docbook-dsssl-1.79/docsrc/printpr/biblio-number.sgm0000644000175000001440000000161410142563635023120 0ustar msmithusers00000000000000 biblio-number dbparam.dsl biblio-number Enumerate bibliography entries Synopsis biblio-number Description If true, bibliography entries will be numbered. If you cross-reference bibliography entries, you should probably use biblio-number or consistently use XREFLABEL or ABBREV. Source Code (define biblio-number ;; Enumerate bibliography entries #f) docbook-dsssl-1.79/docsrc/printpr/indent-screen-lines.sgm0000644000175000001440000000206210142563635024236 0ustar msmithusers00000000000000 %indent-screen-lines% dbparam.dsl %indent-screen-lines% Indent lines in a 'Screen'? Synopsis %indent-screen-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-screen-lines% ;; Indent lines in a 'Screen'? #f) docbook-dsssl-1.79/docsrc/printpr/section-subtitle-quadding.sgm0000644000175000001440000000153110142563635025457 0ustar msmithusers00000000000000 %section-subtitle-quadding% dbparam.dsl %section-subtitle-quadding% Section subtitle quadding Synopsis %section-subtitle-quadding% Description The quadding of section-level subtitles. Source Code (define %section-subtitle-quadding% ;; Section subtitle quadding 'start) docbook-dsssl-1.79/docsrc/printpr/section-title-quadding.sgm0000644000175000001440000000147610142563635024755 0ustar msmithusers00000000000000 %section-title-quadding% dbparam.dsl %section-title-quadding% Section title quadding Synopsis %section-title-quadding% Description The quadding of section-level titles. Source Code (define %section-title-quadding% ;; Section title quadding 'start) docbook-dsssl-1.79/docsrc/printpr/titlepage-n-columns.sgm0000644000175000001440000000153110142563635024257 0ustar msmithusers00000000000000 %titlepage-n-columns% dbparam.dsl %titlepage-n-columns% Sets the number of columns on the title page Synopsis %titlepage-n-columns% Description Sets the number of columns on the title page Source Code (define %titlepage-n-columns% ;; Sets the number of columns on the title page 1) docbook-dsssl-1.79/docsrc/printpr/qanda-inherit-numeration.sgm0000644000175000001440000000202110142563635025266 0ustar msmithusers00000000000000 %qanda-inherit-numeration% dbparam.dsl %qanda-inherit-numeration% Should numbered questions inherit the surrounding numeration? Synopsis %qanda-inherit-numeration% Description If true, question numbers are prefixed with the surrounding component or section number. Has no effect unless %section-autolabel% is also true. Source Code (define %qanda-inherit-numeration% ;; Should numbered questions inherit the surrounding numeration? #f) docbook-dsssl-1.79/docsrc/printpr/body-start-indent.sgm0000644000175000001440000000152310142563635023740 0ustar msmithusers00000000000000 %body-start-indent% dbparam.dsl %body-start-indent% Default indent of body text Synopsis %body-start-indent% Description The default indent of body text. Some elements may have more or less indentation. Source Code (define %body-start-indent% ;; Default indent of body text 4pi) docbook-dsssl-1.79/docsrc/printpr/paper-type.sgm0000644000175000001440000000223410142563635022457 0ustar msmithusers00000000000000 %paper-type% dbparam.dsl %paper-type% Name of paper type Synopsis %paper-type% Description The paper type value identifies the sort of paper in use, for example, A4 or USletter. Setting the paper type is an easy shortcut for setting the correct paper height and width. See %page-width% and %page-height concerning what other page size are available. Some common examples are A4, USletter, A4landscape, USlandscape. Source Code (define %paper-type% ;; Name of paper type ;; "A4" "USletter") docbook-dsssl-1.79/docsrc/printpr/article-page-number-restart.sgm0000644000175000001440000000162710142563635025703 0ustar msmithusers00000000000000 %article-page-number-restart% dbparam.dsl %article-page-number-restart% Restart page numbers in each article? Synopsis %article-page-number-restart% Description If true, page numbers are restarted at the beginning of each article. Source Code (define %article-page-number-restart% ;; Restart page numbers in each article? #f) docbook-dsssl-1.79/docsrc/printpr/callout-fancy-bug.sgm0000644000175000001440000000156310142563635023711 0ustar msmithusers00000000000000 %callout-fancy-bug% dbparam.dsl %callout-fancy-bug% Use fancy callout bugs? Synopsis %callout-fancy-bug% Description If true, fancy callout bugs will be used. Otherwise, simple ones are used. Fancy callout bugs may require the RTF backend. Source Code (define %callout-fancy-bug% ;; Use fancy callout bugs? #t) docbook-dsssl-1.79/docsrc/printpr/block-sep.sgm0000644000175000001440000000152310142563635022250 0ustar msmithusers00000000000000 %block-sep% dbparam.dsl %block-sep% Distance between block-elements Synopsis %block-sep% Description The %block-sep% is the vertical distance between block elements (figures, tables, etc.) Source Code (define %block-sep% ;; Distance between block-elements (* %para-sep% 2.0)) docbook-dsssl-1.79/docsrc/printpr/left-margin.sgm0000644000175000001440000000160710142563635022601 0ustar msmithusers00000000000000 %left-margin% dbparam.dsl %left-margin% Width of left margin Synopsis %left-margin% Description The %left-margin% parameter specifies the width of the left margin of the page. Note that this setting is relative to the physical page, not the writing direction. Source Code (define %left-margin% ;; Width of left margin 6pi) docbook-dsssl-1.79/docsrc/printpr/refentry-xref-italic.sgm0000644000175000001440000000163310142563635024436 0ustar msmithusers00000000000000 %refentry-xref-italic% dbparam.dsl %refentry-xref-italic% Use italic text when cross-referencing RefEntrys? Synopsis %refentry-xref-italic% Description If true, italics are used when cross-referencing RefEntrys, either with XRef or CiteRefEntry. Source Code (define %refentry-xref-italic% ;; Use italic text when cross-referencing RefEntrys? #f) docbook-dsssl-1.79/docsrc/printpr/label-preface-sections.sgm0000644000175000001440000000164610142563635024706 0ustar msmithusers00000000000000 %label-preface-sections% dbparam.dsl %label-preface-sections% Are sections in the Preface enumerated? Synopsis %label-preface-sections% Description If true, unlabeled sections in the Preface will be enumerated if %section-autolabel% is true. Source Code (define %label-preface-sections% ;; Are sections in the Preface enumerated? #t) docbook-dsssl-1.79/docsrc/printpr/admon-graphic-default-extension.sgm0000644000175000001440000000133110142563635026533 0ustar msmithusers00000000000000 admon-graphic-default-extension dbparam.dsl admon-graphic-default-extension no documented purpose Synopsis admon-graphic-default-extension Source Code (define admon-graphic-default-extension #f) docbook-dsssl-1.79/docsrc/printpr/refentry-name-font-family.sgm0000644000175000001440000000164410142563635025374 0ustar msmithusers00000000000000 %refentry-name-font-family% dbparam.dsl %refentry-name-font-family% The font family used in RefName Synopsis %refentry-name-font-family% Description The name of the font family used in RefEntry RefNames. Source Code (define %refentry-name-font-family% ;; The font family used in RefName %mono-font-family%) docbook-dsssl-1.79/docsrc/printpr/verbatim-default-width.sgm0000644000175000001440000000203310142563635024736 0ustar msmithusers00000000000000 %verbatim-default-width% dbparam.dsl %verbatim-default-width% Default width of verbatim environments Synopsis %verbatim-default-width% Description If no WIDTH attribute is specified on verbatim environments, %verbatim-default-width% is the default. Note: this width only comes into play if %verbatim-size-factor% is #f. Source Code (define %verbatim-default-width% ;; Default width of verbatim environments 80) docbook-dsssl-1.79/docsrc/printpr/titlepage-in-info-order.sgm0000644000175000001440000000201410142563635025011 0ustar msmithusers00000000000000 %titlepage-in-info-order% dbparam.dsl %titlepage-in-info-order% Place elements on title page in document order? Synopsis %titlepage-in-info-order% Description If true, the elements on the title page will be set in the order that they appear in the *info element. Otherwise, they will be set in the order specified in the *-titlepage-*-elements list. Source Code (define %titlepage-in-info-order% ;; Place elements on title page in document order? #f) docbook-dsssl-1.79/docsrc/printpr/tex-backend.sgm0000644000175000001440000000153010142563635022554 0ustar msmithusers00000000000000 tex-backend dbparam.dsl tex-backend Are we using the TeX backend? Synopsis tex-backend Description This parameter exists so that -V tex-backend can be used on the command line to explicitly select the TeX backend. Source Code (define tex-backend ;; Are we using the TeX backend? #f) docbook-dsssl-1.79/docsrc/printpr/top-margin.sgm0000644000175000001440000000203710142563635022447 0ustar msmithusers00000000000000 %top-margin% dbparam.dsl %top-margin% Height of top margin Synopsis %top-margin% Description The %top-margin% parameter specifies the height of the top margin of the page. Note that this setting is relative to the physical page, not the writing direction. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %top-margin% ;; Height of top margin (if (equal? %visual-acuity% "large-type") 7.5pi 6pi)) docbook-dsssl-1.79/docsrc/printpr/page-column-sep.sgm0000644000175000001440000000150510142563635023365 0ustar msmithusers00000000000000 %page-column-sep% dbparam.dsl %page-column-sep% Sets the width of the gutter between columns Synopsis %page-column-sep% Description Sets the width of the gutter between columns Source Code (define %page-column-sep% ;; Sets the width of the gutter between columns 0.5in) docbook-dsssl-1.79/docsrc/printpr/table-element-list.sgm0000644000175000001440000000155210142563635024062 0ustar msmithusers00000000000000 $table-element-list$ dbparam.dsl $table-element-list$ List of table element names Synopsis ($table-element-list$) Description The list of table elements in the DTD. Source Code (define ($table-element-list$) ;; List of table element names (list (normalize "table") (normalize "informaltable"))) docbook-dsssl-1.79/docsrc/printpr/generate-article-toc-on-titlepage.sgm0000644000175000001440000000215710142563635026761 0ustar msmithusers00000000000000 %generate-article-toc-on-titlepage% dbparam.dsl %generate-article-toc-on-titlepage% Should the Article TOC appear on the Article title page? Synopsis %generate-article-toc-on-titlepage% Description If true, the Article TOC will be placed on the Article title page. If false, the TOC will be placed on separate page(s) after the title page. If false, %generate-article-titlepage-on-separate-page% should be true. Source Code (define %generate-article-toc-on-titlepage% ;; Should the Article TOC appear on the Article title page? #t) docbook-dsssl-1.79/docsrc/printpr/page-n-columns.sgm0000644000175000001440000000145410142563635023221 0ustar msmithusers00000000000000 %page-n-columns% dbparam.dsl %page-n-columns% Sets the number of columns on each page Synopsis %page-n-columns% Description Sets the number of columns on each page Source Code (define %page-n-columns% ;; Sets the number of columns on each page 1) docbook-dsssl-1.79/docsrc/printpr/object-rule-thickness.sgm0000644000175000001440000000211610142563635024574 0ustar msmithusers00000000000000 %object-rule-thickness% dbparam.dsl %object-rule-thickness% Width of rules around formal and informal objects Synopsis %object-rule-thickness% Description Specifies the width of the rules drawn before and after an object. This only applies if the appropriate %*-rules% variable is #t. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %object-rule-thickness% ;; Width of rules around formal and informal objects 2pt) docbook-dsssl-1.79/docsrc/printpr/simplelist-column-width.sgm0000644000175000001440000000161210142563635025165 0ustar msmithusers00000000000000 %simplelist-column-width% dbparam.dsl %simplelist-column-width% Width of columns in tabular simple lists Synopsis %simplelist-column-width% Description If set to #f, the table will span the entire page width. Source Code (define %simplelist-column-width% ;; Width of columns in tabular simple lists #f) docbook-dsssl-1.79/docsrc/printpr/division-subtitle-quadding.sgm0000644000175000001440000000166210142563635025644 0ustar msmithusers00000000000000 %division-subtitle-quadding% dbparam.dsl %division-subtitle-quadding% Division subtitle quadding Synopsis %division-subtitle-quadding% Description The quadding of division-level subtitles (Set, Book, and Part). Source Code (define %division-subtitle-quadding% ;; Division subtitle quadding 'center) docbook-dsssl-1.79/docsrc/printpr/block-start-indent.sgm0000644000175000001440000000160310142563635024074 0ustar msmithusers00000000000000 %block-start-indent% dbparam.dsl %block-start-indent% Extra start-indent for block-elements Synopsis %block-start-indent% Description Block elements (tables, figures, verbatim environments, etc.) will be indented by the specified amount. Source Code (define %block-start-indent% ;; Extra start-indent for block-elements 0pt) docbook-dsssl-1.79/docsrc/printpr/generate-heading-level.sgm0000644000175000001440000000163110142563635024665 0ustar msmithusers00000000000000 %generate-heading-level% dbparam.dsl %generate-heading-level% Output RTF heading level characteristics? Synopsis %generate-heading-level% Description If true, component and section titles will have the heading-level characteristic in the RTF. Source Code (define %generate-heading-level% ;; Output RTF heading level characteristics? #t) docbook-dsssl-1.79/docsrc/printpr/ss-shift-factor.sgm0000644000175000001440000000163310142563635023407 0ustar msmithusers00000000000000 %ss-shift-factor% dbparam.dsl %ss-shift-factor% Super/subscript shift factor Synopsis %ss-shift-factor% Description When text is set as a subscript or superscript, it is set above or below the baseline by a factor of the current font size and %ss-shift-factor%. Source Code (define %ss-shift-factor% ;; Super/subscript shift factor 0.4) docbook-dsssl-1.79/docsrc/printpr/funcsynopsis-decoration.sgm0000644000175000001440000000200510142563635025255 0ustar msmithusers00000000000000 %funcsynopsis-decoration% dbparam.dsl %funcsynopsis-decoration% Decorate elements of a FuncSynopsis? Synopsis %funcsynopsis-decoration% Description If true, elements of the FuncSynopsis will be decorated (e.g. bold or italic). The decoration is controlled by functions that can be redefined in a customization layer. See edbsynop.dsl. Source Code (define %funcsynopsis-decoration% ;; Decorate elements of a FuncSynopsis? #t) docbook-dsssl-1.79/docsrc/printpr/informalequation-rules.sgm0000644000175000001440000000202610142563635025075 0ustar msmithusers00000000000000 %informalequation-rules% dbparam.dsl %informalequation-rules% Specify rules before and after an InformalEquation Synopsis %informalequation-rules% Description If #t, rules will be drawn before and after each InformalEquation. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %informalequation-rules% ;; Specify rules before and after an InformalEquation #f) docbook-dsssl-1.79/docsrc/printpr/component-subtitle-quadding.sgm0000644000175000001440000000171010142563635026014 0ustar msmithusers00000000000000 %component-subtitle-quadding% dbparam.dsl %component-subtitle-quadding% Component subtitle quadding Synopsis %component-subtitle-quadding% Description The quadding of component-level subtitles (Chapter, Appendix, Glossary, etc.). Source Code (define %component-subtitle-quadding% ;; Component subtitle quadding 'start) docbook-dsssl-1.79/docsrc/printpr/para-indent.sgm0000644000175000001440000000203710142563635022574 0ustar msmithusers00000000000000 %para-indent% dbparam.dsl %para-indent% First line start-indent for paragraphs (other than the first) Synopsis %para-indent% Description The %para-indent% is the amount of extra indentation that the first line of a paragraph should receive. This parameter applies only to the second and subsequent paragraphs in a section. See %para-indent-firstpara%. Source Code (define %para-indent% ;; First line start-indent for paragraphs (other than the first) 0pt) docbook-dsssl-1.79/docsrc/printpr/chap-app-running-heads.sgm0000644000175000001440000000166410142563635024630 0ustar msmithusers00000000000000 %chap-app-running-heads% dbparam.dsl %chap-app-running-heads% Generate running headers and footers on chapter-level elements? Synopsis %chap-app-running-heads% Description If true, running headers and footers are produced on chapter-level elements. Source Code (define %chap-app-running-heads% ;; Generate running headers and footers on chapter-level elements? #t) docbook-dsssl-1.79/docsrc/printpr/generate-reference-toc.sgm0000644000175000001440000000212010142563635024674 0ustar msmithusers00000000000000 %generate-reference-toc% dbparam.dsl %generate-reference-toc% Should a Table of Contents be produced for References? Synopsis %generate-reference-toc% Description If true, a Table of Contents will be generated for each Reference. Note: %generate-reference-toc-on-titlepage% controls whether the Reference TOC is placed on the bottom of the title page or on page(s) of its own. Source Code (define %generate-reference-toc% ;; Should a Table of Contents be produced for References? #f) docbook-dsssl-1.79/docsrc/printpr/equation-rules.sgm0000644000175000001440000000171610142563635023352 0ustar msmithusers00000000000000 %equation-rules% dbparam.dsl %equation-rules% Specify rules before and after an Equation Synopsis %equation-rules% Description If #t, rules will be drawn before and after each Equation. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %equation-rules% ;; Specify rules before and after an Equation #f) docbook-dsssl-1.79/docsrc/printpr/indent-literallayout-lines.sgm0000644000175000001440000000215310142563635025652 0ustar msmithusers00000000000000 %indent-literallayout-lines% dbparam.dsl %indent-literallayout-lines% Indent lines in a 'LiteralLayout'? Synopsis %indent-literallayout-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-literallayout-lines% ;; Indent lines in a 'LiteralLayout'? #f) docbook-dsssl-1.79/docsrc/printpr/guilabel-font-family.sgm0000644000175000001440000000230310142563635024375 0ustar msmithusers00000000000000 %guilabel-font-family% dbparam.dsl %guilabel-font-family% The font family used in GUI labels Synopsis %guilabel-font-family% Description The name of the font family used for text that represents text on a GUI (e.g., text in GUILabel, GUIMenu, etc.). (Arial by default). The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them). The values here work for the RTF backend under MS Windows. YMMV. Source Code (define %guilabel-font-family% ;; The font family used in GUI labels "Arial") docbook-dsssl-1.79/docsrc/printpr/informalexample-rules.sgm0000644000175000001440000000201510142563635024701 0ustar msmithusers00000000000000 %informalexample-rules% dbparam.dsl %informalexample-rules% Specify rules before and after an InformalExample Synopsis %informalexample-rules% Description If #t, rules will be drawn before and after each InformalExample. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %informalexample-rules% ;; Specify rules before and after an InformalExample #f) docbook-dsssl-1.79/docsrc/printpr/always-format-variablelist-as-table.sgm0000644000175000001440000000260610142563635027327 0ustar msmithusers00000000000000 %always-format-variablelist-as-table% dbparam.dsl %always-format-variablelist-as-table% Always format VariableLists as tables? Synopsis %always-format-variablelist-as-table% Description When a VariableList is formatted, if any of the terms in the list are too long, the whole list is formatted as a list. If %always-format-variablelist-as-table% is #t, the VariableList will be formatted as a table, even if some terms are too long. The terms that are too long will format span above their associated description. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %always-format-variablelist-as-table% ;; Always format VariableLists as tables? #f) docbook-dsssl-1.79/docsrc/printpr/default-quadding.sgm0000644000175000001440000000156510142563635023615 0ustar msmithusers00000000000000 %default-quadding% dbparam.dsl %default-quadding% The default quadding Synopsis %default-quadding% Description The default quadding (start, center, justify, or end). Source Code (define %default-quadding% ;; The default quadding 'start) docbook-dsssl-1.79/docsrc/printpr/number-literallayout-lines.sgm0000644000175000001440000000210210142563635025653 0ustar msmithusers00000000000000 %number-literallayout-lines% dbparam.dsl %number-literallayout-lines% Enumerate lines in a 'LiteralLayout'? Synopsis %number-literallayout-lines% Description If true, lines in each LiteralLayout will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-literallayout-lines% ;; Enumerate lines in a 'LiteralLayout'? #f) docbook-dsssl-1.79/docsrc/printpr/show-comments.sgm0000644000175000001440000000172510142563635023200 0ustar msmithusers00000000000000 %show-comments% dbparam.dsl %show-comments% Display Comment elements? Synopsis %show-comments% Description If true, comments will be displayed, otherwise they are suppressed. Comments here refers to the Comment element, which will be renamed Remark in DocBook V4.0, not SGML/XML comments which are unavailable. Source Code (define %show-comments% ;; Display Comment elements? #t) docbook-dsssl-1.79/docsrc/printpr/informaltable-rules.sgm0000644000175000001440000000177310142563635024347 0ustar msmithusers00000000000000 %informaltable-rules% dbparam.dsl %informaltable-rules% Specify rules before and after an InformalTable Synopsis %informaltable-rules% Description If #t, rules will be drawn before and after each InformalTable. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %informaltable-rules% ;; Specify rules before and after an InformalTable #f) docbook-dsssl-1.79/docsrc/printpr/page-width.sgm0000644000175000001440000000326610142563635022430 0ustar msmithusers00000000000000 %page-width% dbparam.dsl %page-width% Specifies the page width Synopsis %page-width% Description Identifies the width of the page (length in the writing direction). It is usually controlled by the %paper-type% parameter. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %page-width% ;; Specifies the page width (case %paper-type% (("A4landscape") 297mm) (("USletter") 8.5in) (("USlandscape") 11in) (("4A0") 1682mm) (("2A0") 1189mm) (("A0") 841mm) (("A1") 594mm) (("A2") 420mm) (("A3") 297mm) (("A4") 210mm) (("A5") 148mm) (("A6") 105mm) (("A7") 74mm) (("A8") 52mm) (("A9") 37mm) (("A10") 26mm) (("B0") 1000mm) (("B1") 707mm) (("B2") 500mm) (("B3") 353mm) (("B4") 250mm) (("B5") 176mm) (("B6") 125mm) (("B7") 88mm) (("B8") 62mm) (("B9") 44mm) (("B10") 31mm) (("C0") 917mm) (("C1") 648mm) (("C2") 458mm) (("C3") 324mm) (("C4") 229mm) (("C5") 162mm) (("C6") 114mm) (("C7") 81mm) (("C8") 57mm) (("C9") 40mm) (("C10") 28mm))) docbook-dsssl-1.79/docsrc/printpr/writing-mode.sgm0000644000175000001440000000147210142563635023001 0ustar msmithusers00000000000000 %writing-mode% dbparam.dsl %writing-mode% The writing mode Synopsis %writing-mode% Description The writing mode is either left-to-right, or right-to-left. Source Code (define %writing-mode% ;; The writing mode 'left-to-right) docbook-dsssl-1.79/docsrc/printpr/generate-set-toc.sgm0000644000175000001440000000156410142563635023544 0ustar msmithusers00000000000000 %generate-set-toc% dbparam.dsl %generate-set-toc% Should a Table of Contents be produced for Sets? Synopsis %generate-set-toc% Description If true, a Table of Contents will be generated for each Set. Source Code (define %generate-set-toc% ;; Should a Table of Contents be produced for Sets? #f) docbook-dsssl-1.79/docsrc/printpr/mif-backend.sgm0000644000175000001440000000153010142563635022527 0ustar msmithusers00000000000000 mif-backend dbparam.dsl mif-backend Are we using the MIF backend? Synopsis mif-backend Description This parameter exists so that -V mif-backend can be used on the command line to explicitly select the MIF backend. Source Code (define mif-backend ;; Are we using the MIF backend? #f) docbook-dsssl-1.79/docsrc/printpr/text-width.sgm0000644000175000001440000000166710142563635022503 0ustar msmithusers00000000000000 %text-width% dbparam.dsl %text-width% Specifies the width of the body column Synopsis %text-width% Description Identifies the width of the page on which text may occur. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %text-width% ;; Specifies the width of the body column (- %page-width% (+ %left-margin% %right-margin%))) docbook-dsssl-1.79/docsrc/printpr/line-spacing-factor.sgm0000644000175000001440000000202110142563635024210 0ustar msmithusers00000000000000 %line-spacing-factor% dbparam.dsl %line-spacing-factor% Factor used to calculate leading Synopsis %line-spacing-factor% Description The leading is calculated by multiplying the current font size by the %line-spacing-factor%. For example, if the font size is 10pt and the %line-spacing-factor% is 1.1, then the text will be printed "10-on-11". Source Code (define %line-spacing-factor% ;; Factor used to calculate leading 1.3) docbook-dsssl-1.79/docsrc/printpr/right-margin.sgm0000644000175000001440000000163110142563635022761 0ustar msmithusers00000000000000 %right-margin% dbparam.dsl %right-margin% Width of the right margin Synopsis %right-margin% Description The %right-margin% parameter specifies the width of the right margin of the page. Note that this setting is relative to the physical page, not the writing direction. Source Code (define %right-margin% ;; Width of the right margin 6pi) docbook-dsssl-1.79/docsrc/printpr/refentry-xref-manvolnum.sgm0000644000175000001440000000167210142563635025210 0ustar msmithusers00000000000000 %refentry-xref-manvolnum% dbparam.dsl %refentry-xref-manvolnum% Output manvolnum as part of RefEntry cross-reference? Synopsis %refentry-xref-manvolnum% Description If true, the manvolnum is used when cross-referencing RefEntrys, either with XRef or CiteRefEntry. Source Code (define %refentry-xref-manvolnum% ;; Output manvolnum as part of RefEntry cross-reference? #t) docbook-dsssl-1.79/docsrc/printpr/informalfigure-rules.sgm0000644000175000001440000000200410142563635024525 0ustar msmithusers00000000000000 %informalfigure-rules% dbparam.dsl %informalfigure-rules% Specify rules before and after an InformalFigure Synopsis %informalfigure-rules% Description If #t, rules will be drawn before and after each InformalFigure. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %informalfigure-rules% ;; Specify rules before and after an InformalFigure #f) docbook-dsssl-1.79/docsrc/printpr/section-autolabel.sgm0000644000175000001440000000145210142563635024004 0ustar msmithusers00000000000000 %section-autolabel% dbparam.dsl %section-autolabel% Are sections enumerated? Synopsis %section-autolabel% Description If true, unlabeled sections will be enumerated. Source Code (define %section-autolabel% ;; Are sections enumerated? #f) docbook-dsssl-1.79/docsrc/printpr/admon-font-family.sgm0000644000175000001440000000213310142563635023710 0ustar msmithusers00000000000000 %admon-font-family% dbparam.dsl %admon-font-family% The font family used in admonitions Synopsis %admon-font-family% Description The name of the font family used for body text in admonitions (Arial by default). The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them). The values here work for the RTF backend under MS Windows. YMMV. Source Code (define %admon-font-family% ;; The font family used in admonitions "Arial") docbook-dsssl-1.79/docsrc/printpr/example-rules.sgm0000644000175000001440000000170510142563635023156 0ustar msmithusers00000000000000 %example-rules% dbparam.dsl %example-rules% Specify rules before and after an Example Synopsis %example-rules% Description If #t, rules will be drawn before and after each Example. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %example-rules% ;; Specify rules before and after an Example #f) docbook-dsssl-1.79/docsrc/printpr/article-subtitle-quadding.sgm0000644000175000001440000000152410142563635025440 0ustar msmithusers00000000000000 %article-subtitle-quadding% dbparam.dsl %article-subtitle-quadding% Article subtitle quadding Synopsis %article-subtitle-quadding% Description The quadding of article subtitles. Source Code (define %article-subtitle-quadding% ;; Article subtitle quadding 'center) docbook-dsssl-1.79/docsrc/printpr/image-library.sgm0000644000175000001440000000161110142563635023113 0ustar msmithusers00000000000000 image-library dbparam.dsl image-library Load image library database for additional info about images? Synopsis image-library Description If true, an image library database is loaded and extra information about web graphics is retrieved from it. Source Code (define image-library ;; Load image library database for additional info about images? #f) docbook-dsssl-1.79/docsrc/printpr/default-variablelist-termlength.sgm0000644000175000001440000000246010142563635026644 0ustar msmithusers00000000000000 %default-variablelist-termlength% dbparam.dsl %default-variablelist-termlength% Default term length on variablelists Synopsis %default-variablelist-termlength% Description When formatting a VariableList, this value is used as the default term length, if no TermLength is specified. If all of the terms in a list shorter than the term length, the stylesheet may format them "side-by-side" in a table if may-format-variablelist-as-table is #t. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %default-variablelist-termlength% ;; Default term length on variablelists 20) docbook-dsssl-1.79/docsrc/printpr/para-indent-firstpara.sgm0000644000175000001440000000210210142563635024556 0ustar msmithusers00000000000000 %para-indent-firstpara% dbparam.dsl %para-indent-firstpara% First line start-indent for the first paragraph Synopsis %para-indent-firstpara% Description The %para-indent-firstpara% is the amount of extra indentation that the first line of the first paragraph of a section should receive. This parameter is frequently 0pt even when %para-indent% is not. Source Code (define %para-indent-firstpara% ;; First line start-indent for the first paragraph 0pt) docbook-dsssl-1.79/docsrc/printpr/chapter-autolabel.sgm0000644000175000001440000000144010142563635023763 0ustar msmithusers00000000000000 %chapter-autolabel% dbparam.dsl %chapter-autolabel% Are chapters enumerated? Synopsis %chapter-autolabel% Description If true, chapters will be enumerated. Source Code (define %chapter-autolabel% ;; Are chapters enumerated? #t) docbook-dsssl-1.79/docsrc/printpr/header-margin.sgm0000644000175000001440000000207710142563635023101 0ustar msmithusers00000000000000 %header-margin% dbparam.dsl %header-margin% Height of header margin Synopsis %header-margin% Description The %header-margin% parameter specifies the heigth of the header margin of the page. Note that this setting is relative to the physical page, not the writing direction. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %header-margin% ;; Height of header margin (if (equal? %visual-acuity% "large-type") 5.5pi 4pi)) docbook-dsssl-1.79/docsrc/printpr/refentry-keep.sgm0000644000175000001440000000174110142563635023153 0ustar msmithusers00000000000000 %refentry-keep% dbparam.dsl %refentry-keep% Keep RefEntrys together? Synopsis %refentry-keep% Description Refentry keep indicates how the stylesheet should attempt to keep each RefEntry. Common values are #t, for the smallest possible area, page for the same page, and #f to ignore this characteristic. Source Code (define %refentry-keep% ;; Keep RefEntrys together? #t) docbook-dsssl-1.79/docsrc/printpr/generate-reference-toc-on-titlepage.sgm0000644000175000001440000000207610142563635027274 0ustar msmithusers00000000000000 %generate-reference-toc-on-titlepage% dbparam.dsl %generate-reference-toc-on-titlepage% Should the Reference TOC appear on the Reference title page? Synopsis %generate-reference-toc-on-titlepage% Description If true, the Reference TOC will be placed on the Reference title page. If false, the TOC will be placed on separate page(s) after the title page. Source Code (define %generate-reference-toc-on-titlepage% ;; Should the Reference TOC appear on the Reference title page? #t) docbook-dsssl-1.79/docsrc/printpr/two-side.sgm0000644000175000001440000000157710142563635022135 0ustar msmithusers00000000000000 %two-side% dbparam.dsl %two-side% Is two-sided output being produced? Synopsis %two-side% Description If %two-side% is true, headers and footers are alternated so that the "outer" and "inner" headers will be correctly placed in the bound document. Source Code (define %two-side% ;; Is two-sided output being produced? #f) docbook-dsssl-1.79/docsrc/printpr/formal-object-float.sgm0000644000175000001440000000160610142563635024222 0ustar msmithusers00000000000000 formal-object-float dbparam.dsl formal-object-float Do formal objects float? Synopsis formal-object-float Description If #t, formal objects will float if floating is supported by the backend. At present, only the TeX backend supports floats. Source Code (define formal-object-float ;; Do formal objects float? #f) docbook-dsssl-1.79/docsrc/printpr/default-title-end-punct.sgm0000644000175000001440000000162610142563635025033 0ustar msmithusers00000000000000 %default-title-end-punct% dbparam.dsl %default-title-end-punct% Default punctuation at the end of a run-in head. Synopsis %default-title-end-punct% Description The punctuation used at the end of a run-in head (e.g. on FORMALPARA). Source Code (define %default-title-end-punct% ;; Default punctuation at the end of a run-in head. ".") docbook-dsssl-1.79/docsrc/printpr/indent-address-lines.sgm0000644000175000001440000000207310142563635024406 0ustar msmithusers00000000000000 %indent-address-lines% dbparam.dsl %indent-address-lines% Indent lines in a 'Address'? Synopsis %indent-address-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-address-lines% ;; Indent lines in a 'Address'? #f) docbook-dsssl-1.79/docsrc/printpr/default-backend.sgm0000644000175000001440000000205510142563635023403 0ustar msmithusers00000000000000 default-backend dbparam.dsl default-backend What is the default backend? Synopsis default-backend Description This parameter sets the default backend. Selecting an explicit backend enables features specific to that backend (if there are any). The legal values are rtf, tex, mif, and #f. Using #f implies that no special features are used. Source Code (define default-backend ;; What is the default backend? #f) docbook-dsssl-1.79/docsrc/printpr/head-before-factor.sgm0000644000175000001440000000166010142563635024010 0ustar msmithusers00000000000000 %head-before-factor% dbparam.dsl %head-before-factor% Factor used to calculate space above a title Synopsis %head-before-factor% Description The space before a title is calculated by multiplying the font size used in the title by the %head-before-factor%. Source Code (define %head-before-factor% ;; Factor used to calculate space above a title 0.75) docbook-dsssl-1.79/docsrc/printpr/page-height.sgm0000644000175000001440000000332310142563635022553 0ustar msmithusers00000000000000 %page-height% dbparam.dsl %page-height% Specifies the page height Synopsis %page-height% Description Identifies the height of the page (length perpendicular to the writing direction). It is usually controlled by the %paper-type% parameter. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %page-height% ;; Specifies the page height (case %paper-type% (("A4landscape") 210mm) (("USletter") 11in) (("USlandscape") 8.5in) (("4A0") 2378mm) (("2A0") 1682mm) (("A0") 1189mm) (("A1") 841mm) (("A2") 594mm) (("A3") 420mm) (("A4") 297mm) (("A5") 210mm) (("A6") 148mm) (("A7") 105mm) (("A8") 74mm) (("A9") 52mm) (("A10") 37mm) (("B0") 1414mm) (("B1") 1000mm) (("B2") 707mm) (("B3") 500mm) (("B4") 353mm) (("B5") 250mm) (("B6") 176mm) (("B7") 125mm) (("B8") 88mm) (("B9") 62mm) (("B10") 44mm) (("C0") 1297mm) (("C1") 917mm) (("C2") 648mm) (("C3") 458mm) (("C4") 324mm) (("C5") 229mm) (("C6") 162mm) (("C7") 114mm) (("C8") 81mm) (("C9") 57mm) (("C10") 40mm))) docbook-dsssl-1.79/docsrc/printpr/kr-funcsynopsis-indent.sgm0000644000175000001440000000206110142563635025023 0ustar msmithusers00000000000000 %kr-funcsynopsis-indent% dbparam.dsl %kr-funcsynopsis-indent% Indent-depth in KR-style function synopses Synopsis %kr-funcsynopsis-indent% Description If the %funcsynopsis-style% is kr, %kr-funcsynopsis-indent% specifies the amount by which parameter definitions should be indented under the function prototype. Source Code (define %kr-funcsynopsis-indent% ;; Indent-depth in KR-style function synopses 1pi) docbook-dsssl-1.79/docsrc/printpr/firstterm-bold.sgm0000644000175000001440000000150210142563635023323 0ustar msmithusers00000000000000 firstterm-bold dbparam.dsl firstterm-bold Make FIRSTTERM elements bold? Synopsis firstterm-bold Description If #t, FIRSTTERMs will be bold, to distinguish them from simple GLOSSTERMs. Source Code (define firstterm-bold ;; Make FIRSTTERM elements bold? #f) docbook-dsssl-1.79/docsrc/printpr/figure-rules.sgm0000644000175000001440000000167410142563635023011 0ustar msmithusers00000000000000 %figure-rules% dbparam.dsl %figure-rules% Specify rules before and after an Figure Synopsis %figure-rules% Description If #t, rules will be drawn before and after each Figure. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %figure-rules% ;; Specify rules before and after an Figure #f) docbook-dsssl-1.79/docsrc/printpr/generate-reference-titlepage.sgm0000644000175000001440000000165710142563635026103 0ustar msmithusers00000000000000 %generate-reference-titlepage% dbparam.dsl %generate-reference-titlepage% Should a reference title page be produced? Synopsis %generate-reference-titlepage% Description If true, a title page will be generated for each Reference. Source Code (define %generate-reference-titlepage% ;; Should a reference title page be produced? #t) docbook-dsssl-1.79/docsrc/printpr/X25blockquote-end-indentX25.sgm0000644000175000001440000000154010142563635025361 0ustar msmithusers00000000000000 %blockquote-end-indent% dbparam.dsl %blockquote-end-indent% no documented purpose Synopsis %blockquote-end-indent% Source Code (define %blockquote-end-indent% ;; PURP Default indent of blockquoted text ;; DESC ;; The default end (usually right) indent of blockquoted text. ;; /DESC ;; AUTHOR Ola Lundqvist ;; /REFENTRY 1em) docbook-dsssl-1.79/docsrc/printpr/head-after-factor.sgm0000644000175000001440000000164710142563635023654 0ustar msmithusers00000000000000 %head-after-factor% dbparam.dsl %head-after-factor% Factor used to calculate space below a title Synopsis %head-after-factor% Description The space after a title is calculated by multiplying the font size used in the title by the %head-after-factor%. Source Code (define %head-after-factor% ;; Factor used to calculate space below a title 0.5) docbook-dsssl-1.79/docsrc/printpr/generate-article-toc.sgm0000644000175000001440000000163010142563635024366 0ustar msmithusers00000000000000 %generate-article-toc% dbparam.dsl %generate-article-toc% Should a Table of Contents be produced for Articles? Synopsis %generate-article-toc% Description If true, a Table of Contents will be generated for each Article. Source Code (define %generate-article-toc% ;; Should a Table of Contents be produced for Articles? #f) docbook-dsssl-1.79/docsrc/printpr/default-simplesect-level.sgm0000644000175000001440000000207310142563635025271 0ustar msmithusers00000000000000 %default-simplesect-level% dbparam.dsl %default-simplesect-level% Default section level for 'SimpleSect's. Synopsis %default-simplesect-level% Description If SimpleSects appear inside other section-level elements, they are rendered at the appropriate section level, but if they appear in a component-level element, they are rendered at %default-simplesect-level%. Source Code (define %default-simplesect-level% ;; Default section level for 'SimpleSect's. 4) docbook-dsssl-1.79/docsrc/printpr/linenumber-padchar.sgm0000644000175000001440000000156210142563635024134 0ustar msmithusers00000000000000 %linenumber-padchar% dbparam.dsl %linenumber-padchar% Pad character in line numbers Synopsis %linenumber-padchar% Description Line numbers will be padded (on the left) with %linenumber-padchar%. Source Code (define %linenumber-padchar% ;; Pad character in line numbers "\no-break-space;") docbook-dsssl-1.79/docsrc/printpr/generate-book-titlepage.sgm0000644000175000001440000000160110142563635025064 0ustar msmithusers00000000000000 %generate-book-titlepage% dbparam.dsl %generate-book-titlepage% Should a book title page be produced? Synopsis %generate-book-titlepage% Description If true, a title page will be generated for each Book. Source Code (define %generate-book-titlepage% ;; Should a book title page be produced? #t) docbook-dsssl-1.79/docsrc/printpr/generate-part-toc-on-titlepage.sgm0000644000175000001440000000201110142563635026271 0ustar msmithusers00000000000000 %generate-part-toc-on-titlepage% dbparam.dsl %generate-part-toc-on-titlepage% Should the Part TOC appear on the Part title page? Synopsis %generate-part-toc-on-titlepage% Description If true, the Part TOC will be placed on the Part title page. If false, the TOC will be placed on separate page(s) after the Part title page. Source Code (define %generate-part-toc-on-titlepage% ;; Should the Part TOC appear on the Part title page? #t) docbook-dsssl-1.79/docsrc/printpr/table-title-font-weight.sgm0000644000175000001440000000157610142563635025040 0ustar msmithusers00000000000000 %table-title-font-weight% dbparam.dsl %table-title-font-weight% Table title font weight Synopsis %table-title-font-weight% Description Specifies the title font weight (i.e., bold or medium) of the formal tables. Source Code (define %table-title-font-weight% ;; Table title font weight 'bold) docbook-dsssl-1.79/docsrc/printpr/para-sep.sgm0000644000175000001440000000152210142563635022100 0ustar msmithusers00000000000000 %para-sep% dbparam.dsl %para-sep% Distance between paragraphs Synopsis %para-sep% Description The %para-sep% is the distance between the last line of one paragraph and the first line of the next. Source Code (define %para-sep% ;; Distance between paragraphs (/ %bf-size% 2.0)) docbook-dsssl-1.79/docsrc/printpr/show-ulinks.sgm0000644000175000001440000000161010142563635022651 0ustar msmithusers00000000000000 %show-ulinks% dbparam.dsl %show-ulinks% Display URLs after ULinks? Synopsis %show-ulinks% Description If true, the URL of each ULink will appear in parenthesis after the text of the link. If the text of the link and the URL are identical, the parenthetical URL is suppressed. Source Code (define %show-ulinks% ;; Display URLs after ULinks? #t) docbook-dsssl-1.79/docsrc/printpr/generate-book-toc.sgm0000644000175000001440000000157510142563635023705 0ustar msmithusers00000000000000 %generate-book-toc% dbparam.dsl %generate-book-toc% Should a Table of Contents be produced for Books? Synopsis %generate-book-toc% Description If true, a Table of Contents will be generated for each Book. Source Code (define %generate-book-toc% ;; Should a Table of Contents be produced for Books? #t) docbook-dsssl-1.79/docsrc/printpr/generate-set-titlepage.sgm0000644000175000001440000000157010142563635024732 0ustar msmithusers00000000000000 %generate-set-titlepage% dbparam.dsl %generate-set-titlepage% Should a set title page be produced? Synopsis %generate-set-titlepage% Description If true, a title page will be generated for each Set. Source Code (define %generate-set-titlepage% ;; Should a set title page be produced? #t) docbook-dsssl-1.79/docsrc/printpr/footnote-ulinks.sgm0000644000175000001440000000172010142563635023530 0ustar msmithusers00000000000000 %footnote-ulinks% dbparam.dsl %footnote-ulinks% Generate footnotes for ULinks? Synopsis %footnote-ulinks% Description If true, the URL of each ULink will appear as a footnote. Processing ULinks this way may be very, very slow. It requires walking over every descendant of every component in order to count both ulinks and footnotes. Source Code (define %footnote-ulinks% ;; Generate footnotes for ULinks? #f) docbook-dsssl-1.79/docsrc/printpr/print-backend.sgm0000644000175000001440000000222210142563635023107 0ustar msmithusers00000000000000 print-backend dbparam.dsl print-backend Returns the backend that is being used to format the document Synopsis (print-backend) Description This parameter controls features in the stylesheet that are backend specific. The legal values are rtf, tex, mif, and #f. Using #f implies that no special features are used. Source Code (define (print-backend) ;; Returns the backend that is being used to format the document (cond (tex-backend 'tex) (mif-backend 'mif) (rtf-backend 'rtf) (else default-backend))) docbook-dsssl-1.79/docsrc/printpr/division-title-quadding.sgm0000644000175000001440000000162710142563635025133 0ustar msmithusers00000000000000 %division-title-quadding% dbparam.dsl %division-title-quadding% Division title quadding Synopsis %division-title-quadding% Description The quadding of division-level titles (Set, Book, and Part). Source Code (define %division-title-quadding% ;; Division title quadding 'center) docbook-dsssl-1.79/docsrc/printpr/generate-article-ttlpg-on-sep-page.sgm0000644000175000001440000000202310142563635027041 0ustar msmithusers00000000000000 %generate-article-titlepage-on-separate-page% dbparam.dsl %generate-article-titlepage-on-separate-page% Should the article title page be on a separate page? Synopsis %generate-article-titlepage-on-separate-page% Description If true, the title page for each Article will occur on its own page. Source Code (define %generate-article-titlepage-on-separate-page% ;; Should the article title page be on a separate page? #f) docbook-dsssl-1.79/docsrc/printpr/admon-graphics-path.sgm0000644000175000001440000000166110142563635024222 0ustar msmithusers00000000000000 %admon-graphics-path% dbparam.dsl %admon-graphics-path% Path to admonition graphics Synopsis %admon-graphics-path% Description Sets the path, probably relative to the directory where the HTML files are created, to the admonition graphics. Must include trailing directory separator. Source Code (define %admon-graphics-path% ;; Path to admonition graphics "../images/") docbook-dsssl-1.79/docsrc/printpr/number-address-lines.sgm0000644000175000001440000000201410142563635024410 0ustar msmithusers00000000000000 %number-address-lines% dbparam.dsl %number-address-lines% Enumerate lines in a 'Address'? Synopsis %number-address-lines% Description If true, lines in each Address will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-address-lines% ;; Enumerate lines in a 'Address'? #f) docbook-dsssl-1.79/docsrc/printpr/verbatim-size-factor.sgm0000644000175000001440000000233410142563635024427 0ustar msmithusers00000000000000 %verbatim-size-factor% dbparam.dsl %verbatim-size-factor% Verbatim font scaling factor Synopsis %verbatim-size-factor% Description When a monospace font is selected, the current font size is multiplied by the %verbatim-size-factor%. If %verbatim-size-factor% is #f, no scaling is performed (Well, thats not precisely true. In $verbatim-display$ environments, the font size is calculated with respect to the longest line in the display, if %verbatim-size-factor% is #f'). Source Code (define %verbatim-size-factor% ;; Verbatim font scaling factor 0.9) docbook-dsssl-1.79/docsrc/printpr/filter-used.sgm0000644000175000001440000000260010142563635022611 0ustar msmithusers00000000000000 biblio-filter-used dbparam.dsl biblio-filter-used Suppress unreferenced bibliography entries Synopsis biblio-filter-used Description If true, bibliography entries which are not cited are suppressed. A biblioentry is cited if an XREF or LINK matches its ID, or if a CITE element matches its ID, XREFLABEL, or leading ABBREV. A BIBLIOGRAPHY with no entries will still be output (making a whole component conditional would be _A LOT_ of work and seems unnecessary), but BIBLIDIVs with no entries will be suppressed. This setting may have significant performance implications, hence it is false by default. (This option can conveniently be set with -V biblio-filter-used on the Jade command line). Source Code (define biblio-filter-used ;; Suppress unreferenced bibliography entries #f) docbook-dsssl-1.79/docsrc/printpr/footnote-size-factor.sgm0000644000175000001440000000174710142563635024462 0ustar msmithusers00000000000000 %footnote-size-factor% dbparam.dsl %footnote-size-factor% Footnote font scaling factor Synopsis %footnote-size-factor% Description When printing footnotes, the current font size is multiplied by the %footnote-size-factor%. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %footnote-size-factor% ;; Footnote font scaling factor 0.9) docbook-dsssl-1.79/docsrc/printpr/biblio-xref-title.sgm0000644000175000001440000000175610142563635023722 0ustar msmithusers00000000000000 biblio-xref-title dbparam.dsl biblio-xref-title Use the titles of bibliography entries in XREFs Synopsis biblio-xref-title Description If true, cross references to bibliography entries will use the title of the entry as the cross reference text. Otherwise, either the number (see biblio-number) or XREFLABEL/ABBREV will be used. Source Code (define biblio-xref-title ;; Use the titles of bibliography entries in XREFs #f) docbook-dsssl-1.79/docsrc/printpr/footer-margin.sgm0000644000175000001440000000200010142563635023131 0ustar msmithusers00000000000000 %footer-margin% dbparam.dsl %footer-margin% Height of footer margin Synopsis %footer-margin% Description The %footer-margin% parameter specifies the height of the footer margin of the page. Note that this setting is relative to the physical page, not the writing direction. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %footer-margin% ;; Height of footer margin 4pi) docbook-dsssl-1.79/docsrc/printpr/smaller-size-factor.sgm0000644000175000001440000000176410142563635024263 0ustar msmithusers00000000000000 %smaller-size-factor% dbparam.dsl %smaller-size-factor% Smaller font scaling factor Synopsis %smaller-size-factor% Description In environments that are usually set with a slightly smaller font size, for example block quotations, the stylesheet calculates the smaller font size by muliplying the current font size by %smaller-size-factor%. Source Code (define %smaller-size-factor% ;; Smaller font scaling factor 0.9) docbook-dsssl-1.79/docsrc/printpr/hyphenation.sgm0000644000175000001440000000204110142563635022713 0ustar msmithusers00000000000000 %hyphenation% dbparam.dsl %hyphenation% Allow automatic hyphenation? Synopsis %hyphenation% Description The %hyphenation% parameter indicates whether or not the backend should allow automatic hyphention of text, for example in paragraphs. The default value, #f, indicates that it should not. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %hyphenation% ;; Allow automatic hyphenation? #f) docbook-dsssl-1.79/docsrc/printpr/linenumber-mod.sgm0000644000175000001440000000155610142563635023314 0ustar msmithusers00000000000000 %linenumber-mod% dbparam.dsl %linenumber-mod% Controls line-number frequency in enumerated environments. Synopsis %linenumber-mod% Description Every %linenumber-mod% line will be enumerated. Source Code (define %linenumber-mod% ;; Controls line-number frequency in enumerated environments. 5) docbook-dsssl-1.79/docsrc/printpr/funcsynopsis-style.sgm0000644000175000001440000000201710142563635024271 0ustar msmithusers00000000000000 %funcsynopsis-style% dbparam.dsl %funcsynopsis-style% What style of 'FuncSynopsis' should be generated? Synopsis %funcsynopsis-style% Description If %funcsynopsis-style% is ansi, ANSI-style function synopses are generated for a FuncSynopsis, otherwise KR-style function synopses are generated. Source Code (define %funcsynopsis-style% ;; What style of 'FuncSynopsis' should be generated? 'ansi) docbook-dsssl-1.79/docsrc/printpr/table-rules.sgm0000644000175000001440000000166310142563635022615 0ustar msmithusers00000000000000 %table-rules% dbparam.dsl %table-rules% Specify rules before and after an Table Synopsis %table-rules% Description If #t, rules will be drawn before and after each Table. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %table-rules% ;; Specify rules before and after an Table #f) docbook-dsssl-1.79/docsrc/printpr/refentry-generate-name.sgm0000644000175000001440000000162010142563635024733 0ustar msmithusers00000000000000 %refentry-generate-name% dbparam.dsl %refentry-generate-name% Output NAME header before 'RefName'(s)? Synopsis %refentry-generate-name% Description If true, a "NAME" section title is output before the list of RefNames. Source Code (define %refentry-generate-name% ;; Output NAME header before 'RefName'(s)? #t) docbook-dsssl-1.79/docsrc/printpr/mono-font-family.sgm0000644000175000001440000000216110142563635023563 0ustar msmithusers00000000000000 %mono-font-family% dbparam.dsl %mono-font-family% The font family used in verbatim environments Synopsis %mono-font-family% Description The name of the font family used in verbatim environments (Courier New by default). The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them). The values here work for the RTF backend under MS Windows. YMMV. Source Code (define %mono-font-family% ;; The font family used in verbatim environments "Courier New") docbook-dsssl-1.79/docsrc/printpr/generate-book-lot-list.sgm0000644000175000001440000000244210142563635024661 0ustar msmithusers00000000000000 $generate-book-lot-list$ dbparam.dsl $generate-book-lot-list$ Which Lists of Titles should be produced for Books? Synopsis ($generate-book-lot-list$) Description This parameter should be a list (possibly empty) of the elements for which Lists of Titles should be produced for each Book. It is meaningless to put elements that do not have titles in this list. If elements with optional titles are placed in this list, only the instances of those elements that do have titles will appear in the LOT. Source Code (define ($generate-book-lot-list$) ;; Which Lists of Titles should be produced for Books? (list (normalize "table") (normalize "figure") (normalize "example") (normalize "equation"))) docbook-dsssl-1.79/docsrc/printpr/linenumber-length.sgm0000644000175000001440000000157310142563635024015 0ustar msmithusers00000000000000 %linenumber-length% dbparam.dsl %linenumber-length% Width of line numbers in enumerated environments Synopsis %linenumber-length% Description Line numbers will be padded to %linenumber-length% characters. Source Code (define %linenumber-length% ;; Width of line numbers in enumerated environments 3) docbook-dsssl-1.79/docsrc/printpr/othername-in-middle.sgm0000644000175000001440000000173310142563635024216 0ustar msmithusers00000000000000 %author-othername-in-middle% dbparam.dsl %author-othername-in-middle% Author OTHERNAME appears between FIRSTNAME and SURNAME? Synopsis %author-othername-in-middle% Description If true, the OTHERNAME of an AUTHOR appears between the FIRSTNAME and SURNAME. Otherwise, OTHERNAME is suppressed. Source Code (define %author-othername-in-middle% ;; Author OTHERNAME appears between FIRSTNAME and SURNAME? #t) docbook-dsssl-1.79/docsrc/printpr/component-title-quadding.sgm0000644000175000001440000000165510142563635025312 0ustar msmithusers00000000000000 %component-title-quadding% dbparam.dsl %component-title-quadding% Component title quadding Synopsis %component-title-quadding% Description The quadding of component-level titles (Chapter, Appendix, Glossary, etc.). Source Code (define %component-title-quadding% ;; Component title quadding 'start) docbook-dsssl-1.79/docsrc/printpr/epigraph-end-indent.sgm0000644000175000001440000000166610142563635024223 0ustar msmithusers00000000000000 %epigraph-end-indent% dbparam.dsl %epigraph-end-indent% Specified the right indent of epigraphs. Synopsis %epigraph-end-indent% Description The right indent of a epigraph. Default none. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %epigraph-end-indent% ;; Specified the right indent of epigraphs. 0pt) docbook-dsssl-1.79/docsrc/printpr/graphic-extensions.sgm0000644000175000001440000000215510142563635024205 0ustar msmithusers00000000000000 %graphic-extensions% dbparam.dsl %graphic-extensions% List of graphic filename extensions Synopsis %graphic-extensions% Description The list of extensions which may appear on a fileref on a Graphic which are indicative of graphic formats. Filenames that end in one of these extensions will not have the %graphic-default-extension% added to them. Source Code (define %graphic-extensions% ;; List of graphic filename extensions '("eps" "epsf" "gif" "tif" "tiff" "jpg" "jpeg" "png" "pdf")) docbook-dsssl-1.79/docsrc/printpr/admon-graphics.sgm0000644000175000001440000000156110142563635023267 0ustar msmithusers00000000000000 %admon-graphics% dbparam.dsl %admon-graphics% Use graphics in admonitions? Synopsis %admon-graphics% Description If true, admonitions are presented in an alternate style that uses a graphic. Default graphics are provided in the distribution. Source Code (define %admon-graphics% ;; Use graphics in admonitions? #f) docbook-dsssl-1.79/docsrc/printpr/refentry-new-page.sgm0000644000175000001440000000150610142563635023731 0ustar msmithusers00000000000000 %refentry-new-page% dbparam.dsl %refentry-new-page% 'RefEntry' starts on new page? Synopsis %refentry-new-page% Description If true, each RefEntry begins on a new page. Source Code (define %refentry-new-page% ;; 'RefEntry' starts on new page? #f) docbook-dsssl-1.79/docsrc/printpr/graphic-default-extension.sgm0000644000175000001440000000214410142563635025442 0ustar msmithusers00000000000000 %graphic-default-extension% dbparam.dsl %graphic-default-extension% Default extension for graphic FILEREFs Synopsis %graphic-default-extension% Description The %graphic-default-extension% will be added to the end of all fileref filenames on Graphics if they do not end in one of the %graphic-extensions%. Set this to #f to turn off this feature. Source Code (define %graphic-default-extension% ;; Default extension for graphic FILEREFs #f) docbook-dsssl-1.79/docsrc/printpr/indent-programlisting-lines.sgm0000644000175000001440000000216210142563635026021 0ustar msmithusers00000000000000 %indent-programlisting-lines% dbparam.dsl %indent-programlisting-lines% Indent lines in a 'ProgramListing'? Synopsis %indent-programlisting-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-programlisting-lines% ;; Indent lines in a 'ProgramListing'? #f) docbook-dsssl-1.79/docsrc/printpr/bottom-margin.sgm0000644000175000001440000000207610142563635023154 0ustar msmithusers00000000000000 %bottom-margin% dbparam.dsl %bottom-margin% Height of bottom margin Synopsis %bottom-margin% Description The %bottom-margin% parameter specifies the height of the bottom margin of the page. Note that this setting is relative to the physical page, not the writing direction. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %bottom-margin% ;; Height of bottom margin (if (equal? %visual-acuity% "large-type") 9.5pi 8pi)) docbook-dsssl-1.79/docsrc/printpr/linenumber-space.sgm0000644000175000001440000000236510142563635023627 0ustar msmithusers00000000000000 $linenumber-space$ dbparam.dsl $linenumber-space$ Returns the sosofo which separates line numbers from the text Synopsis ($linenumber-space$) Description The sosofo returned by ($linenumber-space$) is placed between the line number and the corresponding line in enumerated environments. Note: %linenumber-padchar%s are separated from lines that are not enumerated (because they dont match %linenumber-mod%). In other words, ($linenumber-space$)' occurs on every line. Source Code (define ($linenumber-space$) ;; Returns the sosofo which separates line numbers from the text (literal "\no-break-space;")) docbook-dsssl-1.79/docsrc/printpr/olink-outline-ext.sgm0000644000175000001440000000176510142563635023770 0ustar msmithusers00000000000000 %olink-outline-ext% dbparam.dsl %olink-outline-ext% Extension for olink outline file Synopsis %olink-outline-ext% Description The extension used to find the outline information file. When searching for outline information about a document, the extension is discarded from the system ID of the file and %olinke-outline-ext% is appended. Source Code (define %olink-outline-ext% ;; Extension for olink outline file ".olink") docbook-dsssl-1.79/docsrc/printpr/bop-footnotes.sgm0000644000175000001440000000175510142563635023176 0ustar msmithusers00000000000000 bop-footnotes dbparam.dsl bop-footnotes Make "bottom-of-page" footnotes? Synopsis bop-footnotes Description If true, footnotes will be done at the bottom of the page instead of collected together as notes at the end of the section. This variable is ignored if the print backend does not support bottom-of-the-page footnotes. At present, only the TeX backend supports them. Source Code (define bop-footnotes ;; Make "bottom-of-page" footnotes? #f) docbook-dsssl-1.79/docsrc/printpr/content-title-end-punct.sgm0000644000175000001440000000173010142563635025055 0ustar msmithusers00000000000000 %content-title-end-punct% dbparam.dsl %content-title-end-punct% List of punctuation chars at the end of a run-in head Synopsis %content-title-end-punct% Description If a run-in head ends in any of these characters, the %default-title-end-punct% is not used. Source Code (define %content-title-end-punct% ;; List of punctuation chars at the end of a run-in head '(#\. #\! #\? #\:)) docbook-dsssl-1.79/docsrc/printpr/article-title-quadding.sgm0000644000175000001440000000147110142563635024727 0ustar msmithusers00000000000000 %article-title-quadding% dbparam.dsl %article-title-quadding% Article title quadding Synopsis %article-title-quadding% Description The quadding of article titles. Source Code (define %article-title-quadding% ;; Article title quadding 'center) docbook-dsssl-1.79/docsrc/printpr/honorific-punctuation.sgm0000644000175000001440000000157010142563635024722 0ustar msmithusers00000000000000 %honorific-punctuation% dbparam.dsl %honorific-punctuation% Punctuation to follow honorifics in names Synopsis %honorific-punctuation% Description The honorific punctuation is placed after the honorific in a name. Source Code (define %honorific-punctuation% ;; Punctuation to follow honorifics in names ".") docbook-dsssl-1.79/docsrc/printpr/title-font-family.sgm0000644000175000001440000000207610142563635023741 0ustar msmithusers00000000000000 %title-font-family% dbparam.dsl %title-font-family% The font family used in titles Synopsis %title-font-family% Description The name of the font family used in titles (Arial by default). The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them). The values here work for the RTF backend under MS Windows. YMMV. Source Code (define %title-font-family% ;; The font family used in titles "Arial") docbook-dsssl-1.79/docsrc/printpr/epigraph-start-indent.sgm0000644000175000001440000000173510142563635024607 0ustar msmithusers00000000000000 %epigraph-start-indent% dbparam.dsl %epigraph-start-indent% Specifies the left indent of epigraphs. Synopsis %epigraph-start-indent% Description The indent of a epigraph. Default 55% of the text width. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %epigraph-start-indent% ;; Specifies the left indent of epigraphs. (* %text-width% 0.55)) docbook-dsssl-1.79/docsrc/printpr/body-width.sgm0000644000175000001440000000200010142563635022432 0ustar msmithusers00000000000000 %body-width% dbparam.dsl %body-width% Specifies the width of the text in the body column Synopsis %body-width% Description Identifies the width of the page on which text will occur, after the %body-start-indent% is removed. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %body-width% ;; Specifies the width of the text in the body column (- %text-width% %body-start-indent%)) docbook-dsssl-1.79/docsrc/printpr/admon-graphic-extension.sgm0000644000175000001440000000222110142563635025110 0ustar msmithusers00000000000000 %admon-graphics-extension% dbparam.dsl %admon-graphics-extension% Admonition graphic file extension Synopsis %admon-graphics-extension% Description Identifies the extension for admonition graphics. This allows backends to select different images (e.g., EPS for print, PNG for PDF, etc.) The older parameter, admon-graphic-default-extension, will be used if it is set, for backwards compatability. Source Code (define %admon-graphics-extension% ;; Admonition graphic file extension (if admon-graphic-default-extension admon-graphic-default-extension ".eps")) docbook-dsssl-1.79/docsrc/printpr/admon-graphic-width.sgm0000644000175000001440000000200510142563635024213 0ustar msmithusers00000000000000 $admon-graphic-width$ dbparam.dsl $admon-graphic-width$ Admonition graphic file width Synopsis ($admon-graphic-width$ #!optional (nd (current-node))) Description Given an admonition node, returns the width of the graphic that will be used for that admonition. All of the default graphics in the distribution are 0.3in wide. Source Code (define ($admon-graphic-width$ #!optional (nd (current-node))) ;; Admonition graphic file width 0.3in) docbook-dsssl-1.79/docsrc/printpr/visual-acuity.sgm0000644000175000001440000000250310142563635023167 0ustar msmithusers00000000000000 %visual-acuity% dbparam.dsl %visual-acuity% General measure of document text size Synopsis %visual-acuity% Description This parameter controls the general size of the text in the document. Several other values (body font size and margins) have default values that vary depending on the setting of %visual-acuity%. There are three legal values: normal, the normal, standard document size (10pt body text); tiny, a small text size (8pt body text); presbyopic, a slightly more generous size (12pt body text); and large-type, quite large (24pt body text). Source Code (define %visual-acuity% ;; General measure of document text size ;; "tiny" ;; "presbyopic" ;; "large-type" "normal") docbook-dsssl-1.79/docsrc/printpr/rtf-backend.sgm0000644000175000001440000000153010142563635022547 0ustar msmithusers00000000000000 rtf-backend dbparam.dsl rtf-backend Are we using the RTF backend? Synopsis rtf-backend Description This parameter exists so that -V rtf-backend can be used on the command line to explicitly select the RTF backend. Source Code (define rtf-backend ;; Are we using the RTF backend? #f) docbook-dsssl-1.79/docsrc/printpr/may-format-variablelist-as-table.sgm0000644000175000001440000000225210142563635026612 0ustar msmithusers00000000000000 %may-format-variablelist-as-table% dbparam.dsl %may-format-variablelist-as-table% Format VariableLists as tables? Synopsis %may-format-variablelist-as-table% Description If %may-format-variablelist-as-table% is #t, a VariableList will be formatted as a table, if *all of* the terms are shorter than the specified TermLength. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %may-format-variablelist-as-table% ;; Format VariableLists as tables? #f) docbook-dsssl-1.79/docsrc/printpr/min-leading.sgm0000644000175000001440000000216210142563635022555 0ustar msmithusers00000000000000 %min-leading% dbparam.dsl %min-leading% Minumum leading between lines Synopsis %min-leading% Description The %min-leading% parameter specifies the smallest amount of leading to allow between lines. The default value, #f, has the side-effect that leading cannot change. This means that graphics that appear in a paragraph are truncated if they are taller than the current leading. By setting this parameter to some small value, we get stretchable space between lines. Source Code (define %min-leading% ;; Minumum leading between lines 2pt) docbook-dsssl-1.79/docsrc/printpr/generate-part-titlepage.sgm0000644000175000001440000000160210142563635025101 0ustar msmithusers00000000000000 %generate-part-titlepage% dbparam.dsl %generate-part-titlepage% Should a part title page be produced? Synopsis %generate-part-titlepage% Description If true, a title page will be generated for each Part. Source Code (define %generate-part-titlepage% ;; Should a part title page be produced? #t) docbook-dsssl-1.79/docsrc/printpr/generate-part-toc.sgm0000644000175000001440000000203510142563635023711 0ustar msmithusers00000000000000 %generate-part-toc% dbparam.dsl %generate-part-toc% Should a Table of Contents be produced for Parts? Synopsis %generate-part-toc% Description If true, a Table of Contents will be generated for each Part. Note: %generate-part-toc-on-titlepage% controls whether the Part TOC is placed on the bottom of the part titlepage or on page(s) of its own. Source Code (define %generate-part-toc% ;; Should a Table of Contents be produced for Parts? #f) docbook-dsssl-1.79/docsrc/printpr/bf-size.sgm0000644000175000001440000000200710142563635021726 0ustar msmithusers00000000000000 %bf-size% dbparam.dsl %bf-size% Defines the body font size Synopsis %bf-size% Description Sets the body font size. This parameter is usually controlled by the %visual-acuity% parameter. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %bf-size% ;; Defines the body font size (case %visual-acuity% (("tiny") 8pt) (("normal") 10pt) (("presbyopic") 12pt) (("large-type") 24pt))) docbook-dsssl-1.79/docsrc/printpr/number-screen-lines.sgm0000644000175000001440000000200210142563635024237 0ustar msmithusers00000000000000 %number-screen-lines% dbparam.dsl %number-screen-lines% Enumerate lines in a 'Screen'? Synopsis %number-screen-lines% Description If true, lines in each Screen will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-screen-lines% ;; Enumerate lines in a 'Screen'? #f) docbook-dsssl-1.79/docsrc/printpr/image-library-filename.sgm0000644000175000001440000000274010142563635024675 0ustar msmithusers00000000000000 image-library-filename dbparam.dsl image-library-filename Name of the image library database Synopsis image-library-filename Description If image-library is true, then the database is loaded from image-library-filename. It's a current limitation that only a single database can be loaded. The image library database is stored in a separate directory because it must be parsed with the XML declaration. The only practical way to accomplish this with Jade, if you are processing a document that uses another declaration, is by having a catalog file in the directory that contains the image library that specifies the SGMLDECL. (So if it was in the same directory as your document, your document would also be parsed with the XML declaration, which may not be correct.) Source Code (define image-library-filename ;; Name of the image library database "imagelib/imagelib.xml") docbook-dsssl-1.79/docsrc/printpr/generate-partintro-on-titlepage.sgm0000644000175000001440000000206410142563635026572 0ustar msmithusers00000000000000 %generate-partintro-on-titlepage% dbparam.dsl %generate-partintro-on-titlepage% Should the PartIntro appear on the Part/Reference title page? Synopsis %generate-partintro-on-titlepage% Description If true, the PartIntro content will appear on the title page of Parts and References. If false, it will be placed on separate page(s) after the title page. Source Code (define %generate-partintro-on-titlepage% ;; Should the PartIntro appear on the Part/Reference title page? #t) docbook-dsssl-1.79/docsrc/printpr/ss-size-factor.sgm0000644000175000001440000000156510142563635023250 0ustar msmithusers00000000000000 %ss-size-factor% dbparam.dsl %ss-size-factor% Super/subscript scaling factor Synopsis %ss-size-factor% Description When text is set as a subscript or superscript, the font size of the text is multiplied by %ss-size-factor%. Source Code (define %ss-size-factor% ;; Super/subscript scaling factor 0.6) docbook-dsssl-1.79/docsrc/printpr/page-balance-columns.sgm0000644000175000001440000000200010142563635024335 0ustar msmithusers00000000000000 %page-balance-columns?% dbparam.dsl %page-balance-columns?% Balance columns on pages? Synopsis %page-balance-columns?% Description If true, the columns on the final page of a multiple column layout will be balanced. Otherwise, the columns will be completely filled in the writing direction and the last column may be a different length than the preceding columns. Source Code (define %page-balance-columns?% ;; Balance columns on pages? #f) docbook-dsssl-1.79/docsrc/printpr/X25blockquote-start-indentX25.sgm0000644000175000001440000000155510142563635025756 0ustar msmithusers00000000000000 %blockquote-start-indent% dbparam.dsl %blockquote-start-indent% no documented purpose Synopsis %blockquote-start-indent% Source Code (define %blockquote-start-indent% ;; PURP Default indent of blockquoted text ;; DESC ;; The default start (usually left) indent of blockquoted text. ;; /DESC ;; AUTHOR Ola Lundqvist ;; /REFENTRY 1em) docbook-dsssl-1.79/docsrc/printpr/hsize-bump-factor.sgm0000644000175000001440000000243210142563635023730 0ustar msmithusers00000000000000 %hsize-bump-factor% dbparam.dsl %hsize-bump-factor% Font scaling factor Synopsis %hsize-bump-factor% Description Internally, the stylesheet refers to font sizes in purely relative terms. This is done by defining a scaled set of fonts (sizes 1, 2, 3, etc.) based at the default text font size (e.g. 10pt). The %hsize-bump-factor% describes the ratio between scaled sizes. The default is 1.2. Each hsize is %hsize-bump-factor% times larger than the previous hsize. For example, if the base size is 10pt, and %hsize-bump-factor% 1.2, hsize 1 is 12pt, hsize 2 is 14.4pt, hsize 3 is 17.28pt, etc. Source Code (define %hsize-bump-factor% ;; Font scaling factor 1.2) docbook-dsssl-1.79/docsrc/printpr/admon-graphic.sgm0000644000175000001440000000325110142563635023102 0ustar msmithusers00000000000000 $admon-graphic$ dbparam.dsl $admon-graphic$ Admonition graphic file Synopsis ($admon-graphic$ #!optional (nd (current-node))) Description Given an admonition node, returns the name of the graphic that should be used for that admonition. Source Code (define ($admon-graphic$ #!optional (nd (current-node))) ;; Admonition graphic file (cond ((equal? (gi nd) (normalize "tip")) (string-append %admon-graphics-path% (string-append "tip" %admon-graphics-extension%))) ((equal? (gi nd) (normalize "note")) (string-append %admon-graphics-path% (string-append "note" %admon-graphics-extension%))) ((equal? (gi nd) (normalize "important")) (string-append %admon-graphics-path% (string-append "important" %admon-graphics-extension%))) ((equal? (gi nd) (normalize "caution")) (string-append %admon-graphics-path% (string-append "caution" %admon-graphics-extension%))) ((equal? (gi nd) (normalize "warning")) (string-append %admon-graphics-path% (string-append "warning" %admon-graphics-extension%))) (else (error (string-append (gi nd) " is not an admonition."))))) docbook-dsssl-1.79/docsrc/printpr/generate-article-titlepage.sgm0000644000175000001440000000163710142563635025566 0ustar msmithusers00000000000000 %generate-article-titlepage% dbparam.dsl %generate-article-titlepage% Should an article title page be produced? Synopsis %generate-article-titlepage% Description If true, a title page will be generated for each Article. Source Code (define %generate-article-titlepage% ;; Should an article title page be produced? #t) docbook-dsssl-1.79/docsrc/printpr/number-synopsis-lines.sgm0000644000175000001440000000202610142563635024655 0ustar msmithusers00000000000000 %number-synopsis-lines% dbparam.dsl %number-synopsis-lines% Enumerate lines in a 'Synopsis'? Synopsis %number-synopsis-lines% Description If true, lines in each Synopsis will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-synopsis-lines% ;; Enumerate lines in a 'Synopsis'? #f) docbook-dsssl-1.79/docsrc/printpr/indent-funcsynopsisinfo-lines.sgm0000644000175000001440000000220310142563635026373 0ustar msmithusers00000000000000 %indent-funcsynopsisinfo-lines% dbparam.dsl %indent-funcsynopsisinfo-lines% Indent lines in a 'FuncSynopsisInfo'? Synopsis %indent-funcsynopsisinfo-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-funcsynopsisinfo-lines% ;; Indent lines in a 'FuncSynopsisInfo'? #f) docbook-dsssl-1.79/docsrc/printpr/chap-app-running-head-autolabel.sgm0000644000175000001440000000261010142563635026403 0ustar msmithusers00000000000000 %chap-app-running-head-autolabel% dbparam.dsl %chap-app-running-head-autolabel% Put chapter labels in running heads? Synopsis %chap-app-running-head-autolabel% Description If true, running heads on Chapters and Appendixes will include an automatic label. In other words, if a Chapter has no Label attribute, and %chap-app-running-head-autolabel% is true, running heads will include the automatic label for the Chapter. If %chap-app-running-head-autolabel% is false, only the Title (or TitleAbbrev) will appear in the running head. Source Code (define %chap-app-running-head-autolabel% ;; Put chapter labels in running heads? #t) docbook-dsssl-1.79/docsrc/printpr/number-programlisting-lines.sgm0000644000175000001440000000211210142563635026023 0ustar msmithusers00000000000000 %number-programlisting-lines% dbparam.dsl %number-programlisting-lines% Enumerate lines in a 'ProgramListing'? Synopsis %number-programlisting-lines% Description If true, lines in each ProgramListing will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-programlisting-lines% ;; Enumerate lines in a 'ProgramListing'? #f) docbook-dsssl-1.79/docsrc/printpr/callout-default-col.sgm0000644000175000001440000000163010142563635024230 0ustar msmithusers00000000000000 %callout-default-col% dbparam.dsl %callout-default-col% Default column for callouts Synopsis %callout-default-col% Description If the coordinates of a callout include only a line number, the callout bug will appear in column %callout-default-col%. Source Code (define %callout-default-col% ;; Default column for callouts 60) docbook-dsssl-1.79/docsrc/printpr/page-number-restart.sgm0000644000175000001440000000173410142563635024261 0ustar msmithusers00000000000000 %page-number-restart% dbparam.dsl %page-number-restart% Restart page numbers in each component? Synopsis %page-number-restart% Description If true, page numbers are restarted at the beginning of each component-level element (Chapter, Appendix, Bibliography, etc.). Source Code (define %page-number-restart% ;; Restart page numbers in each component? #f) docbook-dsssl-1.79/docsrc/printpr/object-titles-after.sgm0000644000175000001440000000207410142563635024242 0ustar msmithusers00000000000000 $object-titles-after$ dbparam.dsl $object-titles-after$ List of objects who's titles go after the object Synopsis ($object-titles-after$) Description Titles of formal objects (Figures, Equations, Tables, etc.) in this list will be placed below the object instead of above it. This is a list of element names, for example: (list (normalize "figure") (normalize "table")). Source Code (define ($object-titles-after$) ;; List of objects who's titles go after the object '()) docbook-dsssl-1.79/docsrc/printpr/formal-object-title-font-weight.sgm0000644000175000001440000000171310142563635026466 0ustar msmithusers00000000000000 %formal-object-title-font-weight% dbparam.dsl %formal-object-title-font-weight% Formal object title font weight Synopsis %formal-object-title-font-weight% Description Specifies the title font weight (i.e., bold or medium) of formal objects (e.g., figures). Source Code (define %formal-object-title-font-weight% ;; Formal object title font weight 'bold) docbook-dsssl-1.79/docsrc/printpr/biblio-citation-check.sgm0000644000175000001440000000257610142563635024525 0ustar msmithusers00000000000000 biblio-citation-check dbparam.dsl biblio-citation-check Check citations Synopsis biblio-citation-check Description If true, the content of CITATIONs will be checked against possible biblioentries. If the citation cannot be found, an error is issued and the citation is generated. If the citation is found, it is generated with a cross reference to the appropriate biblioentry. A citation matches if the content of the citation element matches the ID, XREFLABEL, or leading ABBREV of a biblioentry. This setting may have significant performance implications on large documents, hence it is false by default. (This option can conveniently be set with -V biblio-citation-check on the Jade command line). Source Code (define biblio-citation-check ;; Check citations #f) docbook-dsssl-1.79/docsrc/printpr/number-funcsynopsisinfo-lines.sgm0000644000175000001440000000213510142563635026406 0ustar msmithusers00000000000000 %number-funcsynopsisinfo-lines% dbparam.dsl %number-funcsynopsisinfo-lines% Enumerate lines in a 'FuncSynopsisInfo'? Synopsis %number-funcsynopsisinfo-lines% Description If true, lines in each FuncSynopsisInfo will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-funcsynopsisinfo-lines% ;; Enumerate lines in a 'FuncSynopsisInfo'? #f) docbook-dsssl-1.79/docsrc/printpr/refentry.ent0000644000175000001440000002325010142563635022230 0ustar msmithusers00000000000000 docbook-dsssl-1.79/docsrc/printpr/docinfo.sgm0000644000175000001440000000216210142563635022012 0ustar msmithusers00000000000000DocBook Print Parameters Part of the Modular DocBook Stylesheet distribution NormanWalsh $Revision: 1.9 $ 199719981999 Norman Walsh THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Please direct all questions, bug reports, or suggestions for changes to Norman Walsh, <ndw@nwalsh.com>. See http://nwalsh.com/docbook/dsssl/ for more information. docbook-dsssl-1.79/docsrc/printpr/dbparam.sgm0000644000175000001440000000041510142563635021776 0ustar msmithusers00000000000000 %refentry.ent; ]> &docinfo; &refentry.sgm; docbook-dsssl-1.79/docsrc/printpr/refentry.sgm0000644000175000001440000001077710142563635022242 0ustar msmithusers00000000000000TOC/LOT Apparatus &generate-set-toc; &generate-book-toc; &generate-book-lot-list; &generate-part-toc; &generate-part-toc-on-titlepage; &generate-reference-toc; &generate-reference-toc-on-titlepage; &generate-article-toc; &generate-article-toc-on-titlepage; Titlepages &generate-set-titlepage; &generate-book-titlepage; &generate-part-titlepage; &generate-partintro-on-titlepage; &generate-reference-titlepage; &generate-article-titlepage; &generate-article-ttlpg-on-sep-page; &titlepage-in-info-order; &othername-in-middle; RefEntries and FuncSynopses &refentry-new-page; &refentry-keep; &refentry-generate-name; &refentry-xref-italic; &refentry-xref-manvolnum; &funcsynopsis-style; &kr-funcsynopsis-indent; &funcsynopsis-decoration; Fonts &refentry-name-font-family; &title-font-family; &body-font-family; &mono-font-family; &admon-font-family; &guilabel-font-family; &visual-acuity; &hsize-bump-factor; &smaller-size-factor; &ss-size-factor; &ss-shift-factor; &verbatim-size-factor; &bf-size; &footnote-size-factor; &formal-object-title-font-weight; &table-title-font-weight; Backends &tex-backend; &mif-backend; &rtf-backend; &default-backend; &print-backend; Verbatim Environments &verbatim-default-width; &number-synopsis-lines; &number-funcsynopsisinfo-lines; &number-literallayout-lines; &number-address-lines; &number-programlisting-lines; &number-screen-lines; &linenumber-mod; &linenumber-length; &linenumber-padchar; &linenumber-space; &indent-synopsis-lines; &indent-funcsynopsisinfo-lines; &indent-literallayout-lines; &indent-address-lines; &indent-programlisting-lines; &indent-screen-lines; &callout-fancy-bug; &callout-default-col; Labelling §ion-autolabel; &chapter-autolabel; &label-preface-sections; &qanda-inherit-numeration; Running Heads &chap-app-running-heads; &chap-app-running-head-autolabel; Paper/Page Characteristics &paper-type; &two-side; &writing-mode; &page-n-columns; &titlepage-n-columns; &page-column-sep; &page-balance-columns; &left-margin; &right-margin; &page-width; &page-height; &text-width; &epigraph-start-indent; &epigraph-end-indent; &body-width; &top-margin; &bottom-margin; &header-margin; &footer-margin; &page-number-restart; &article-page-number-restart; &generate-heading-level; Admonitions &admon-graphics; &admon-graphics-path; &admon-graphic-default-extension; &admon-graphic-extension; &admon-graphic; &admon-graphic-width; Quadding &default-quadding; &division-title-quadding; &division-subtitle-quadding; &component-title-quadding; &component-subtitle-quadding; &article-title-quadding; &article-subtitle-quadding; §ion-title-quadding; §ion-subtitle-quadding; Bibliographies &biblio-citation-check; &filter-used; &biblio-number; &biblio-xref-title; OLinks &olink-outline-ext; Footnotes &footnote-ulinks; &bop-footnotes; Graphics &graphic-default-extension; &graphic-extensions; &image-library; &image-library-filename; Tables &table-element-list; &simplelist-column-width; VariableLists &default-variablelist-termlength; &may-format-variablelist-as-table; &always-format-variablelist-as-table; Vertical Spacing &line-spacing-factor; &head-before-factor; &head-after-factor; &body-start-indent; &X25blockquote-start-indentX25; &X25blockquote-end-indentX25; ¶-sep; &block-sep; Indents ¶-indent; ¶-indent-firstpara; &block-start-indent; Object Rules &example-rules; &figure-rules; &table-rules; &equation-rules; &informalexample-rules; &informalfigure-rules; &informaltable-rules; &informalequation-rules; &object-rule-thickness; Miscellaneous &object-titles-after; &formal-object-float; &default-title-end-punct; &content-title-end-punct; &honorific-punctuation; &default-simplesect-level; &show-ulinks; &show-comments; &firstterm-bold; &min-leading; &hyphenation; docbook-dsssl-1.79/docsrc/libref/0000755000175000001440000000000010142564561017424 5ustar msmithusers00000000000000docbook-dsssl-1.79/docsrc/libref/ChangeLog0000644000175000001440000000012310142575332021170 0ustar msmithusers000000000000002001-04-04 Norman Walsh * .cvsignore: New file. docbook-dsssl-1.79/docsrc/libref/url-encode-char.sgm0000644000175000001440000000307610142563636023114 0ustar msmithusers00000000000000 url-encode-char dblib.dsl url-encode-char Returns the url-encoded equivalent of a character Synopsis (url-encode-char ch) Description Converts ch to a properly encoded URL character. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (url-encode-char ch) ;; Returns the url-encoded equivalent of a character (cond ((char=? ch #\space) "%20") ; space ((char=? ch #\U-0026) "%26") ; ampersand ((char=? ch #\?) "%3F") ; question ((char=? ch #\{) "%7B") ; open curly ((char=? ch #\}) "%7D") ; close curly ((char=? ch #\|) "%7C") ; vertical bar ((char=? ch #\\) "%5C") ; backslash ((char=? ch #\/) "%2F") ; slash ((char=? ch #\^) "%5E") ; caret ((char=? ch #\~) "%7E") ; tilde ((char=? ch #\[) "%5B") ; open square ((char=? ch #\]) "%5D") ; close square ((char=? ch #\`) "%60") ; backtick ((char=? ch #\%) "%25") ; percent ((char=? ch #\+) "%2B") ; plus (else (string ch)))) docbook-dsssl-1.79/docsrc/libref/list-member-find.sgm0000644000175000001440000000227110142563636023276 0ustar msmithusers00000000000000 list-member-find dblib.dsl list-member-find Returns the index of an element in a list Synopsis (list-member-find element elementlist) Description Returns the index of element in the list elementlist. The first element in a list has index 0. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (list-member-find element elementlist) ;; Returns the index of an element in a list (let loop ((elemlist elementlist) (count 0)) (if (null? elemlist) -1 (if (equal? element (car elemlist)) count (loop (cdr elemlist) (+ count 1)))))) docbook-dsssl-1.79/docsrc/libref/file-extension.sgm0000644000175000001440000000245610142563636023076 0ustar msmithusers00000000000000 file-extension dblib.dsl file-extension Return the extension of a filename Synopsis (file-extension filespec) Description Returns the extension of a filename. The extension is the last "."-delimited part of the name. Returns "" if there is no period in the filename. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (file-extension filespec) ;; Return the extension of a filename (if (string? filespec) (let* ((pathparts (match-split filespec "/")) (filename (list-ref pathparts (- (length pathparts) 1))) (fileparts (match-split filename ".")) (extension (list-ref fileparts (- (length fileparts) 1)))) (if (> (length fileparts) 1) extension "")) "")) docbook-dsssl-1.79/docsrc/libref/length-string-number-part.sgm0000644000175000001440000000277310142563636025166 0ustar msmithusers00000000000000 length-string-number-part dblib.dsl length-string-number-part Returns the numeric part of a length string Synopsis (length-string-number-part lenstr) Description Given a length as a string, return the numeric part. Example "100pt" returns "100". "30" returns "30". "in" returns "". Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (length-string-number-part lenstr) ;; Returns the numeric part of a length string (let ((digits '(#\0 #\1 #\2 #\3 #\4 #\5 #\6 #\7 #\8 #\9 #\.))) (let loop ((chars (string->list lenstr)) (number-part "")) (if (or (null? chars) (not (member (car chars) digits))) number-part (loop (cdr chars) (string-append number-part (string (car chars)))))))) docbook-dsssl-1.79/docsrc/libref/node-2-string.sgm0000644000175000001440000000267310142563636022536 0ustar msmithusers00000000000000 node-list->string dblib.dsl node-list->string Return a string representation of the node list Synopsis (node-list->string nodelist) Description Builds a string representation of the node list and returns it. The representation is "gi(firstchildgi()secondchildgi(firstgrandchildgi())) secondgi()..." This is a debugging function, in case that wasn't obvious... Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (node-list->string nodelist) ;; Return a string representation of the node list (let loop ((nl nodelist) (res "")) (if (node-list-empty? nl) res (loop (node-list-rest nl) (string-append res (if (gi (node-list-first nl)) (string-append (gi (node-list-first nl)) "(" (node-list->string (children (node-list-first nl))) ")") "")))))) docbook-dsssl-1.79/docsrc/libref/assoc.sgm0000644000175000001440000000300710142563636021246 0ustar msmithusers00000000000000 assoc dblib.dsl assoc Returns the association of an object in an associative list Synopsis (assoc obj alist) Description Given an associative list, returns the pair that has obj as a car or #f if no such pair exists. obj The associative key to locate. alist The associative list. Example (assoc "a" (("a" "b") ("c" "d"))) returns ("a" "b") Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (assoc obj alist) ;; Returns the association of an object in an associative list (let loop ((al alist)) (if (null? al) #f (if (equal? obj (car (car al))) (car al) (loop (cdr al)))))) docbook-dsssl-1.79/docsrc/libref/list-2-string.sgm0000644000175000001440000000210010142563636022545 0ustar msmithusers00000000000000 list->string dblib.dsl list->string Converts a list of characters into a string Synopsis (list->string chars) Description Implements list->string as per ISO/IEC 10179:1996 (clause 8.5.9.9). Author David Megginson, <dmeggins@uottawa.ca> Source Code (define (list->string chars) ;; Converts a list of characters into a string (let loop ((cl chars) (str "")) (if (null? cl) str (loop (cdr cl) (string-append str (string (car cl))))))) docbook-dsssl-1.79/docsrc/libref/case-fold-down.sgm0000644000175000001440000000172410142563636022744 0ustar msmithusers00000000000000 case-fold-down dblib.dsl case-fold-down Shift a string to lowercase Synopsis (case-fold-down str) Description Returns str in lowercase. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (case-fold-down str) ;; Shift a string to lowercase (if (string? str) (apply string (case-fold-down-charlist (string->list str))) str)) docbook-dsssl-1.79/docsrc/libref/ipreced.sgm0000644000175000001440000000223110142563636021547 0ustar msmithusers00000000000000 ipreced dblib.dsl ipreced Implements ipreced as per ISO/IEC 10179:1996 Synopsis (ipreced nl) Description Implements ipreced as per ISO/IEC 10179:1996 Author From ISO/IEC 10179:1996 Source Code (define (ipreced nl) ;; Implements ipreced as per ISO/IEC 10179:1996 (node-list-map (lambda (snl) (let loop ((prev (empty-node-list)) (rest (siblings snl))) (cond ((node-list-empty? rest) (empty-node-list)) ((node-list=? (node-list-first rest) snl) prev) (else (loop (node-list-first rest) (node-list-rest rest)))))) nl)) docbook-dsssl-1.79/docsrc/libref/copy-string.sgm0000644000175000001440000000231410142563636022414 0ustar msmithusers00000000000000 copy-string dblib.dsl copy-string Return a string duplicated a specified number of times Synopsis (copy-string string num) Description Copies string num times and returns the result. Example (copy-string "x" 3) returns "xxx" Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (copy-string string num) ;; Return a string duplicated a specified number of times (if (<= num 0) "" (let loop ((str string) (count (- num 1))) (if (<= count 0) str (loop (string-append str string) (- count 1)))))) docbook-dsssl-1.79/docsrc/libref/case-fold-up-char.sgm0000644000175000001440000000405110142563636023330 0ustar msmithusers00000000000000 case-fold-up-char dblib.dsl case-fold-up-char Return the uppercase form of a single character Synopsis (case-fold-up-char ch #!optional (uc-list default-uppercase-list) (lc-list default-lowercase-list)) Description Returns the uppercase form of ch if ch is a member of lowercase-list, otherwise return ch. The implied mapping from uppercase to lowercase in the two lists is one-to-one. The first element of the uppercase list is the uppercase form of the first element of the lowercase list, and vice versa. ch The character to fold down. uc-list The list of uppercase letters. The default is the list of English uppercase letters. lc-list The list of lowercase letters. The default is the list of English lowercase letters. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (case-fold-up-char ch #!optional (uc-list default-uppercase-list) (lc-list default-lowercase-list)) ;; Return the uppercase form of a single character (let ((idx (list-member-find ch lc-list))) (if (>= idx 0) (list-ref uc-list idx) ch))) docbook-dsssl-1.79/docsrc/libref/node-list-filter-by-not-gi.sgm0000644000175000001440000000257710142563636025135 0ustar msmithusers00000000000000 node-list-filter-by-not-gi dblib.dsl node-list-filter-by-not-gi Returns selected elements from a node list Synopsis (node-list-filter-by-not-gi nodelist gilist) Description Returns a node list containing all the nodes from nodelist whose GIs are NOT members of gilist. The order of nodes in the node list is preserved. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (node-list-filter-by-not-gi nodelist gilist) ;; Returns selected elements from a node list (let loop ((result (empty-node-list)) (nl nodelist)) (if (node-list-empty? nl) result (if (member (gi (node-list-first nl)) gilist) (loop result (node-list-rest nl)) (loop (node-list result (node-list-first nl)) (node-list-rest nl)))))) docbook-dsssl-1.79/docsrc/libref/version.sgm0000644000175000001440000000163710142563636021632 0ustar msmithusers00000000000000 %library-version% dblib.dsl %library-version% Defines the library version string Synopsis %library-version% Description Defines the library version string. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %library-version% ;; Defines the library version string "Modular DocBook Stylesheet Library") docbook-dsssl-1.79/docsrc/libref/dingbat.sgm0000644000175000001440000000507110142563636021551 0ustar msmithusers00000000000000 dingbat dblib.dsl dingbat Map dingbat names to Unicode characters Synopsis (dingbat usrname) Description Map a dingbat name to the appropriate Unicode character. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (dingbat usrname) ;; Map dingbat names to Unicode characters ;; Print dingbats and other characters selected by name (let ((name (case-fold-down usrname))) (case name ;; For backward compatibility (("box") "\white-square;") (("checkbox") "\white-square;") ;; \check-mark prints the wrong symbol (in Jade 0.8 RTF backend) (("check") "\heavy-check-mark;") (("checkedbox") "\ballot-box-with-check;") (("dash") "\em-dash;") (("copyright") "\copyright-sign") ;; Straight out of Unicode (("raquo") "\U-00BB;") (("laquo") "\U-00AB;") (("rsaquo") "\U-203A;") (("lsaquo") "\U-2039;") (("lsquo") "\U-2018;") (("rsquo") "\U-2019;") (("ldquo") "\U-201C;") (("rdquo") "\U-201D;") (("ldquor") "\U-201E;") (("rdquor") "\U-201D;") (("en-dash") "\en-dash;") (("em-dash") "\em-dash;") (("en-space") "\U-2002;") (("em-space") "\U-2003;") (("bullet") "\bullet;") (("black-square") "\black-square;") (("white-square") "\white-square;") ;; \ballot-box name doesn't work (in Jade 0.8 RTF backend) ;; and \white-square looks better than \U-2610; anyway (("ballot-box") "\white-square;") (("ballot-box-with-check") "\ballot-box-with-check;") (("ballot-box-with-x") "\ballot-box-with-x;") ;; \check-mark prints the wrong symbol (in Jade 0.8 RTF backend) (("check-mark") "\heavy-check-mark;") ;; \ballot-x prints out the wrong symbol (in Jade 0.8 RTF backend) (("ballot-x") "\heavy-check-mark;") (("copyright-sign") "\copyright-sign;") (("registered-sign") "\registered-sign;") (else "\bullet;")))) docbook-dsssl-1.79/docsrc/libref/trim-string.sgm0000644000175000001440000000253710142563636022424 0ustar msmithusers00000000000000 trim-string dblib.dsl trim-string Trims the tail off of a string Synopsis (trim-string str string-list) Description If str ends with any of the strings in string-list, trim that string off and return the base string. E.g., (trim-string "filename.sgm" (".sgm" ".xml" ".sgml")) returns "filename". Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (trim-string str string-list) ;; Trims the tail off of a string (let ((strlen (string-length str))) (let loop ((sl string-list)) (if (null? sl) str (if (equal? (substring str (- strlen (string-length (car sl))) strlen) (car sl)) (substring str 0 (- strlen (string-length (car sl)))) (loop (cdr sl))))))) docbook-dsssl-1.79/docsrc/libref/repl-substring-list-p.sgm0000644000175000001440000000443710142563636024334 0ustar msmithusers00000000000000 repl-substring-list? dblib.dsl repl-substring-list? Perform repl-substring? with a list of target/replacement pairs Synopsis (repl-substring-list? string replace-list pos) Description Returns #t if any target in replace-list occurs at pos in string. string The string in which replacement should be tested. replace-list A list of target/replacement pairs. This list is just a list of strings, treated as pairs. For example, ("was" "x" "is" "y"). In this example, was may be replaced by x and is may be replaced by y. pos The location within string where the test will occur. Example (repl-substring-list? "this is it" ("was" "x" "is" "y") 2) returns #t: "is" could be replaced by "y". Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (repl-substring-list? string replace-list pos) ;; Perform repl-substring? with a list of target/replacement pairs (let loop ((list replace-list)) (let ((target (car list)) (repl (car (cdr list))) (rest (cdr (cdr list)))) (if (repl-substring? string target pos) #t (if (null? rest) #f (loop rest)))))) docbook-dsssl-1.79/docsrc/libref/list-head.sgm0000644000175000001440000000226610142563636022016 0ustar msmithusers00000000000000 list-head dblib.dsl list-head Return the head of a list Synopsis (list-head inputlist k) Description Returns the list that contains the first k elements of inputlist. Example (list-head (1 2 3 4) 2) returns (1 2). Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (list-head inputlist k) ;; Return the head of a list (let loop ((l inputlist) (count k) (result '())) (if (<= count 0) result (loop (cdr l) (- count 1) (append result (list (car l))))))) docbook-dsssl-1.79/docsrc/libref/component-list-child-number.sgm0000644000175000001440000000322510142563636025462 0ustar msmithusers00000000000000 component-list-child-number dblib.dsl component-list-child-number Find child-number of a list of children within a component Synopsis (component-list-child-number inputnd inputlist complist) Description Finds the first ancestor of inputnd in complist and then counts all the elements of the types in inputlist from that point on and returns the number of inputnd. If the node is not found, 0 is returned. WARNING: this requires walking over *all* the descendants of the ancestor node. This may be *slow*. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (component-list-child-number inputnd inputlist complist) ;; Find child-number of a list of children within a component (let loop ((nl (component-list-descendant-node-list inputnd inputlist complist)) (num 1)) (if (node-list-empty? nl) 0 (if (node-list=? (node-list-first nl) inputnd) num (loop (node-list-rest nl) (+ num 1)))))) docbook-dsssl-1.79/docsrc/libref/system-id-filename.sgm0000644000175000001440000000231110142563636023627 0ustar msmithusers00000000000000 system-id-filename dblib.dsl system-id-filename Returns the filename part of the system id of target Synopsis (system-id-filename target) Description The entity-generated-system-id of target seems to begin with a keyword, usually OSFILE on my system, in angle brackets. This function removes the leading OSFILE bit. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (system-id-filename target) ;; Returns the filename part of the system id of target (let* ((sysid (entity-generated-system-id target)) (fnbits (split sysid '(#\>))) (fntail (cdr fnbits))) (join fntail "\U-0061;"))) docbook-dsssl-1.79/docsrc/libref/string-index.sgm0000644000175000001440000000233710142563636022556 0ustar msmithusers00000000000000 string-index dblib.dsl string-index Finds first occurance of 'target' in 'source' Synopsis (string-index source target) Description Returns the position of the first occurance of target in source, or -1 if it does not occur. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (string-index source target) ;; Finds first occurance of 'target' in 'source' (let loop ((str source) (pos 0)) (if (< (string-length str) (string-length target)) -1 (if (string=? (substring str 0 (string-length target)) target) pos (loop (substring str 1 (string-length str)) (+ pos 1)))))) docbook-dsssl-1.79/docsrc/libref/default-uppercase-list.sgm0000644000175000001440000000224310142563636024521 0ustar msmithusers00000000000000 default-uppercase-list dblib.dsl default-uppercase-list The default list of uppercase characters Synopsis default-uppercase-list Description The default list of uppercase characters. The order and sequence of characters in this list must match the order and sequence in default-lowercase-list. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define default-uppercase-list ;; The default list of uppercase characters '(#\A #\B #\C #\D #\E #\F #\G #\H #\I #\J #\K #\L #\M #\N #\O #\P #\Q #\R #\S #\T #\U #\V #\W #\X #\Y #\Z)) docbook-dsssl-1.79/docsrc/libref/string-list-sosofo.sgm0000644000175000001440000000350310142563636023724 0ustar msmithusers00000000000000 string-list-sosofo dblib.dsl string-list-sosofo Build sosofo from a list of strings and an associative list Synopsis (string-list-sosofo string-list assoc-list) Description Take a list of strings and an associative list that maps strings to sosofos and return an appended sosofo. (This function is used for a particular task in the DocBook stylesheets. It may not be particularly general, but its in dblib.dsl' because there is nothing DTD-specific about it.) Example Given the string list ("what is " "1" " " "+" " " "1") and the associative list (("1" (literal "one")) ("2" (literal "two")) ("+" (literal "plus"))), (string-list-sosofo) returns the sequence of sosofos equivalent to (literal "what is one plus one"). Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (string-list-sosofo string-list assoc-list) ;; Build sosofo from a list of strings and an associative list (if (null? string-list) (empty-sosofo) (sosofo-append (match-substitute-sosofo (car string-list) assoc-list) (string-list-sosofo (cdr string-list) assoc-list)))) docbook-dsssl-1.79/docsrc/libref/node-list-reduce.sgm0000644000175000001440000000217610142563636023307 0ustar msmithusers00000000000000 node-list-reduce dblib.dsl node-list-reduce Implements node-list-reduce as per ISO/IEC 10179:1996 Synopsis (node-list-reduce nl proc init) Description Implements node-list-reduce as per ISO/IEC 10179:1996 Author From ISO/IEC 10179:1996 Source Code (define (node-list-reduce nl proc init) ;; Implements node-list-reduce as per ISO/IEC 10179:1996 (if (node-list-empty? nl) init (node-list-reduce (node-list-rest nl) proc (proc init (node-list-first nl))))) docbook-dsssl-1.79/docsrc/libref/string-2-list.sgm0000644000175000001440000000210510142563636022552 0ustar msmithusers00000000000000 string->list dblib.dsl string->list Converts a string into a list of characters. Synopsis (string->list str) Description Implements string->list as per ISO/IEC 10179:1996 (clause 8.5.9.9). Author David Megginson, <dmeggins@uottawa.ca> Source Code (define (string->list str) ;; Converts a string into a list of characters. (let loop ((chars '()) (k (- (string-length str) 1))) (if (< k 0) chars (loop (cons (string-ref str k) chars) (- k 1))))) docbook-dsssl-1.79/docsrc/libref/normalize.sgm0000644000175000001440000000227710142563636022146 0ustar msmithusers00000000000000 normalize dblib.dsl normalize Normalize the str according to the SGML declaration in effect Synopsis (normalize str) Description Performs SGML general name normalization on the string; used to compare attribute names and generic identifiers correctly according to the SGML declaration in effect; this is necessary since XML is case-sensitive but the reference concrete syntax and many SGML DTDs are not. Author Chris Maden Source Code (define (normalize str) ;; Normalize the str according to the SGML declaration in effect (if (string? str) (general-name-normalize str (current-node)) str)) docbook-dsssl-1.79/docsrc/libref/string-replace.sgm0000644000175000001440000000234710142563636023063 0ustar msmithusers00000000000000 string-replace dblib.dsl string-replace Replace all occurances of a target substring in a string Synopsis (string-replace string target repl) Description Replaces all occurances of target in string with repl. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (string-replace string target repl) ;; Replace all occurances of a target substring in a string (let loop ((str string) (pos 0)) (if (>= pos (string-length str)) str (loop (repl-substring str target repl pos) (if (repl-substring? str target pos) (+ (string-length repl) pos) (+ 1 pos)))))) docbook-dsssl-1.79/docsrc/libref/constant-list.sgm0000644000175000001440000000207410142563636022743 0ustar msmithusers00000000000000 constant-list dblib.dsl constant-list Returns a list of the specified value Synopsis (constant-list value length) Description Return a list containing length elements, each of value. Author David Carlisle Source Code (define (constant-list value length) ;; Returns a list of the specified value (let loop ((count (abs length)) (result '())) (if (equal? count 0) result (loop (- count 1) (cons value result))))) docbook-dsssl-1.79/docsrc/libref/default-lowercase-list.sgm0000644000175000001440000000224310142563636024516 0ustar msmithusers00000000000000 default-lowercase-list dblib.dsl default-lowercase-list The default list of lowercase characters Synopsis default-lowercase-list Description The default list of lowercase characters. The order and sequence of characters in this list must match the order and sequence in default-uppercase-list. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define default-lowercase-list ;; The default list of lowercase characters '(#\a #\b #\c #\d #\e #\f #\g #\h #\i #\j #\k #\l #\m #\n #\o #\p #\q #\r #\s #\t #\u #\v #\w #\x #\y #\z)) docbook-dsssl-1.79/docsrc/libref/include-file.sgm0000644000175000001440000000210010142563636022467 0ustar msmithusers00000000000000 include-file dblib.dsl include-file Return the literal content of fileref Synopsis (include-file fileref) Description Opens and loads fileref with (read-entity); returns the content of fileref as a (literal). Trims the last trailing newline off the file so that "the right thing" happens in asis environments. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (include-file fileref) ;; Return the literal content of fileref (literal (include-characters fileref))) docbook-dsssl-1.79/docsrc/libref/node-list-filter-by-gi.sgm0000644000175000001440000000254410142563636024331 0ustar msmithusers00000000000000 node-list-filter-by-gi dblib.dsl node-list-filter-by-gi Returns selected elements from a node list Synopsis (node-list-filter-by-gi nodelist gilist) Description Returns a node list containing all the nodes from nodelist whose GIs are members of gilist. The order of nodes in the node list is preserved. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (node-list-filter-by-gi nodelist gilist) ;; Returns selected elements from a node list (let loop ((result (empty-node-list)) (nl nodelist)) (if (node-list-empty? nl) result (if (member (gi (node-list-first nl)) gilist) (loop (node-list result (node-list-first nl)) (node-list-rest nl)) (loop result (node-list-rest nl)))))) docbook-dsssl-1.79/docsrc/libref/expt.sgm0000644000175000001440000000163210142563636021120 0ustar msmithusers00000000000000 expt dblib.dsl expt Exponentiation Synopsis (expt b n) Description Returns b raised to the nth power for integer n >= 0. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (expt b n) ;; Exponentiation ;; (if (<= n 0) 1 (* b (expt b (- n 1))))) docbook-dsssl-1.79/docsrc/libref/has-ancestor-member-p.sgm0000644000175000001440000000220610142563636024227 0ustar msmithusers00000000000000 has-ancestor-member? dblib.dsl has-ancestor-member? Returns true if the specified node has one of a set of GIs as an ancestor Synopsis (has-ancestor-member? nd gilist) Description Returns #t if nd has an ancestor whose GI is a member of gilist. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (has-ancestor-member? nd gilist) ;; Returns true if the specified node has one of a set of GIs as an ancestor (not (node-list-empty? (ancestor-member nd gilist)))) docbook-dsssl-1.79/docsrc/libref/nth-node.sgm0000644000175000001440000000206010142563636021650 0ustar msmithusers00000000000000 nth-node dblib.dsl nth-node Return a specific node in a node list (by numeric index) Synopsis (nth-node nl k) Description Returns the kth node in nl. The first node in the node list has the index "1". Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (nth-node nl k) ;; Return a specific node in a node list (by numeric index) (if (equal? k 1) (node-list-first nl) (nth-node (node-list-rest nl) (- k 1)))) docbook-dsssl-1.79/docsrc/libref/directory-depth.sgm0000644000175000001440000000312210142563636023242 0ustar msmithusers00000000000000 directory-depth dblib.dsl directory-depth Count the directory depth of a path name Synopsis (directory-depth pathname) Description Returns the number of directory levels in pathname The pathname must end in a filename. Further, this function assumes that directories in a pathname are separated by forward slashes ("/"). Example "filename" => 0, "foo/filename" => 1, "foo/bar/filename => 2, "foo/bar/../filename => 1. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (directory-depth pathname) ;; Count the directory depth of a path name (let loop ((count 0) (pathlist (match-split pathname "/"))) (if (null? pathlist) (- count 1) ;; pathname should always end in a filename (if (or (equal? (car pathlist) "/") (equal? (car pathlist) ".")) (loop count (cdr pathlist)) (if (equal? (car pathlist) "..") (loop (- count 1) (cdr pathlist)) (loop (+ count 1) (cdr pathlist))))))) docbook-dsssl-1.79/docsrc/libref/repl-substring-list-target.sgm0000644000175000001440000000255010142563636025355 0ustar msmithusers00000000000000 repl-substring-list-target dblib.dsl repl-substring-list-target Return the target that matches in a string Synopsis (repl-substring-list-target string replace-list pos) Description Returns the target in replace-list that matches in string at pos See also repl-substring-list?. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (repl-substring-list-target string replace-list pos) ;; Return the target that matches in a string (let loop ((list replace-list)) (let ((target (car list)) (repl (car (cdr list))) (rest (cdr (cdr list)))) (if (repl-substring? string target pos) target (if (null? rest) #f (loop rest)))))) docbook-dsssl-1.79/docsrc/libref/split.sgm0000644000175000001440000000420610142563636021273 0ustar msmithusers00000000000000 split dblib.dsl split Splits string at whitespace and returns the resulting list of tokens Synopsis (split str #!optional (whitespace '(#\space))) Description Given a string containing delimited tokens, return a list of the tokens in string form. str The string to split. whitespace A list of characters that should be treated as whitespace. Author David Megginson, <dmeggins@uottawa.ca> Source Code (define (split str #!optional (whitespace '(#\space))) ;; Splits string at whitespace and returns the resulting list of tokens (let loop ((characters (string->list str)) ; Top-level recursive loop. (current-word '()) (tokens '())) ; If there are no characters left, ; then we're done! (cond ((null? characters) ; Is there a token in progress? (if (null? current-word) (reverse tokens) (reverse (cons (list->string (reverse current-word)) tokens)))) ; If there are characters left, ; then keep going. (#t (let ((c (car characters)) (rest (cdr characters))) ; Are we reading a space? (cond ((member c whitespace) (if (null? current-word) (loop rest '() tokens) (loop rest '() (cons (list->string (reverse current-word)) tokens)))) ; We are reading a non-space (#t (loop rest (cons c current-word) tokens)))))))) docbook-dsssl-1.79/docsrc/libref/case-fold-down-charlist.sgm0000644000175000001440000000225710142563636024555 0ustar msmithusers00000000000000 case-fold-down-charlist dblib.dsl case-fold-down-charlist Return the list of characters, shifted to lowercase Synopsis (case-fold-down-charlist charlist) Description Shifts all of the characters in charlist to lowercase with case-fold-down-char. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (case-fold-down-charlist charlist) ;; Return the list of characters, shifted to lowercase (if (null? charlist) '() (cons (case-fold-down-char (car charlist)) (case-fold-down-charlist (cdr charlist))))) docbook-dsssl-1.79/docsrc/libref/unit-conversion-alist.sgm0000644000175000001440000000212510142563636024412 0ustar msmithusers00000000000000 unit-conversion-alist dblib.dsl unit-conversion-alist Defines the base length of specific unit names Synopsis unit-conversion-alist Description This list identifies the length of each unit. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define unit-conversion-alist ;; Defines the base length of specific unit names (list '("default" 1pi) '("mm" 1mm) '("cm" 1cm) '("in" 1in) '("pi" 1pi) '("pc" 1pi) '("pt" 1pt) '("px" 1px) '("barleycorn" 2pi))) docbook-dsssl-1.79/docsrc/libref/url-encode-string.sgm0000644000175000001440000000230210142563636023474 0ustar msmithusers00000000000000 url-encode-string dblib.dsl url-encode-string Returns str with all special characters %-encoded Synopsis (url-encode-string str) Description Converts str to a properly encoded URL string. Returns str unchanged if it is not a string. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (url-encode-string str) ;; Returns str with all special characters %-encoded (if (string? str) (let loop ((charlist (string->list str)) (url "")) (if (null? charlist) url (loop (cdr charlist) (string-append url (url-encode-char (car charlist)))))) str)) docbook-dsssl-1.79/docsrc/libref/ifollow.sgm0000644000175000001440000000221710142563636021613 0ustar msmithusers00000000000000 ifollow dblib.dsl ifollow Implements ifollow as per ISO/IEC 10179:1996 Synopsis (ifollow nl) Description Implements ifollow as per ISO/IEC 10179:1996 Author From ISO/IEC 10179:1996 Source Code (define (ifollow nl) ;; Implements ifollow as per ISO/IEC 10179:1996 (node-list-map (lambda (snl) (let loop ((rest (siblings snl))) (cond ((node-list-empty? rest) (empty-node-list)) ((node-list=? (node-list-first rest) snl) (node-list-first (node-list-rest rest))) (else (loop (node-list-rest rest)))))) nl)) docbook-dsssl-1.79/docsrc/libref/node-list-last.sgm0000644000175000001440000000174110142563636023000 0ustar msmithusers00000000000000 node-list-last dblib.dsl node-list-last Implements node-list-last as per ISO/IEC 10179:1996 Synopsis (node-list-last nl) Description Implements node-list-last as per ISO/IEC 10179:1996 Author From ISO/IEC 10179:1996 Source Code (define (node-list-last nl) ;; Implements node-list-last as per ISO/IEC 10179:1996 (node-list-ref nl (- (node-list-length nl) 1))) docbook-dsssl-1.79/docsrc/libref/string-replace-list.sgm0000644000175000001440000000252110142563636024026 0ustar msmithusers00000000000000 string-replace-list dblib.dsl string-replace-list Replace a list of target substrings in a string Synopsis (string-replace-list string replace-list) Description Replaces, in string, all occurances of each target in replace-list with its replacement. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (string-replace-list string replace-list) ;; Replace a list of target substrings in a string (let loop ((str string) (pos 0)) (if (>= pos (string-length str)) str (loop (repl-substring-list str replace-list pos) (if (repl-substring-list? str replace-list pos) (+ (string-length (repl-substring-list-repl str replace-list pos)) pos) (+ 1 pos)))))) docbook-dsssl-1.79/docsrc/libref/case-fold-up.sgm0000644000175000001440000000170610142563636022421 0ustar msmithusers00000000000000 case-fold-up dblib.dsl case-fold-up Shift a string to uppercase Synopsis (case-fold-up str) Description Returns str in uppercase. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (case-fold-up str) ;; Shift a string to uppercase (if (string? str) (apply string (case-fold-up-charlist (string->list str))) str)) docbook-dsssl-1.79/docsrc/libref/siblings.sgm0000644000175000001440000000162310142563636021752 0ustar msmithusers00000000000000 siblings dblib.dsl siblings Implements siblings as per ISO/IEC 10179:1996 Synopsis (siblings snl) Description Implements siblings as per ISO/IEC 10179:1996 Author From ISO/IEC 10179:1996 Source Code (define (siblings snl) ;; Implements siblings as per ISO/IEC 10179:1996 (children (parent snl))) docbook-dsssl-1.79/docsrc/libref/ancestor-member.sgm0000644000175000001440000000214510142563636023223 0ustar msmithusers00000000000000 ancestor-member dblib.dsl ancestor-member Returns the first ancestor in a list of GIs Synopsis (ancestor-member nd gilist) Description Returns the first ancestor of nd whose GI is a member of gilist. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (ancestor-member nd gilist) ;; Returns the first ancestor in a list of GIs (if (node-list-empty? nd) (empty-node-list) (if (member (gi nd) gilist) nd (ancestor-member (parent nd) gilist)))) docbook-dsssl-1.79/docsrc/libref/match-split-string-list.sgm0000644000175000001440000000315510142563636024644 0ustar msmithusers00000000000000 match-split-string-list dblib.dsl match-split-string-list Splits each string in a list of strings and returns the concatenated result list Synopsis (match-split-string-list string-list target) Description Splits each string in string-list at target with (match-split), concatenates the results, and returns a single list of tokens. string-list The list of strings to split. target The string which is a delimiter between tokens. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (match-split-string-list string-list target) ;; Splits each string in a list of strings and returns the concatenated result list (let loop ((result '()) (sl string-list)) (if (null? sl) result (loop (append result (match-split (car sl) target)) (cdr sl))))) docbook-dsssl-1.79/docsrc/libref/component-descendant-list-node-list.sgm0000644000175000001440000000325210142563636027115 0ustar msmithusers00000000000000 component-list-descendant-node-list dblib.dsl component-list-descendant-node-list Find all elements of a list of elements in a component Synopsis (component-list-descendant-node-list inputnd inputlist complist) Description Finds the first ancestor of inputnd in complist and then returns a list of all the elements in inputlist within that component. WARNING: this requires walking over *all* the descendants of the ancestor node. This may be *slow*. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (component-list-descendant-node-list inputnd inputlist complist) ;; Find all elements of a list of elements in a component (let ((nd (ancestor-member inputnd complist))) (let loop ((nl (descendants nd)) (result (empty-node-list))) (if (node-list-empty? nl) result (if (member (gi (node-list-first nl)) inputlist) (loop (node-list-rest nl) (node-list result (node-list-first nl))) (loop (node-list-rest nl) result)))))) docbook-dsssl-1.79/docsrc/libref/case-fold-up-charlist.sgm0000644000175000001440000000223510142563636024226 0ustar msmithusers00000000000000 case-fold-up-charlist dblib.dsl case-fold-up-charlist Return the list of characters, shifted to uppercase Synopsis (case-fold-up-charlist charlist) Description Shifts all of the characters in charlist to uppercase with case-fold-up-char. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (case-fold-up-charlist charlist) ;; Return the list of characters, shifted to uppercase (if (null? charlist) '() (cons (case-fold-up-char (car charlist)) (case-fold-up-charlist (cdr charlist))))) docbook-dsssl-1.79/docsrc/libref/match-substitute-sosofo.sgm0000644000175000001440000000260710142563636024756 0ustar msmithusers00000000000000 match-substitute-sosofo dblib.dsl match-substitute-sosofo Return matching sosofo from associative list Synopsis (match-substitute-sosofo string assoc-list) Description Given a string and an associative list of strings and sosofos, return the sosofo of the matching string, or return the literal string as a sosofo. (This function is used for a particular task in the DocBook stylesheets. It may not be particularly general, but its in dblib.dsl' because there is nothing DTD-specific about it.) Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (match-substitute-sosofo string assoc-list) ;; Return matching sosofo from associative list (if (assoc string assoc-list) (car (cdr (assoc string assoc-list))) (literal string))) docbook-dsssl-1.79/docsrc/libref/node-list-filter-out-pis.sgm0000644000175000001440000000252110142563636024715 0ustar msmithusers00000000000000 node-list-filter-out-pis dblib.dsl node-list-filter-out-pis Returns the nodelist with all PIs removed Synopsis (node-list-filter-out-pis nodelist) Description Returns a node list containing all the nodes from nodelist that are not PIs. The order of nodes in the node list is preserved. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (node-list-filter-out-pis nodelist) ;; Returns the nodelist with all PIs removed (let loop ((result (empty-node-list)) (nl nodelist)) (if (node-list-empty? nl) result (if (equal? (node-property 'class-name (node-list-first nl)) 'pi) (loop result (node-list-rest nl)) (loop (node-list result (node-list-first nl)) (node-list-rest nl)))))) docbook-dsssl-1.79/docsrc/libref/include-characters.sgm0000644000175000001440000000264510142563636023705 0ustar msmithusers00000000000000 include-characters dblib.dsl include-characters Return the character content of fileref Synopsis (include-characters fileref) Description Opens and loads fileref with (read-entity); returns the content of fileref as characters. Trims the last trailing newline off the file so that "the right thing" happens in asis environments. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (include-characters fileref) ;; Return the character content of fileref (let* ((newline #\U-000D) (file-content (read-entity fileref)) (file-length (string-length file-content)) ;; If the last char is a newline, drop it, otherwise print it... (content (if (equal? newline (string-ref file-content (- file-length 1))) (substring file-content 0 (- file-length 1)) file-content))) content)) docbook-dsssl-1.79/docsrc/libref/repl-substring-list-repl.sgm0000644000175000001440000000263310142563636025033 0ustar msmithusers00000000000000 repl-substring-list-repl dblib.dsl repl-substring-list-repl Return the replacement that would be used in the string Synopsis (repl-substring-list-repl string replace-list pos) Description Returns the replacement in replace-list that would be used for the target that matches in string at pos See also repl-substring-list?. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (repl-substring-list-repl string replace-list pos) ;; Return the replacement that would be used in the string (let loop ((list replace-list)) (let ((target (car list)) (repl (car (cdr list))) (rest (cdr (cdr list)))) (if (repl-substring? string target pos) repl (if (null? rest) #f (loop rest)))))) docbook-dsssl-1.79/docsrc/libref/string-with-space.sgm0000644000175000001440000000323410142563636023510 0ustar msmithusers00000000000000 string-with-space dblib.dsl string-with-space Returns string with a space appended or the empty string Synopsis (string-with-space string #!optional (space " ")) Description If string is not the empty string, returns string with a space appended. If string is empty, or is not a (string?), returns string unmodified. string The string onto which a space should be appended. space If specified, the space to append. Defaults to a single space. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (string-with-space string #!optional (space " ")) ;; Returns string with a space appended or the empty string (if (string? string) (if (equal? string "") string (string-append string space)) string)) docbook-dsssl-1.79/docsrc/libref/node-list-last-element.sgm0000644000175000001440000000237610142563636024434 0ustar msmithusers00000000000000 node-list-last-element dblib.dsl node-list-last-element Return the last element node in a node list Synopsis (node-list-last-element nodelist) Description This function returns the last node in a node list which is an element (as opposed to a PI or anything else that might appear in a node list). Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (node-list-last-element nodelist) ;; Return the last element node in a node list (let loop ((el (empty-node-list)) (nl nodelist)) (if (node-list-empty? nl) el (if (gi (node-list-first nl)) (loop (node-list-first nl) (node-list-rest nl)) (loop el (node-list-rest nl)))))) docbook-dsssl-1.79/docsrc/libref/node-list-filter-elements.sgm0000644000175000001440000000235710142563636025140 0ustar msmithusers00000000000000 node-list-filter-elements dblib.dsl node-list-filter-elements Returns the elements in 'nodelist' Synopsis (node-list-filter-elements nodelist) Description Returns the elements in nodelist Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (node-list-filter-elements nodelist) ;; Returns the elements in 'nodelist' (let loop ((result (empty-node-list)) (nl nodelist)) (if (node-list-empty? nl) result (if (equal? (node-property 'class-name (node-list-first nl)) 'element) (loop (node-list result (node-list-first nl)) (node-list-rest nl)) (loop result (node-list-rest nl)))))) docbook-dsssl-1.79/docsrc/libref/sgml-root-element.sgm0000644000175000001440000000216710142563636023516 0ustar msmithusers00000000000000 sgml-root-element dblib.dsl sgml-root-element Returns the node that is the root element of the current document Synopsis (sgml-root-element #!optional (grove-node (current-node))) Description Returns the node that is the root element of the current document Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (sgml-root-element #!optional (grove-node (current-node))) ;; Returns the node that is the root element of the current document (node-property 'document-element (node-property 'grove-root grove-node))) docbook-dsssl-1.79/docsrc/libref/length-string-unit-part.sgm0000644000175000001440000000261110142563636024644 0ustar msmithusers00000000000000 length-string-unit-part dblib.dsl length-string-unit-part Returns the unit part of a length string Synopsis (length-string-unit-part lenstr) Description Given a length as a string, return the units part. Example "100pt" returns "pt". "30" returns "". "in" returns "in". Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (length-string-unit-part lenstr) ;; Returns the unit part of a length string (let ((number-part (length-string-number-part lenstr)) (strlen (string-length lenstr))) (if (equal? (string-length number-part) strlen) "" (substring lenstr (string-length number-part) strlen)))) docbook-dsssl-1.79/docsrc/libref/repl-substring-p.sgm0000644000175000001440000000237710142563636023364 0ustar msmithusers00000000000000 repl-substring? dblib.dsl repl-substring? Returns true if the specified substring can be replaced Synopsis (repl-substring? string target pos) Description Returns #t if target occurs at pos in string. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (repl-substring? string target pos) ;; Returns true if the specified substring can be replaced (let* ((could-match (<= (+ pos (string-length target)) (string-length string))) (match (if could-match (substring string pos (+ pos (string-length target))) ""))) (and could-match (string=? match target)))) docbook-dsssl-1.79/docsrc/libref/my-debug.sgm0000644000175000001440000000374610142563636021661 0ustar msmithusers00000000000000 my-debug dblib.dsl my-debug A debugging function more helpful than (debug) Synopsis (my-debug x #!optional return-value) Description A version of debug that tries to print information more helpful than "unknown object ...". Will need extending for any further types added to Jade which don't have useful print methods. (Should yield more information extracted from each type.) x The object about which debugging information is desired. Author Tony Graham Source Code (define (my-debug x #!optional return-value) ;; A debugging function more helpful than (debug) (let ((msg (debug (cond ((node-list? x) (if (node-list-empty? x) (list 'empty-node-list x) (list (if (named-node-list? x) 'named-node-list 'node-list) (node-list-length x) x))) ((sosofo? x) (list 'sosofo x)) ((procedure? x) (list 'procedure x)) ((style? x) (list 'style x)) ((address? x) (list 'address x)) ((color? x) (list 'color x)) ((color-space? x) (list 'color-space x)) ((display-space? x) (list 'display-space x)) ((inline-space? x) (list 'inline-space x)) ((glyph-id? x) (list 'glyph-id x)) ((glyph-subst-table? x) (list 'glyph-subst-table x)) (else x))))) return-value)) docbook-dsssl-1.79/docsrc/libref/parse-pi-attribute.sgm0000644000175000001440000000223510142563636023661 0ustar msmithusers00000000000000 parse-pi-attribute dblib.dsl parse-pi-attribute no documented purpose Synopsis (parse-pi-attribute pivalues #!optional (skip #f)) Source Code (define (parse-pi-attribute pivalues #!optional (skip #f)) (let* ((equalpos (string-index pivalues "=")) (name (substring pivalues 0 equalpos)) (quotchar (substring pivalues (+ equalpos 1) (+ equalpos 2))) (rest (substring pivalues (+ equalpos 2) (string-length pivalues))) (quotpos (string-index rest quotchar)) (value (substring rest 0 quotpos)) (morevals (strip (substring rest (+ quotpos 1) (string-length rest))))) (if skip morevals (list name value)))) docbook-dsssl-1.79/docsrc/libref/component-descendant-node-list.sgm0000644000175000001440000000242710142563636026147 0ustar msmithusers00000000000000 component-descendant-node-list dblib.dsl component-descendant-node-list Find all 'inputnd's within an ancestor element Synopsis (component-descendant-node-list inputnd complist) Description Finds the first ancestor of inputnd in complist and then returns a node list of all the inputnds within (that are descendants of) that ancestor. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (component-descendant-node-list inputnd complist) ;; Find all 'inputnd's within an ancestor element (let ((nd (ancestor-member inputnd complist))) (select-elements (descendants nd) (gi inputnd)))) docbook-dsssl-1.79/docsrc/libref/case-fold-down-char.sgm0000644000175000001440000000405210142563636023654 0ustar msmithusers00000000000000 case-fold-down-char dblib.dsl case-fold-down-char Return the lowercase form of a single character Synopsis (case-fold-down-char ch #!optional (uc-list default-uppercase-list) (lc-list default-lowercase-list)) Description Returns the lowercase form of ch if ch is a member of the uppercase list, otherwise return ch. The implied mapping from uppercase to lowercase in the two lists is one-to-one. The first element of the uppercase list is the uppercase form of the first element of the lowercase list, and vice versa. ch The character to fold down. uc-list The list of uppercase letters. The default is the list of English uppercase letters. lc-list The list of lowercase letters. The default is the list of English lowercase letters. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (case-fold-down-char ch #!optional (uc-list default-uppercase-list) (lc-list default-lowercase-list)) ;; Return the lowercase form of a single character (let ((idx (list-member-find ch uc-list))) (if (>= idx 0) (list-ref lc-list idx) ch))) docbook-dsssl-1.79/docsrc/libref/expand-children.sgm0000644000175000001440000000332310142563636023204 0ustar msmithusers00000000000000 expand-children dblib.dsl expand-children Expand selected nodes in a node list Synopsis (expand-children nodelist gilist) Description Given a node-list, expand-children replaces all of the members of the node-list whose GIs are members of gilist with (children). This function can be used to selectively flatten the hierarchy of a document. Example Suppose that the node list is (BOOKINFO PREFACE PART APPENDIX). (expand-children nl ("PART")) might return (BOOKINFO PREFACE CHAPTER CHAPTER APPENDIX). Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (expand-children nodelist gilist) ;; Expand selected nodes in a node list (let loop ((nl nodelist) (result (empty-node-list))) (if (node-list-empty? nl) result (if (member (gi (node-list-first nl)) gilist) (loop (node-list-rest nl) (node-list result (children (node-list-first nl)))) (loop (node-list-rest nl) (node-list result (node-list-first nl))))))) docbook-dsssl-1.79/docsrc/libref/parse-skip-pi-attribute.sgm0000644000175000001440000000133510142563636024625 0ustar msmithusers00000000000000 parse-skip-pi-attribute dblib.dsl parse-skip-pi-attribute no documented purpose Synopsis (parse-skip-pi-attribute pivalues) Source Code (define (parse-skip-pi-attribute pivalues) (parse-pi-attribute pivalues #t)) docbook-dsssl-1.79/docsrc/libref/decrement-list-members.sgm0000644000175000001440000000327510142563636024514 0ustar msmithusers00000000000000 decrement-list-members dblib.dsl decrement-list-members Decrement each member of a list Synopsis (decrement-list-members vlist #!optional (decr 1) (floor 0)) Description Decrement all the values of a list by decr, not to fall below floor. vlist The list of values. All the values of this list should be numeric. decr The amount by which each element of the list should be decremented. The default is 1. floor The value below which each member of the list is not allowed to fall. The default is 0. Author David Carlisle Source Code (define (decrement-list-members vlist #!optional (decr 1) (floor 0)) ;; Decrement each member of a list (map (lambda (a) (if (<= a (+ decr floor)) floor (- a decr))) vlist)) docbook-dsssl-1.79/docsrc/libref/absolute-child-number.sgm0000644000175000001440000000250510142563636024325 0ustar msmithusers00000000000000 absolute-child-number dblib.dsl absolute-child-number Returns the absolute child number of the specified node Synopsis (absolute-child-number #!optional (nd (current-node))) Description Returns the child number, regardless of gi, of snl within its parent. Isn't there a better way to get this? snl The node (singleton node list) whose child number is desired. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (absolute-child-number #!optional (nd (current-node))) ;; Returns the absolute child number of the specified node (+ (node-list-length (preced nd)) 1)) docbook-dsssl-1.79/docsrc/libref/assoc-objs.sgm0000644000175000001440000000262210142563636022203 0ustar msmithusers00000000000000 assoc-objs dblib.dsl assoc-objs Returns a list of the objects in an associative list Synopsis (assoc-objs alist) Description Returns a list of the objects in an associative list. alist The associative list. An associative list is a list of lists where each interior list is a pair of elements. Example (assoc-objs (("a" "b") ("c" "d"))) returns ("a" "c") Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (assoc-objs alist) ;; Returns a list of the objects in an associative list (let loop ((result '()) (al alist)) (if (null? al) result (loop (append result (list (car (car al)))) (cdr al))))) docbook-dsssl-1.79/docsrc/libref/repl-substring-list.sgm0000644000175000001440000000262210142563636024071 0ustar msmithusers00000000000000 repl-substring-list dblib.dsl repl-substring-list Replace the first target in the replacement list that matches Synopsis (repl-substring-list string replace-list pos) Description Replaces the first target in replace-list that matches in string at pos with its replacement. See also repl-substring-list?. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (repl-substring-list string replace-list pos) ;; Replace the first target in the replacement list that matches (if (repl-substring-list? string replace-list pos) (let ((target (repl-substring-list-target string replace-list pos)) (repl (repl-substring-list-repl string replace-list pos))) (repl-substring string target repl pos)) string)) docbook-dsssl-1.79/docsrc/libref/join.sgm0000644000175000001440000000302310142563636021073 0ustar msmithusers00000000000000 join dblib.dsl join Joins a list of strings together Synopsis (join slist #!optional (space " ")) Description Given a list of strings and a space string, returns the string that results from joining all the strings in the list together, separated by space. slist The list of strings. space The string to place between each member of the list. Defaults to a single space. Author David Carlisle Source Code (define (join slist #!optional (space " ")) ;; Joins a list of strings together (letrec ((loop (lambda (l result) (if (null? l) result (loop (cdr l) (cons space (cons (car l) result))))))) (if (null? slist) "" (apply string-append (cons (car slist) (loop (reverse (cdr slist)) '() )))))) docbook-dsssl-1.79/docsrc/libref/match-split.sgm0000644000175000001440000000435110142563636022366 0ustar msmithusers00000000000000 match-split dblib.dsl match-split Splits string at target and returns the resulting list of tokens Synopsis (match-split string target) Description Splits string at every occurance of target and returns the result as a list. Note that match-split returns the occurances of target in the list of tokens. string The string to split. target The string which is a delimiter between tokens Example "this is a test" split at "is" returns ("th" "is" " " "is" " a test") Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (match-split string target) ;; Splits string at target and returns the resulting list of tokens (if (string? string) (let loop ((result '()) (current "") (rest string)) (if (< (string-length rest) (string-length target)) (append result (if (equal? (string-append current rest) "") '() (list (string-append current rest)))) (if (equal? target (substring rest 0 (string-length target))) (loop (append result (if (equal? current "") '() (list current)) (list target)) "" (substring rest (string-length target) (string-length rest))) (loop result (string-append current (substring rest 0 1)) (substring rest 1 (string-length rest)))))) (list string))) docbook-dsssl-1.79/docsrc/libref/node-list-first-element.sgm0000644000175000001440000000234110142563636024610 0ustar msmithusers00000000000000 node-list-first-element dblib.dsl node-list-first-element Return the first element node in a node list Synopsis (node-list-first-element nodelist) Description This function returns the first node in a node list which is an element (as opposed to a PI or anything else that might appear in a node list). Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (node-list-first-element nodelist) ;; Return the first element node in a node list (let loop ((nl nodelist)) (if (node-list-empty? nl) (empty-node-list) (if (gi (node-list-first nl)) (node-list-first nl) (loop (node-list-rest nl)))))) docbook-dsssl-1.79/docsrc/libref/find-first-char.sgm0000644000175000001440000000426210142563636023122 0ustar msmithusers00000000000000 find-first-char dblib.dsl find-first-char Find the first occurance of a character in a string Synopsis (find-first-char string skipchars findchars #!optional (pos 0)) Description Finds first character in string that is in findchars, skipping all occurances of characters in skipchars. Search begins at pos. If no such characters are found, returns -1. If skipchars is empty, skip anything not in findchars If skipchars is #f, skip nothing If findchars is empty, the first character not in skipchars is matched It is an error if findchars is not a string. It is an error if findchars is empty and skipchars is not a non-empty string. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (find-first-char string skipchars findchars #!optional (pos 0)) ;; Find the first occurance of a character in a string (let ((skiplist (if (string? skipchars) (string->list skipchars) '())) (findlist (string->list findchars))) (if (and (null? skiplist) (null? findlist)) ;; this is an error -2 (if (or (>= pos (string-length string)) (< pos 0)) -1 (let ((ch (string-ref string pos))) (if (null? skiplist) ;; try to find first (if (member ch findlist) pos (if (string? skipchars) (find-first-char string skipchars findchars (+ 1 pos)) -1)) ;; try to skip first (if (member ch skiplist) (find-first-char string skipchars findchars (+ 1 pos)) (if (or (member ch findlist) (null? findlist)) pos -1)))))))) docbook-dsssl-1.79/docsrc/libref/parse-starttag-pi.sgm0000644000175000001440000000346710142563636023517 0ustar msmithusers00000000000000 parse-starttag-pi dblib.dsl parse-starttag-pi Parses a structured PI and returns a list of values Synopsis (parse-starttag-pi pi) Description It has become common practice to give PIs structured values. The result is a PI that looks a lot like a start tag with attributes: <?pitarget name1="value1" name2=value2 name3="value 3"> This function parses a PI with this form and returns a list. The list contains the pitarget and each of the name/value pairs: ("pitarget" "name1" "value1" "name2" "value2" "name3" "value 3") Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (parse-starttag-pi pi) ;; Parses a structured PI and returns a list of values (let* ((strippi (strip pi)) (spacepos (string-index strippi " "))) (if (< spacepos 0) (list strippi) (let* ((pitarget (substring strippi 0 spacepos)) (pivalues (strip (substring strippi (+ spacepos 1) (string-length strippi))))) (let loop ((values pivalues) (result (list pitarget))) (if (string=? values "") result (loop (parse-skip-pi-attribute values) (append result (parse-pi-attribute values))))))))) docbook-dsssl-1.79/docsrc/libref/match-split-list.sgm0000644000175000001440000000311510142563636023334 0ustar msmithusers00000000000000 match-split-list dblib.dsl match-split-list Splits a string at a list of targets and returns the resulting list of tokens Synopsis (match-split-list string target-list) Description Splits string at every target in target-list with (match-split), returning the whole collection of tokens as a list. string The string to split. target-list A list of target strings which are the delimters between tokens. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (match-split-list string target-list) ;; Splits a string at a list of targets and returns the resulting list of tokens (let loop ((result (list string)) (tlist target-list)) (if (null? tlist) result (loop (match-split-string-list result (car tlist)) (cdr tlist))))) docbook-dsssl-1.79/docsrc/libref/repl-substring.sgm0000644000175000001440000000230510142563636023116 0ustar msmithusers00000000000000 repl-substring dblib.dsl repl-substring Replace substring in a string Synopsis (repl-substring string target repl pos) Description Replaces target with repl in string at pos. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (repl-substring string target repl pos) ;; Replace substring in a string (let ((matches (repl-substring? string target pos))) (if matches (string-append (substring string 0 pos) repl (substring string (+ pos (string-length target)) (string-length string))) string))) docbook-dsssl-1.79/docsrc/libref/parse-measurement.sgm0000644000175000001440000000360510142563636023577 0ustar msmithusers00000000000000 parse-measurement dblib.dsl parse-measurement Parse a string containing a measurement and return the magnitude and units Synopsis (parse-measurement measure) Description Parse a string containing a measurement, e.g., "3pi" or "2.5in", and return the magnitude and units: (3 "pi") or (2.5 "in"). Either element of the list may be #f if the string cannot reasonably be parsed as a measurement. Leading and trailing spaces are ignored. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (parse-measurement measure) ;; Parse a string containing a measurement and return the magnitude and units (let* ((magstart (find-first-char measure " " "0123456789.")) (unitstart (find-first-char measure " 0123456789." "")) (unitend (find-first-char measure "" " " unitstart)) (magnitude (if (< magstart 0) #f (if (< unitstart 0) (substring measure magstart (string-length measure)) (substring measure magstart unitstart)))) (unit (if (< unitstart 0) #f (if (< unitend 0) (substring measure unitstart (string-length measure)) (substring measure unitstart unitend))))) (list magnitude unit))) docbook-dsssl-1.79/docsrc/libref/strip.sgm0000644000175000001440000000361010142563636021277 0ustar msmithusers00000000000000 strip dblib.dsl strip Strip leading and trailing characters off of a string Synopsis (strip str #!optional (stripchars '(#\space #\&#RE #\U-0009))) Description Strips leading and trailing characters in the stripchars list off of a string and returns the stripped string. str The string to strip stripchars A list of characters that should be stripped. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (strip str #!optional (stripchars '(#\space #\&#RE #\U-0009))) ;; Strip leading and trailing characters off of a string (let* ((startpos (let loop ((count 0)) (if (>= count (string-length str)) (string-length str) (if (member (string-ref str count) stripchars) (loop (+ count 1)) count)))) (tailstr (substring str startpos (string-length str))) (endpos (let loop ((count (- (string-length tailstr) 1))) (if (< count 1) 0 (if (member (string-ref tailstr count) stripchars) (loop (- count 1)) count))))) (if (or (< endpos 0) (string=? tailstr "")) "" (substring tailstr 0 (+ endpos 1))))) docbook-dsssl-1.79/docsrc/libref/pad-string.sgm0000644000175000001440000000423510142563636022212 0ustar msmithusers00000000000000 pad-string dblib.dsl pad-string Pads a string, in front, to the specified length Synopsis (pad-string string length padchar) Description Returns string, padded in front with padchar to at least length Returns string unmodified if string is not a (string?), padchar is not a (string?), padchar is the empty string, or if string is already greater than or equal to length in length. string The string to pad. length The desired length. padchar The character (string, actually) to use as padding. If padchar is longer than 1 character, the resulting string may be longer than length when returned. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (pad-string string length padchar) ;; Pads a string, in front, to the specified length (if (and (string? string) (string? padchar) (> (string-length padchar) 0)) (let loop ((s string) (count (- length (string-length string)))) (if (<= count 0) s (loop (string-append padchar s) (- count (string-length padchar))))) string)) docbook-dsssl-1.79/docsrc/libref/list-put.sgm0000644000175000001440000000277310142563636021730 0ustar msmithusers00000000000000 list-put dblib.dsl list-put Replace a specific member of a list Synopsis (list-put vlist ordinal value #!optional (span 1)) Description Replaces the ordinalth value of vlist with value. If span > 1, replaces ordinal to ordinal+span-1 values starting at ordinal. Example (list-put (1 2 3 4 5) 2 0 2) returns (1 0 0 4 5). Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (list-put vlist ordinal value #!optional (span 1)) ;; Replace a specific member of a list (let loop ((result vlist) (count span) (k ordinal)) (if (equal? count 0) result (let ((head (list-head result (- k 1))) (tail (list-tail result k))) (loop (append head (list value) tail) (- count 1) (+ k 1)))))) docbook-dsssl-1.79/docsrc/libref/sgml-root-elementX3F.sgm0000644000175000001440000000176310142563636024040 0ustar msmithusers00000000000000 sgml-root-element? dblib.dsl sgml-root-element? Test if a node is the root element Synopsis (sgml-root-element? node) Description Returns #t if node is the root element of the current document. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (sgml-root-element? node) ;; Test if a node is the root element (node-list=? node (sgml-root-element node))) docbook-dsssl-1.79/docsrc/libref/map.sgm0000644000175000001440000000223510142563636020715 0ustar msmithusers00000000000000 map dblib.dsl map Implements map Synopsis (map f #!rest xs) Description Implements map Author From Mulberry Tech. site (need better attribution) Source Code (define (map f #!rest xs) ;; Implements map (let ((map1 (lambda (f xs) ; bootstrap version for unary F (let loop ((xs xs)) (if (null? xs) '() (cons (f (car xs)) (loop (cdr xs)))))))) (cond ((null? xs) '()) ((null? (cdr xs)) (map1 f (car xs))) (else (let loop ((xs xs)) (if (null? (car xs)) '() (cons (apply f (map1 car xs)) (loop (map1 cdr xs))))))))) docbook-dsssl-1.79/docsrc/libref/string-X3Enodes.sgm0000644000175000001440000000202510142563636023071 0ustar msmithusers00000000000000 string->nodes dblib.dsl string->nodes no documented purpose Synopsis (string->nodes s) Source Code (define (string->nodes s) ;; Escape XML characters... (let* ((achars (string-replace s "&" "&#38;#38;")) (bchars (string-replace achars "<" "&#38;#60;")) (cchars (string-replace bchars ">" "&#38;#62;"))) (let ((doc (string-append "<literal><!DOCTYPE doc [ <!ELEMENT " "doc - - (#PCDATA)> ]><doc>" cchars ";</doc>"))) (children (node-property 'docelem (sgml-parse doc)))))) docbook-dsssl-1.79/docsrc/libref/descendant-of-p.sgm0000644000175000001440000000222010142563636023101 0ustar msmithusers00000000000000 descendant-of? dblib.dsl descendant-of? Returns true if the child is some descendant of the specified node Synopsis (descendant-of? ancestor child) Description Returns #t if child is a descendant of ancestor. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (descendant-of? ancestor child) ;; Returns true if the child is some descendant of the specified node (let loop ((c child)) (if (node-list-empty? c) #f (if (node-list=? ancestor c) #t (loop (parent c)))))) docbook-dsssl-1.79/docsrc/libref/component-child-number.sgm0000644000175000001440000000312110142563636024504 0ustar msmithusers00000000000000 component-child-number dblib.dsl component-child-number Find child-number within a component Synopsis (component-child-number inputnd complist) Description Finds the first ancestor of inputnd in complist and then counts all the elements of type inputnd from that point on and returns the number of inputnd. (This is like a recursive-child-number starting at the first parent of inputnd in complist.) Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (component-child-number inputnd complist) ;; Find child-number within a component (let loop ((nl (component-descendant-node-list inputnd complist)) (num 1)) (if (node-list-empty? nl) 0 (if (node-list=? (node-list-first nl) inputnd) num (if (string=? (gi (node-list-first nl)) (gi inputnd)) (loop (node-list-rest nl) (+ num 1)) (loop (node-list-rest nl) num)))))) docbook-dsssl-1.79/docsrc/libref/measurement-to-length.sgm0000644000175000001440000000267210142563636024371 0ustar msmithusers00000000000000 measurement-to-length dblib.dsl measurement-to-length Convert a measurement to a length Synopsis (measurement-to-length measure) Description Given a string containing a measurement, return that measurement as a length. Example "2.5cm" returns 2.5cm as a length. "3.4barleycorn" returns 6.8pi. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define (measurement-to-length measure) ;; Convert a measurement to a length (let* ((pm (car (parse-measurement measure))) (pu (car (cdr (parse-measurement measure)))) (magnitude (if pm pm "1")) (units (if pu pu (if pm "pt" "default"))) (unitconv (assoc units unit-conversion-alist)) (factor (if unitconv (car (cdr unitconv)) 1pt))) (* (string->number magnitude) factor))) docbook-dsssl-1.79/docsrc/libref/refentry.ent0000644000175000001440000001140710142563636021777 0ustar msmithusers00000000000000 docbook-dsssl-1.79/docsrc/libref/docinfo.sgm0000644000175000001440000000456210142563636021566 0ustar msmithusers00000000000000DSSSL Library Part of the Modular DocBook Stylesheet distribution NormanWalsh $Revision: 1.8 $ 199719981999 Norman Walsh This software may be distributed under the same terms as Jade: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question. Any stylesheet derived from this Software that is publically distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Please direct all questions, bug reports, or suggestions for changes to Norman Walsh, <ndw@nwalsh.com>. See http://nwalsh.com/docbook/dsssl/ for more information. docbook-dsssl-1.79/docsrc/libref/dblib.sgm0000644000175000001440000000041510142563636021212 0ustar msmithusers00000000000000 %refentry.ent; ]> &docinfo; &refentry.sgm; docbook-dsssl-1.79/docsrc/libref/refentry.sgm0000644000175000001440000000346210142563636022001 0ustar msmithusers00000000000000Library Version &version; ISO/IEC 10179 &node-list-reduce; &node-list-last; &node-list-first-element; &node-list-last-element; &ipreced; &ifollow; &siblings; &string-2-list; &list-2-string; ↦ &absolute-child-number; Debug &my-debug; Miscellaneous &string-with-space; &split; &strip; &join; &pad-string; &match-split; &match-split-string-list; &match-split-list; &assoc-objs; &assoc; &match-substitute-sosofo; &string-list-sosofo; &repl-substring-p; &repl-substring; &repl-substring-list-p; &repl-substring-list-target; &repl-substring-list-repl; &repl-substring-list; &string-replace; &string-replace-list; &ancestor-member; &has-ancestor-member-p; &descendant-of-p; &expand-children; &directory-depth; &file-extension; ©-string; &node-list-filter-by-gi; &node-list-filter-by-not-gi; &node-list-filter-out-pis; &node-list-filter-elements; &component-descendant-node-list; &component-child-number; &component-descendant-list-node-list; &component-list-child-number; &expt; &list-member-find; &default-uppercase-list; &default-lowercase-list; &case-fold-down-char; &case-fold-up-char; &case-fold-down-charlist; &case-fold-up-charlist; &case-fold-down; &case-fold-up; &find-first-char; &parse-measurement; &unit-conversion-alist; &measurement-to-length; &dingbat; &nth-node; &constant-list; &list-head; &list-put; &decrement-list-members; &sgml-root-element; &sgml-root-elementX3F; &length-string-number-part; &length-string-unit-part; &normalize; &node-2-string; &include-file; &include-characters; &url-encode-char; &url-encode-string; &system-id-filename; &trim-string; &string-index; &parse-pi-attribute; &parse-skip-pi-attribute; &parse-starttag-pi; &string-X3Enodes; docbook-dsssl-1.79/docsrc/prparam.sgm0000644000175000001440000000062210136513775020337 0ustar msmithusers00000000000000 %pr.refentry.ent; ]> Print Parameter Reference &pr.docinfo; &pr.refentry; docbook-dsssl-1.79/docsrc/print.sgm0000644000175000001440000000215607577254506020046 0ustar msmithusers00000000000000 $Date: 2002/12/16 04:40:38 $ The Print Stylesheet Documentation Writing better documentation for these stylesheets is a background task. If you have any questions that aren't answered here, please feel free to contact me. Print Parameters A brief description of each of the user-configurable settings in the print stylesheet. Library Functions Reference pages for the library functions in dblib.dsl. (FYI: this is programmer's documentation, not user documentation.) Change Log docbook-dsssl-1.79/docsrc/print-version.sgm0000644000175000001440000000070007577254506021522 0ustar msmithusers00000000000000 $Date: 2002/12/16 04:40:38 $ Change Log: Print Stylesheet Changes to the Modular DocBook Stylesheet Change Log: Print Stylesheet Note that I've switched to GNU ChangeLogs. docbook-dsssl-1.79/docsrc/otherdoc.sgm0000644000175000001440000000160310136515330020471 0ustar msmithusers00000000000000 $Date: 2004/10/23 17:54:32 $ Other Documentation This needs better organizing... The DocBook FAQ docbook-dsssl-1.79/docsrc/olinktarget.sgm0000644000175000001440000000145207262170713021217 0ustar msmithusers00000000000000
OLink Test Document This document demonstrates cross-document linking with OLink. Format this document with the olink.dsl stylesheet. A1 Section One text A1 <emphasis>Section</emphasis> Two A1 S1 Subsection One<superscript>1</superscript> text A1 S1 Subsection Two<subscript>2</subscript> text A1 Section Three text
docbook-dsssl-1.79/docsrc/olinksemantics.sgm0000644000175000001440000003575210136513775021734 0ustar msmithusers00000000000000 ]>
OLink Semantics in the DocBook DSSSL Stylesheets NormanWalsh 10 Sep 1998 OLink allows you to construct cross-document links in SGML. This document describes the OLink semantics supported by the DocBook stylesheets. Understanding OLink The semantics of OLink are effected by both the OLink tag and the ModeSpec tag. <sgmltag>OLink</sgmltag> OLink is a wrapper around the text which forms the head of the link. It has four relevant attributes: TargetDocEnt This ENTITY attribute points to the document which is or contains the link target. LocalInfo Contains the ID of the target in the document specified by TargetDocEnt. LocalInfo is the equivalent of LinkEnd on the other linking elements. LinkMode Points to a ModeSpec element which further modifies the semantics of the link. Type Identifies the link type. The DocBook stylesheets include special processing for Type=href. If the link type is “href”, then the HREF attribute from the summary document is used directly, without redirection through a CGI script. <sgmltag>ModeSpec</sgmltag> An OLink element can refer to a ModeSpec element to further modify the semantics of the link. Two aspects of the ModeSpec element are relevant: XRefLabel If the content of OLink is empty, it is possible to use XRefLabel to control the format of generated text. ModeSpec Content If the content of the ModeSpec element is not empty, it is used by the HTML stylesheet in the contruction of the HTML link “href”. OLinking in HTML Constructing cross-document links with entities in the authoring system is all well and good, but how does it work on the web? The heart of the matter is mapping from the SGML/XML entity in the TargetDocEnt to the base URL on the web, and there are two options: early binding and late binding. Early Binding To use early binding, you must know the mapping from entities to URLs in advance. The base URL is supplied in the content of the ModeSpec element and that is what the processor uses to construct the HTML “href”. For example, given the document in , the stylesheet would generate something like this for the link: <A CLASS="OLINK" HREF="http://nwalsh.com/otherdocs/myotherdoc.htm#idval">This is an OLink</a> Note that the LocalInfo is used as the fragment identifier. An Early Binding Sample Document <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ <!ENTITY otherdoc PUBLIC "-//Norman Walsh//DOCUMENT My Other Document V1.0//EN"> ]> <chapter> <docinfo> <modespec id=otherms>http://nwalsh.com/otherdocs/myotherdoc.htm</modespec> </docinfo> <title>Test Document</title> <para> <olink targetdocent=otherdoc linkmode="otherms" localinfo="idval">This is an OLink</olink>. </para> </chapter> Late Binding Late binding delays the resolution of entity to URL mapping until the link is followed. It does this by requiring that a web server process resolve the link. “Out of the box,” the DocBook stylesheets assume that a cgi-bin script on the server called /cgi-bin/olink is responsible for the resolution. Given the document in , late binding would produce a link something like this: <A CLASS="OLINK" HREF="/cgi-bin/olink?pubid=-//Norman%20Walsh //DOCUMENT%20My%20Other%20Document%20V1.0//EN&fragid=idval"> This is an OLink</a> (without the line break in the middle of the public identifier, of course). Again, note that the LocalInfo is used as the fragment identifier. A Sample Document <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ <!ENTITY otherdoc PUBLIC "-//Norman Walsh//DOCUMENT My Other Document V1.0//EN"> ]> <chapter> <docinfo> </docinfo> <title>Test Document</title> <para> <olink targetdocent=otherdoc localinfo="idval">This is an OLink</olink>. </para> </chapter> If a public identifier is used to declare the entity, then it is passed to the link resolution script; otherwise the system identifier is passed. OLink Generated Text Even when links span across documents, it's useful to have the stylesheet generate appropriate cross-reference text. This greatly reduces the “fragility” of the links at the expense of some complexity in the OLink processing system. If you supply content in an OLink, that content is always used and generated text processing does not apply. The format of generated text is controlled by the XRefLabel attribute on the ModeSpec pointed to by the OLink. The text of the XRefLabel attribute is used for the generated text, with the following substitutions: %g Is replaced by the “name” of the link target. This is generally the “human readable” name of the target element. For example, if the target is a Figure, %g would be “Figure”; if the target is a Sect3, %g would be “Section”. %n Is replaced by the label (number) of the link target. %t Is replaced by the title of the link target. Suppose, for example, that the link target is the second section in the first chapter of a book and that it has the title “My Test Title”. If the XRefLabel attribute contains the text “see %g %n, %t”, then the generated content would be “see Section 1.3, My Test Title”. Really Simple OLinks If the author provides content in the OLink element, that's the content that is used and no extra processing is required. The sections that follow each deal with variations in the level of processing required for generated text in OLinks. Simple OLinks Simple OLinks avoid some of the gory machinery required to handle general OLinks at the expense of most semantic variation. The simple semantics come into play when an OLink has the following form: <olink targetdocent="entity"></olink> In particular, note that there is no LinkMode . The generated text in this case is derived entirely from the public and system identifiers by the (olink-resource-title) function. By default, this is simply the title of the document derived from the description field in the public identifier. The first and last “words” of the public identifier description field are trimmed off, leaving what is presumably just the document title. For example, given “-//Norman Walsh//DOCUMENT My Document Title V1.0//EN”, the derived title would be “My Document Title”. General OLinks The generated text for general OLinks comes from the XRefLabel attribute on the relevant ModeSpec. The hard part is locating the appropriate replacement text: the name, label, and title of the element pointed to by the combination of the TargetDocEnt and LocalInfo. One way to do this would be to load the TargetDocEnt, find the element with the ID mentioned in LocalInfo and extract the data directly. I chose something else because I see two significant problems with this approach: Loading and parsing potentially large documents potentially many times appears to have the potential for significant performance problems. It would not be possible to form OLink references to documents written in DTDs other than DocBook. Instead of loading the actual target document, the stylesheets load a summary of that document's content. For DocBook documents, this summary can be generated by another DSSSL stylesheet, olink.dsl, supplied with the DocBook Stylesheet distribution. The first few lines of the summary for this document is shown in looks like this:. OLink Summary Document <!DOCTYPE div PUBLIC "-//Norman Walsh//DTD DocBook OLink Summary V1.0//EN"> <div type="article" name="Article"> <ttl>OLink Semantics in the DocBook DSSSL Stylesheets</ttl> <div type="sect1" name="Section" id="OLINK-UDERSTANDING" label="1"> <ttl>Understanding OLink</ttl> <div type="sect2" name="Section" label="1.1"> <ttl>OLink</ttl> </div> ... The basic organization of the summary document is a nested series of divs and objs with titles (ttls). Attributes on these elements provide the IDs, labels, and names of the elements. The GI of the element is also provided. (If you find objects that you think are missing from the summary, please let me know). The stylesheets locate this document by resolving the system identifier of the target document and replacing the SGML or XML extension with %olink-outline-ext% (.olink, by default). Intra-document OLinks If the TargetDocEnt attribute is missing, it seems reasonable to assume that the link refers to the current document. This actually offers a feature, you can customize the generated cross reference text for a particular reference. When the OLink is an intra-document link, it is possible to use additional %-substitutions in the cross reference template. See (auto-xref) in dbcommon.dsl for more details. &modespecs; Examples The examples that follow are all links into the document shown in .
Example Target Document
The ModeSpecs in this document are shown in .
Example Target Document
An OLink with Content Source: <olink targetdocent=olinktarget>some text</olink> Result: some text A Simple OLink Source: <olink targetdocent=olinktarget></olink> Result: An OLink to a Document Source: <olink targetdocent=olinktarget linkmode=ms1></olink> Result: An OLink to a Section Source: <olink targetdocent=olinktarget linkmode=ms2 localinfo=a1s2></olink> Result: An Intra-Document OLink Source: <olink linkmode=ms1 localinfo="olink-understanding"></olink> Result: An XRef Source: <xref linkend="olink-understanding"> Result:
docbook-dsssl-1.79/docsrc/olinksemantics.modespecs0000644000175000001440000000020107262170713023102 0ustar msmithusers00000000000000 docbook-dsssl-1.79/docsrc/lib.sgm0000644000175000001440000000173007577254506017455 0ustar msmithusers00000000000000 $Date: 2002/12/16 04:40:38 $ The Library Module The library module contains functions that are DTD-independent. Documentation Writing better documentation for these stylesheets is a background task. If you have any questions that aren't answered here, please feel free to contact me. Library Functions Reference pages for the library functions in dblib.dsl. (FYI: this is programmer's documentation, not user documentation.) Change Log docbook-dsssl-1.79/docsrc/lib-version.sgm0000644000175000001440000000065207577254506021142 0ustar msmithusers00000000000000 Change Log: DSSSL Library Changes to the DSSSL Library $Date: 2002/12/16 04:40:38 $ Change Log: DSSSL Library Note that I've switched to GNU ChangeLogs. docbook-dsssl-1.79/docsrc/install.sgm0000644000175000001440000002136107321654605020346 0ustar msmithusers00000000000000 $Date: 2001/07/07 18:48:37 $ Installation and Setup In order to process DocBook documents with these stylesheets, you must get three separate components installed and configured correctly: Jade (or another DSSSL processor) The DocBook DTD. The The Modular DocBook Stylesheets For simplicity, these instructions assume that you are working with Jade on a Microsoft Windows machine. These instructions should be just as useful if you are working on a non-M$ platform, modulo the normal cross-platform idiosyncracies (path and filename separator characters, use of drive letters, etc.) If you are using another DSSSL processor, may still be helpful, but most of the rest probably won't apply. Installing Jade Download and unpack the Jade distribution. Binary distributions are available for some platforms, including Microsoft Windows, which makes installation a simple matter of unpacking the distribution. For other platforms, you will need to build Jade from sources. Please consult the documentation that comes with Jade for more detailed installation instructions. You may wish to add the directory where you installed Jade to your PATH. If not, make sure that you use the fully qualified name of the executable when you try to run the commands below. Download jtest.sgm and jtest.dsl. These are self-contained test documents. Test Jade by running: jade -t rtf -d jtest.dsl jtest.sgm This command should silently produce jtest.rtf. If you get errors of the form:jade:jtest.dsl:1:72:W: cannot generate system identifier for public text "-//James Clark//DTD DSSSL Style Sheet//EN" jade:jtest.dsl:1:72:E: reference to entity "STYLE-SHEET" for which no system identifier could be generated jade:jtest.dsl:1:0: entity was defined here jade:jtest.dsl:1:72:E: DTD did not contain element declaration for document type name jade:jtest.dsl:2:12:E: element "STYLE-SHEET" undefined jade:jtest.dsl:3:20:E: element "STYLE-SPECIFICATION" undefined jade:jtest.dsl:4:25:E: element "STYLE-SPECIFICATION-BODY" undefined jade:E: specification document does not have the DSSSL architecture as a base architecture You probably need to setup the SGML_CATALOG_FILES path, as described below. If you encounter other warnings or errors, Jade is not installed correctly. Installing the DocBook DTD Download and unpack the DocBook DTD distribution. Please consult the documentation that comes with DocBook for more detailed installation instructions. The DocBook DTD is composed of several modules. In order for SGML tools on your system to find these modules, you will need to setup an SGML Open catalog file that maps the public identifiers used in DocBook to local system identifiers. The DocBook distribution comes with a default catalog called docbook.cat which is probably sufficient. Note, however, that Jade does not understand the DTDDECL directive in catalog files and will issue a warning if you use docbook.cat unchanged. In order to find your catalog files, Jade, nsgmlsu, and the other tools in the Jade distribution examine the SGML_CATALOG_FILES environment variable. This variable should contain a PATH-like list of the catalog files on your system. I have combined the catalog from the DocBook distribution and several other DTDs that I use frequently into a single catalog in d:/share/sgml/catalog, so I set my SGML_CATALOG_FILES variable to:./catalog;d:/share/sgml/catalog;c:/jade/catalog; If you are using only Jade and the DocBook DTD on your system, this setting should be sufficient:c:/docbook/docbook.cat;c:/jade/catalog assuming that you have the DocBook DTD installed in c:\docbook and Jade installed in c:\jade. Note: If you are on a UNIX system, the catalog file separator in SGML_CATALOG_FILES is the colon, not the semicolon. One mistake that I frequently make the first time I try to install Jade somewhere new is to set the SGML_CATALOG_FILES variable to the list of directories that contain catalog files rather than the list of catalog files. That doesn' t work, it has to be a list of the actual catalog files. Another wrinkle to be aware of is that Jade will also search the catalog files for the SGMLDECL entry which specifies the default SGML Declaration to use. On my system, I have several doctypes that don't use the declaration identified as the default in one of my catalog files, so I have to explicitly include the proper declaration when I format those documents. To test your installation, download test.sgm and run following command:nsgmls -sv test.sgmThe nsgmls program is a stand-alone SGML parser included in the current Jade distribution (in previous distributions, it was called nsgmlsu ). If the nsgmls command produces errors, review your catalog and resolve the errors: Ignore warnings about DTDDECL being unsupported. It is unsupported, and there's no way to disable the warning message. Note, however, that this may also effect which SGML declaration gets used. When in doubt, pass the correct declaration explicitly and see if that corrects any problems. (To parse test.sgm with the declaration docbook.dcl explicitly, run nsgmls -sv docbook.dcl test.sgm .) If you are missing some of the ISO entity sets, they are available on the web at http://www.oasis-open.org/cover/topics.html#entities Installing the Modular DocBook Stylesheets Download and unpack the stylesheet distribution. Test the installation by processing test.sgm (from the previous section) with Jade: jade -t rtf -d d:\where-you-unpacked-the-stylesheets\docbook\print\docbook.dsl test.sgm This command should silently produce test.rtf. If you get errors indicating that a capacity has been exceeded ( ...must not exceed LITLEN or ...must not exceed GRPCNT , etc.), you are probably using the wrong declaration. Try the test again, with an explicit declaration:jade -t rtf -d d:\where-you-unpacked-the-stylesheets\docbook\print\docbook.dsl docbook.dcl test.sgm If errors persist, and the preceding test succeeded, something has gone wrong— contact the maintainer. To test the HTML stylesheet, runjade -t sgml -d d:\where-you-unpacked-the-stylesheets\docbook\html\docbook.dsl test.sgm This command should silently produce c01.htm. If not, and the preceding test succeeded, something has gone wrong—contact the maintainer. docbook-dsssl-1.79/docsrc/indexing.sgm0000644000175000001440000001213410136513775020503 0ustar msmithusers00000000000000
Automatic Indexing with the DocBook DSSSL Stylesheets NormanWalsh 17 Nov 1998 Automatic indexing is an often requested feature. This article describes how it is implemented in the DocBook DSSSL Stylesheets. Authoring for Indexing There are two parts to building an index automatically, creating the index terms and incorporating the generated index into your document. Creating Index Terms The generated index is constructed from IndexTerms in your document. DocBook IndexTerms are not part of the flow. <para> This paragraph contains an interesting thing<indexterm id="thing"> <primary>thing</primary><secondary>interesting</secondary></indexterm> that will appear in the index. </para> It is not absolutely necessary to provide an ID for each index term, but the performance of the print backends may degrade significantly if you have a large number of index terms that do not have IDs. Incorporating the Index The index will be generated as a separate file. You must arrage to have this file incorporated into your document. The easiest way to do this is by file entity reference. At the top of your document, add an internal subset that defines the index file entity: <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ <!ENTITY genindex.sgm SYSTEM "genindex.sgm"> ]> <book> ... &genindex.sgm; <!-- Put this after the end tag of the last chapter or appendix, or --> <!-- wherever you want the index to appear. It must be a valid location --> <!-- for an index. --> </book> Before you can process this document, you must make sure that genindex.sgm exists. This is a chicken and egg problem, but it can be solved with the collateindex.pl command: perl collateindex.pl -N -o genindex.sgm The option creates a new index; indentifies the name of the output file. This name must be the same as the name you specified in the internal subset. Creating an Index Creating an index is a multi-step, two-pass process: In order to create an index, you must first generate the raw index data. This is done with the HTML Stylesheet (even if you want print output). Process your document with jade using the HTML Stylesheet with the option: jade -t sgml -d html/docbook.dsl -V html-index yourdocument.sgm This will produce a file called HTML.index that contains raw index data. If you're planning to generate your final document as a single HTML file using the option, make sure you generate the HTML.index file with that option as well: jade -t sgml -d html/docbook.dsl -V html-index -V nochunks yourdocument.sgm Generate an index document with collateindex.pl: perl collateindex.pl -o genindex.sgm HTML.index There are a multitude of options to collateindex.pl; see the reference page for more information. Process your original document again, using whichever stylesheet is appropriate. The new document will contain the generated index. Drawbacks Any generated index is perhaps better than none, but there are still a few things that cannot be accomplished: Duplicate page numbers are not suppressed in the index. If the document contains three indexing hits on page 4, the generated index will contain “4, 4, 4”. Ranges are not automatically constructed. If the document contains indexing hits on pages 4, 5, 6, and 7, the generated index will contain “4, 5, 6, 7” instead of “4–7”. It is possible that the TeX backend could be made smart enough to do these things automatically. (Sebastian will probably kill me for suggesting that). For the RTF backend, at least in MS Word, it's probably possible to write a WordBasic macro that would automatically fix the index. (If someone does, please pass it along).
docbook-dsssl-1.79/docsrc/imagelib.sgm0000644000175000001440000000653010136513775020452 0ustar msmithusers00000000000000
Image Library Files NormanWalsh 17 Nov 1998 Additional information about graphics files can be used to improve the presentation of images. In particular, passing the height and width of a graphic to a web browser improves layout and alternative text should always be used. Image library files provide a mechanism for passing this information to the DocBook DSSSL Stylesheets. Image library files can be used to pass additional information about images to the stylesheet. The HTML stylesheet uses this information in the IMG tag; the print stylesheet may someday be able to use this information to get proper spacing around images, but I don't quite have that worked out yet. Image Library File Format Image library files are XML documents conforming the image library DTD shown in .
The Image Library DTD
The stylesheets use the filename of the graphic file (either the name entered in the fileref attribute or the system identifier of the entity in the entityref attribute) to locate the appropriate image in the library.
Creating Image Library Files At present, the files have to be created by hand. It's easy to imagine a tool that could scan the graphics and build the file (or at least part of the file) automatically, but none have been written yet. Image Library File Location The default location for image library files is imagelib/imagelib.xml. Using a subdirectory allows the image library file to be in XML while the documents may be in SGML. If you're formatting XML documents, you can move the image library into the same directory as your documents. The Catalog Trick If you're formatting SGML documents, you have to employ a catalog trick in order to get Jade to properly parse the image library file. Add a catalog to the imagelib directory that contains the single line: SGMLDECL "path/to/xml.dcl" Jade will use that declaration to process all the documents in the imagelib directory. Using the Image Library You can use the image library in one of two ways: Turn on image-library in your stylesheet: (define image-library #t) Use the option when you run jade. An Example See the examples in the test directory.
docbook-dsssl-1.79/docsrc/htparam.sgm0000644000175000001440000000061510136513775020333 0ustar msmithusers00000000000000 %ht.refentry.ent; ]> HTML Parameter Reference &ht.docinfo; &ht.refentry; docbook-dsssl-1.79/docsrc/html.sgm0000644000175000001440000000215007577254506017650 0ustar msmithusers00000000000000 $Date: 2002/12/16 04:40:38 $ The HTML Stylesheet Documentation Writing better documentation for these stylesheets is a background task. If you have any questions that aren't answered here, please feel free to contact me. HTML Parameters A brief description of each of the user-configurable settings in the HTML stylesheet. Library Functions Reference pages for the library functions in dblib.dsl. (FYI: this is programmer's documentation, not user documentation.) Change Log docbook-dsssl-1.79/docsrc/html-version.sgm0000644000175000001440000000067407577254506021344 0ustar msmithusers00000000000000 $Date: 2002/12/16 04:40:38 $ Change Log: HTML Stylesheet Changes to the Modular DocBook Stylesheet Change Log: HTML Stylesheet Note that I've switched to GNU ChangeLogs. docbook-dsssl-1.79/docsrc/faq.sgm0000644000175000001440000000161507262170713017444 0ustar msmithusers00000000000000
Modular DocBook Stylesheet FAQ Frequently Asked Questions Questions about the FAQ What version of the FAQ is this? This is $Revision: 1.1 $ from $Date: 2001/04/02 21:40:27 $. General Questions about the Stylesheets How can I use .gif or .jpg images for HTML and .eps images for print? To contribute a question to the FAQ, send mail to docbookfaq@docbook.org.
docbook-dsssl-1.79/docsrc/docbook.sgm0000644000175000001440000000646410136515330020314 0ustar msmithusers00000000000000 ]> The Modular DocBook Stylesheets NormanWalsh 199719981999 2000 Norman Walsh Copyright This software may be distributed under the same terms as Jade: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``Software''), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question. Any stylesheet derived from this Software that is publically distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist. Warranty THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. $Date: 2004/10/23 17:54:32 $ DSSSL stylesheets for DocBook Questions and Comments Please direct all questions, bug reports, or suggestions for changes to Norman Walsh, <ndw@nwalsh.com>. See for more information. &otherdoc; &dsssl.install; &dsssl.custom; &dsssl.print; &dsssl.html; &dsssl.common; &dsssl.lib; docbook-dsssl-1.79/docsrc/doc.dsl0000644000175000001440000000424407635243027017442 0ustar msmithusers00000000000000 ]]> ]]> ]> (define %use-id-as-filename% #t) (define %generate-legalnotice-link% #t) (define (toc-depth nd) 1) (define (chunk-element-list) (list (normalize "preface") (normalize "chapter") (normalize "appendix") (normalize "article") (normalize "glossary") (normalize "bibliography") (normalize "index") (normalize "setindex") (normalize "reference") (normalize "refentry") (normalize "part") (normalize "book") ;; just in case nothing else matches... (normalize "set") ;; sets are definitely chunks... )) (define (chunk-skip-first-element-list) '()) (define (set-titlepage-recto-elements) (list (normalize "title") (normalize "subtitle") (normalize "graphic") (normalize "corpauthor") (normalize "authorgroup") (normalize "author") (normalize "editor") (normalize "releaseinfo") (normalize "pubdate") (normalize "copyright") (normalize "legalnotice"))) (element pubdate (if (equal? (attribute-string (normalize "role")) "rcs") (let* ((datelist (split (data (current-node)))) (date (car (cdr datelist)))) (literal date)) (process-children))) (mode book-titlepage-verso-mode (element pubdate (make paragraph (literal (gentext-element-name-space (gi (current-node)))) (if (equal? (attribute-string (normalize "role")) "rcs") (let* ((datelist (split (data (current-node)))) (date (car (cdr datelist)))) (literal date)) (process-children)))) ) docbook-dsssl-1.79/docsrc/dblib.sgm0000644000175000001440000000062110136513775017750 0ustar msmithusers00000000000000 %lib.refentry.ent; ]> DSSSL Library Reference &lib.docinfo; &lib.refentry; docbook-dsssl-1.79/docsrc/custom.sgm0000644000175000001440000002157610123007175020206 0ustar msmithusers00000000000000 $Date: 2004/09/18 10:31:25 $ Customizing the Stylesheets Deriving Your Own Stylesheet The best way to customize the stylesheets is to write your own “driver” file; this is a document which contains your local modifications to the stylesheet and then includes the stylesheet from the standard distribution by reference. This allows you to make local changes and extensions without modifying the distributed files, which makes upgrading to the next release much, much simpler. The basic driver file looks like this:<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY dbstyle SYSTEM "docbook.dsl" CDATA DSSSL> ]> <style-sheet> <style-specification use="docbook"> <style-specification-body> ;; your stuff goes here... </style-specification-body> </style-specification> <external-specification id="docbook" document="dbstyle"> </style-sheet> Make sure that you specify, in the system identifier, the full path to the docbook.dsl file that you want to customize; for example, \docbook\print\docbook.dsl. The next stylesheet release will probably use public identifiers to locate the stylesheets, which will simplify this problem a bit (at the cost, naturally, of a little more complexity elsewhere; sigh). You can add your own definitions, or redefinitions, of stylesheet rules and parameters where;; your stuff goes here... occurs in the example above. The plain.dsl stylesheet in the docbook/print directory is a customization of the docbook.dsl print stylesheet. It turns off title page and TOC generation. A Single Stylesheet for Both Print and HTML A DSSSL style-sheet consists of one or more style-specifications. This allows one to build a single stylesheet that can format with either the print or HTML backends. All you need is a customization skeleton that looks like this: <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY % html "IGNORE"> <![%html;[ <!ENTITY % print "IGNORE"> <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl> ]]> <!ENTITY % print "INCLUDE"> <![%print;[ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl> ]]> ]> <style-sheet> <style-specification id="print" use="docbook"> <style-specification-body> ;; customize the print stylesheet </style-specification-body> </style-specification> <style-specification id="html" use="docbook"> <style-specification-body> ;; customize the html stylesheet </style-specification-body> </style-specification> <external-specification id="docbook" document="docbook.dsl"> </style-sheet> If this is both.dsl, I can format my document using the print stylesheet by runningjade -t rtf -d both.dsl#print file.sgm and using the HTML stylesheet by runningjade -t sgml -i html -d both.dsl#html file.sgm which is kindof neat. (I've built some additional machinery on top of this to make the selection automatic from within ADEPT and a shell script that I use.) An alternative method for doing this is simply to use marked sections in the stylesheet, like this: <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY % html "IGNORE"> <![%html;[ <!ENTITY % print "IGNORE"> <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl> ]]> <!ENTITY % print "INCLUDE"> <![%print;[ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl> ]]> ]> <style-sheet> <style-specification use="docbook"> <style-specification-body> ;; common customization can go here <![%print;[ ;; customize the print stylesheet here ]]> <![%html;[ ;; customize the html stylesheet here ]]> </style-specification-body> </style-specification> <external-specification id="docbook" document="docbook.dsl"> </style-sheet> Customizing the Title Page Titlepages are controlled by several variables: %generate-element-titlepage% Controls whether or not a titlepage is generated. If, for example, %generate-book-titlepage% is true, a titlepage will be generated for Books. element-titlepage-recto-elements Specifies the elements which should occur on the titlepage recto. This variable is a list of GIs. For example, if book-titlepage-recto-elements is '("TITLE" "SUBTITLE" "AUTHOR") , then the Title, SubTitle, and Author elements in the division or component's *Info element will appear on the Book's titlepage recto. element-titlepage-verso-elements Specifies the elements which should occur on the titlepage verso. %titlepage-in-info-order% The content of the titlepage is drawn from the *Info element at the beginning of a division or component. If %titlepage-in-info-order% is true, the elements on the titlepage will occur in the order in which they appear in the *Info element. Otherwise, the elements occur in a fixed order given by the element -titlepage-side-elemnts. %generate-element-toc-on-titlepage% For some elements, such as Part s, it may make sense to place the TOC for that element (if it is generated) on the same page sequence as the titlepage. If %generate- element-toc-on-titlepage% is true, that's what will be done. %generate-partintro-on-titlepage% Parts and References can begin with a PartIntro. If %generate-partintro-on-titlepage% is true, the content of the PartIntro will occur on the same page sequence as the titlepage. The most common customization is probably setting %generate- element-titlepage% to true and changing the list of elements in element-titlepage-recto-elements and element-titlepage-verso-elements There are a few other functions that you may wish to change: (element-titlepage-before node side) This function is called before each new type of element on the titlepage (before the first Title, before the first SubTitle, etc.). The node will contain the element that will appear on the titlepage next and side will be either 'recto or 'verso . (element-titlepage- component node side)This function is called for each element on the titlepage. For example, the Abstract on a Book titlepage is printed by the book-titlepage-abstract function. Using the Stylesheets with XML This is just a placeholder. This needs to be written. Basically, you just need to use catalog files to make sure that the XML instances and the stylesheets get parsed with the correct declarations. docbook-dsssl-1.79/docsrc/common.sgm0000644000175000001440000000112607577254506020176 0ustar msmithusers00000000000000 $Date: 2002/12/16 04:40:38 $ The Common Module The common module contains functions that are shared between the HTML and print stylesheets. Functions in the common module are DTD-specific, i.e., they generally rely implicitly or explicitly on the structure of the DocBook DTD to function properly. Change Log docbook-dsssl-1.79/docsrc/common-version.sgm0000644000175000001440000000062307577254506021662 0ustar msmithusers00000000000000 $Date: 2002/12/16 04:40:38 $ Changes to the Modular DocBook Stylesheet Change Log: Common Functions Note that I've switched to GNU ChangeLogs. docbook-dsssl-1.79/docsrc/collateindex.sgm0000644000175000001440000000645510136513775021362 0ustar msmithusers00000000000000 collateindex.plCreate a DocBook index from raw index data collateindex.pl-p-g -s name-t name -P filename-i id -o file-S scope -I scope-x-f -Nfile Link to points in the document. The default is to link to the closest containing section. Group terms with IndexDiv based on the first letter of the term (or its sortas attribute). (This probably doesn't handle i10n particularly well) Name the IndexDiv that contains symbols. The default is 'Symbols'. Meaningless if -g is not used. Title for the index. Read a preamble from file. The content of file will be inserted before the <index> tag. The ID for the <index> tag. Output to file. Defaults to stdout. Scope of the index, must be 'all', 'local', or 'global'. If unspecified, 'all' is assumed. The implied scope, must be 'all', 'local', or 'global'. IndexTerms which do not specify a scope will have the implied scope. If unspecified, 'all' is assumed. Make a SetIndex. Force the output file to be written, even if it appears to have been edited by hand. New index (generates an empty index file). The file containing index data generated by Jade with the DocBook HTML Stylesheet. Description Generates an index. docbook-dsssl-1.79/docsrc/htmlpr/0000755000175000001440000000000010142564561017467 5ustar msmithusers00000000000000docbook-dsssl-1.79/docsrc/htmlpr/generate-legalnotice-link.sgm0000644000175000001440000000234210142563635025212 0ustar msmithusers00000000000000 %generate-legalnotice-link% dbparam.dsl %generate-legalnotice-link% Should legal notices be a link to a separate file? Synopsis %generate-legalnotice-link% Description If true, legal notices will be references to a separate file. Note: the support for this handles the case where a single *INFO node contains several distinct legal notices, but won't handle multiple legal notices in different *INFO nodes. (Each set will overwrite the previous.) A more complex approach could be implemented, but this is sufficient for the current demand. Let me know... Source Code (define %generate-legalnotice-link% ;; Should legal notices be a link to a separate file? #f) docbook-dsssl-1.79/docsrc/htmlpr/indent-synopsis-lines.sgm0000644000175000001440000000210310142563635024452 0ustar msmithusers00000000000000 %indent-synopsis-lines% dbparam.dsl %indent-synopsis-lines% Indent lines in a 'Synopsis'? Synopsis %indent-synopsis-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-synopsis-lines% ;; Indent lines in a 'Synopsis'? #f) docbook-dsssl-1.79/docsrc/htmlpr/css-liststyle-alist.sgm0000644000175000001440000000226010142563635024134 0ustar msmithusers00000000000000 %css-liststyle-alist% dbparam.dsl %css-liststyle-alist% Map DocBook OVERRIDE and MARK attributes to CSS Synopsis %css-liststyle-alist% Description If %css-decoration% is turned on then the list-style-type property of list items will be set to reflect the list item style selected in the DocBook instance. This associative list maps the style type names used in your instance to the appropriate CSS names. If no mapping exists, the name from the instance will be used. Source Code (define %css-liststyle-alist% ;; Map DocBook OVERRIDE and MARK attributes to CSS '(("bullet" "disc") ("box" "square"))) docbook-dsssl-1.79/docsrc/htmlpr/header-navigation.sgm0000644000175000001440000000212310142563635023563 0ustar msmithusers00000000000000 %header-navigation% dbparam.dsl %header-navigation% Should navigation links be added to the top of each page? Synopsis %header-navigation% Description If #t, navigation links will be added to the top of each page. If #f, no navigation links will be added. Note that this has no effect on ($user-header-navigation$), which will still be called (but does nothing by default). Source Code (define %header-navigation% ;; Should navigation links be added to the top of each page? #t) docbook-dsssl-1.79/docsrc/htmlpr/biblio-number.sgm0000644000175000001440000000161410142563635022730 0ustar msmithusers00000000000000 biblio-number dbparam.dsl biblio-number Enumerate bibliography entries Synopsis biblio-number Description If true, bibliography entries will be numbered. If you cross-reference bibliography entries, you should probably use biblio-number or consistently use XREFLABEL or ABBREV. Source Code (define biblio-number ;; Enumerate bibliography entries #f) docbook-dsssl-1.79/docsrc/htmlpr/indent-screen-lines.sgm0000644000175000001440000000206210142563635024046 0ustar msmithusers00000000000000 %indent-screen-lines% dbparam.dsl %indent-screen-lines% Indent lines in a 'Screen'? Synopsis %indent-screen-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-screen-lines% ;; Indent lines in a 'Screen'? #f) docbook-dsssl-1.79/docsrc/htmlpr/olink-resolution.sgm0000644000175000001440000000160010142563635023512 0ustar msmithusers00000000000000 %olink-resolution% dbparam.dsl %olink-resolution% URL script for OLink resolution Synopsis %olink-resolution% Description OLink resolution requires a server component, %olink-resolution% identifies that component. Source Code (define %olink-resolution% ;; URL script for OLink resolution "/cgi-bin/olink?") docbook-dsssl-1.79/docsrc/htmlpr/qanda-inherit-numeration.sgm0000644000175000001440000000202110142563635025076 0ustar msmithusers00000000000000 %qanda-inherit-numeration% dbparam.dsl %qanda-inherit-numeration% Should numbered questions inherit the surrounding numeration? Synopsis %qanda-inherit-numeration% Description If true, question numbers are prefixed with the surrounding component or section number. Has no effect unless %section-autolabel% is also true. Source Code (define %qanda-inherit-numeration% ;; Should numbered questions inherit the surrounding numeration? #t) docbook-dsssl-1.79/docsrc/htmlpr/refentry-xref-italic.sgm0000644000175000001440000000163310142563635024246 0ustar msmithusers00000000000000 %refentry-xref-italic% dbparam.dsl %refentry-xref-italic% Use italic text when cross-referencing RefEntrys? Synopsis %refentry-xref-italic% Description If true, italics are used when cross-referencing RefEntrys, either with XRef or CiteRefEntry. Source Code (define %refentry-xref-italic% ;; Use italic text when cross-referencing RefEntrys? #f) docbook-dsssl-1.79/docsrc/htmlpr/html-header-tags.sgm0000644000175000001440000000177310142563635023336 0ustar msmithusers00000000000000 %html-header-tags% dbparam.dsl %html-header-tags% What additional HEAD tags should be generated? Synopsis %html-header-tags% Description A list of the the HTML HEAD tags that should be generated. The format is a list of lists, each interior list consists of a tag name and a set of attribute/value pairs: '(("META" ("NAME" "name") ("CONTENT" "content"))) Source Code (define %html-header-tags% ;; What additional HEAD tags should be generated? '()) docbook-dsssl-1.79/docsrc/htmlpr/label-preface-sections.sgm0000644000175000001440000000164610142563635024516 0ustar msmithusers00000000000000 %label-preface-sections% dbparam.dsl %label-preface-sections% Are sections in the Preface enumerated? Synopsis %label-preface-sections% Description If true, unlabeled sections in the Preface will be enumerated if %section-autolabel% is true. Source Code (define %label-preface-sections% ;; Are sections in the Preface enumerated? #t) docbook-dsssl-1.79/docsrc/htmlpr/titlepage-in-info-order.sgm0000644000175000001440000000201410142563635024621 0ustar msmithusers00000000000000 %titlepage-in-info-order% dbparam.dsl %titlepage-in-info-order% Place elements on title page in document order? Synopsis %titlepage-in-info-order% Description If true, the elements on the title page will be set in the order that they appear in the *info element. Otherwise, they will be set in the order specified in the *-titlepage-*-elements list. Source Code (define %titlepage-in-info-order% ;; Place elements on title page in document order? #f) docbook-dsssl-1.79/docsrc/htmlpr/ChangeLog0000644000175000001440000000012310142575332021233 0ustar msmithusers000000000000002001-04-04 Norman Walsh * .cvsignore: New file. docbook-dsssl-1.79/docsrc/htmlpr/table-element-list.sgm0000644000175000001440000000155210142563635023672 0ustar msmithusers00000000000000 $table-element-list$ dbparam.dsl $table-element-list$ List of table element names Synopsis ($table-element-list$) Description The list of table elements in the DTD. Source Code (define ($table-element-list$) ;; List of table element names (list (normalize "table") (normalize "informaltable"))) docbook-dsssl-1.79/docsrc/htmlpr/spacing-paras.sgm0000644000175000001440000000167110142563635022735 0ustar msmithusers00000000000000 %spacing-paras% dbparam.dsl %spacing-paras% Block-element spacing hack Synopsis %spacing-paras% Description Should extraneous "P" tags be output to force the correct vertical spacing around things like tables. This is ugly because different browsers do different things. Turning this one can also create illegal HTML. Source Code (define %spacing-paras% ;; Block-element spacing hack #t) docbook-dsssl-1.79/docsrc/htmlpr/simplelist-column-width.sgm0000644000175000001440000000210510142563635024773 0ustar msmithusers00000000000000 %simplelist-column-width% dbparam.dsl %simplelist-column-width% Width of columns in tabular simple lists Synopsis %simplelist-column-width% Description If SimpleLists are presented in a table, how wide should the table columns be? If #f, no width will be specified. If not #f, this value should be a string (it will be used in the WIDTH attribute on the TD for each table entry). Source Code (define %simplelist-column-width% ;; Width of columns in tabular simple lists #f) docbook-dsssl-1.79/docsrc/htmlpr/shade-verbatim.sgm0000644000175000001440000000167610142563635023105 0ustar msmithusers00000000000000 %shade-verbatim% dbparam.dsl %shade-verbatim% Should verbatim environments be shaded? Synopsis %shade-verbatim% Description If true, a table with ($shade-verbatim-attr$) attributes will be wrapped around each verbatim environment. This gives the effect of a shaded verbatim environment. Source Code (define %shade-verbatim% ;; Should verbatim environments be shaded? #f) docbook-dsssl-1.79/docsrc/htmlpr/stock-graphics-extension.sgm0000644000175000001440000000215310142563635025134 0ustar msmithusers00000000000000 %stock-graphics-extension% dbparam.dsl %stock-graphics-extension% Suffix for "stock" graphic files Synopsis %stock-graphics-extension% Description The extension to for the graphic files which ship with the Modular DocBook Stylesheet distribution. This applies to callout graphics and admonition graphics. Should include the intervening period in the suffix, if any. Author Yann Dirson, Adam Di Carlo Source Code (define %stock-graphics-extension% ;; Suffix for "stock" graphic files ".gif") docbook-dsssl-1.79/docsrc/htmlpr/funcsynopsis-decoration.sgm0000644000175000001440000000200510142563635025065 0ustar msmithusers00000000000000 %funcsynopsis-decoration% dbparam.dsl %funcsynopsis-decoration% Decorate elements of a FuncSynopsis? Synopsis %funcsynopsis-decoration% Description If true, elements of the FuncSynopsis will be decorated (e.g. bold or italic). The decoration is controlled by functions that can be redefined in a customization layer. See edbsynop.dsl. Source Code (define %funcsynopsis-decoration% ;; Decorate elements of a FuncSynopsis? #f) docbook-dsssl-1.79/docsrc/htmlpr/gentext-nav-tblwidth.sgm0000644000175000001440000000172010142563635024257 0ustar msmithusers00000000000000 %gentext-nav-tblwidth% dbparam.dsl %gentext-nav-tblwidth% If using tables for navigation, how wide should the tables be? Synopsis %gentext-nav-tblwidth% Description If tables are used for navigation (see %gentext-nav-use-tables%), how wide should the tables be? Source Code (define %gentext-nav-tblwidth% ;; If using tables for navigation, how wide should the tables be? "100%") docbook-dsssl-1.79/docsrc/htmlpr/informalequation-rules.sgm0000644000175000001440000000202610142563635024705 0ustar msmithusers00000000000000 %informalequation-rules% dbparam.dsl %informalequation-rules% Specify rules before and after an InformalEquation Synopsis %informalequation-rules% Description If #t, rules will be drawn before and after each InformalEquation. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %informalequation-rules% ;; Specify rules before and after an InformalEquation #f) docbook-dsssl-1.79/docsrc/htmlpr/use-id-as-filename.sgm0000644000175000001440000000175610142563635023556 0ustar msmithusers00000000000000 %use-id-as-filename% dbparam.dsl %use-id-as-filename% Use ID attributes as name for component HTML files? Synopsis %use-id-as-filename% Description If %use-id-as-filename% is true, the stylesheet will use the value of the ID attribute on a component as the base filename instead of using the auto-generated base. Source Code (define %use-id-as-filename% ;; Use ID attributes as name for component HTML files? #f) docbook-dsssl-1.79/docsrc/htmlpr/generate-article-lot-list.sgm0000644000175000001440000000233610142563635025164 0ustar msmithusers00000000000000 $generate-article-lot-list$ dbparam.dsl $generate-article-lot-list$ Which Lists of Titles should be produced for Books? Synopsis ($generate-article-lot-list$) Description This parameter should be a list (possibly empty) of the elements for which Lists of Titles shold be produced for each Article. It is meaningless to put elements that do not have titles in this list. If elements with optional titles are placed in this list, only the instances of those elements that do have titles will appear in the LOT. Source Code (define ($generate-article-lot-list$) ;; Which Lists of Titles should be produced for Books? (list)) docbook-dsssl-1.79/docsrc/htmlpr/cals-table-class.sgm0000644000175000001440000000207610142563635023317 0ustar msmithusers00000000000000 %cals-table-class% dbparam.dsl %cals-table-class% Class attribute for CALS tables Synopsis %cals-table-class% Description This value, if not #f, will be used as the value of the CLASS attribute on CALS tables. This allows the HTML stylesheet to distinguish between HTML tables generated from tables in the source document from HTML tables generated for other reasons (simplelists and navigation, for example). Source Code (define %cals-table-class% ;; Class attribute for CALS tables "CALSTABLE") docbook-dsssl-1.79/docsrc/htmlpr/use-output-dir.sgm0000644000175000001440000000173510142563635023114 0ustar msmithusers00000000000000 use-output-dir dbparam.dsl use-output-dir If an output-dir is specified, should it be used? Synopsis use-output-dir Description If true, chunks will be written to the output-dir instead of the current directory. (This option can conveniently be set with -V use-output-dir on the Jade command line). Source Code (define use-output-dir ;; If an output-dir is specified, should it be used? #f) docbook-dsssl-1.79/docsrc/htmlpr/generate-reference-toc.sgm0000644000175000001440000000165210142563635024515 0ustar msmithusers00000000000000 %generate-reference-toc% dbparam.dsl %generate-reference-toc% Should a Table of Contents be produced for References? Synopsis %generate-reference-toc% Description If true, a Table of Contents will be generated for each Reference. Source Code (define %generate-reference-toc% ;; Should a Table of Contents be produced for References? #t) docbook-dsssl-1.79/docsrc/htmlpr/annotate-toc.sgm0000644000175000001440000000147310142563635022601 0ustar msmithusers00000000000000 %annotate-toc% dbparam.dsl %annotate-toc% Annotate TOC entries Synopsis %annotate-toc% Description If #t, TOC entries will be annotated (e.g., the RefPurpose of a RefEntry will be displayed in the TOC). Source Code (define %annotate-toc% ;; Annotate TOC entries #t) docbook-dsssl-1.79/docsrc/htmlpr/equation-rules.sgm0000644000175000001440000000171610142563635023162 0ustar msmithusers00000000000000 %equation-rules% dbparam.dsl %equation-rules% Specify rules before and after an Equation Synopsis %equation-rules% Description If #t, rules will be drawn before and after each Equation. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %equation-rules% ;; Specify rules before and after an Equation #f) docbook-dsssl-1.79/docsrc/htmlpr/indent-literallayout-lines.sgm0000644000175000001440000000215310142563635025462 0ustar msmithusers00000000000000 %indent-literallayout-lines% dbparam.dsl %indent-literallayout-lines% Indent lines in a 'LiteralLayout'? Synopsis %indent-literallayout-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-literallayout-lines% ;; Indent lines in a 'LiteralLayout'? #f) docbook-dsssl-1.79/docsrc/htmlpr/informalexample-rules.sgm0000644000175000001440000000201510142563635024511 0ustar msmithusers00000000000000 %informalexample-rules% dbparam.dsl %informalexample-rules% Specify rules before and after an InformalExample Synopsis %informalexample-rules% Description If #t, rules will be drawn before and after each InformalExample. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %informalexample-rules% ;; Specify rules before and after an InformalExample #f) docbook-dsssl-1.79/docsrc/htmlpr/default-quadding.sgm0000644000175000001440000000203410142563635023415 0ustar msmithusers00000000000000 %default-quadding% dbparam.dsl %default-quadding% The default quadding Synopsis %default-quadding% Description At present, this is only used on paragraphs. It specifies the value of the ALIGN attribute on the paragraph. This would be better done with CSS, but not all browsers support it yet and this has been oft requested functionality. A value of #f suppresses the ALIGN attribute altogether. Source Code (define %default-quadding% ;; The default quadding #f) docbook-dsssl-1.79/docsrc/htmlpr/always-format-variablelist-as-table.sgm0000644000175000001440000000260610142563635027137 0ustar msmithusers00000000000000 %always-format-variablelist-as-table% dbparam.dsl %always-format-variablelist-as-table% Always format VariableLists as tables? Synopsis %always-format-variablelist-as-table% Description When a VariableList is formatted, if any of the terms in the list are too long, the whole list is formatted as a list. If %always-format-variablelist-as-table% is #t, the VariableList will be formatted as a table, even if some terms are too long. The terms that are too long will format span above their associated description. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %always-format-variablelist-as-table% ;; Always format VariableLists as tables? #f) docbook-dsssl-1.79/docsrc/htmlpr/number-literallayout-lines.sgm0000644000175000001440000000210210142563635025463 0ustar msmithusers00000000000000 %number-literallayout-lines% dbparam.dsl %number-literallayout-lines% Enumerate lines in a 'LiteralLayout'? Synopsis %number-literallayout-lines% Description If true, lines in each LiteralLayout will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-literallayout-lines% ;; Enumerate lines in a 'LiteralLayout'? #f) docbook-dsssl-1.79/docsrc/htmlpr/gentext-nav-use-ff.sgm0000644000175000001440000000161610142563635023627 0ustar msmithusers00000000000000 %gentext-nav-use-ff% dbparam.dsl %gentext-nav-use-ff% Add "fast-forward" to the navigation links? Synopsis %gentext-nav-use-ff% Description Do you want "fast-forward" navigation? Probably not is my guess. I'm not sure this works real well yet. Source Code (define %gentext-nav-use-ff% ;; Add "fast-forward" to the navigation links? #f) docbook-dsssl-1.79/docsrc/htmlpr/callout-graphics.sgm0000644000175000001440000000163310142563635023444 0ustar msmithusers00000000000000 %callout-graphics% dbparam.dsl %callout-graphics% Use graphics in callouts? Synopsis %callout-graphics% Description If true, callouts are presented with graphics (e.g., reverse-video circled numbers instead of "(1)", "(2)", etc.). Default graphics are provided in the distribution. Source Code (define %callout-graphics% ;; Use graphics in callouts? #t) docbook-dsssl-1.79/docsrc/htmlpr/link-mailto-url.sgm0000644000175000001440000000157710142563635023232 0ustar msmithusers00000000000000 %link-mailto-url% dbparam.dsl %link-mailto-url% Mailto URL for LINK REL=made Synopsis %link-mailto-url% Description If not #f, the %link-mailto-url% address will be used in a LINK REL=made element in the HTML HEAD. Source Code (define %link-mailto-url% ;; Mailto URL for LINK REL=made #f) docbook-dsssl-1.79/docsrc/htmlpr/show-comments.sgm0000644000175000001440000000172510142563635023010 0ustar msmithusers00000000000000 %show-comments% dbparam.dsl %show-comments% Display Comment elements? Synopsis %show-comments% Description If true, comments will be displayed, otherwise they are suppressed. Comments here refers to the Comment element, which will be renamed Remark in DocBook V4.0, not SGML/XML comments which are unavailable. Source Code (define %show-comments% ;; Display Comment elements? #f) docbook-dsssl-1.79/docsrc/htmlpr/informaltable-rules.sgm0000644000175000001440000000177310142563635024157 0ustar msmithusers00000000000000 %informaltable-rules% dbparam.dsl %informaltable-rules% Specify rules before and after an InformalTable Synopsis %informaltable-rules% Description If #t, rules will be drawn before and after each InformalTable. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %informaltable-rules% ;; Specify rules before and after an InformalTable #f) docbook-dsssl-1.79/docsrc/htmlpr/writing-mode.sgm0000644000175000001440000000147210142563635022611 0ustar msmithusers00000000000000 %writing-mode% dbparam.dsl %writing-mode% The writing mode Synopsis %writing-mode% Description The writing mode is either left-to-right, or right-to-left. Source Code (define %writing-mode% ;; The writing mode 'left-to-right) docbook-dsssl-1.79/docsrc/htmlpr/generate-set-toc.sgm0000644000175000001440000000156410142563635023354 0ustar msmithusers00000000000000 %generate-set-toc% dbparam.dsl %generate-set-toc% Should a Table of Contents be produced for Sets? Synopsis %generate-set-toc% Description If true, a Table of Contents will be generated for each Set. Source Code (define %generate-set-toc% ;; Should a Table of Contents be produced for Sets? #t) docbook-dsssl-1.79/docsrc/htmlpr/html-sysid.sgm0000644000175000001440000000203210142563635022272 0ustar msmithusers00000000000000 %html-sysid% dbparam.dsl %html-sysid% What system ID are you declaring your HTML compliant with? Synopsis %html-sysid% Description The system ID used in output HTML files. If #f, then no system ID is produced. If both this and %html-pubid% are #f, then no doctype declaration is produced. Source Code (define %html-sysid% ;; What system ID are you declaring your HTML compliant with? (if %html40% "http://www.w3.org/TR/html4/loose.dtd" #f)) docbook-dsssl-1.79/docsrc/htmlpr/refentry-xref-manvolnum.sgm0000644000175000001440000000167210142563635025020 0ustar msmithusers00000000000000 %refentry-xref-manvolnum% dbparam.dsl %refentry-xref-manvolnum% Output manvolnum as part of RefEntry cross-reference? Synopsis %refentry-xref-manvolnum% Description If true, the manvolnum is used when cross-referencing RefEntrys, either with XRef or CiteRefEntry. Source Code (define %refentry-xref-manvolnum% ;; Output manvolnum as part of RefEntry cross-reference? #t) docbook-dsssl-1.79/docsrc/htmlpr/informalfigure-rules.sgm0000644000175000001440000000200410142563635024335 0ustar msmithusers00000000000000 %informalfigure-rules% dbparam.dsl %informalfigure-rules% Specify rules before and after an InformalFigure Synopsis %informalfigure-rules% Description If #t, rules will be drawn before and after each InformalFigure. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %informalfigure-rules% ;; Specify rules before and after an InformalFigure #f) docbook-dsssl-1.79/docsrc/htmlpr/example-rules.sgm0000644000175000001440000000170510142563635022766 0ustar msmithusers00000000000000 %example-rules% dbparam.dsl %example-rules% Specify rules before and after an Example Synopsis %example-rules% Description If #t, rules will be drawn before and after each Example. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %example-rules% ;; Specify rules before and after an Example #f) docbook-dsssl-1.79/docsrc/htmlpr/section-autolabel.sgm0000644000175000001440000000145110142563635023613 0ustar msmithusers00000000000000 %section-autolabel% dbparam.dsl %section-autolabel% Are sections enumerated? Synopsis %section-autolabel% Description If true, unlabeled sections will be enumerated. Source Code (define %section-autolabel% ;; Are sections enumerated? #f) docbook-dsssl-1.79/docsrc/htmlpr/image-library.sgm0000644000175000001440000000161110142563635022723 0ustar msmithusers00000000000000 image-library dbparam.dsl image-library Load image library database for additional info about images? Synopsis image-library Description If true, an image library database is loaded and extra information about web graphics is retrieved from it. Source Code (define image-library ;; Load image library database for additional info about images? #f) docbook-dsssl-1.79/docsrc/htmlpr/default-variablelist-termlength.sgm0000644000175000001440000000234010142563635026451 0ustar msmithusers00000000000000 %default-variablelist-termlength% dbparam.dsl %default-variablelist-termlength% Default term length on variablelists Synopsis %default-variablelist-termlength% Description When formatting a VariableList, this value is used as the default term length, if no TermLength is specified. If all of the terms in a list shorter than the term length, the stylesheet may format them "side-by-side" in a table. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %default-variablelist-termlength% ;; Default term length on variablelists 20) docbook-dsssl-1.79/docsrc/htmlpr/blockquote-start-col.sgm0000644000175000001440000000202510142563635024255 0ustar msmithusers00000000000000 %blockquote-start-col% dbparam.dsl %blockquote-start-col% Size of start indent for blockquoted text. Synopsis %blockquote-start-col% Description Width of the table column which provides a starting indent for blockquoted text, expressed as a percentage. AUTHOR Ola Lundqvist Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %blockquote-start-col% ;; Size of start indent for blockquoted text. "10%") docbook-dsssl-1.79/docsrc/htmlpr/chapter-autolabel.sgm0000644000175000001440000000144010142563635023573 0ustar msmithusers00000000000000 %chapter-autolabel% dbparam.dsl %chapter-autolabel% Are chapters enumerated? Synopsis %chapter-autolabel% Description If true, chapters will be enumerated. Source Code (define %chapter-autolabel% ;; Are chapters enumerated? #t) docbook-dsssl-1.79/docsrc/htmlpr/html-ext.sgm0000644000175000001440000000142310142563635021742 0ustar msmithusers00000000000000 %html-ext% dbparam.dsl %html-ext% Default extension for HTML output files Synopsis %html-ext% Description The default extension for HTML output files. Source Code (define %html-ext% ;; Default extension for HTML output files ".htm") docbook-dsssl-1.79/docsrc/htmlpr/generate-reference-toc-on-titlepage.sgm0000644000175000001440000000206410142563635027101 0ustar msmithusers00000000000000 %generate-reference-toc-on-titlepage% dbparam.dsl %generate-reference-toc-on-titlepage% Should the Reference TOC appear on the Reference title page? Synopsis %generate-reference-toc-on-titlepage% Description If true, the Reference TOC will be placed on the Reference title page. If false, the TOC will be placed after the Reference title page. Source Code (define %generate-reference-toc-on-titlepage% ;; Should the Reference TOC appear on the Reference title page? #t) docbook-dsssl-1.79/docsrc/htmlpr/html-index.sgm0000644000175000001440000000160310142563635022251 0ustar msmithusers00000000000000 html-index dbparam.dsl html-index HTML indexing? Synopsis html-index Description Turns on HTML indexing. If true, then index data will be written to the file defined by html-index-filename. This data can be collated and turned into a DocBook index with bin/collateindex.pl. Source Code (define html-index ;; HTML indexing? #f) docbook-dsssl-1.79/docsrc/htmlpr/emphasis-propagates-style.sgm0000644000175000001440000000167110142563635025317 0ustar msmithusers00000000000000 %emphasis-propagates-style% dbparam.dsl %emphasis-propagates-style% Support propagating emphasis role attributes to HTML Synopsis %emphasis-propagates-style% Description Should the role attribute of emphasis be propagated to HTML as a class attribute value? Source Code (define %emphasis-propagates-style% ;; Support propagating emphasis role attributes to HTML #t) docbook-dsssl-1.79/docsrc/htmlpr/root-filename.sgm0000644000175000001440000000167510142563635022752 0ustar msmithusers00000000000000 %root-filename% dbparam.dsl %root-filename% Name for the root HTML document Synopsis %root-filename% Description The filename of the root HTML document (e.g, "index"). If #f, then a default name will be selected based on the element type of the root element (e.g, book1.htm, set1.htm, c1.htm, etc.). Source Code (define %root-filename% ;; Name for the root HTML document #f) docbook-dsssl-1.79/docsrc/htmlpr/default-title-end-punct.sgm0000644000175000001440000000162610142563635024643 0ustar msmithusers00000000000000 %default-title-end-punct% dbparam.dsl %default-title-end-punct% Default punctuation at the end of a run-in head. Synopsis %default-title-end-punct% Description The punctuation used at the end of a run-in head (e.g. on FORMALPARA). Source Code (define %default-title-end-punct% ;; Default punctuation at the end of a run-in head. ".") docbook-dsssl-1.79/docsrc/htmlpr/table-width.sgm0000644000175000001440000000217310142563635022407 0ustar msmithusers00000000000000 $table-width$ dbparam.dsl $table-width$ Calculate table width Synopsis ($table-width$) Description This function is called to calculate the width of tables that should theoretically be "100%" wide. Unfortunately, in HTML, a 100% width table in a list hangs off the right side of the browser window. (Who's mistake was that!). So this function provides a way to massage the width appropriately. This version is fairly dumb. Source Code (define ($table-width$) ;; Calculate table width (if (has-ancestor-member? (current-node) '("LISTITEM")) "90%" "100%")) docbook-dsssl-1.79/docsrc/htmlpr/indent-address-lines.sgm0000644000175000001440000000207310142563635024216 0ustar msmithusers00000000000000 %indent-address-lines% dbparam.dsl %indent-address-lines% Indent lines in a 'Address'? Synopsis %indent-address-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-address-lines% ;; Indent lines in a 'Address'? #f) docbook-dsssl-1.79/docsrc/htmlpr/stylesheet.sgm0000644000175000001440000000151510142563635022373 0ustar msmithusers00000000000000 %stylesheet% dbparam.dsl %stylesheet% Name of the stylesheet to use Synopsis %stylesheet% Description The name of the stylesheet to place in the HTML LINK TAG, or #f to suppress the stylesheet LINK. Source Code (define %stylesheet% ;; Name of the stylesheet to use #f) docbook-dsssl-1.79/docsrc/htmlpr/footnotes-at-end.sgm0000644000175000001440000000216610142563635023373 0ustar msmithusers00000000000000 %footnotes-at-end% dbparam.dsl %footnotes-at-end% Should footnotes appear at the end of HTML pages? Synopsis %footnotes-at-end% Description If #t, footnotes will be placed at the end of each HTML page instead of immediately following the place where they occur. Note: support for this feature is dependent on the processing performed by the (footer-navigation) function; if you replace that function, make sure that you're replacement calls (make-endnotes). Source Code (define %footnotes-at-end% ;; Should footnotes appear at the end of HTML pages? #t) docbook-dsssl-1.79/docsrc/htmlpr/fix-para-wrappers.sgm0000644000175000001440000000177110142563635023556 0ustar msmithusers00000000000000 %fix-para-wrappers% dbparam.dsl %fix-para-wrappers% Block element in para hack Synopsis %fix-para-wrappers% Description Block elements are allowed in PARA in DocBook, but not in P in HTML. With %fix-para-wrappers% turned on, the stylesheets attempt to avoid putting block elements in HTML P tags by outputting additional end/begin P pairs around them. Source Code (define %fix-para-wrappers% ;; Block element in para hack #f) docbook-dsssl-1.79/docsrc/htmlpr/firstterm-bold.sgm0000644000175000001440000000150210142563635023133 0ustar msmithusers00000000000000 firstterm-bold dbparam.dsl firstterm-bold Make FIRSTTERM elements bold? Synopsis firstterm-bold Description If #t, FIRSTTERMs will be bold, to distinguish them from simple GLOSSTERMs. Source Code (define firstterm-bold ;; Make FIRSTTERM elements bold? #f) docbook-dsssl-1.79/docsrc/htmlpr/html-manifest-filename.sgm0000644000175000001440000000162510142563635024532 0ustar msmithusers00000000000000 html-manifest-filename dbparam.dsl html-manifest-filename Name of HTML manifest file Synopsis html-manifest-filename Description The name of the file to which a manifest will be written if html-manifest is not #f. Source Code (define html-manifest-filename ;; Name of HTML manifest file "HTML.manifest") docbook-dsssl-1.79/docsrc/htmlpr/figure-rules.sgm0000644000175000001440000000167410142563635022621 0ustar msmithusers00000000000000 %figure-rules% dbparam.dsl %figure-rules% Specify rules before and after an Figure Synopsis %figure-rules% Description If #t, rules will be drawn before and after each Figure. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %figure-rules% ;; Specify rules before and after an Figure #f) docbook-dsssl-1.79/docsrc/htmlpr/generate-reference-titlepage.sgm0000644000175000001440000000165710142563635025713 0ustar msmithusers00000000000000 %generate-reference-titlepage% dbparam.dsl %generate-reference-titlepage% Should a reference title page be produced? Synopsis %generate-reference-titlepage% Description If true, a title page will be generated for each Reference. Source Code (define %generate-reference-titlepage% ;; Should a reference title page be produced? #t) docbook-dsssl-1.79/docsrc/htmlpr/generate-article-toc.sgm0000644000175000001440000000163010142563635024176 0ustar msmithusers00000000000000 %generate-article-toc% dbparam.dsl %generate-article-toc% Should a Table of Contents be produced for Articles? Synopsis %generate-article-toc% Description If true, a Table of Contents will be generated for each Article. Source Code (define %generate-article-toc% ;; Should a Table of Contents be produced for Articles? #f) docbook-dsssl-1.79/docsrc/htmlpr/default-simplesect-level.sgm0000644000175000001440000000207310142563635025101 0ustar msmithusers00000000000000 %default-simplesect-level% dbparam.dsl %default-simplesect-level% Default section level for 'SimpleSect's. Synopsis %default-simplesect-level% Description If SimpleSects appear inside other section-level elements, they are rendered at the appropriate section level, but if they appear in a component-level element, they are rendered at %default-simplesect-level%. Source Code (define %default-simplesect-level% ;; Default section level for 'SimpleSect's. 4) docbook-dsssl-1.79/docsrc/htmlpr/linenumber-padchar.sgm0000644000175000001440000000154310142563635023743 0ustar msmithusers00000000000000 %linenumber-padchar% dbparam.dsl %linenumber-padchar% Pad character in line numbers Synopsis %linenumber-padchar% Description Line numbers will be padded (on the left) with %linenumber-padchar%. Source Code (define %linenumber-padchar% ;; Pad character in line numbers " ") docbook-dsssl-1.79/docsrc/htmlpr/generate-book-titlepage.sgm0000644000175000001440000000160110142563635024674 0ustar msmithusers00000000000000 %generate-book-titlepage% dbparam.dsl %generate-book-titlepage% Should a book title page be produced? Synopsis %generate-book-titlepage% Description If true, a title page will be generated for each Book. Source Code (define %generate-book-titlepage% ;; Should a book title page be produced? #t) docbook-dsssl-1.79/docsrc/htmlpr/generate-part-toc-on-titlepage.sgm0000644000175000001440000000201110142563635026101 0ustar msmithusers00000000000000 %generate-part-toc-on-titlepage% dbparam.dsl %generate-part-toc-on-titlepage% Should the Part TOC appear on the Part title page? Synopsis %generate-part-toc-on-titlepage% Description If true, the Part TOC will be placed on the Part title page. If false, the TOC will be placed on separate page(s) after the Part title page. Source Code (define %generate-part-toc-on-titlepage% ;; Should the Part TOC appear on the Part title page? #t) docbook-dsssl-1.79/docsrc/htmlpr/footer-navigation.sgm0000644000175000001440000000217610142563635023641 0ustar msmithusers00000000000000 %footer-navigation% dbparam.dsl %footer-navigation% Should navigation links be added to the bottom of each page? Synopsis %footer-navigation% Description If #t, navigation links will be added to the bottom of each page. If #f, no navigation links will be added. Note that this has no effect on ($user-footer-navigation$) or (nav-footer), which will still be called (but do nothing by default). Source Code (define %footer-navigation% ;; Should navigation links be added to the bottom of each page? #t) docbook-dsssl-1.79/docsrc/htmlpr/force-chapter-toc.sgm0000644000175000001440000000170410142563635023507 0ustar msmithusers00000000000000 %force-chapter-toc% dbparam.dsl %force-chapter-toc% Force a chapter TOC even if it includes only a single entry Synopsis %force-chapter-toc% Description Force chapter toc indicates whether or not an automatically generated chapter TOC should be included even if it has only one entry. Source Code (define %force-chapter-toc% ;; Force a chapter TOC even if it includes only a single entry #f) docbook-dsssl-1.79/docsrc/htmlpr/generate-book-toc.sgm0000644000175000001440000000157510142563635023515 0ustar msmithusers00000000000000 %generate-book-toc% dbparam.dsl %generate-book-toc% Should a Table of Contents be produced for Books? Synopsis %generate-book-toc% Description If true, a Table of Contents will be generated for each Book. Source Code (define %generate-book-toc% ;; Should a Table of Contents be produced for Books? #t) docbook-dsssl-1.79/docsrc/htmlpr/generate-set-titlepage.sgm0000644000175000001440000000157010142563635024542 0ustar msmithusers00000000000000 %generate-set-titlepage% dbparam.dsl %generate-set-titlepage% Should a set title page be produced? Synopsis %generate-set-titlepage% Description If true, a title page will be generated for each Set. Source Code (define %generate-set-titlepage% ;; Should a set title page be produced? #t) docbook-dsssl-1.79/docsrc/htmlpr/html40.sgm0000644000175000001440000000162210142563635021311 0ustar msmithusers00000000000000 %html40% dbparam.dsl %html40% Generate HTML 4.0 Synopsis %html40% Description If %html40% is true then the output more closely resembles HTML 4.0. In particular, the HTML table module includes COL, THEAD, TBODY, and TFOOT elements, and the output documents have a proper doctype declaration. Source Code (define %html40% ;; Generate HTML 4.0 #t) docbook-dsssl-1.79/docsrc/htmlpr/nochunks.sgm0000644000175000001440000000161510142563635022033 0ustar msmithusers00000000000000 nochunks dbparam.dsl nochunks Suppress chunking of output pages Synopsis nochunks Description If true, the entire source document is formatted as a single HTML document and output on stdout. (This option can conveniently be set with -V nochunks on the Jade command line). Source Code (define nochunks ;; Suppress chunking of output pages #f) docbook-dsssl-1.79/docsrc/htmlpr/citerefentry-link.sgm0000644000175000001440000000172310142563635023641 0ustar msmithusers00000000000000 %citerefentry-link% dbparam.dsl %citerefentry-link% Generate URL links when cross-referencing RefEntrys? Synopsis %citerefentry-link% Description If true, a web link will be generated, presumably to an online man->HTML gateway. The text of the link is generated by the $generate-citerefentry-link$ function. Source Code (define %citerefentry-link% ;; Generate URL links when cross-referencing RefEntrys? #f) docbook-dsssl-1.79/docsrc/htmlpr/admon-graphics-path.sgm0000644000175000001440000000160510142563634024027 0ustar msmithusers00000000000000 %admon-graphics-path% dbparam.dsl %admon-graphics-path% Path to admonition graphics Synopsis %admon-graphics-path% Description Sets the path, probably relative to the directory where the HTML files are created, to the admonition graphics. Source Code (define %admon-graphics-path% ;; Path to admonition graphics "../images/") docbook-dsssl-1.79/docsrc/htmlpr/olink-pubid.sgm0000644000175000001440000000153010142563634022413 0ustar msmithusers00000000000000 %olink-pubid% dbparam.dsl %olink-pubid% Portion of the URL which identifies the public identifier Synopsis %olink-pubid% Description Portion of the URL which identifies the public identifier Source Code (define %olink-pubid% ;; Portion of the URL which identifies the public identifier "pubid=") docbook-dsssl-1.79/docsrc/htmlpr/number-address-lines.sgm0000644000175000001440000000201410142563634024217 0ustar msmithusers00000000000000 %number-address-lines% dbparam.dsl %number-address-lines% Enumerate lines in a 'Address'? Synopsis %number-address-lines% Description If true, lines in each Address will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-address-lines% ;; Enumerate lines in a 'Address'? #f) docbook-dsssl-1.79/docsrc/htmlpr/generate-qandaset-toc.sgm0000644000175000001440000000176210142563634024360 0ustar msmithusers00000000000000 $generate-qandaset-toc$ dbparam.dsl $generate-qandaset-toc$ Should a QandASet Table of Contents be produced? Synopsis ($generate-qandaset-toc$) Description If true, an automatically generated TOC is produced for each QandASet. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define ($generate-qandaset-toc$) ;; Should a QandASet Table of Contents be produced? #t) docbook-dsssl-1.79/docsrc/htmlpr/filter-used.sgm0000644000175000001440000000260010142563634022420 0ustar msmithusers00000000000000 biblio-filter-used dbparam.dsl biblio-filter-used Suppress unreferenced bibliography entries Synopsis biblio-filter-used Description If true, bibliography entries which are not cited are suppressed. A biblioentry is cited if an XREF or LINK matches its ID, or if a CITE element matches its ID, XREFLABEL, or leading ABBREV. A BIBLIOGRAPHY with no entries will still be output (making a whole component conditional would be _A LOT_ of work and seems unnecessary), but BIBLIDIVs with no entries will be suppressed. This setting may have significant performance implications, hence it is false by default. (This option can conveniently be set with -V biblio-filter-used on the Jade command line). Source Code (define biblio-filter-used ;; Suppress unreferenced bibliography entries #f) docbook-dsssl-1.79/docsrc/htmlpr/html-index-filename.sgm0000644000175000001440000000156710142563634024037 0ustar msmithusers00000000000000 html-index-filename dbparam.dsl html-index-filename Name of HTML index file Synopsis html-index-filename Description The name of the file to which index data will be written if html-index is not #f. Source Code (define html-index-filename ;; Name of HTML index file "HTML.index") docbook-dsssl-1.79/docsrc/htmlpr/biblio-xref-title.sgm0000644000175000001440000000175610142563634023531 0ustar msmithusers00000000000000 biblio-xref-title dbparam.dsl biblio-xref-title Use the titles of bibliography entries in XREFs Synopsis biblio-xref-title Description If true, cross references to bibliography entries will use the title of the entry as the cross reference text. Otherwise, either the number (see biblio-number) or XREFLABEL/ABBREV will be used. Source Code (define biblio-xref-title ;; Use the titles of bibliography entries in XREFs #f) docbook-dsssl-1.79/docsrc/htmlpr/shade-verbatim-attr.sgm0000644000175000001440000000171710142563634024050 0ustar msmithusers00000000000000 $shade-verbatim-attr$ dbparam.dsl $shade-verbatim-attr$ Attributes used to create a shaded verbatim environment. Synopsis ($shade-verbatim-attr$) Description See %shade-verbatim% Source Code (define ($shade-verbatim-attr$) ;; Attributes used to create a shaded verbatim environment. (list (list "BORDER" "0") (list "BGCOLOR" "#E0E0E0") (list "WIDTH" ($table-width$)))) docbook-dsssl-1.79/docsrc/htmlpr/html-prefix.sgm0000644000175000001440000000151110142563634022434 0ustar msmithusers00000000000000 %html-prefix% dbparam.dsl %html-prefix% Add the specified prefix to HTML output filenames Synopsis %html-prefix% Description The specified prefix will be added to all HTML output filenames. Source Code (define %html-prefix% ;; Add the specified prefix to HTML output filenames "") docbook-dsssl-1.79/docsrc/htmlpr/linenumber-mod.sgm0000644000175000001440000000155610142563634023123 0ustar msmithusers00000000000000 %linenumber-mod% dbparam.dsl %linenumber-mod% Controls line-number frequency in enumerated environments. Synopsis %linenumber-mod% Description Every %linenumber-mod% line will be enumerated. Source Code (define %linenumber-mod% ;; Controls line-number frequency in enumerated environments. 5) docbook-dsssl-1.79/docsrc/htmlpr/funcsynopsis-style.sgm0000644000175000001440000000201710142563634024100 0ustar msmithusers00000000000000 %funcsynopsis-style% dbparam.dsl %funcsynopsis-style% What style of 'FuncSynopsis' should be generated? Synopsis %funcsynopsis-style% Description If %funcsynopsis-style% is ansi, ANSI-style function synopses are generated for a FuncSynopsis, otherwise KR-style function synopses are generated. Source Code (define %funcsynopsis-style% ;; What style of 'FuncSynopsis' should be generated? 'ansi) docbook-dsssl-1.79/docsrc/htmlpr/table-rules.sgm0000644000175000001440000000166310142563634022424 0ustar msmithusers00000000000000 %table-rules% dbparam.dsl %table-rules% Specify rules before and after an Table Synopsis %table-rules% Description If #t, rules will be drawn before and after each Table. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %table-rules% ;; Specify rules before and after an Table #f) docbook-dsssl-1.79/docsrc/htmlpr/refentry-generate-name.sgm0000644000175000001440000000162010142563634024542 0ustar msmithusers00000000000000 %refentry-generate-name% dbparam.dsl %refentry-generate-name% Output NAME header before 'RefName'(s)? Synopsis %refentry-generate-name% Description If true, a "NAME" section title is output before the list of RefNames. Source Code (define %refentry-generate-name% ;; Output NAME header before 'RefName'(s)? #t) docbook-dsssl-1.79/docsrc/htmlpr/generate-book-lot-list.sgm0000644000175000001440000000244210142563634024470 0ustar msmithusers00000000000000 $generate-book-lot-list$ dbparam.dsl $generate-book-lot-list$ Which Lists of Titles should be produced for Books? Synopsis ($generate-book-lot-list$) Description This parameter should be a list (possibly empty) of the elements for which Lists of Titles should be produced for each Book. It is meaningless to put elements that do not have titles in this list. If elements with optional titles are placed in this list, only the instances of those elements that do have titles will appear in the LOT. Source Code (define ($generate-book-lot-list$) ;; Which Lists of Titles should be produced for Books? (list (normalize "table") (normalize "figure") (normalize "example") (normalize "equation"))) docbook-dsssl-1.79/docsrc/htmlpr/linenumber-length.sgm0000644000175000001440000000157310142563634023624 0ustar msmithusers00000000000000 %linenumber-length% dbparam.dsl %linenumber-length% Width of line numbers in enumerated environments Synopsis %linenumber-length% Description Line numbers will be padded to %linenumber-length% characters. Source Code (define %linenumber-length% ;; Width of line numbers in enumerated environments 3) docbook-dsssl-1.79/docsrc/htmlpr/othername-in-middle.sgm0000644000175000001440000000173310142563634024025 0ustar msmithusers00000000000000 %author-othername-in-middle% dbparam.dsl %author-othername-in-middle% Author OTHERNAME appears between FIRSTNAME and SURNAME? Synopsis %author-othername-in-middle% Description If true, the OTHERNAME of an AUTHOR appears between the FIRSTNAME and SURNAME. Otherwise, OTHERNAME is suppressed. Source Code (define %author-othername-in-middle% ;; Author OTHERNAME appears between FIRSTNAME and SURNAME? #t) docbook-dsssl-1.79/docsrc/htmlpr/css-decoration.sgm0000644000175000001440000000203110142563634023110 0ustar msmithusers00000000000000 %css-decoration% dbparam.dsl %css-decoration% Enable CSS decoration of elements Synopsis %css-decoration% Description If %css-decoration% is turned on then HTML elements produced by the stylesheet may be decorated with STYLE attributes. For example, the LI tags produced for list items may include a fragment of CSS in the STYLE attribute which sets the CSS property "list-style-type". Source Code (define %css-decoration% ;; Enable CSS decoration of elements #t) docbook-dsssl-1.79/docsrc/htmlpr/graphic-extensions.sgm0000644000175000001440000000214710142563634024015 0ustar msmithusers00000000000000 %graphic-extensions% dbparam.dsl %graphic-extensions% List of graphic filename extensions Synopsis %graphic-extensions% Description The list of extensions which may appear on a fileref on a Graphic which are indicative of graphic formats. Filenames that end in one of these extensions will not have the %graphic-default-extension% added to them. Source Code (define %graphic-extensions% ;; List of graphic filename extensions '("gif" "jpg" "jpeg" "png" "tif" "tiff" "eps" "epsf")) docbook-dsssl-1.79/docsrc/htmlpr/admon-graphics.sgm0000644000175000001440000000156110142563634023076 0ustar msmithusers00000000000000 %admon-graphics% dbparam.dsl %admon-graphics% Use graphics in admonitions? Synopsis %admon-graphics% Description If true, admonitions are presented in an alternate style that uses a graphic. Default graphics are provided in the distribution. Source Code (define %admon-graphics% ;; Use graphics in admonitions? #f) docbook-dsssl-1.79/docsrc/htmlpr/graphic-default-extension.sgm0000644000175000001440000000214410142563634025251 0ustar msmithusers00000000000000 %graphic-default-extension% dbparam.dsl %graphic-default-extension% Default extension for graphic FILEREFs Synopsis %graphic-default-extension% Description The %graphic-default-extension% will be added to the end of all fileref filenames on Graphics if they do not end in one of the %graphic-extensions%. Set this to #f to turn off this feature. Source Code (define %graphic-default-extension% ;; Default extension for graphic FILEREFs #f) docbook-dsssl-1.79/docsrc/htmlpr/indent-programlisting-lines.sgm0000644000175000001440000000216210142563634025630 0ustar msmithusers00000000000000 %indent-programlisting-lines% dbparam.dsl %indent-programlisting-lines% Indent lines in a 'ProgramListing'? Synopsis %indent-programlisting-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-programlisting-lines% ;; Indent lines in a 'ProgramListing'? #f) docbook-dsssl-1.79/docsrc/htmlpr/linenumber-space.sgm0000644000175000001440000000236710142563634023440 0ustar msmithusers00000000000000 $linenumber-space$ dbparam.dsl $linenumber-space$ Returns the sosofo which separates line numbers from the text Synopsis ($linenumber-space$) Description The sosofo returned by ($linenumber-space$) is placed between the line number and the corresponding line in enumerated environments. Note: %linenumber-padchar%s are separated from lines that are not enumerated (because they dont match %linenumber-mod%). In other words, ($linenumber-space$)' occurs on every line. Source Code (define ($linenumber-space$) ;; Returns the sosofo which separates line numbers from the text (make entity-ref name: "nbsp")) docbook-dsssl-1.79/docsrc/htmlpr/olink-outline-ext.sgm0000644000175000001440000000176510142563634023577 0ustar msmithusers00000000000000 %olink-outline-ext% dbparam.dsl %olink-outline-ext% Extension for olink outline file Synopsis %olink-outline-ext% Description The extension used to find the outline information file. When searching for outline information about a document, the extension is discarded from the system ID of the file and %olinke-outline-ext% is appended. Source Code (define %olink-outline-ext% ;; Extension for olink outline file ".olink") docbook-dsssl-1.79/docsrc/htmlpr/legalnotice-link-file.sgm0000644000175000001440000000244510142563634024342 0ustar msmithusers00000000000000 $legalnotice-link-file$ dbparam.dsl $legalnotice-link-file$ Name of output file for legal notices Synopsis ($legalnotice-link-file$ legalnotice) Description Name of the output file for legal notices if %generate-legalnotice-link% is true. Since several legal notices may occur (in a Set of Books, for example), this is no longer a fixed filename. Source Code (define ($legalnotice-link-file$ legalnotice) ;; Name of output file for legal notices (if (and %use-id-as-filename% (attribute-string (normalize "id") legalnotice)) (string-append (attribute-string (normalize "id") legalnotice) %html-ext%) (string-append "ln" (number->string (all-element-number legalnotice)) %html-ext%))) docbook-dsssl-1.79/docsrc/htmlpr/content-title-end-punct.sgm0000644000175000001440000000173010142563634024664 0ustar msmithusers00000000000000 %content-title-end-punct% dbparam.dsl %content-title-end-punct% List of punctuation chars at the end of a run-in head Synopsis %content-title-end-punct% Description If a run-in head ends in any of these characters, the %default-title-end-punct% is not used. Source Code (define %content-title-end-punct% ;; List of punctuation chars at the end of a run-in head '(#\. #\! #\? #\:)) docbook-dsssl-1.79/docsrc/htmlpr/html-pubid.sgm0000644000175000001440000000203410142563634022243 0ustar msmithusers00000000000000 %html-pubid% dbparam.dsl %html-pubid% What public ID are you declaring your HTML compliant with? Synopsis %html-pubid% Description The public ID used in output HTML files. If #f, then no public ID is produced. If both this and %html-sysid% are #f, then no doctype declaration is produced. Source Code (define %html-pubid% ;; What public ID are you declaring your HTML compliant with? (if %html40% "-//W3C//DTD HTML 4.01 Transitional//EN" #f)) docbook-dsssl-1.79/docsrc/htmlpr/honorific-punctuation.sgm0000644000175000001440000000157010142563634024531 0ustar msmithusers00000000000000 %honorific-punctuation% dbparam.dsl %honorific-punctuation% Punctuation to follow honorifics in names Synopsis %honorific-punctuation% Description The honorific punctuation is placed after the honorific in a name. Source Code (define %honorific-punctuation% ;; Punctuation to follow honorifics in names ".") docbook-dsssl-1.79/docsrc/htmlpr/callout-graphics-path.sgm0000644000175000001440000000162110142563634024372 0ustar msmithusers00000000000000 %callout-graphics-path% dbparam.dsl %callout-graphics-path% Path to callout graphics Synopsis %callout-graphics-path% Description Sets the path, probably relative to the directory where the HTML files are created, to the callout graphics. Source Code (define %callout-graphics-path% ;; Path to callout graphics "../images/callouts/") docbook-dsssl-1.79/docsrc/htmlpr/epigraph-content-col.sgm0000644000175000001440000000175610142563634024232 0ustar msmithusers00000000000000 %epigraph-content-col% dbparam.dsl %epigraph-content-col% Size of epigraph text column. Synopsis %epigraph-content-col% Description Width of the table column which contains the contents of epigraphs, expressed as a percentage. AUTHOR Ola Lundqvist Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %epigraph-content-col% ;; Size of epigraph text column. "45%") docbook-dsssl-1.79/docsrc/htmlpr/admon-graphic-width.sgm0000644000175000001440000000201010142563634024016 0ustar msmithusers00000000000000 $admon-graphic-width$ dbparam.dsl $admon-graphic-width$ Admonition graphic file width Synopsis ($admon-graphic-width$ #!optional (nd (current-node))) Description Given an admonition node, returns the width of the graphic that will be used for that admonition. All of the default graphics in the distribution are 25 pixels wide. Source Code (define ($admon-graphic-width$ #!optional (nd (current-node))) ;; Admonition graphic file width "25") docbook-dsssl-1.79/docsrc/htmlpr/may-format-variablelist-as-table.sgm0000644000175000001440000000225210142563634026421 0ustar msmithusers00000000000000 %may-format-variablelist-as-table% dbparam.dsl %may-format-variablelist-as-table% Format VariableLists as tables? Synopsis %may-format-variablelist-as-table% Description If %may-format-variablelist-as-table% is #t, a VariableList will be formatted as a table, if *all of* the terms are shorter than the specified TermLength. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %may-format-variablelist-as-table% ;; Format VariableLists as tables? #f) docbook-dsssl-1.79/docsrc/htmlpr/body-attr.sgm0000644000175000001440000000203710142563634022106 0ustar msmithusers00000000000000 %body-attr% dbparam.dsl %body-attr% What attributes should be hung off of BODY? Synopsis %body-attr% Description A list of the the BODY attributes that should be generated. The format is a list of lists, each interior list contains the name and value of a BODY attribute. Source Code (define %body-attr% ;; What attributes should be hung off of BODY? (list (list "BGCOLOR" "#FFFFFF") (list "TEXT" "#000000") (list "LINK" "#0000FF") (list "VLINK" "#840084") (list "ALINK" "#0000FF"))) docbook-dsssl-1.79/docsrc/htmlpr/html-manifest.sgm0000644000175000001440000000155010142563634022750 0ustar msmithusers00000000000000 html-manifest dbparam.dsl html-manifest Write a manifest? Synopsis html-manifest Description If not #f then the list of HTML files created by the stylesheet will be written to the file named by html-manifest-filename. Source Code (define html-manifest ;; Write a manifest? #f) docbook-dsssl-1.79/docsrc/htmlpr/callout-graphics-number-limit.sgm0000644000175000001440000000220710142563634026043 0ustar msmithusers00000000000000 %callout-graphics-number-limit% dbparam.dsl %callout-graphics-number-limit% Number of largest callout graphic Synopsis %callout-graphics-number-limit% Description If %callout-graphics% is true, graphics are used to represent callout numbers. The value of %callout-graphics-number-limit% is the largest number for which a graphic exists. If the callout number exceeds this limit, the default presentation "(nnn)" will always be used. Source Code (define %callout-graphics-number-limit% ;; Number of largest callout graphic 10) docbook-dsssl-1.79/docsrc/htmlpr/generate-part-titlepage.sgm0000644000175000001440000000160210142563634024710 0ustar msmithusers00000000000000 %generate-part-titlepage% dbparam.dsl %generate-part-titlepage% Should a part title page be produced? Synopsis %generate-part-titlepage% Description If true, a title page will be generated for each Part. Source Code (define %generate-part-titlepage% ;; Should a part title page be produced? #t) docbook-dsssl-1.79/docsrc/htmlpr/generate-part-toc.sgm0000644000175000001440000000203510142563634023520 0ustar msmithusers00000000000000 %generate-part-toc% dbparam.dsl %generate-part-toc% Should a Table of Contents be produced for Parts? Synopsis %generate-part-toc% Description If true, a Table of Contents will be generated for each Part. Note: %generate-part-toc-on-titlepage% controls whether the Part TOC is placed on the bottom of the part titlepage or on page(s) of its own. Source Code (define %generate-part-toc% ;; Should a Table of Contents be produced for Parts? #t) docbook-dsssl-1.79/docsrc/htmlpr/number-screen-lines.sgm0000644000175000001440000000200210142563634024046 0ustar msmithusers00000000000000 %number-screen-lines% dbparam.dsl %number-screen-lines% Enumerate lines in a 'Screen'? Synopsis %number-screen-lines% Description If true, lines in each Screen will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-screen-lines% ;; Enumerate lines in a 'Screen'? #f) docbook-dsssl-1.79/docsrc/htmlpr/image-library-filename.sgm0000644000175000001440000000274010142563634024504 0ustar msmithusers00000000000000 image-library-filename dbparam.dsl image-library-filename Name of the image library database Synopsis image-library-filename Description If image-library is true, then the database is loaded from image-library-filename. It's a current limitation that only a single database can be loaded. The image library database is stored in a separate directory because it must be parsed with the XML declaration. The only practical way to accomplish this with Jade, if you are processing a document that uses another declaration, is by having a catalog file in the directory that contains the image library that specifies the SGMLDECL. (So if it was in the same directory as your document, your document would also be parsed with the XML declaration, which may not be correct.) Source Code (define image-library-filename ;; Name of the image library database "imagelib/imagelib.xml") docbook-dsssl-1.79/docsrc/htmlpr/gentext-nav-use-tables.sgm0000644000175000001440000000165710142563634024512 0ustar msmithusers00000000000000 %gentext-nav-use-tables% dbparam.dsl %gentext-nav-use-tables% Use tables to build the navigation headers and footers? Synopsis %gentext-nav-use-tables% Description If true, HTML TABLEs will be used to format the header and footer navigation information. Source Code (define %gentext-nav-use-tables% ;; Use tables to build the navigation headers and footers? #t) docbook-dsssl-1.79/docsrc/htmlpr/generate-partintro-on-titlepage.sgm0000644000175000001440000000206410142563634026401 0ustar msmithusers00000000000000 %generate-partintro-on-titlepage% dbparam.dsl %generate-partintro-on-titlepage% Should the PartIntro appear on the Part/Reference title page? Synopsis %generate-partintro-on-titlepage% Description If true, the PartIntro content will appear on the title page of Parts and References. If false, it will be placed on separate page(s) after the title page. Source Code (define %generate-partintro-on-titlepage% ;; Should the PartIntro appear on the Part/Reference title page? #t) docbook-dsssl-1.79/docsrc/htmlpr/admon-graphic.sgm0000644000175000001440000000302110142563634022704 0ustar msmithusers00000000000000 $admon-graphic$ dbparam.dsl $admon-graphic$ Admonition graphic file Synopsis ($admon-graphic$ #!optional (nd (current-node))) Description Given an admonition node, returns the name of the graphic that should be used for that admonition. Source Code (define ($admon-graphic$ #!optional (nd (current-node))) ;; Admonition graphic file (cond ((equal? (gi nd) (normalize "tip")) (string-append %admon-graphics-path% "tip" %stock-graphics-extension%)) ((equal? (gi nd) (normalize "note")) (string-append %admon-graphics-path% "note" %stock-graphics-extension%)) ((equal? (gi nd) (normalize "important")) (string-append %admon-graphics-path% "important" %stock-graphics-extension%)) ((equal? (gi nd) (normalize "caution")) (string-append %admon-graphics-path% "caution" %stock-graphics-extension%)) ((equal? (gi nd) (normalize "warning")) (string-append %admon-graphics-path% "warning" %stock-graphics-extension%)) (else (error (string-append (gi nd) " is not an admonition."))))) docbook-dsssl-1.79/docsrc/htmlpr/blockquote-end-col.sgm0000644000175000001440000000200410142563634023662 0ustar msmithusers00000000000000 %blockquote-end-col% dbparam.dsl %blockquote-end-col% Size of end indent for blockquoted text. Synopsis %blockquote-end-col% Description Width of the table column which provides and end indent after blockquoted text, expressed as a percentage. AUTHOR Ola Lundqvist Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %blockquote-end-col% ;; Size of end indent for blockquoted text. "10%") docbook-dsssl-1.79/docsrc/htmlpr/stylesheet-type.sgm0000644000175000001440000000150110142563634023344 0ustar msmithusers00000000000000 %stylesheet-type% dbparam.dsl %stylesheet-type% The type of the stylesheet to use Synopsis %stylesheet-type% Description The type of the stylesheet to place in the HTML LINK TAG. Source Code (define %stylesheet-type% ;; The type of the stylesheet to use "text/css") docbook-dsssl-1.79/docsrc/htmlpr/epigraph-start-col.sgm0000644000175000001440000000176410142563634023714 0ustar msmithusers00000000000000 %epigraph-start-col% dbparam.dsl %epigraph-start-col% Size of start indent for epigraphs. Synopsis %epigraph-start-col% Description Width of the table column which provides a starting indent for epigraphs, expressed as a percentage. AUTHOR Ola Lundqvist Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %epigraph-start-col% ;; Size of start indent for epigraphs. "45%") docbook-dsssl-1.79/docsrc/htmlpr/generate-article-titlepage.sgm0000644000175000001440000000163710142563634025375 0ustar msmithusers00000000000000 %generate-article-titlepage% dbparam.dsl %generate-article-titlepage% Should an article title page be produced? Synopsis %generate-article-titlepage% Description If true, a title page will be generated for each Article. Source Code (define %generate-article-titlepage% ;; Should an article title page be produced? #t) docbook-dsssl-1.79/docsrc/htmlpr/indent-funcsynopsisinfo-lines.sgm0000644000175000001440000000220310142563634026202 0ustar msmithusers00000000000000 %indent-funcsynopsisinfo-lines% dbparam.dsl %indent-funcsynopsisinfo-lines% Indent lines in a 'FuncSynopsisInfo'? Synopsis %indent-funcsynopsisinfo-lines% Description If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish. Author Norman Walsh, <ndw@nwalsh.com> Source Code (define %indent-funcsynopsisinfo-lines% ;; Indent lines in a 'FuncSynopsisInfo'? #f) docbook-dsssl-1.79/docsrc/htmlpr/number-synopsis-lines.sgm0000644000175000001440000000202610142563634024464 0ustar msmithusers00000000000000 %number-synopsis-lines% dbparam.dsl %number-synopsis-lines% Enumerate lines in a 'Synopsis'? Synopsis %number-synopsis-lines% Description If true, lines in each Synopsis will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-synopsis-lines% ;; Enumerate lines in a 'Synopsis'? #f) docbook-dsssl-1.79/docsrc/htmlpr/number-programlisting-lines.sgm0000644000175000001440000000211210142563634025632 0ustar msmithusers00000000000000 %number-programlisting-lines% dbparam.dsl %number-programlisting-lines% Enumerate lines in a 'ProgramListing'? Synopsis %number-programlisting-lines% Description If true, lines in each ProgramListing will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-programlisting-lines% ;; Enumerate lines in a 'ProgramListing'? #f) docbook-dsssl-1.79/docsrc/htmlpr/rootchunk.sgm0000644000175000001440000000175410142563634022222 0ustar msmithusers00000000000000 rootchunk dbparam.dsl rootchunk Make a chunk for the root element when nochunks is used Synopsis rootchunk Description If true, a chunk will be created for the root element, even though nochunks is specified. This option has no effect if nochunks is not true. (This option can conveniently be set with -V rootchunk on the Jade command line). Source Code (define rootchunk ;; Make a chunk for the root element when nochunks is used #f) docbook-dsssl-1.79/docsrc/htmlpr/callout-default-col.sgm0000644000175000001440000000163010142563634024037 0ustar msmithusers00000000000000 %callout-default-col% dbparam.dsl %callout-default-col% Default column for callouts Synopsis %callout-default-col% Description If the coordinates of a callout include only a line number, the callout bug will appear in column %callout-default-col%. Source Code (define %callout-default-col% ;; Default column for callouts 60) docbook-dsssl-1.79/docsrc/htmlpr/olink-fragid.sgm0000644000175000001440000000155110142563634022547 0ustar msmithusers00000000000000 %olink-fragid% dbparam.dsl %olink-fragid% Portion of the URL which identifies the fragment identifier Synopsis %olink-fragid% Description Portion of the URL which identifies the fragment identifier Source Code (define %olink-fragid% ;; Portion of the URL which identifies the fragment identifier "&fragid=") docbook-dsssl-1.79/docsrc/htmlpr/html-use-lang-in-filename.sgm0000644000175000001440000000201510142563634025034 0ustar msmithusers00000000000000 %html-use-lang-in-filename% dbparam.dsl %html-use-lang-in-filename% Add the source language code to the HTML output filename? Synopsis %html-use-lang-in-filename% Description If #t, the source language code (or the default language code, if none is specified), will be added to the filename of each HTML output file. Source Code (define %html-use-lang-in-filename% ;; Add the source language code to the HTML output filename? #f) docbook-dsssl-1.79/docsrc/htmlpr/object-titles-after.sgm0000644000175000001440000000207410142563634024051 0ustar msmithusers00000000000000 $object-titles-after$ dbparam.dsl $object-titles-after$ List of objects who's titles go after the object Synopsis ($object-titles-after$) Description Titles of formal objects (Figures, Equations, Tables, etc.) in this list will be placed below the object instead of above it. This is a list of element names, for example: (list (normalize "figure") (normalize "table")). Source Code (define ($object-titles-after$) ;; List of objects who's titles go after the object '()) docbook-dsssl-1.79/docsrc/htmlpr/biblio-citation-check.sgm0000644000175000001440000000257610142563634024334 0ustar msmithusers00000000000000 biblio-citation-check dbparam.dsl biblio-citation-check Check citations Synopsis biblio-citation-check Description If true, the content of CITATIONs will be checked against possible biblioentries. If the citation cannot be found, an error is issued and the citation is generated. If the citation is found, it is generated with a cross reference to the appropriate biblioentry. A citation matches if the content of the citation element matches the ID, XREFLABEL, or leading ABBREV of a biblioentry. This setting may have significant performance implications on large documents, hence it is false by default. (This option can conveniently be set with -V biblio-citation-check on the Jade command line). Source Code (define biblio-citation-check ;; Check citations #f) docbook-dsssl-1.79/docsrc/htmlpr/number-funcsynopsisinfo-lines.sgm0000644000175000001440000000213510142563634026215 0ustar msmithusers00000000000000 %number-funcsynopsisinfo-lines% dbparam.dsl %number-funcsynopsisinfo-lines% Enumerate lines in a 'FuncSynopsisInfo'? Synopsis %number-funcsynopsisinfo-lines% Description If true, lines in each FuncSynopsisInfo will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$). Source Code (define %number-funcsynopsisinfo-lines% ;; Enumerate lines in a 'FuncSynopsisInfo'? #f) docbook-dsssl-1.79/docsrc/htmlpr/generate-chapter-toc.sgm0000644000175000001440000000213110142563634024175 0ustar msmithusers00000000000000 $generate-chapter-toc$ dbparam.dsl $generate-chapter-toc$ Should a Chapter Table of Contents be produced? Synopsis $generate-chapter-toc$ Description If true, an automatically generated chapter TOC should be included. By default, its true. Its false if the output is going to a single file and the current node isn't the root element. Source Code (define $generate-chapter-toc$ ;; Should a Chapter Table of Contents be produced? (lambda () (or (not nochunks) (node-list=? (current-node) (sgml-root-element))))) docbook-dsssl-1.79/docsrc/htmlpr/phrase-propagates-style.sgm0000644000175000001440000000164710142563634024772 0ustar msmithusers00000000000000 %phrase-propagates-style% dbparam.dsl %phrase-propagates-style% Support propagating phrase role attributes to HTML Synopsis %phrase-propagates-style% Description Should the role attribute of phrase be propagated to HTML as a class attribute value? Source Code (define %phrase-propagates-style% ;; Support propagating phrase role attributes to HTML #t) docbook-dsssl-1.79/docsrc/htmlpr/olink-sysid.sgm0000644000175000001440000000164010142563634022445 0ustar msmithusers00000000000000 %olink-sysid% dbparam.dsl %olink-sysid% Portion of the URL which identifies the system identifier Synopsis %olink-sysid% Description Portion of the URL which identifies the system identifier. System identifiers are only used if no public identifier is provided. Source Code (define %olink-sysid% ;; Portion of the URL which identifies the system identifier "sysid=") docbook-dsssl-1.79/docsrc/htmlpr/output-dir.sgm0000644000175000001440000000235610142563634022321 0ustar msmithusers00000000000000 %output-dir% dbparam.dsl %output-dir% The directory to which HTML files should be written Synopsis %output-dir% Description The output directory can be set in two ways. An individual document can specify output-dir="directory" in the dbhtml PI, or the stylesheet can specify the %output-dir%. If both are specified, the PI value will be used. Note: the output directory is ignored if use-output-dir is not #t. (This allows the author to test stylesheets and documents without accidentally overwriting existing documents.) Source Code (define %output-dir% ;; The directory to which HTML files should be written #f) docbook-dsssl-1.79/docsrc/htmlpr/refentry.ent0000644000175000001440000002026610142563635022044 0ustar msmithusers00000000000000 docbook-dsssl-1.79/docsrc/htmlpr/docinfo.sgm0000644000175000001440000000216210142563634021621 0ustar msmithusers00000000000000DocBook HTML Parameters Part of the Modular DocBook Stylesheet distribution NormanWalsh $Revision: 1.10 $ 199719981999 Norman Walsh THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Please direct all questions, bug reports, or suggestions for changes to Norman Walsh, <ndw@nwalsh.com>. See http://nwalsh.com/docbook/dsssl/ for more information. docbook-dsssl-1.79/docsrc/htmlpr/dbparam.sgm0000644000175000001440000000041510142563634021605 0ustar msmithusers00000000000000 %refentry.ent; ]> &docinfo; &refentry.sgm; docbook-dsssl-1.79/docsrc/htmlpr/refentry.sgm0000644000175000001440000000742510142563634022045 0ustar msmithusers00000000000000TOC/LOT Apparatus &generate-set-toc; &generate-book-toc; &generate-book-lot-list; &generate-part-toc; &generate-part-toc-on-titlepage; &generate-chapter-toc; &force-chapter-toc; &generate-article-toc; &generate-article-lot-list; &generate-reference-toc; &generate-reference-toc-on-titlepage; &annotate-toc; &generate-qandaset-toc; Titlepages &generate-set-titlepage; &generate-book-titlepage; &generate-part-titlepage; &generate-partintro-on-titlepage; &generate-reference-titlepage; &generate-article-titlepage; &titlepage-in-info-order; &generate-legalnotice-link; &legalnotice-link-file; &othername-in-middle; Admonitions &admon-graphics; &admon-graphics-path; &admon-graphic; &admon-graphic-width; Callouts &callout-graphics; &callout-graphics-path; &callout-graphics-number-limit; VariableLists &always-format-variablelist-as-table; &default-variablelist-termlength; &may-format-variablelist-as-table; Navigation &header-navigation; &footer-navigation; &gentext-nav-tblwidth; &gentext-nav-use-ff; &gentext-nav-use-tables; Verbatim Environments &indent-address-lines; &indent-funcsynopsisinfo-lines; &indent-literallayout-lines; &indent-programlisting-lines; &indent-screen-lines; &indent-synopsis-lines; &number-address-lines; &number-funcsynopsisinfo-lines; &number-literallayout-lines; &number-programlisting-lines; &number-screen-lines; &number-synopsis-lines; &linenumber-length; &linenumber-mod; &linenumber-padchar; &linenumber-space; &shade-verbatim; &shade-verbatim-attr; &callout-default-col; Labelling &chapter-autolabel; §ion-autolabel; &label-preface-sections; &qanda-inherit-numeration; Tables &cals-table-class; &table-element-list; &table-width; &simplelist-column-width; &epigraph-start-col; &epigraph-content-col; &blockquote-start-col; &blockquote-end-col; Bibliographies &biblio-citation-check; &filter-used; &biblio-number; &biblio-xref-title; OLinks &olink-fragid; &olink-outline-ext; &olink-pubid; &olink-resolution; &olink-sysid; Graphics &graphic-default-extension; &stock-graphics-extension; &graphic-extensions; &image-library; &image-library-filename; HTML Parameters and Chunking &body-attr; &html-prefix; &html-use-lang-in-filename; &html-ext; &html-header-tags; &html-pubid; &html-sysid; &root-filename; &html-index; &html-index-filename; &html-manifest; &html-manifest-filename; &nochunks; &rootchunk; &use-output-dir; &output-dir; &stylesheet; &stylesheet-type; &use-id-as-filename; &citerefentry-link; RefEntries and FuncSynopses &refentry-generate-name; &refentry-xref-italic; &refentry-xref-manvolnum; &funcsynopsis-decoration; &funcsynopsis-style; HTML Content and CSS &html40; &css-decoration; &css-liststyle-alist; &fix-para-wrappers; &spacing-paras; &emphasis-propagates-style; &phrase-propagates-style; Object Rules &example-rules; &figure-rules; &table-rules; &equation-rules; &informalexample-rules; &informalfigure-rules; &informaltable-rules; &informalequation-rules; Miscellaneous &content-title-end-punct; &honorific-punctuation; &default-quadding; &default-simplesect-level; &default-title-end-punct; &footnotes-at-end; &link-mailto-url; &show-comments; &writing-mode; &object-titles-after; &firstterm-bold; docbook-dsssl-1.79/doc/0000755000175000001440000000000010142565273015452 5ustar msmithusers00000000000000docbook-dsssl-1.79/doc/ChangeLog0000644000175000001440000000067510142575332017231 0ustar msmithusers000000000000002003-03-21 Adam Di Carlo * Makefile: clean target cleans backup files and CVS junk 2003-03-17 Adam Di Carlo * Makefile: Make required stuff in ../docsrc as needed 2003-03-16 Adam Di Carlo * Makefile: removing *.htm in addition to the *.html 2001-04-04 Norman Walsh * .cvsignore, Makefile: New file. docbook-dsssl-1.79/doc/indexing.html0000644000175000001440000001360510142565273020152 0ustar msmithusers00000000000000 Automatic Indexing with the DocBook DSSSL Stylesheets

Automatic Indexing with the DocBook DSSSL Stylesheets

Norman Walsh

17 Nov 1998

Automatic indexing is an often requested feature. This article describes how it is implemented in the DocBook DSSSL Stylesheets.


Authoring for Indexing

There are two parts to building an index automatically, creating the index terms and incorporating the generated index into your document.

Creating Index Terms

The generated index is constructed from IndexTerms in your document. DocBook IndexTerms are not part of the flow.

<para>
This paragraph contains an interesting thing<indexterm id="thing">
<primary>thing</primary><secondary>interesting</secondary></indexterm> that
will appear in the index.
</para>

It is not absolutely necessary to provide an ID for each index term, but the performance of the print backends may degrade significantly if you have a large number of index terms that do not have IDs.

Incorporating the Index

The index will be generated as a separate file. You must arrage to have this file incorporated into your document. The easiest way to do this is by file entity reference. At the top of your document, add an internal subset that defines the index file entity:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!ENTITY genindex.sgm SYSTEM "genindex.sgm">
]>
<book>
...
&genindex.sgm; <!-- Put this after the end tag of the last chapter or appendix, or     -->
               <!-- wherever you want the index to appear. It must be a valid location -->
               <!-- for an index. -->
</book>

Before you can process this document, you must make sure that genindex.sgm exists. This is a chicken and egg problem, but it can be solved with the collateindex.pl command:

perl collateindex.pl -N -o genindex.sgm

The -N option creates a new index; -o indentifies the name of the output file. This name must be the same as the name you specified in the internal subset.

Creating an Index

Creating an index is a multi-step, two-pass process:

  1. In order to create an index, you must first generate the raw index data. This is done with the HTML Stylesheet (even if you want print output).

    Process your document with jade using the HTML Stylesheet with the -V html-index option:

    jade -t sgml -d html/docbook.dsl -V html-index yourdocument.sgm

    This will produce a file called HTML.index that contains raw index data.

    If you're planning to generate your final document as a single HTML file using the nochunks option, make sure you generate the HTML.index file with that option as well:

    jade -t sgml -d html/docbook.dsl -V html-index -V nochunks yourdocument.sgm
  2. Generate an index document with collateindex.pl:

    perl collateindex.pl -o genindex.sgm HTML.index

    There are a multitude of options to collateindex.pl; see the reference page for more information.

  3. Process your original document again, using whichever stylesheet is appropriate. The new document will contain the generated index.

Drawbacks

Any generated index is perhaps better than none, but there are still a few things that cannot be accomplished:

  1. Duplicate page numbers are not suppressed in the index. If the document contains three indexing hits on page 4, the generated index will contain “4, 4, 4”.

  2. Ranges are not automatically constructed. If the document contains indexing hits on pages 4, 5, 6, and 7, the generated index will contain “4, 5, 6, 7” instead of “4–7”.

It is possible that the TeX backend could be made smart enough to do these things automatically. (Sebastian will probably kill me for suggesting that). For the RTF backend, at least in MS Word, it's probably possible to write a WordBasic macro that would automatically fix the index. (If someone does, please pass it along).

docbook-dsssl-1.79/doc/olinksemantics.html0000644000175000001440000004356010142565271021371 0ustar msmithusers00000000000000 OLink Semantics in the DocBook DSSSL Stylesheets

OLink Semantics in the DocBook DSSSL Stylesheets

Norman Walsh

10 Sep 1998

OLink allows you to construct cross-document links in SGML. This document describes the OLink semantics supported by the DocBook stylesheets.


Understanding OLink

The semantics of OLink are effected by both the OLink tag and the ModeSpec tag.

OLink

OLink is a wrapper around the text which forms the head of the link. It has four relevant attributes:

TargetDocEnt

This ENTITY attribute points to the document which is or contains the link target.

LocalInfo

Contains the ID of the target in the document specified by TargetDocEnt. LocalInfo is the equivalent of LinkEnd on the other linking elements.

LinkMode

Points to a ModeSpec element which further modifies the semantics of the link.

Type

Identifies the link type. The DocBook stylesheets include special processing for Type=href.

If the link type is “href”, then the HREF attribute from the summary document is used directly, without redirection through a CGI script.

ModeSpec

An OLink element can refer to a ModeSpec element to further modify the semantics of the link. Two aspects of the ModeSpec element are relevant:

XRefLabel

If the content of OLink is empty, it is possible to use XRefLabel to control the format of generated text.

ModeSpec Content

If the content of the ModeSpec element is not empty, it is used by the HTML stylesheet in the contruction of the HTML link “href”.

OLinking in HTML

Constructing cross-document links with entities in the authoring system is all well and good, but how does it work on the web? The heart of the matter is mapping from the SGML/XML entity in the TargetDocEnt to the base URL on the web, and there are two options: early binding and late binding.

Early Binding

To use early binding, you must know the mapping from entities to URLs in advance. The base URL is supplied in the content of the ModeSpec element and that is what the processor uses to construct the HTML “href”. For example, given the document in Example 1, the stylesheet would generate something like this for the link:

<A CLASS="OLINK" HREF="http://nwalsh.com/otherdocs/myotherdoc.htm#idval">This
is an OLink</a>

Note that the LocalInfo is used as the fragment identifier.

Example 1. An Early Binding Sample Document

<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!ENTITY otherdoc PUBLIC "-//Norman Walsh//DOCUMENT My Other Document V1.0//EN">
]>
<chapter>
<docinfo>
<modespec id=otherms>http://nwalsh.com/otherdocs/myotherdoc.htm</modespec>
</docinfo>
<title>Test Document</title>
<para>
<olink targetdocent=otherdoc linkmode="otherms" localinfo="idval">This is
an OLink</olink>.
</para>
</chapter>

Late Binding

Late binding delays the resolution of entity to URL mapping until the link is followed. It does this by requiring that a web server process resolve the link. “Out of the box,” the DocBook stylesheets assume that a cgi-bin script on the server called /cgi-bin/olink is responsible for the resolution.

Given the document in Example 2, late binding would produce a link something like this:

<A CLASS="OLINK" HREF="/cgi-bin/olink?pubid=-//Norman%20Walsh
     //DOCUMENT%20My%20Other%20Document%20V1.0//EN&fragid=idval">
This is an OLink</a>

(without the line break in the middle of the public identifier, of course).

Again, note that the LocalInfo is used as the fragment identifier.

Example 2. A Sample Document

<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!ENTITY otherdoc PUBLIC "-//Norman Walsh//DOCUMENT My Other Document V1.0//EN">
]>
<chapter>
<docinfo>
</docinfo>
<title>Test Document</title>
<para>
<olink targetdocent=otherdoc localinfo="idval">This is an OLink</olink>.
</para>
</chapter>

If a public identifier is used to declare the entity, then it is passed to the link resolution script; otherwise the system identifier is passed.

OLink Generated Text

Even when links span across documents, it's useful to have the stylesheet generate appropriate cross-reference text. This greatly reduces the “fragility” of the links at the expense of some complexity in the OLink processing system.

If you supply content in an OLink, that content is always used and generated text processing does not apply.

The format of generated text is controlled by the XRefLabel attribute on the ModeSpec pointed to by the OLink. The text of the XRefLabel attribute is used for the generated text, with the following substitutions:

%g

Is replaced by the “name” of the link target. This is generally the “human readable” name of the target element. For example, if the target is a Figure, %g would be “Figure”; if the target is a Sect3, %g would be “Section”.

%n

Is replaced by the label (number) of the link target.

%t

Is replaced by the title of the link target.

Suppose, for example, that the link target is the second section in the first chapter of a book and that it has the title “My Test Title”. If the XRefLabel attribute contains the text “see %g %n, %t”, then the generated content would be “see Section 1.3, My Test Title”.

Really Simple OLinks

If the author provides content in the OLink element, that's the content that is used and no extra processing is required. The sections that follow each deal with variations in the level of processing required for generated text in OLinks.

Simple OLinks

Simple OLinks avoid some of the gory machinery required to handle general OLinks at the expense of most semantic variation.

The simple semantics come into play when an OLink has the following form:

<olink targetdocent="entity"></olink>

In particular, note that there is no LinkMode. The generated text in this case is derived entirely from the public and system identifiers by the (olink-resource-title) function. By default, this is simply the title of the document derived from the description field in the public identifier. The first and last “words” of the public identifier description field are trimmed off, leaving what is presumably just the document title. For example, given “-//Norman Walsh//DOCUMENT My Document Title V1.0//EN”, the derived title would be “My Document Title”.

General OLinks

The generated text for general OLinks comes from the XRefLabel attribute on the relevant ModeSpec. The hard part is locating the appropriate replacement text: the name, label, and title of the element pointed to by the combination of the TargetDocEnt and LocalInfo.

One way to do this would be to load the TargetDocEnt, find the element with the ID mentioned in LocalInfo and extract the data directly. I chose something else because I see two significant problems with this approach:

  1. Loading and parsing potentially large documents potentially many times appears to have the potential for significant performance problems.

  2. It would not be possible to form OLink references to documents written in DTDs other than DocBook.

Instead of loading the actual target document, the stylesheets load a summary of that document's content. For DocBook documents, this summary can be generated by another DSSSL stylesheet, olink.dsl, supplied with the DocBook Stylesheet distribution. The first few lines of the summary for this document is shown in looks like this:Example 3.

Example 3. OLink Summary Document

<!DOCTYPE div PUBLIC "-//Norman Walsh//DTD DocBook OLink Summary V1.0//EN">
<div type="article" name="Article">
  <ttl>OLink Semantics in the DocBook DSSSL Stylesheets</ttl>
  <div type="sect1" name="Section" id="OLINK-UDERSTANDING" label="1">
    <ttl>Understanding OLink</ttl>
    <div type="sect2" name="Section" label="1.1">
      <ttl>OLink</ttl>
    </div>
...

The basic organization of the summary document is a nested series of divs and objs with titles (ttls). Attributes on these elements provide the IDs, labels, and names of the elements. The GI of the element is also provided. (If you find objects that you think are missing from the summary, please let me know).

The stylesheets locate this document by resolving the system identifier of the target document and replacing the SGML or XML extension with %olink-outline-ext% (.olink, by default).

Intra-document OLinks

If the TargetDocEnt attribute is missing, it seems reasonable to assume that the link refers to the current document. This actually offers a feature, you can customize the generated cross reference text for a particular reference.

When the OLink is an intra-document link, it is possible to use additional %-substitutions in the cross reference template. See (auto-xref) in dbcommon.dsl for more details.

Examples

The examples that follow are all links into the document shown in Figure 1.

Figure 1. Example Target Document

<!DOCTYPE ARTICLE PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<article id="a1">
<?html-filename olinktarget.html>
<artheader>
<title>OLink Test Document</title>
</artheader>
<para>This document demonstrates cross-document linking with OLink. Format
this document with the <filename>olink.dsl</filename> stylesheet.</para>
<sect1 id="a1s1">
<title>A1 Section One</title>
<para>text</para>
</sect1>
<sect1 id="a1s2" xreflabel="Article Section Two">
<title>A1 <emphasis>Section</emphasis> Two</title>
<sect2 id="a1s1s1">
<title>A1 S1 Subsection One<superscript>1</superscript></title>
<para>text</para>
</sect2>
<sect2 id="a1s1s2">
<title>A1 S1 Subsection Two<subscript>2</subscript></title>
<para>text</para>
</sect2>
</sect1>
<sect1 id="a1s3">
<title>A1 Section Three</title>
<para>text</para>
</sect1>
</article>

The ModeSpecs in this document are shown in Figure 2.

Figure 2. Example Target Document

<modespec id=ms1 xreflabel="Name: '%g', Label: '%n', Title: '%t'"></modespec>
<modespec id=ms2 xreflabel="%g %n, %t"></modespec>

Example 4. An OLink with Content

Source: <olink targetdocent=olinktarget>some text</olink>

Result: some text

Example 5. A Simple OLink

Source: <olink targetdocent=olinktarget></olink>

Result: OLink Test Document

Example 6. An OLink to a Document

Source: <olink targetdocent=olinktarget linkmode=ms1></olink>

Result: Name: 'Article', Label: '', Title: 'OLink Test Document'

Example 7. An OLink to a Section

Source: <olink targetdocent=olinktarget linkmode=ms2 localinfo=a1s2></olink>

Result: Section 2, Article Section Two

Example 8. An Intra-Document OLink

Source: <olink linkmode=ms1 localinfo="olink-understanding"></olink>

Result: Name: 'Section', Label: '', Title: 'Understanding OLink'

Example 9. An XRef

Source: <xref linkend="olink-understanding">

Result: the Section called Understanding OLink

docbook-dsssl-1.79/doc/imagelib.html0000644000175000001440000001356610142565266020126 0ustar msmithusers00000000000000 Image Library Files

Image Library Files

Norman Walsh

17 Nov 1998

Additional information about graphics files can be used to improve the presentation of images. In particular, passing the height and width of a graphic to a web browser improves layout and alternative text should always be used. Image library files provide a mechanism for passing this information to the DocBook DSSSL Stylesheets.


Image library files can be used to pass additional information about images to the stylesheet. The HTML stylesheet uses this information in the IMG tag; the print stylesheet may someday be able to use this information to get proper spacing around images, but I don't quite have that worked out yet.

Image Library File Format

Image library files are XML documents conforming the image library DTD shown in Figure 1.

Figure 1. The Image Library DTD

<!-- $Id: imagelib.dtd,v 1.1 2001/04/02 21:40:27 nwalsh Exp $

     DTD for the image-library files used by the Modular DocBook
     Stylesheets.

     Common declaration:
   
     <?xml version='1.0'?>
     <!DOCTYPE image-library 
               PUBLIC "-//Norman Walsh//DTD Image Library 1.0//EN" "">

     Instances of this DTD are usually XML.
-->

<!-- An image-library is a collection of images -->
<!ELEMENT image-library	(image+)>

<!-- Each image has some number of properties and may have a short -->
<!-- text description and a long test description -->
<!ELEMENT image		(properties?, alttext?, altdesc?)>

<!-- The stylesheets resolve the requested graphic to a filename -->
<!-- and search for an image with that filename in the image -->
<!-- library. Images may refer to each other with 'id' and -->
<!-- 'sameas' attributes. -->
<!ATTLIST image
	filename	CDATA	#REQUIRED
	id		ID	#IMPLIED
	sameas		IDREFS	#IMPLIED
>

<!-- A few image properties are universal, the rest are stored -->
<!-- in HTML-style 'meta' elements. -->
<!ELEMENT properties	(meta*)>
<!ATTLIST properties
	format		(gif|jpeg|png|other)	#IMPLIED
	otherformat	CDATA	#IMPLIED
	width		CDATA	#IMPLIED
	height		CDATA	#IMPLIED
>

<!-- Any additional properties that specify 'imgattr="yes"', -->
<!-- will automatically be copied to the attribute list of -->
<!-- the HTML IMG tag. -->
<!ELEMENT meta EMPTY>
<!ATTLIST meta
	name		CDATA	#REQUIRED
	content		CDATA	#REQUIRED
	imgattr		(yes|no)	"no"
>

<!-- The content of this element will be used as the HTML -->
<!-- 'ALT' text, unless the alt text can be found in the -->
<!-- instance. -->
<!ELEMENT alttext	(#PCDATA)>

<!-- The 'altdesc' is a longer description of the image. -->
<!-- It is not used at this time. -->
<!ELEMENT altdesc	(para+)>
<!ELEMENT para		(#PCDATA)>

<!--EOF-->

The stylesheets use the filename of the graphic file (either the name entered in the fileref attribute or the system identifier of the entity in the entityref attribute) to locate the appropriate image in the library.

Creating Image Library Files

At present, the files have to be created by hand. It's easy to imagine a tool that could scan the graphics and build the file (or at least part of the file) automatically, but none have been written yet.

Image Library File Location

The default location for image library files is imagelib/imagelib.xml. Using a subdirectory allows the image library file to be in XML while the documents may be in SGML. If you're formatting XML documents, you can move the image library into the same directory as your documents.

The Catalog Trick

If you're formatting SGML documents, you have to employ a catalog trick in order to get Jade to properly parse the image library file. Add a catalog to the imagelib directory that contains the single line:

SGMLDECL "path/to/xml.dcl"

Jade will use that declaration to process all the documents in the imagelib directory.

Using the Image Library

You can use the image library in one of two ways:

  1. Turn on image-library in your stylesheet:

    (define image-library #t)

  2. Use the -V image-library option when you run jade.

An Example

See the examples in the test directory.

docbook-dsssl-1.79/doc/collateindex.html0000644000175000001440000000575710142565264021031 0ustar msmithusers00000000000000 collateindex.pl

collateindex.pl

Name

collateindex.pl -- Create a DocBook index from raw index data

Synopsis

collateindex.pl [-p] [-g] [-s name] [-t name] [-P filename] [-i id] [-o file] [-S scope] [-I scope] [-x] [-f] -N | file

-p

Link to points in the document. The default is to link to the closest containing section.

-g

Group terms with IndexDiv based on the first letter of the term (or its sortas attribute). (This probably doesn't handle i10n particularly well)

-s name

Name the IndexDiv that contains symbols. The default is 'Symbols'. Meaningless if -g is not used.

-t name

Title for the index.

-P file

Read a preamble from file. The content of file will be inserted before the <index> tag.

-i id

The ID for the <index> tag.

-o file

Output to file. Defaults to stdout.

-S scope

Scope of the index, must be 'all', 'local', or 'global'. If unspecified, 'all' is assumed.

-I scope

The implied scope, must be 'all', 'local', or 'global'. IndexTerms which do not specify a scope will have the implied scope. If unspecified, 'all' is assumed.

-x

Make a SetIndex.

-f

Force the output file to be written, even if it appears to have been edited by hand.

-N

New index (generates an empty index file).

file

The file containing index data generated by Jade with the DocBook HTML Stylesheet.

Description

Generates an index.

docbook-dsssl-1.79/doc/lib.html0000644000175000001440000000777710142565262017126 0ustar msmithusers00000000000000 The Library Module

Chapter 7. The Library Module

Table of Contents
Documentation
Change Log

The library module contains functions that are DTD-independent.

Documentation

Writing better documentation for these stylesheets is a background task. If you have any questions that aren't answered here, please feel free to contact me.

Library Functions

Reference pages for the library functions in dblib.dsl. (FYI: this is programmer's documentation, not user documentation.)

Change Log

2004-10-24  <petere78@users.sourceforge.net>

	* dblib.dsl: Revision 1.6 completely broke PI processing, so back that out for now.

2003-04-29  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dblib.dsl: Fix my-debug so it actually returns what you ask it to.

2003-04-28  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dblib.dsl: Make PI parsing more robust by rewriting parse-pi-attribute and a fix
	in parse-starttag-pi.  I'm still not entirely happy with the PI
	parsing, its probably a little flakey, but it shouldn't completely
	bail out when it hits data its not expecting.  Closes Debian Bug#186886.

2003-04-26  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dblib.dsl: Fix a typo in the param docs

2003-04-05  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dblib.dsl: xsl stylesheet refers to pica as "pc" rather than "pi", so we allow
	either one as a pica

2002-05-12  Norman Walsh <nwalsh@users.sourceforge.net>

	* dblib.dsl: Bugs #429663 and #474328 fixed (allow external linespecific content to be indented and numbered). Eight bit or unicode external linespecific content may be problematic though.

2001-07-10  Norman Walsh <nwalsh@users.sourceforge.net>

	* dblib.dsl: Bug fix: (strip) was returning the empty string for any string one character long

2001-04-02  Norman Walsh <nwalsh@users.sourceforge.net>

	* dblib.dsl: New file.
docbook-dsssl-1.79/doc/common.html0000644000175000001440000001763210142565262017637 0ustar msmithusers00000000000000 The Common Module

Chapter 6. The Common Module

The common module contains functions that are shared between the HTML and print stylesheets. Functions in the common module are DTD-specific, i.e., they generally rely implicitly or explicitly on the structure of the DocBook DTD to function properly.

Change Log

2004-10-10  <petere78@users.sourceforge.net>

	* dbcommon.dsl: Give othercredit some useful rendering in print output, by copying over the
	author rendering.  Fix author-list-string for authorgroups that contain
	both authors and othercredits.  (bug #1038081)

2004-10-09  <petere78@users.sourceforge.net>

	* .cvsignore, Makefile, dbl10n.dsl, dbl10n.ent, dbl10n.template, dbl1bg.dsl: 
	New Bulgarian translation by Viktor Vasilev (SF patch #1040075)

	* dbl1bs.dsl: Additional fixes for Bosnian translation, by Kemal Skripic (SF patch
	#1037371)

2004-09-22  Michael Smith <xmldoc@users.sourceforge.net>

	* .cvsignore: dbl1bs.ent added to ignore list; also re-sorted list

2004-09-17  <petere78@users.sourceforge.net>

	* Makefile, dbl10n.dsl, dbl10n.ent, dbl10n.template, dbl1bs.dsl: 
	Bosnian translation by Kemal Skripic

2003-04-28  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbcommon.dsl: Fix a problem pointed out by Tim Waugh in articleinfo vs artheader in
	the article-title procedure.  Also ensure articleinfo is used in some
	other contexts.

2003-01-15  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbcommon.dsl: make <section> appear correctly in the PDF bookmark hierarchy; also
	fix font size selection for section titles
	
	corrects sourceforge bugs 589247 and 524028; patch from Carsten Haese
	appreciated

2002-12-20  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbl1en.dsl: fix up some case-folding incidents

2002-08-07  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* Makefile: dbl1he.ent doesn't exist, was breaking build

2002-06-06  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbl1tr.dsl: Patch #554930: obvious gentext-tr-intra-label-sep fix

2002-04-29  Norman Walsh <nwalsh@users.sourceforge.net>

	* .cvsignore, Makefile: (Incomplete) support for Hebrew

2002-03-24  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* .cvsignore, Makefile: suffix rules for the *.ent production; add a rule to create a catalog
	automatically form the *.dsl files

	* Makefile: clean shouldn't remove dbl10n.ent

2002-03-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbl10n.dsl: Remove duplicated comment

2002-02-22  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcommon.dsl: Fix test for articles in books

2002-02-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbl1fr.dsl: Fix French quotes

2002-01-03  Norman Walsh <nwalsh@users.sourceforge.net>

	* .cvsignore, Makefile: Added Thai localization

2001-12-04  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcommon.dsl: Bug #435320: Poor enumeration of LoTs and LoFs

2001-12-01  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcommon.dsl: Bug #473531 numbering of blocks when the root element is not a component

2001-11-30  Norman Walsh <nwalsh@users.sourceforge.net>

	* .cvsignore, dbl10n.ent: Merged V174bugfixes

	* .cvsignore, dbl10n.ent: New file.

	* dbcommon.dsl: Patch #473116: Section levels

	* dbl10n.ent: branches:  1.1.2;
	file dbl10n.ent was initially added on branch V174bugfixes.

2001-11-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcommon.dsl: Support artheader or articleinfo as the info-element of an article

2001-11-14  Norman Walsh <nwalsh@users.sourceforge.net>

	* Makefile, dbl10n.dsl, dbl10n.pl, dbl10n.template, dbl1eu.dsl, dbl1nn.dsl, dbl1uk.dsl, dbl1xh.dsl: 
	Added Basque, Nynorsk, Ukranian, and Xhosa

2001-09-23  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcommon.dsl: Patch #461632, title sizes for bibliography and index divs

	* dbcommon.dsl: Patch #460349, don't check extension for linespecific inclusions

2001-09-09  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcommon.dsl: Bug #459209, allow format attribute to be absent

2001-09-06  Jirka Kosek <kosek@users.sourceforge.net>

	* dbl1cs.dsl: Synchronized with localization in cs.xml

2001-08-30  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcommon.dsl: Fix XML/SGML discrepancy wrt normalization of notation names; move some common stuff into dbcommon

2001-07-04  <uid48421@users.sourceforge.net>

	* Makefile, dbl10n.dsl, dbl1af.dsl, dbl1tr.dsl: Added Afrikaans and Turkish

2001-06-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcommon.dsl, dbl10n.dsl, dbl1ca.dsl, dbl1cs.dsl, dbl1da.dsl, dbl1de.dsl, dbl1el.dsl, dbl1en.dsl, dbl1es.dsl, dbl1et.dsl, dbl1fi.dsl, dbl1fr.dsl, dbl1hu.dsl, dbl1id.dsl, dbl1it.dsl, dbl1ja.dsl, dbl1ko.dsl, dbl1nl.dsl, dbl1no.dsl, dbl1pl.dsl, dbl1pt.dsl, dbl1ptbr.dsl, dbl1ro.dsl, dbl1ru.dsl, dbl1sk.dsl, dbl1sl.dsl, dbl1sr.dsl, dbl1sv.dsl, dbl1zhcn.dsl, dbl1zhtw.dsl: 
	Updated support for locale-sensitive commas in lists

2001-05-11  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbl10n.dsl, dbl1sr.dsl, dbl1zhtw.dsl: Support Serbian and Traditional Chinese

2001-05-04  Norman Walsh <nwalsh@users.sourceforge.net>

	* Makefile: Add (partial support for) Serbian localization

2001-04-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* Makefile, cs-hack.pl: Fixed charset issues that caused the .ent files not to work in SGML

2001-04-09  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbl1ko.dsl: Updates from Park Yong Joo

2001-04-02  Norman Walsh <nwalsh@users.sourceforge.net>

	* .cvsignore: branches:  1.1.2;
	Added Makefiles to build common/*.ent

	* Makefile: New file.

	* dbcommon.dsl, dbl10n.dsl, dbl1ca.dsl, dbl1cs.dsl, dbl1da.dsl, dbl1de.dsl, dbl1el.dsl, dbl1en.dsl, dbl1es.dsl, dbl1et.dsl, dbl1fi.dsl, dbl1fr.dsl, dbl1hu.dsl, dbl1id.dsl, dbl1it.dsl, dbl1ja.dsl, dbl1ko.dsl, dbl1nl.dsl, dbl1no.dsl, dbl1null.dsl, dbl1pl.dsl, dbl1pt.dsl, dbl1ptbr.dsl, dbl1ro.dsl, dbl1ru.dsl, dbl1sk.dsl, dbl1sl.dsl, dbl1sv.dsl, dbl1zhcn.dsl, dbtable.dsl: 
	New file.
docbook-dsssl-1.79/doc/html.html0000644000175000001440000004107410142565261017307 0ustar msmithusers00000000000000 The HTML Stylesheet

Chapter 5. The HTML Stylesheet

Table of Contents
Documentation
Change Log

Documentation

Writing better documentation for these stylesheets is a background task. If you have any questions that aren't answered here, please feel free to contact me.

HTML Parameters

A brief description of each of the user-configurable settings in the HTML stylesheet.

Library Functions

Reference pages for the library functions in dblib.dsl. (FYI: this is programmer's documentation, not user documentation.)

Change Log

2004-10-10  <petere78@users.sourceforge.net>

	* dbhtml.dsl, dbparam.dsl, dbttlpg.dsl: Support for specifying a system ID for the HTML output documents, required
	for better parsing in contemporary browsers.  A default system ID is set
	if %html40% is true.

2004-10-09  <petere78@users.sourceforge.net>

	* docbook.dsl: New Bulgarian translation by Viktor Vasilev (SF patch #1040075)

2004-09-23  <petere78@users.sourceforge.net>

	* dbprocdr.dsl: Add CSS decoration of procedure steps (RFE #1033197)

2004-09-17  <petere78@users.sourceforge.net>

	* docbook.dsl: Bosnian translation by Kemal Skripic

2004-09-14  <petere78@users.sourceforge.net>

	* dbinline.dsl: Fix for bug #860398: Change uses of $var-seq$ to something more appropriate.

2004-07-11  <nyraghu@users.sourceforge.net>

	* version.dsl: Closes Bug 912831: the last character of VERSION was being cut off.

2003-05-28  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbblock.dsl: HTML attribs for comments variablized for maintenance.

2003-04-29  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbcompon.dsl: Finding the subtitle for a component should use the parent title if
	set; this is consistent with how the title is already set;
	closes SF bug 613773.

2003-04-28  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbpi.dsl: Ensure dbhtml-findvalue can handle the pi-field-list being a non-pair,
	which may occur in some poorly formed dbhtml PIs; returns #f in this
	case.

2003-04-27  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbcompon.dsl: Simplify some code, no functional changes

2003-04-26  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbcallou.dsl, dbparam.dsl: callout graphics and admonition graphics, if needed, share a single
	variable, %stock-graphics-extension% -- "stock" here referring to
	standard, stock images, e.g., not per document images; this closes
	Debian Bug#187429

2003-04-12  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbadmon.dsl: VALIGN should be MIDDLE, not CENTER; closes Debian Bug#187569

2003-04-05  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dblists.dsl: back out my last change; there are 4 places taht use this and until I
	understand how varlistentry-term-too-long? is supposed to work at all
	I better not mess with it

	* dblists.dsl: termlength in varlist is measurement-to-length, not string->number

2003-03-25  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* db31.dsl, dbblock.dsl, dbcompon.dsl, dbgraph.dsl, dbqanda.dsl, dbsect.dsl, docbook.dsl: 
	move data from db31 into its proper component files

2003-03-21  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* Makefile: Don't hardcode DSSSL file list, use $(wildcard *.dsl); clean is cleaner

2003-02-12  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* db31.dsl, dbhtml.dsl, dbinline.dsl, dbttlpg.dsl: Deprecate TT; use CODE, KBD, SAMP, or VAR instead.
	
	acronym make's use of HTML4's ACRONYM element if %html40%
	
	abbrev make's use of HTML4's ABBR element if %html40%

	* dbparam.dsl: Emit a HTML 4.0.1 doctype by default if %html40%, this seems like a
	good idea.
	
	Update %spacing-paras% and %html40% docs a bit, without changing their
	settings.

2003-02-11  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbtable.dsl: If %html40%, create col elements representing colspecs (implied or
	explicit), and don't emit widths on each and every cell.
	
	If %html40%, set the tbody valign properly.
	
	If %html40%, allow relative column sizes such as "1*", thus we're not
	emitting 50% when we mean 1* (out of 1*, 1*); the effect is that we're
	not forcing pgwide if it's not turned on.
	
	Don't set valign on entries, set them on rows (unless they really are
	set on the entries).
	
	Some rewriting for speed/efficiency (doens't seem to make much
	difference in my timing testing though)

2003-02-09  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbtable.dsl: Improve table rendering using frame and border attributes on HTML
	tables, conditional on HTML4 support being on.
	
	The following cases in table.006.xml are now fixed: outer edit (table
	frame but no rowsep nor colseps); rows (frame is topbot, rowsep but no
	colsep); columns; tic tac toc (no frame, colsep and rowsep).
	
	Note we still have no way (yet) to override colsep/rowsep in either
	colspec or in the individual rows, but I'm working on colspec ->
	colgroup.

2003-02-07  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbblock.dsl: move the anchor closer to the content in informal-objects; no way to
	get around empty A element in this case

	* dbsect.dsl, dbttlpg.dsl: "<a></a>title" changes to "<a>title</a>" -- weblint says we should
	avoid empty A elements

	* dbtable.dsl: fix a div-by-zero error identified in informaltable.015.xml; would
	cause loss of a table header column in some cases

2003-01-21  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbblock.dsl: formal and informal objects reset the processing mode, this closes
	Debian#79432f; so <bookinfo><productname> is still in special mode,
	but <bookinfo><legalnotice><productname> is not; test is legalnotice.001.xml

2003-01-20  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbgraph.dsl: correct this error: html/dbgraph.dsl:68:1:E: 1st argument for
	primitive "append" of wrong type: "#<unknown object 146207544>" not a
	list, fix and report from Christopher B. Browne

2003-01-15  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbadmon.dsl, dbautoc.dsl, dbbibl.dsl, dbblock.dsl, dbcallou.dsl, dbcompon.dsl, dbdivis.dsl, dbefsyn.dsl, dbfootn.dsl, dbgloss.dsl, dbgraph.dsl, dbhtml.dsl, dbindex.dsl, dbinfo.dsl, dbinline.dsl, dblink.dsl, dblists.dsl, dblot.dsl, dbmath.dsl, dbmsgset.dsl, dbprocdr.dsl, dbrfntry.dsl, dbsect.dsl, dbsynop.dsl, dbtable.dsl, dbtitle.dsl, dbttlpg.dsl, dbverb.dsl, docbook.dsl: 
	update docbook URL to http://docbook.sourceforge.net/projects/dsssl/;
	N.B.: credit for the group option and repeating goes to John Daily

	* dblink.dsl: xref to varlistentry using the term, patch from Jens Emmerich; closes
	bug 520561

	* dbsynop.dsl: Patch #562401 <group choice="opt" rep="repeat">, elipsis should be
	outside of group, reference test cmdsynopsis.003

2003-01-14  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbblock.dsl: define a $remark$ function, unifying comment and remark element
	rendering; remarks within paras are now rendering using a span rather
	than p so they mark up as inline text decoration

2002-12-16  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbblock.dsl, dbparam.dsl: %epigraph-start-col% and %epigraph-content-col% allows customization
	of epigraph positioning; %blockquote-start-col% and
	%blockquote-end-col% parameters allows customization of the whitespace
	around blockquote

2002-06-09  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbbibl.dsl, dbttlpg.dsl: Fix bug #502337: remove 'by' from copyright statements

2002-05-21  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbttlpg.dsl: Make sure email addresses in info elements are links

2002-05-12  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbttlpg.dsl: Bug #494693: bad formalpara formatting on title pages

	* dbverb.dsl: Bugs #429663 and #474328 fixed (allow external linespecific content to be indented and numbered). Eight bit or unicode external linespecific content may be problematic though.

2002-05-09  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbgraph.dsl: Bug #448732: make image-library work with imagedata

	* dblink.dsl: Allow xref to refnamediv

2002-05-06  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbbibl.dsl: Fix broken style attribute on biblioentries

2002-04-29  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbefsyn.dsl: Format synopsis elements correctly outside of classsynopsis

2002-04-21  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl, dbadmon.dsl, dbblock.dsl, dbcompon.dsl, dbdivis.dsl, dbgloss.dsl, dbindex.dsl, dblists.dsl, dbrfntry.dsl, dbsect.dsl, dbtable.dsl, dbttlpg.dsl: 
	Make sure named anchors are closed

2002-03-24  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* Makefile: add a clean rule here

2002-03-21  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbfootn.dsl: Fix footnote bugs (Adam, please double-check)

2002-03-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbefsyn.dsl: Support freestanding {method,field,constructor,destructor}synopsis

2002-03-16  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbfootn.dsl: footnotes go in a CSS class "footnote"; reduce code, additional modularity -- to change footnote rendering,
	   you just have to provide a different "$footnote-literal$" procedure

2002-02-22  Norman Walsh <nwalsh@users.sourceforge.net>

	* dblink.dsl: Add element-page-number-sosofo back in; always produce "???"

2002-02-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dblink.dsl: Remove bogus page-number rules

2002-01-03  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbindex.dsl: Wrap DIVs around index lists

2001-12-06  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl, dbadmon.dsl, dbblock.dsl, dbcompon.dsl, dbdivis.dsl, dbgloss.dsl, dbindex.dsl, dblists.dsl, dbrfntry.dsl, dbsect.dsl, dbttlpg.dsl: 
	Make anchors empty so that they don't imply style for the things they wrap

2001-12-01  Norman Walsh <nwalsh@users.sourceforge.net>

	* docbook.dsl: Bug #462406 legalnotice-link breaks HTML manifest

2001-11-30  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbsect.dsl: Patch #473116: Section levels

2001-11-18  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbparam.dsl: Bug #482355: use legalnotice id when use-id-as-filename is true

2001-11-14  Norman Walsh <nwalsh@users.sourceforge.net>

	* docbook.dsl: Added Basque, Nynorsk, Ukranian, and Xhosa

2001-11-03  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbinline.dsl: Support pubwork=article on citetitle

2001-10-13  Jirka Kosek <kosek@users.sourceforge.net>

	* dbinline.dsl: Fixed bug #470840 - added support for methodname.

2001-10-01  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbverb.dsl: Support linenumbering attribute on verbatim environments

2001-09-29  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbcallou.dsl: Bug #449494: make callouts work even if they appear on the last line of a verbatim environment

2001-09-23  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl: ImageData should use the image function from dbgraph.dsl

	* dbgraph.dsl: Patch #421990: support width and depth attributes on graphics

	* dbverb.dsl: Patch #461901, make %fix-para-wrappers% affect verbatim

2001-09-18  Nik Clayton <nikclayton@users.sourceforge.net>

	* dbcompon.dsl, dbparam.dsl: Add $generate-article-lot-list$, initially empty, which controls what
	whether or not a list of titles is generated for articles.
	
	Currently HTML only.

2001-08-30  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl: Fix XML/SGML discrepancy wrt normalization of notation names; move some common stuff into dbcommon

2001-08-25  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbinline.dsl: Fix erroneous literals

	* dbsect.dsl: Bug #451005: no id anchor for bridgehead

2001-08-06  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbinline.dsl, dbparam.dsl: Support 'bold' and 'strong' roles on emphasis in the expected way, added %{emphasis,phrase}-propagates-style% parameters

2001-07-05  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbautoc.dsl, dbhtml.dsl: Patch #420730, use dingbat-sosofo instead of literal to create emdash

	* dbnavig.dsl: Patch #418401, add accesskey attributes to HTML navigation

	* dbparam.dsl: Patch #420012, Add colon to content-title-end-punct

2001-07-04  <uid48421@users.sourceforge.net>

	* docbook.dsl: Added Afrikaans and Turkish

2001-05-11  Norman Walsh <nwalsh@users.sourceforge.net>

	* docbook.dsl: Support Serbian and Traditional Chinese

2001-05-04  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbprocdr.dsl: Support links to procedures and steps

2001-05-03  Jirka Kosek <kosek@users.sourceforge.net>

	* dbinline.dsl: Attributes marked up by <sgmltag> are now in monospace (same as in XSL and print DSSSL).

2001-04-21  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbblock.dsl: Output anchors for formalparas with IDs

	* dbinline.dsl: Bug #417697: workaround Netscape limitation with trade named entity.

2001-04-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbbibl.dsl: Make sure anchors are produced for bibliomixed elements

2001-04-18  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbinline.dsl, dbparam.dsl: Bug #413982, easy support for man page CGI links on citerefentry

2001-04-16  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbnavig.dsl: Added summary attribute to navigation tables

2001-04-04  Norman Walsh <nwalsh@users.sourceforge.net>

	* Makefile: New file.

2001-04-03  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl: Fix bug 412548, allow WMF in media objects

2001-04-02  Norman Walsh <nwalsh@users.sourceforge.net>

	* .cvsignore, catalog, db31.dsl, dbadmon.dsl, dbautoc.dsl, dbbibl.dsl, dbblock.dsl, dbcallou.dsl, dbchunk.dsl, dbcompon.dsl, dbdivis.dsl, dbefsyn.dsl, dbfootn.dsl, dbgloss.dsl, dbgraph.dsl, dbhtml.dsl, dbindex.dsl, dbinfo.dsl, dbinline.dsl, dblink.dsl, dblists.dsl, dblot.dsl, dbmath.dsl, dbmsgset.dsl, dbnavig.dsl, dbparam.dsl, dbpi.dsl, dbprocdr.dsl, dbrfntry.dsl, dbsect.dsl, dbsynop.dsl, dbtable.dsl, dbtitle.dsl, dbttlpg.dsl, dbverb.dsl, docbook.dsl, version.dsl: 
	New file.
docbook-dsssl-1.79/doc/print.html0000644000175000001440000003656610142565261017511 0ustar msmithusers00000000000000 The Print Stylesheet

Chapter 4. The Print Stylesheet

Table of Contents
Documentation
Change Log

Documentation

Writing better documentation for these stylesheets is a background task. If you have any questions that aren't answered here, please feel free to contact me.

Print Parameters

A brief description of each of the user-configurable settings in the print stylesheet.

Library Functions

Reference pages for the library functions in dblib.dsl. (FYI: this is programmer's documentation, not user documentation.)

Change Log

2004-10-10  <petere78@users.sourceforge.net>

	* dbadmon.dsl: Fix for bug #522140: Keep admonition titles and contents together when
	graphics are used.

	* dbcallou.dsl: Synchronized $callout-verbatim-display$ with $verbatim-display$; fixes
	bug #517520 (callout ignores width of programlisting)

	* dbttlpg.dsl: Give othercredit some useful rendering in print output, by copying over the
	author rendering.  Fix author-list-string for authorgroups that contain
	both authors and othercredits.  (bug #1038081)

2004-10-09  <petere78@users.sourceforge.net>

	* dbprint.dsl, dbverb.dsl: Patch #571688: Fixes excessive after spacing when a listitem contains
	multiple paras or verbatim environments.  Patches originally by Tim Waugh
	and Tammy Fox.

	* docbook.dsl: New Bulgarian translation by Viktor Vasilev (SF patch #1040075)

2004-09-17  <petere78@users.sourceforge.net>

	* docbook.dsl: Bosnian translation by Kemal Skripic

2004-09-14  <petere78@users.sourceforge.net>

	* dbblock.dsl: Fix for bug #502066: Empty ulinks don't generate footnotes, so they should
	be omitted from the footnote counting.  Patch by Bruce A. Mah.

	* dbprint.dsl: Fix for bug #529969: Make italic monospace and strong monospace inherit
	verbatim-size-factor.  Patch by David Aumueller.

2004-07-11  <nyraghu@users.sourceforge.net>

	* version.dsl: Closes Bug 912831: the last character of VERSION was being cut off.

2003-12-05  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbdivis.dsl: fix a bug when multiple elements in $generate-book-lot-list$ had content; whitespace and comment updates

2003-04-29  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbcompon.dsl: Finding the subtitle for a component should use the parent title if
	set; this is consistent with how the title is already set;
	closes SF bug 613773.

	* dbcompon.dsl: Suppress some cases where components were restarting page numbering,
	fix from Ian Castle; closes SF bug 439751.

	* dbparam.dsl: Correct reference to undefined variable
	"admon-graphic-default-extension".

	* dbttlpg.dsl: Add elements to print version of article-titlepage-recto-elements so
	that it matches the HTML version, fixes SF bug 626909.

2003-04-26  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbparam.dsl: rename parameter admon-graphic-default-extension to
	%admon-graphics-extension% for consistency

	* dbparam.dsl: Note that %admon-graphics-path% requires the trailing directory separator
	 --

	* dbparam.dsl: %admon-graphics-extension% will use the old name,
	admon-graphic-default-extension, if set

2003-03-25  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* db31.dsl, dbblock.dsl, dbcompon.dsl, dbgraph.dsl, dbinline.dsl, dbqanda.dsl, dbsect.dsl, docbook.dsl: 
	move data from db31 into its proper component files

2003-03-24  Jirka Kosek <kosek@users.sourceforge.net>

	* dbttlpg.dsl: Added support for revdescription inside revison on titlepages

2003-03-21  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* Makefile: Don't hardcode DSSSL file list, use $(wildcard *.dsl); clean is cleaner

2003-02-17  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbblock.dsl, dbtitle.dsl: More cases where process-children-trim should be used.

	* dbcompon.dsl: Add some comments in the ARTICLE element.

	* dblists.dsl: In process-listitem-content replace (process-node-list (children
	(current-node))) with (process-children-trim) -- we need to be
	trimming whitespace.  Some retabbing.

	* dbprint.dsl: $paragraph$ should use (process-children-trim); this fixes a space
	indent in RTF output on all PARAs marked up like:
	   <para>
	Content ...

	* dbtable.dsl: Remove the %cals-cell-before-column-margin% hack for TeX backend, it's
	not needed anymore.

2003-02-13  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbblock.dsl: element footnote/para uses default-text-style; set lines: wrap for the
	case of endnotes within verbatim 'asis' environments, but it doesn't
	seem to actually help (cf test programlisting.004)

2003-02-07  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbttlpg.dsl: some space over copyright; fixes Bug #542681

2003-01-21  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbparam.dsl: correct discussion of possible settings for %paper-type% and %visual-acuity%

2003-01-15  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbadmon.dsl, dbautoc.dsl, dbblock.dsl, dbcallou.dsl, dbdivis.dsl, dbefsyn.dsl, dbgloss.dsl, dbgraph.dsl, dbindex.dsl, dbinfo.dsl, dbinline.dsl, dblink.dsl, dblists.dsl, dblot.dsl, dbmath.dsl, dbmsgset.dsl, dbprint.dsl, dbprocdr.dsl, dbrfntry.dsl, dbsect.dsl, dbsynop.dsl, dbtable.dsl, dbtitle.dsl, dbverb.dsl, docbook.dsl, notoc.dsl, plain.dsl: 
	update docbook URL to http://docbook.sourceforge.net/projects/dsssl/;
	N.B.: credit for the group option and repeating goes to John Daily

	* dbblock.dsl, dbparam.dsl: parameters for %formal-object-title-font-weight%
	%table-title-font-weight%, reviewed and tested, sourceforge patch #599366

	* dblink.dsl: xref to varlistentry using the term, patch from Jens Emmerich; closes
	bug 520561

	* dbsect.dsl: make <section> appear correctly in the PDF bookmark hierarchy; also
	fix font size selection for section titles
	
	corrects sourceforge bugs 589247 and 524028; patch from Carsten Haese
	appreciated

	* dbsynop.dsl: Patch #562401 <group choice="opt" rep="repeat">, elipsis should be
	outside of group, reference test cmdsynopsis.003

2002-12-16  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* dbblock.dsl, dbparam.dsl: %epigraph-start-indent% and %epigraph-end-indent% parameters allows
	customization of epigraph positioning; %blockquote-start-indent% and
	%blockquote-end-indent% parameters allows customization control of the
	blockquote positioning

2002-08-08  Adam Di Carlo <adicarlo@users.sourceforge.net>

	* Makefile: clean rule

2002-06-29  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbblock.dsl: Patch #473114: Footnote inherit font family

2002-06-09  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbbibl.dsl, dbttlpg.dsl: Fix bug #502337: remove 'by' from copyright statements

2002-05-22  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbblock.dsl: Support attribution on blockquote

	* dbinfo.dsl: Support chapterinfo, prefaceinfo, and appendixinfo

2002-05-12  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbttlpg.dsl: Bug #494693: bad formalpara formatting on title pages

	* dbverb.dsl: Bugs #429663 and #474328 fixed (allow external linespecific content to be indented and numbered). Eight bit or unicode external linespecific content may be problematic though.

2002-05-09  Norman Walsh <nwalsh@users.sourceforge.net>

	* dblink.dsl: Allow xref to refnamediv

	* dblists.dsl: Bug #469318: fix variablelist indents

2002-04-29  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbefsyn.dsl, dbverb.dsl: Format synopsis elements correctly outside of classsynopsis

2002-03-21  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbautoc.dsl: Find titles in any context

2002-03-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbefsyn.dsl: Support freestanding {method,field,constructor,destructor}synopsis

2002-02-20  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbblock.dsl: Bug #429331: center figure title if image is centered

2002-02-11  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbdivis.dsl, dbttlpg.dsl: Patch #502637: avoid blank page between title page recto/verso

	* dbsect.dsl: Add section-info function

2001-12-01  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbindex.dsl: Patch #468644: Fix font sizes in index

	* dbprint.dsl: Bug #465133: Insufficient conditions on is-first-para

	* dbttlpg.dsl: Bug #465136: Verso authorgroup broken for editors--still broken but a little better

	* dbttlpg.dsl: Patch #470589: Abstracts indents should be relative

2001-11-30  Norman Walsh <nwalsh@users.sourceforge.net>

	* dblink.dsl: Patch #473113: No footnote ulink when text matches

	* dbsect.dsl: Patch #473116: Section levels

	* dbttlpg.dsl: Patch #473115: Heading levels for parts

	* docbook.dsl: Fix typo that causes the print stylesheet to break.

	* docbook.dsl: New file.

2001-11-27  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbgloss.dsl, dbindex.dsl: Attempt to handle glossary and index in article correctly

2001-11-14  Norman Walsh <nwalsh@users.sourceforge.net>

	* docbook.dsl: branches:  1.5.2;
	Added Basque, Nynorsk, Ukranian, and Xhosa

2001-11-03  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbinline.dsl: Support pubwork=article on citetitle

2001-10-13  Jirka Kosek <kosek@users.sourceforge.net>

	* dbinline.dsl: Fixed bug #470840 - added support for methodname.

2001-10-01  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbverb.dsl: Support linenumbering attribute on verbatim environments

2001-09-29  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbadmon.dsl: Bug #449775: remove broken keep-with-next properties

	* dbcallou.dsl: Bug #449494: make callouts work even if they appear on the last line of a verbatim environment

2001-09-23  Norman Walsh <nwalsh@users.sourceforge.net>

	* dblink.dsl: Patch #461352, fix bug with ulink-footnotes and bop-footnotes simultaneously

2001-08-30  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl: Fix XML/SGML discrepancy wrt normalization of notation names; move some common stuff into dbcommon

2001-08-06  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbadmon.dsl: Patches #441806, keep with next in admonitions

	* dbinline.dsl: Support 'bold' and 'strong' roles on emphasis in the expected way, added %{emphasis,phrase}-propagates-style% parameters

	* docbook.dsl: Patches #439975, support OpenJade two-sided characteristics

2001-08-01  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbttlpg.dsl: Don't suppress keywordset if it's put on the title page

2001-07-07  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbdivis.dsl: Don't restart page numbering on ToC pages

	* notoc.dsl: Bug #439065, use correct parameters

2001-07-05  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbparam.dsl: Patch #420012, Add colon to content-title-end-punct

2001-07-04  <uid48421@users.sourceforge.net>

	* db31.dsl: Bug #426745, don't make first para of question and answer bold

	* dbblock.dsl: Bug #436220, fix table footnotes when bop-footnotes is #t

	* dbgloss.dsl, dblists.dsl, dbrfntry.dsl, dbtitle.dsl: 
	Bug #420015: set heading-level appropriately in glossary

	* dblists.dsl: Bug #418633, attempt to fix indentation in variablelists

	* docbook.dsl: Added Afrikaans and Turkish

2001-05-11  Norman Walsh <nwalsh@users.sourceforge.net>

	* docbook.dsl: Support Serbian and Traditional Chinese

2001-05-03  Jirka Kosek <kosek@users.sourceforge.net>

	* dbinline.dsl: Added support for class="xmlpi" and class="emptytag" in <sgmltag>.
	Element and attribute names displayed in monospace, same way as in HTML by XSL.

2001-04-27  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl: Handle display? property correctly on imagedata graphics

2001-04-24  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl: Bug #418474: only output a space after the qanda label if the label isn't empty

2001-04-21  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbautoc.dsl: Make top-level entries in the TOC 'keep-with-next'

2001-04-16  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbttlpg.dsl: Bug #414681: add heading-level to set and book titles

2001-04-15  Norman Walsh <nwalsh@users.sourceforge.net>

	* dbblock.dsl: Force upright posture and default quadding in footnote text

	* dblists.dsl: Format variablelist title in the table when a variablelist is formatted with a table

2001-04-04  Norman Walsh <nwalsh@users.sourceforge.net>

	* Makefile: New file.

2001-04-03  Norman Walsh <nwalsh@users.sourceforge.net>

	* db31.dsl: Fix bug 412548, allow WMF in media objects

2001-04-02  Norman Walsh <nwalsh@users.sourceforge.net>

	* .cvsignore, catalog, db31.dsl, dbadmon.dsl, dbautoc.dsl, dbbibl.dsl, dbblock.dsl, dbcallou.dsl, dbcompon.dsl, dbdivis.dsl, dbefsyn.dsl, dbgloss.dsl, dbgraph.dsl, dbindex.dsl, dbinfo.dsl, dbinline.dsl, dblink.dsl, dblists.dsl, dblot.dsl, dbmath.dsl, dbmsgset.dsl, dbparam.dsl, dbprint.dsl, dbprocdr.dsl, dbrfntry.dsl, dbsect.dsl, dbsynop.dsl, dbtable.dsl, dbtitle.dsl, dbttlpg.dsl, dbverb.dsl, docbook.dsl, notoc.dsl, plain.dsl, version.dsl: 
	Initial checkins
docbook-dsssl-1.79/doc/custom.html0000644000175000001440000002703610142565261017657 0ustar msmithusers00000000000000 Customizing the Stylesheets

Chapter 3. Customizing the Stylesheets

Deriving Your Own Stylesheet

The best way to customize the stylesheets is to write your own “driver” file; this is a document which contains your local modifications to the stylesheet and then includes the stylesheet from the standard distribution by reference. This allows you to make local changes and extensions without modifying the distributed files, which makes upgrading to the next release much, much simpler.

The basic driver file looks like this:

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY dbstyle SYSTEM "docbook.dsl" CDATA DSSSL>
]>

<style-sheet>
<style-specification use="docbook">
<style-specification-body>

;; your stuff goes here...

</style-specification-body>
</style-specification>
<external-specification id="docbook" document="dbstyle">
</style-sheet>

Make sure that you specify, in the system identifier, the full path to the docbook.dsl file that you want to customize; for example, \docbook\print\docbook.dsl.

Note: The next stylesheet release will probably use public identifiers to locate the stylesheets, which will simplify this problem a bit (at the cost, naturally, of a little more complexity elsewhere; sigh).

You can add your own definitions, or redefinitions, of stylesheet rules and parameters where

;; your stuff goes here...
occurs in the example above.

The plain.dsl stylesheet in the docbook/print directory is a customization of the docbook.dsl print stylesheet. It turns off title page and TOC generation.

A Single Stylesheet for Both Print and HTML

A DSSSL style-sheet consists of one or more style-specifications. This allows one to build a single stylesheet that can format with either the print or HTML backends.

All you need is a customization skeleton that looks like this:

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % html "IGNORE">
<![%html;[
<!ENTITY % print "IGNORE">
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
]]>
<!ENTITY % print "INCLUDE">
<![%print;[
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
]]>
]>
<style-sheet>
<style-specification id="print" use="docbook">
<style-specification-body> 

;; customize the print stylesheet

</style-specification-body>
</style-specification>
<style-specification id="html" use="docbook">
<style-specification-body> 

;; customize the html stylesheet

</style-specification-body>
</style-specification>
<external-specification id="docbook" document="docbook.dsl">
</style-sheet>

If this is both.dsl, I can format my document using the print stylesheet by running

jade -t rtf -d both.dsl#print file.sgm
and using the HTML stylesheet by running
jade -t sgml -i html -d both.dsl#html file.sgm
which is kindof neat. (I've built some additional machinery on top of this to make the selection automatic from within ADEPT and a shell script that I use.)

An alternative method for doing this is simply to use marked sections in the stylesheet, like this:

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % html "IGNORE">
<![%html;[
<!ENTITY % print "IGNORE">
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
]]>
<!ENTITY % print "INCLUDE">
<![%print;[
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
]]>
]>
<style-sheet>
<style-specification use="docbook">
<style-specification-body> 

;; common customization can go here

<![%print;[

;; customize the print stylesheet here

]]>

<![%html;[

;; customize the html stylesheet here

]]>

</style-specification-body>
</style-specification>
<external-specification id="docbook" document="docbook.dsl">
</style-sheet>

Customizing the Title Page

Titlepages are controlled by several variables:

%generate-element-titlepage%

Controls whether or not a titlepage is generated. If, for example, %generate-book-titlepage% is true, a titlepage will be generated for Books.

element-titlepage-recto-elements

Specifies the elements which should occur on the titlepage recto. This variable is a list of GIs. For example, if book-titlepage-recto-elements is '("TITLE" "SUBTITLE" "AUTHOR"), then the Title, SubTitle, and Author elements in the division or component's *Info element will appear on the Book's titlepage recto.

element-titlepage-verso-elements

Specifies the elements which should occur on the titlepage verso.

%titlepage-in-info-order%

The content of the titlepage is drawn from the *Info element at the beginning of a division or component. If %titlepage-in-info-order% is true, the elements on the titlepage will occur in the order in which they appear in the *Info element. Otherwise, the elements occur in a fixed order given by the element-titlepage-side-elemnts.

%generate-element-toc-on-titlepage%

For some elements, such as Parts, it may make sense to place the TOC for that element (if it is generated) on the same page sequence as the titlepage. If %generate-element-toc-on-titlepage% is true, that's what will be done.

%generate-partintro-on-titlepage%

Parts and References can begin with a PartIntro. If %generate-partintro-on-titlepage% is true, the content of the PartIntro will occur on the same page sequence as the titlepage.

The most common customization is probably setting %generate-element-titlepage% to true and changing the list of elements in element-titlepage-recto-elements and element-titlepage-verso-elements

There are a few other functions that you may wish to change:

(element-titlepage-before node side)

This function is called before each new type of element on the titlepage (before the first Title, before the first SubTitle, etc.). The node will contain the element that will appear on the titlepage next and side will be either 'recto or 'verso.

(element-titlepage-component node side)

This function is called for each element on the titlepage. For example, the Abstract on a Book titlepage is printed by the book-titlepage-abstract function.

Using the Stylesheets with XML

This is just a placeholder. This needs to be written. Basically, you just need to use catalog files to make sure that the XML instances and the stylesheets get parsed with the correct declarations.

docbook-dsssl-1.79/doc/install.html0000644000175000001440000002650610142565261020014 0ustar msmithusers00000000000000 Installation and Setup

Chapter 2. Installation and Setup

In order to process DocBook documents with these stylesheets, you must get three separate components installed and configured correctly:

For simplicity, these instructions assume that you are working with Jade on a Microsoft Windows machine. These instructions should be just as useful if you are working on a non-M$ platform, modulo the normal cross-platform idiosyncracies (path and filename separator characters, use of drive letters, etc.)

If you are using another DSSSL processor, the Section called Installing the DocBook DTD may still be helpful, but most of the rest probably won't apply.

Installing Jade

  1. Download and unpack the Jade distribution. Binary distributions are available for some platforms, including Microsoft Windows, which makes installation a simple matter of unpacking the distribution. For other platforms, you will need to build Jade from sources. Please consult the documentation that comes with Jade for more detailed installation instructions.

    You may wish to add the directory where you installed Jade to your PATH. If not, make sure that you use the fully qualified name of the executable when you try to run the commands below.

  2. Download jtest.sgm and jtest.dsl. These are self-contained test documents. Test Jade by running:

    jade -t rtf -d jtest.dsl jtest.sgm

    This command should silently produce jtest.rtf.

    If you get errors of the form:

    jade:jtest.dsl:1:72:W: cannot generate system identifier for public
    text "-//James Clark//DTD DSSSL Style Sheet//EN"
    jade:jtest.dsl:1:72:E: reference to entity "STYLE-SHEET" for which no
    system identifier could be generated
    jade:jtest.dsl:1:0: entity was defined here
    jade:jtest.dsl:1:72:E: DTD did not contain element declaration for
    document type name
    jade:jtest.dsl:2:12:E: element "STYLE-SHEET" undefined
    jade:jtest.dsl:3:20:E: element "STYLE-SPECIFICATION" undefined
    jade:jtest.dsl:4:25:E: element "STYLE-SPECIFICATION-BODY" undefined
    jade:E: specification document does not have the DSSSL architecture
    as a base architecture

    You probably need to setup the SGML_CATALOG_FILES path, as described below.

  3. If you encounter other warnings or errors, Jade is not installed correctly.

Installing the DocBook DTD

  1. Download and unpack the DocBook DTD distribution. Please consult the documentation that comes with DocBook for more detailed installation instructions.

  2. The DocBook DTD is composed of several modules. In order for SGML tools on your system to find these modules, you will need to setup an SGML Open catalog file that maps the public identifiers used in DocBook to local system identifiers. The DocBook distribution comes with a default catalog called docbook.cat which is probably sufficient.

    Note, however, that Jade does not understand the DTDDECL directive in catalog files and will issue a warning if you use docbook.cat unchanged.

  3. In order to find your catalog files, Jade, nsgmlsu, and the other tools in the Jade distribution examine the SGML_CATALOG_FILES environment variable. This variable should contain a PATH-like list of the catalog files on your system. I have combined the catalog from the DocBook distribution and several other DTDs that I use frequently into a single catalog in d:/share/sgml/catalog, so I set my SGML_CATALOG_FILES variable to:

    ./catalog;d:/share/sgml/catalog;c:/jade/catalog;
    If you are using only Jade and the DocBook DTD on your system, this setting should be sufficient:
    c:/docbook/docbook.cat;c:/jade/catalog
    assuming that you have the DocBook DTD installed in c:\docbook and Jade installed in c:\jade.

    Note: If you are on a UNIX system, the catalog file separator in SGML_CATALOG_FILES is the colon, not the semicolon.

    One mistake that I frequently make the first time I try to install Jade somewhere new is to set the SGML_CATALOG_FILES variable to the list of directories that contain catalog files rather than the list of catalog files. That doesn' t work, it has to be a list of the actual catalog files.

    Another wrinkle to be aware of is that Jade will also search the catalog files for the SGMLDECL entry which specifies the default SGML Declaration to use. On my system, I have several doctypes that don't use the declaration identified as the default in one of my catalog files, so I have to explicitly include the proper declaration when I format those documents.

  4. To test your installation, download test.sgm and run following command:

    nsgmls -sv test.sgm
    The nsgmls program is a stand-alone SGML parser included in the current Jade distribution (in previous distributions, it was called nsgmlsu).

    If the nsgmls command produces errors, review your catalog and resolve the errors:

    • Ignore warnings about DTDDECL being unsupported. It is unsupported, and there's no way to disable the warning message. Note, however, that this may also effect which SGML declaration gets used. When in doubt, pass the correct declaration explicitly and see if that corrects any problems. (To parse test.sgm with the declaration docbook.dcl explicitly, run nsgmls -sv docbook.dcl test.sgm.)

    • If you are missing some of the ISO entity sets, they are available on the web at http://www.oasis-open.org/cover/topics.html#entities

Installing the Modular DocBook Stylesheets

  1. Download and unpack the stylesheet distribution.

  2. Test the installation by processing test.sgm (from the previous section) with Jade:

    jade -t rtf -d d:\where-you-unpacked-the-stylesheets\docbook\print\docbook.dsl test.sgm

    This command should silently produce test.rtf.

    If you get errors indicating that a capacity has been exceeded (...must not exceed LITLEN or ...must not exceed GRPCNT, etc.), you are probably using the wrong declaration. Try the test again, with an explicit declaration:

    jade -t rtf -d d:\where-you-unpacked-the-stylesheets\docbook\print\docbook.dsl docbook.dcl test.sgm

    If errors persist, and the preceding test succeeded, something has gone wrong—contact the maintainer.

    To test the HTML stylesheet, run

    jade -t sgml -d d:\where-you-unpacked-the-stylesheets\docbook\html\docbook.dsl test.sgm

    This command should silently produce c01.htm. If not, and the preceding test succeeded, something has gone wrong—contact the maintainer.

docbook-dsssl-1.79/doc/otherdoc.html0000644000175000001440000000463010142565261020147 0ustar msmithusers00000000000000 Other Documentationdocbook-dsssl-1.79/doc/LEGALNOTICE.htm0000644000175000001440000000564510142565261017721 0ustar msmithusers00000000000000

Copyright

This software may be distributed under the same terms as Jade:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``Software''), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question.

Any stylesheet derived from this Software that is publically distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist.

Warranty

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

docbook-dsssl-1.79/doc/index.html0000644000175000001440000000433010142565262017445 0ustar msmithusers00000000000000 The Modular DocBook Stylesheets

The Modular DocBook Stylesheets

Norman Walsh

Questions and Comments

Please direct all questions, bug reports, or suggestions for changes to Norman Walsh, <ndw@nwalsh.com>.

See http://docbook.sourceforge.net/projects/dsssl/doc/ for more information.


docbook-dsssl-1.79/doc/testdata/0000755000175000001440000000000010142564561017262 5ustar msmithusers00000000000000docbook-dsssl-1.79/doc/testdata/test.sgm0000644000175000001440000000023507266406525020761 0ustar msmithusers00000000000000 Test Chapter This is a test document. docbook-dsssl-1.79/doc/testdata/jtest.sgm0000644000175000001440000000127507266406525021140 0ustar msmithusers00000000000000 ]> Feb 29, 1997 John Doe Test Document This is the first paragraph. This is the second. This is the last. Sincerely, Jane Doe docbook-dsssl-1.79/doc/testdata/jtest.dsl0000644000175000001440000000550307266406525021132 0ustar msmithusers00000000000000 ;; ;; $Id: jtest.dsl,v 1.1 2001/04/15 21:06:29 nwalsh Exp $ ;; ;; Style sheet for jtest.sgm ;; ;; Changes: ;; 30 Sep 1997: Added style sheet DTD tags so OMITTAG is unnecessary ;; 20 Aug 1997: Created by Norman Walsh (nwalsh@arbortext.com) ;; (define debug (external-procedure "UNREGISTERED::James Clark//Procedure::debug")) (define %font-size% 12pt) (define %line-spacing-factor% 1.2) (define-unit em %font-size%) (define-unit pi (/ 1in 6)) (define %header-font% "Arial") (declare-initial-value font-size %font-size%) (declare-initial-value font-weight 'medium) (declare-initial-value font-posture 'upright) (declare-initial-value font-family-name "Times New Roman") (declare-initial-value line-spacing (* %font-size% %line-spacing-factor%)) (declare-initial-value writing-mode 'left-to-right) (declare-initial-value left-margin 6pi) (declare-initial-value right-margin 6pi) (declare-initial-value top-margin 6pi) (declare-initial-value bottom-margin 6pi) (declare-initial-value header-margin 4pi) (declare-initial-value footer-margin 4pi) (declare-initial-value page-width 8.5in) (declare-initial-value page-height 11in) (declare-initial-value quadding 'start) (element MEMO (make simple-page-sequence start-indent: 0pt input-whitespace-treatment: 'collapse (process-children-trim))) (element HEAD (let ((to (select-elements (children (current-node)) "TO"))) (make sequence (process-children) (make paragraph space-after: 1pi (literal "Dear ") (process-node-list (children to)) (literal ":"))))) (element (HEAD DATE) (make paragraph space-before: 0.75in space-after: %font-size% (make sequence (make line-field field-width: 0.75in font-family-name: %header-font% (literal "Date:")) (process-children)))) (element (HEAD TO) (make paragraph (make sequence (make line-field field-width: 0.75in font-family-name: %header-font% (literal "To:")) (process-children)))) (element (HEAD SUBJECT) (make paragraph space-after: (* 2 %font-size%) (make sequence (make line-field field-width: 0.75in font-family-name: %header-font% (literal "Subject:")) (process-children)))) (element BODY (process-children)) (element PARA (make paragraph space-after: 0.5pi (process-children))) (element END (make paragraph space-before: 2pi (process-children))) (element (END CLOSING) (make paragraph space-after: 1in (process-children))) (element (END SENDER) (make paragraph (process-children))) docbook-dsssl-1.79/doc/testdata/ChangeLog0000644000175000001440000000041210142575332021027 0ustar msmithusers000000000000002003-03-16 Adam Di Carlo * c01.htm, jtest.rtf, test.rtf: Generated files should not be in CVS 2001-04-15 Norman Walsh * c01.htm, jtest.dsl, jtest.rtf, jtest.sgm, test.rtf, test.sgm: New file. docbook-dsssl-1.79/doc/print/0000755000175000001440000000000010142565334016604 5ustar msmithusers00000000000000docbook-dsssl-1.79/doc/print/ChangeLog0000644000175000001440000000012310142575332020351 0ustar msmithusers000000000000002001-04-04 Norman Walsh * .cvsignore: New file. docbook-dsssl-1.79/doc/print/hyphenation.html0000644000175000001440000000511610142565334022023 0ustar msmithusers00000000000000 %hyphenation%

%hyphenation%

Name

%hyphenation% -- Allow automatic hyphenation?

Synopsis

%hyphenation%

Description

The %hyphenation% parameter indicates whether or not the backend should allow automatic hyphention of text, for example in paragraphs. The default value, #f, indicates that it should not.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %hyphenation%
  ;; Allow automatic hyphenation?
  #f)
docbook-dsssl-1.79/doc/print/min-leading.html0000644000175000001440000000547010142565334021664 0ustar msmithusers00000000000000 %min-leading%

%min-leading%

Name

%min-leading% -- Minumum leading between lines

Synopsis

%min-leading%

Description

The %min-leading% parameter specifies the smallest amount of leading to allow between lines. The default value, #f, has the side-effect that leading cannot change. This means that graphics that appear in a paragraph are truncated if they are taller than the current leading. By setting this parameter to some small value, we get stretchable space between lines.

Source Code

(define %min-leading%
  ;; Minumum leading between lines
  2pt)
docbook-dsssl-1.79/doc/print/firstterm-bold.html0000644000175000001440000000477510142565334022444 0ustar msmithusers00000000000000 firstterm-bold

firstterm-bold

Name

firstterm-bold -- Make FIRSTTERM elements bold?

Synopsis

firstterm-bold

Description

If #t, FIRSTTERMs will be bold, to distinguish them from simple GLOSSTERMs.

Source Code

(define firstterm-bold
  ;; Make FIRSTTERM elements bold?
  #f)
docbook-dsssl-1.79/doc/print/show-comments.html0000644000175000001440000000523310142565334022300 0ustar msmithusers00000000000000 %show-comments%

%show-comments%

Name

%show-comments% -- Display Comment elements?

Synopsis

%show-comments%

Description

If true, comments will be displayed, otherwise they are suppressed. Comments here refers to the Comment element, which will be renamed Remark in DocBook V4.0, not SGML/XML comments which are unavailable.

Source Code

(define %show-comments%
  ;; Display Comment elements?
  #t)
docbook-dsssl-1.79/doc/print/show-ulinks.html0000644000175000001440000000517610142565334021766 0ustar msmithusers00000000000000 %show-ulinks%

%show-ulinks%

Name

%show-ulinks% -- Display URLs after ULinks?

Synopsis

%show-ulinks%

Description

If true, the URL of each ULink will appear in parenthesis after the text of the link. If the text of the link and the URL are identical, the parenthetical URL is suppressed.

Source Code

(define %show-ulinks%
  ;; Display URLs after ULinks?
  #t)
docbook-dsssl-1.79/doc/print/default-simplesect-level.html0000644000175000001440000000545010142565334024375 0ustar msmithusers00000000000000 %default-simplesect-level%

%default-simplesect-level%

Name

%default-simplesect-level% -- Default section level for 'SimpleSect's.

Synopsis

%default-simplesect-level%

Description

If SimpleSects appear inside other section-level elements, they are rendered at the appropriate section level, but if they appear in a component-level element, they are rendered at %default-simplesect-level%.

Source Code

(define %default-simplesect-level% 
  ;; Default section level for 'SimpleSect's.
  4)
docbook-dsssl-1.79/doc/print/honorific-punctuation.html0000644000175000001440000000524010142565334024022 0ustar msmithusers00000000000000 %honorific-punctuation%

%honorific-punctuation%

Name

%honorific-punctuation% -- Punctuation to follow honorifics in names

Synopsis

%honorific-punctuation%

Description

The honorific punctuation is placed after the honorific in a name.

Source Code

(define %honorific-punctuation%
  ;; Punctuation to follow honorifics in names
  ".")
docbook-dsssl-1.79/doc/print/content-title-end-punct.html0000644000175000001440000000537110142565334024164 0ustar msmithusers00000000000000 %content-title-end-punct%

%content-title-end-punct%

Name

%content-title-end-punct% -- List of punctuation chars at the end of a run-in head

Synopsis

%content-title-end-punct%

Description

If a run-in head ends in any of these characters, the %default-title-end-punct% is not used.

Source Code

(define %content-title-end-punct% 
  ;; List of punctuation chars at the end of a run-in head
  '(#\. #\! #\? #\:))
docbook-dsssl-1.79/doc/print/default-title-end-punct.html0000644000175000001440000000524110142565334024132 0ustar msmithusers00000000000000 %default-title-end-punct%

%default-title-end-punct%

Name

%default-title-end-punct% -- Default punctuation at the end of a run-in head.

Synopsis

%default-title-end-punct%

Description

The punctuation used at the end of a run-in head (e.g. on FORMALPARA).

Source Code

(define %default-title-end-punct% 
  ;; Default punctuation at the end of a run-in head.
  ".")
docbook-dsssl-1.79/doc/print/formal-object-float.html0000644000175000001440000000523310142565334023324 0ustar msmithusers00000000000000 formal-object-float

formal-object-float

Name

formal-object-float -- Do formal objects float?

Synopsis

formal-object-float

Description

If #t, formal objects will float if floating is supported by the backend. At present, only the TeX backend supports floats.

Source Code

(define formal-object-float
  ;; Do formal objects float?
  #f)
docbook-dsssl-1.79/doc/print/object-titles-after.html0000644000175000001440000000536710142565334023354 0ustar msmithusers00000000000000 $object-titles-after$

$object-titles-after$

Name

$object-titles-after$ -- List of objects who's titles go after the object

Synopsis

($object-titles-after$)

Description

Titles of formal objects (Figures, Equations, Tables, etc.) in this list will be placed below the object instead of above it.

This is a list of element names, for example: (list (normalize "figure") (normalize "table")).

Source Code

(define ($object-titles-after$)
  ;; List of objects who's titles go after the object
  '())
docbook-dsssl-1.79/doc/print/r2705.htm0000644000175000001440000000647010142565334020104 0ustar msmithusers00000000000000 Miscellaneous

XXI. Miscellaneous

Table of Contents
$object-titles-after$ -- List of objects who's titles go after the object
formal-object-float -- Do formal objects float?
%default-title-end-punct% -- Default punctuation at the end of a run-in head.
%content-title-end-punct% -- List of punctuation chars at the end of a run-in head
%honorific-punctuation% -- Punctuation to follow honorifics in names
%default-simplesect-level% -- Default section level for 'SimpleSect's.
%show-ulinks% -- Display URLs after ULinks?
%show-comments% -- Display Comment elements?
firstterm-bold -- Make FIRSTTERM elements bold?
%min-leading% -- Minumum leading between lines
%hyphenation% -- Allow automatic hyphenation?
docbook-dsssl-1.79/doc/print/object-rule-thickness.html0000644000175000001440000000547410142565333023707 0ustar msmithusers00000000000000 %object-rule-thickness%

%object-rule-thickness%

Name

%object-rule-thickness% -- Width of rules around formal and informal objects

Synopsis

%object-rule-thickness%

Description

Specifies the width of the rules drawn before and after an object. This only applies if the appropriate %*-rules% variable is #t.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %object-rule-thickness%
  ;; Width of rules around formal and informal objects
  2pt)
docbook-dsssl-1.79/doc/print/informalequation-rules.html0000644000175000001440000000547410142565333024210 0ustar msmithusers00000000000000 %informalequation-rules%

%informalequation-rules%

Name

%informalequation-rules% -- Specify rules before and after an InformalEquation

Synopsis

%informalequation-rules%

Description

If #t, rules will be drawn before and after each InformalEquation.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %informalequation-rules%
  ;; Specify rules before and after an InformalEquation
  #f)
docbook-dsssl-1.79/doc/print/informaltable-rules.html0000644000175000001440000000545310142565333023447 0ustar msmithusers00000000000000 %informaltable-rules%

%informaltable-rules%

Name

%informaltable-rules% -- Specify rules before and after an InformalTable

Synopsis

%informaltable-rules%

Description

If #t, rules will be drawn before and after each InformalTable.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %informaltable-rules%
  ;; Specify rules before and after an InformalTable
  #f)
docbook-dsssl-1.79/doc/print/informalfigure-rules.html0000644000175000001440000000545210142565333023640 0ustar msmithusers00000000000000 %informalfigure-rules%

%informalfigure-rules%

Name

%informalfigure-rules% -- Specify rules before and after an InformalFigure

Synopsis

%informalfigure-rules%

Description

If #t, rules will be drawn before and after each InformalFigure.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %informalfigure-rules%
  ;; Specify rules before and after an InformalFigure
  #f)
docbook-dsssl-1.79/doc/print/informalexample-rules.html0000644000175000001440000000542510142565333024012 0ustar msmithusers00000000000000 %informalexample-rules%

%informalexample-rules%

Name

%informalexample-rules% -- Specify rules before and after an InformalExample

Synopsis

%informalexample-rules%

Description

If #t, rules will be drawn before and after each InformalExample.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %informalexample-rules%
  ;; Specify rules before and after an InformalExample
  #f)
docbook-dsssl-1.79/doc/print/equation-rules.html0000644000175000001440000000531410142565333022451 0ustar msmithusers00000000000000 %equation-rules%

%equation-rules%

Name

%equation-rules% -- Specify rules before and after an Equation

Synopsis

%equation-rules%

Description

If #t, rules will be drawn before and after each Equation.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %equation-rules%
  ;; Specify rules before and after an Equation
  #f)
docbook-dsssl-1.79/doc/print/table-rules.html0000644000175000001440000000522310142565333021712 0ustar msmithusers00000000000000 %table-rules%

%table-rules%

Name

%table-rules% -- Specify rules before and after an Table

Synopsis

%table-rules%

Description

If #t, rules will be drawn before and after each Table.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %table-rules%
  ;; Specify rules before and after an Table
  #f)
docbook-dsssl-1.79/doc/print/figure-rules.html0000644000175000001440000000522210142565333022103 0ustar msmithusers00000000000000 %figure-rules%

%figure-rules%

Name

%figure-rules% -- Specify rules before and after an Figure

Synopsis

%figure-rules%

Description

If #t, rules will be drawn before and after each Figure.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %figure-rules%
  ;; Specify rules before and after an Figure
  #f)
docbook-dsssl-1.79/doc/print/example-rules.html0000644000175000001440000000517710142565333022266 0ustar msmithusers00000000000000 %example-rules%

%example-rules%

Name

%example-rules% -- Specify rules before and after an Example

Synopsis

%example-rules%

Description

If #t, rules will be drawn before and after each Example.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %example-rules%
  ;; Specify rules before and after an Example
  #f)
docbook-dsssl-1.79/doc/print/r2514.htm0000644000175000001440000000616010142565333020075 0ustar msmithusers00000000000000 Object Rules

XX. Object Rules

Table of Contents
%example-rules% -- Specify rules before and after an Example
%figure-rules% -- Specify rules before and after an Figure
%table-rules% -- Specify rules before and after an Table
%equation-rules% -- Specify rules before and after an Equation
%informalexample-rules% -- Specify rules before and after an InformalExample
%informalfigure-rules% -- Specify rules before and after an InformalFigure
%informaltable-rules% -- Specify rules before and after an InformalTable
%informalequation-rules% -- Specify rules before and after an InformalEquation
%object-rule-thickness% -- Width of rules around formal and informal objects
docbook-dsssl-1.79/doc/print/block-start-indent.html0000644000175000001440000000510310142565333023174 0ustar msmithusers00000000000000 %block-start-indent%

%block-start-indent%

Name

%block-start-indent% -- Extra start-indent for block-elements

Synopsis

%block-start-indent%

Description

Block elements (tables, figures, verbatim environments, etc.) will be indented by the specified amount.

Source Code

(define %block-start-indent% 
  ;; Extra start-indent for block-elements
  0pt)
docbook-dsssl-1.79/doc/print/para-indent-firstpara.html0000644000175000001440000000544210142565332023670 0ustar msmithusers00000000000000 %para-indent-firstpara%

%para-indent-firstpara%

Name

%para-indent-firstpara% -- First line start-indent for the first paragraph

Synopsis

%para-indent-firstpara%

Description

The %para-indent-firstpara% is the amount of extra indentation that the first line of the first paragraph of a section should receive. This parameter is frequently 0pt even when %para-indent% is not.

Source Code

(define %para-indent-firstpara%
  ;; First line start-indent for the first paragraph
  0pt)
docbook-dsssl-1.79/doc/print/para-indent.html0000644000175000001440000000534510142565332021701 0ustar msmithusers00000000000000 %para-indent%

%para-indent%

Name

%para-indent% -- First line start-indent for paragraphs (other than the first)

Synopsis

%para-indent%

Description

The %para-indent% is the amount of extra indentation that the first line of a paragraph should receive. This parameter applies only to the second and subsequent paragraphs in a section. See %para-indent-firstpara%.

Source Code

(define %para-indent%
  ;; First line start-indent for paragraphs (other than the first)
  0pt)
docbook-dsssl-1.79/doc/print/r2459.htm0000644000175000001440000000447010142565333020107 0ustar msmithusers00000000000000 Indents

XIX. Indents

Table of Contents
%para-indent% -- First line start-indent for paragraphs (other than the first)
%para-indent-firstpara% -- First line start-indent for the first paragraph
%block-start-indent% -- Extra start-indent for block-elements
docbook-dsssl-1.79/doc/print/block-sep.html0000644000175000001440000000473110142565332021354 0ustar msmithusers00000000000000 %block-sep%

%block-sep%

Name

%block-sep% -- Distance between block-elements

Synopsis

%block-sep%

Description

The %block-sep% is the vertical distance between block elements (figures, tables, etc.)

Source Code

(define %block-sep% 
  ;; Distance between block-elements
  (* %para-sep% 2.0))
docbook-dsssl-1.79/doc/print/para-sep.html0000644000175000001440000000510210142565332021176 0ustar msmithusers00000000000000 %para-sep%

%para-sep%

Name

%para-sep% -- Distance between paragraphs

Synopsis

%para-sep%

Description

The %para-sep% is the distance between the last line of one paragraph and the first line of the next.

Source Code

(define %para-sep% 
  ;; Distance between paragraphs
  (/ %bf-size% 2.0))
docbook-dsssl-1.79/doc/print/X25blockquote-end-indentX25.html0000644000175000001440000000506610142565332024470 0ustar msmithusers00000000000000 %blockquote-end-indent%

%blockquote-end-indent%

Name

%blockquote-end-indent% -- no documented purpose

Synopsis

%blockquote-end-indent%

Source Code

(define %blockquote-end-indent%
  ;; PURP Default indent of blockquoted text
  ;; DESC
  ;; The default end (usually right) indent of blockquoted text.
  ;; /DESC
  ;; AUTHOR Ola Lundqvist
  ;; /REFENTRY
  1em)
docbook-dsssl-1.79/doc/print/X25blockquote-start-indentX25.html0000644000175000001440000000514610142565332025056 0ustar msmithusers00000000000000 %blockquote-start-indent%

%blockquote-start-indent%

Name

%blockquote-start-indent% -- no documented purpose

Synopsis

%blockquote-start-indent%

Source Code

(define %blockquote-start-indent%
  ;; PURP Default indent of blockquoted text
  ;; DESC
  ;; The default start (usually left) indent of blockquoted text.
  ;; /DESC
  ;; AUTHOR Ola Lundqvist
  ;; /REFENTRY
  1em)
docbook-dsssl-1.79/doc/print/body-start-indent.html0000644000175000001440000000515510142565332023045 0ustar msmithusers00000000000000 %body-start-indent%

%body-start-indent%

Name

%body-start-indent% -- Default indent of body text

Synopsis

%body-start-indent%

Description

The default indent of body text. Some elements may have more or less indentation.

Source Code

(define %body-start-indent% 
  ;; Default indent of body text
  4pi)
docbook-dsssl-1.79/doc/print/head-after-factor.html0000644000175000001440000000523610142565332022752 0ustar msmithusers00000000000000 %head-after-factor%

%head-after-factor%

Name

%head-after-factor% -- Factor used to calculate space below a title

Synopsis

%head-after-factor%

Description

The space after a title is calculated by multiplying the font size used in the title by the %head-after-factor%.

Source Code

(define %head-after-factor% 
  ;; Factor used to calculate space below a title
  0.5)
docbook-dsssl-1.79/doc/print/head-before-factor.html0000644000175000001440000000525410142565332023113 0ustar msmithusers00000000000000 %head-before-factor%

%head-before-factor%

Name

%head-before-factor% -- Factor used to calculate space above a title

Synopsis

%head-before-factor%

Description

The space before a title is calculated by multiplying the font size used in the title by the %head-before-factor%.

Source Code

(define %head-before-factor% 
  ;; Factor used to calculate space above a title
  0.75)
docbook-dsssl-1.79/doc/print/line-spacing-factor.html0000644000175000001440000000534310142565332023322 0ustar msmithusers00000000000000 %line-spacing-factor%

%line-spacing-factor%

Name

%line-spacing-factor% -- Factor used to calculate leading

Synopsis

%line-spacing-factor%

Description

The leading is calculated by multiplying the current font size by the %line-spacing-factor%. For example, if the font size is 10pt and the %line-spacing-factor% is 1.1, then the text will be printed "10-on-11".

Source Code

(define %line-spacing-factor% 
  ;; Factor used to calculate leading
  1.3)
docbook-dsssl-1.79/doc/print/r2329.htm0000644000175000001440000000600110142565332020072 0ustar msmithusers00000000000000 Vertical Spacing

XVIII. Vertical Spacing

Table of Contents
%line-spacing-factor% -- Factor used to calculate leading
%head-before-factor% -- Factor used to calculate space above a title
%head-after-factor% -- Factor used to calculate space below a title
%body-start-indent% -- Default indent of body text
%blockquote-start-indent% -- no documented purpose
%blockquote-end-indent% -- no documented purpose
%para-sep% -- Distance between paragraphs
%block-sep% -- Distance between block-elements
docbook-dsssl-1.79/doc/print/always-format-variablelist-as-table.html0000644000175000001440000000626610142565332026435 0ustar msmithusers00000000000000 %always-format-variablelist-as-table%

%always-format-variablelist-as-table%

Name

%always-format-variablelist-as-table% -- Always format VariableLists as tables?

Synopsis

%always-format-variablelist-as-table%

Description

When a VariableList is formatted, if any of the terms in the list are too long, the whole list is formatted as a list.

If %always-format-variablelist-as-table% is #t, the VariableList will be formatted as a table, even if some terms are too long. The terms that are too long will format span above their associated description.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %always-format-variablelist-as-table%
  ;; Always format VariableLists as tables?
  #f)
docbook-dsssl-1.79/doc/print/may-format-variablelist-as-table.html0000644000175000001440000000614310142565331025714 0ustar msmithusers00000000000000 %may-format-variablelist-as-table%

%may-format-variablelist-as-table%

Name

%may-format-variablelist-as-table% -- Format VariableLists as tables?

Synopsis

%may-format-variablelist-as-table%

Description

If %may-format-variablelist-as-table% is #t, a VariableList will be formatted as a table, if *all of* the terms are shorter than the specified TermLength.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %may-format-variablelist-as-table%
  ;; Format VariableLists as tables?
  #f)
docbook-dsssl-1.79/doc/print/default-variablelist-termlength.html0000644000175000001440000000613210142565331025743 0ustar msmithusers00000000000000 %default-variablelist-termlength%

%default-variablelist-termlength%

Name

%default-variablelist-termlength% -- Default term length on variablelists

Synopsis

%default-variablelist-termlength%

Description

When formatting a VariableList, this value is used as the default term length, if no TermLength is specified.

If all of the terms in a list shorter than the term length, the stylesheet may format them "side-by-side" in a table if may-format-variablelist-as-table is #t.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %default-variablelist-termlength%
  ;; Default term length on variablelists
  20)
docbook-dsssl-1.79/doc/print/r2256.htm0000644000175000001440000000504710142565332020102 0ustar msmithusers00000000000000 VariableLists

XVII. VariableLists

Table of Contents
%default-variablelist-termlength% -- Default term length on variablelists
%may-format-variablelist-as-table% -- Format VariableLists as tables?
%always-format-variablelist-as-table% -- Always format VariableLists as tables?
docbook-dsssl-1.79/doc/print/simplelist-column-width.html0000644000175000001440000000510410142565331024264 0ustar msmithusers00000000000000 %simplelist-column-width%

%simplelist-column-width%

Name

%simplelist-column-width% -- Width of columns in tabular simple lists

Synopsis

%simplelist-column-width%

Description

If set to #f, the table will span the entire page width.

Source Code

(define %simplelist-column-width% 
  ;; Width of columns in tabular simple lists
  #f)
docbook-dsssl-1.79/doc/print/table-element-list.html0000644000175000001440000000504710142565331023164 0ustar msmithusers00000000000000 $table-element-list$

$table-element-list$

Name

$table-element-list$ -- List of table element names

Synopsis

($table-element-list$)

Description

The list of table elements in the DTD.

Source Code

(define ($table-element-list$) 
  ;; List of table element names
  (list (normalize "table") (normalize "informaltable")))
docbook-dsssl-1.79/doc/print/r2221.htm0000644000175000001440000000440510142565331020066 0ustar msmithusers00000000000000 Tables

XVI. Tables

Table of Contents
$table-element-list$ -- List of table element names
%simplelist-column-width% -- Width of columns in tabular simple lists
docbook-dsssl-1.79/doc/print/image-library-filename.html0000644000175000001440000000616010142565331023774 0ustar msmithusers00000000000000 image-library-filename

image-library-filename

Name

image-library-filename -- Name of the image library database

Synopsis

image-library-filename

Description

If image-library is true, then the database is loaded from image-library-filename. It's a current limitation that only a single database can be loaded.

The image library database is stored in a separate directory because it must be parsed with the XML declaration. The only practical way to accomplish this with Jade, if you are processing a document that uses another declaration, is by having a catalog file in the directory that contains the image library that specifies the SGMLDECL. (So if it was in the same directory as your document, your document would also be parsed with the XML declaration, which may not be correct.)

Source Code

(define image-library-filename
  ;; Name of the image library database
  "imagelib/imagelib.xml")
docbook-dsssl-1.79/doc/print/image-library.html0000644000175000001440000000520310142565331022213 0ustar msmithusers00000000000000 image-library

image-library

Name

image-library -- Load image library database for additional info about images?

Synopsis

image-library

Description

If true, an image library database is loaded and extra information about web graphics is retrieved from it.

Source Code

(define image-library
  ;; Load image library database for additional info about images?
  #f)
docbook-dsssl-1.79/doc/print/graphic-extensions.html0000644000175000001440000000556010142565331023307 0ustar msmithusers00000000000000 %graphic-extensions%

%graphic-extensions%

Name

%graphic-extensions% -- List of graphic filename extensions

Synopsis

%graphic-extensions%

Description

The list of extensions which may appear on a fileref on a Graphic which are indicative of graphic formats.

Filenames that end in one of these extensions will not have the %graphic-default-extension% added to them.

Source Code

(define %graphic-extensions% 
  ;; List of graphic filename extensions
  '("eps" "epsf" "gif" "tif" "tiff" "jpg" "jpeg" "png" "pdf"))
docbook-dsssl-1.79/doc/print/graphic-default-extension.html0000644000175000001440000000546610142565331024553 0ustar msmithusers00000000000000 %graphic-default-extension%

%graphic-default-extension%

Name

%graphic-default-extension% -- Default extension for graphic FILEREFs

Synopsis

%graphic-default-extension%

Description

The %graphic-default-extension% will be added to the end of all fileref filenames on Graphics if they do not end in one of the %graphic-extensions%. Set this to #f to turn off this feature.

Source Code

(define %graphic-default-extension% 
  ;; Default extension for graphic FILEREFs
  #f)
docbook-dsssl-1.79/doc/print/r2143.htm0000644000175000001440000000501310142565331020065 0ustar msmithusers00000000000000 Graphics

XV. Graphics

Table of Contents
%graphic-default-extension% -- Default extension for graphic FILEREFs
%graphic-extensions% -- List of graphic filename extensions
image-library -- Load image library database for additional info about images?
image-library-filename -- Name of the image library database
docbook-dsssl-1.79/doc/print/bop-footnotes.html0000644000175000001440000000520710142565331022271 0ustar msmithusers00000000000000 bop-footnotes

bop-footnotes

Name

bop-footnotes -- Make "bottom-of-page" footnotes?

Synopsis

bop-footnotes

Description

If true, footnotes will be done at the bottom of the page instead of collected together as notes at the end of the section. This variable is ignored if the print backend does not support bottom-of-the-page footnotes. At present, only the TeX backend supports them.

Source Code

(define bop-footnotes
  ;; Make "bottom-of-page" footnotes?
  #f)
docbook-dsssl-1.79/doc/print/footnote-ulinks.html0000644000175000001440000000514010142565331022627 0ustar msmithusers00000000000000 %footnote-ulinks%

%footnote-ulinks%

Name

%footnote-ulinks% -- Generate footnotes for ULinks?

Synopsis

%footnote-ulinks%

Description

If true, the URL of each ULink will appear as a footnote. Processing ULinks this way may be very, very slow. It requires walking over every descendant of every component in order to count both ulinks and footnotes.

Source Code

(define %footnote-ulinks%
  ;; Generate footnotes for ULinks?
  #f)
docbook-dsssl-1.79/doc/print/r2109.htm0000644000175000001440000000430610142565331020073 0ustar msmithusers00000000000000 Footnotes

XIV. Footnotes

Table of Contents
%footnote-ulinks% -- Generate footnotes for ULinks?
bop-footnotes -- Make "bottom-of-page" footnotes?
docbook-dsssl-1.79/doc/print/olink-outline-ext.html0000644000175000001440000000514110142565330023056 0ustar msmithusers00000000000000 %olink-outline-ext%

%olink-outline-ext%

Name

%olink-outline-ext% -- Extension for olink outline file

Synopsis

%olink-outline-ext%

Description

The extension used to find the outline information file. When searching for outline information about a document, the extension is discarded from the system ID of the file and %olinke-outline-ext% is appended.

Source Code

(define %olink-outline-ext%
  ;; Extension for olink outline file
  ".olink")
docbook-dsssl-1.79/doc/print/r2090.htm0000644000175000001440000000414410142565330020071 0ustar msmithusers00000000000000 OLinks

XIII. OLinks

Table of Contents
%olink-outline-ext% -- Extension for olink outline file
docbook-dsssl-1.79/doc/print/biblio-xref-title.html0000644000175000001440000000520310142565330023007 0ustar msmithusers00000000000000 biblio-xref-title

biblio-xref-title

Name

biblio-xref-title -- Use the titles of bibliography entries in XREFs

Synopsis

biblio-xref-title

Description

If true, cross references to bibliography entries will use the title of the entry as the cross reference text. Otherwise, either the number (see biblio-number) or XREFLABEL/ABBREV will be used.

Source Code

(define biblio-xref-title
  ;; Use the titles of bibliography entries in XREFs
  #f)
docbook-dsssl-1.79/doc/print/biblio-number.html0000644000175000001440000000513210142565330022215 0ustar msmithusers00000000000000 biblio-number

biblio-number

Name

biblio-number -- Enumerate bibliography entries

Synopsis

biblio-number

Description

If true, bibliography entries will be numbered. If you cross-reference bibliography entries, you should probably use biblio-number or consistently use XREFLABEL or ABBREV.

Source Code

(define biblio-number
  ;; Enumerate bibliography entries
  #f)
docbook-dsssl-1.79/doc/print/filter-used.html0000644000175000001440000000613010142565330021711 0ustar msmithusers00000000000000 biblio-filter-used

biblio-filter-used

Name

biblio-filter-used -- Suppress unreferenced bibliography entries

Synopsis

biblio-filter-used

Description

If true, bibliography entries which are not cited are suppressed. A biblioentry is cited if an XREF or LINK matches its ID, or if a CITE element matches its ID, XREFLABEL, or leading ABBREV.

A BIBLIOGRAPHY with no entries will still be output (making a whole component conditional would be _A LOT_ of work and seems unnecessary), but BIBLIDIVs with no entries will be suppressed.

This setting may have significant performance implications, hence it is false by default.

(This option can conveniently be set with -V biblio-filter-used on the Jade command line).

Source Code

(define biblio-filter-used
  ;; Suppress unreferenced bibliography entries
  #f)
docbook-dsssl-1.79/doc/print/biblio-citation-check.html0000644000175000001440000000602210142565330023611 0ustar msmithusers00000000000000 biblio-citation-check

biblio-citation-check

Name

biblio-citation-check -- Check citations

Synopsis

biblio-citation-check

Description

If true, the content of CITATIONs will be checked against possible biblioentries. If the citation cannot be found, an error is issued and the citation is generated. If the citation is found, it is generated with a cross reference to the appropriate biblioentry.

A citation matches if the content of the citation element matches the ID, XREFLABEL, or leading ABBREV of a biblioentry.

This setting may have significant performance implications on large documents, hence it is false by default.

(This option can conveniently be set with -V biblio-citation-check on the Jade command line).

Source Code

(define biblio-citation-check
  ;; Check citations
  #f)
docbook-dsssl-1.79/doc/print/r2015.htm0000644000175000001440000000500110142565330020057 0ustar msmithusers00000000000000 Bibliographies

XII. Bibliographies

Table of Contents
biblio-citation-check -- Check citations
biblio-filter-used -- Suppress unreferenced bibliography entries
biblio-number -- Enumerate bibliography entries
biblio-xref-title -- Use the titles of bibliography entries in XREFs
docbook-dsssl-1.79/doc/print/section-subtitle-quadding.html0000644000175000001440000000504310142565330024557 0ustar msmithusers00000000000000 %section-subtitle-quadding%

%section-subtitle-quadding%

Name

%section-subtitle-quadding% -- Section subtitle quadding

Synopsis

%section-subtitle-quadding%

Description

The quadding of section-level subtitles.

Source Code

(define %section-subtitle-quadding% 
  ;; Section subtitle quadding
  'start)
docbook-dsssl-1.79/doc/print/section-title-quadding.html0000644000175000001440000000516010142565330024045 0ustar msmithusers00000000000000 %section-title-quadding%

%section-title-quadding%

Name

%section-title-quadding% -- Section title quadding

Synopsis

%section-title-quadding%

Description

The quadding of section-level titles.

Source Code

(define %section-title-quadding% 
  ;; Section title quadding
  'start)
docbook-dsssl-1.79/doc/print/article-subtitle-quadding.html0000644000175000001440000000515010142565330024535 0ustar msmithusers00000000000000 %article-subtitle-quadding%

%article-subtitle-quadding%

Name

%article-subtitle-quadding% -- Article subtitle quadding

Synopsis

%article-subtitle-quadding%

Description

The quadding of article subtitles.

Source Code

(define %article-subtitle-quadding% 
  ;; Article subtitle quadding
  'center)
docbook-dsssl-1.79/doc/print/article-title-quadding.html0000644000175000001440000000516510142565330024031 0ustar msmithusers00000000000000 %article-title-quadding%

%article-title-quadding%

Name

%article-title-quadding% -- Article title quadding

Synopsis

%article-title-quadding%

Description

The quadding of article titles.

Source Code

(define %article-title-quadding% 
  ;; Article title quadding
  'center)
docbook-dsssl-1.79/doc/print/component-subtitle-quadding.html0000644000175000001440000000537610142565330025126 0ustar msmithusers00000000000000 %component-subtitle-quadding%

%component-subtitle-quadding%

Name

%component-subtitle-quadding% -- Component subtitle quadding

Synopsis

%component-subtitle-quadding%

Description

The quadding of component-level subtitles (Chapter, Appendix, Glossary, etc.).

Source Code

(define %component-subtitle-quadding% 
  ;; Component subtitle quadding
  'start)
docbook-dsssl-1.79/doc/print/component-title-quadding.html0000644000175000001440000000540610142565330024406 0ustar msmithusers00000000000000 %component-title-quadding%

%component-title-quadding%

Name

%component-title-quadding% -- Component title quadding

Synopsis

%component-title-quadding%

Description

The quadding of component-level titles (Chapter, Appendix, Glossary, etc.).

Source Code

(define %component-title-quadding% 
  ;; Component title quadding
  'start)
docbook-dsssl-1.79/doc/print/division-subtitle-quadding.html0000644000175000001440000000535510142565327024753 0ustar msmithusers00000000000000 %division-subtitle-quadding%

%division-subtitle-quadding%

Name

%division-subtitle-quadding% -- Division subtitle quadding

Synopsis

%division-subtitle-quadding%

Description

The quadding of division-level subtitles (Set, Book, and Part).

Source Code

(define %division-subtitle-quadding% 
  ;; Division subtitle quadding
  'center)
docbook-dsssl-1.79/doc/print/division-title-quadding.html0000644000175000001440000000527110142565327024236 0ustar msmithusers00000000000000 %division-title-quadding%

%division-title-quadding%

Name

%division-title-quadding% -- Division title quadding

Synopsis

%division-title-quadding%

Description

The quadding of division-level titles (Set, Book, and Part).

Source Code

(define %division-title-quadding% 
  ;; Division title quadding
  'center)
docbook-dsssl-1.79/doc/print/default-quadding.html0000644000175000001440000000513010142565327022711 0ustar msmithusers00000000000000 %default-quadding%

%default-quadding%

Name

%default-quadding% -- The default quadding

Synopsis

%default-quadding%

Description

The default quadding (start, center, justify, or end).

Source Code

(define %default-quadding%   
  ;; The default quadding
  'start)
docbook-dsssl-1.79/doc/print/r1853.htm0000644000175000001440000000605710142565330020104 0ustar msmithusers00000000000000 Quadding

XI. Quadding

Table of Contents
%default-quadding% -- The default quadding
%division-title-quadding% -- Division title quadding
%division-subtitle-quadding% -- Division subtitle quadding
%component-title-quadding% -- Component title quadding
%component-subtitle-quadding% -- Component subtitle quadding
%article-title-quadding% -- Article title quadding
%article-subtitle-quadding% -- Article subtitle quadding
%section-title-quadding% -- Section title quadding
%section-subtitle-quadding% -- Section subtitle quadding
docbook-dsssl-1.79/doc/print/admon-graphic-width.html0000644000175000001440000000522210142565327023323 0ustar msmithusers00000000000000 $admon-graphic-width$

$admon-graphic-width$

Name

$admon-graphic-width$ -- Admonition graphic file width

Synopsis

($admon-graphic-width$ #!optional (nd (current-node)))

Description

Given an admonition node, returns the width of the graphic that will be used for that admonition.

All of the default graphics in the distribution are 0.3in wide.

Source Code

(define ($admon-graphic-width$ #!optional (nd (current-node)))
  ;; Admonition graphic file width
  0.3in)
docbook-dsssl-1.79/doc/print/admon-graphic.html0000644000175000001440000000667010142565327022216 0ustar msmithusers00000000000000 $admon-graphic$

$admon-graphic$

Name

$admon-graphic$ -- Admonition graphic file

Synopsis

($admon-graphic$ #!optional (nd (current-node)))

Description

Given an admonition node, returns the name of the graphic that should be used for that admonition.

Source Code

(define ($admon-graphic$ #!optional (nd (current-node)))
  ;; Admonition graphic file
  (cond ((equal? (gi nd) (normalize "tip"))
	 (string-append %admon-graphics-path%
			(string-append "tip"
				       %admon-graphics-extension%)))
	((equal? (gi nd) (normalize "note"))
	 (string-append %admon-graphics-path%
			(string-append "note"
				       %admon-graphics-extension%)))

	((equal? (gi nd) (normalize "important"))
	 (string-append %admon-graphics-path%
			(string-append "important"
				       %admon-graphics-extension%)))

	((equal? (gi nd) (normalize "caution"))
	 (string-append %admon-graphics-path%
			(string-append "caution"
				       %admon-graphics-extension%)))
	((equal? (gi nd) (normalize "warning"))
	 (string-append %admon-graphics-path%
			(string-append "warning"
				       %admon-graphics-extension%)))
	(else (error (string-append (gi nd) " is not an admonition.")))))
docbook-dsssl-1.79/doc/print/admon-graphic-extension.html0000644000175000001440000000563610142565327024231 0ustar msmithusers00000000000000 %admon-graphics-extension%

%admon-graphics-extension%

Name

%admon-graphics-extension% -- Admonition graphic file extension

Synopsis

%admon-graphics-extension%

Description

Identifies the extension for admonition graphics. This allows backends to select different images (e.g., EPS for print, PNG for PDF, etc.)

The older parameter, admon-graphic-default-extension, will be used if it is set, for backwards compatability.

Source Code

(define %admon-graphics-extension%
  ;; Admonition graphic file extension
  (if admon-graphic-default-extension
      admon-graphic-default-extension
      ".eps"))
docbook-dsssl-1.79/doc/print/admon-graphic-default-extension.html0000644000175000001440000000472510142565327025651 0ustar msmithusers00000000000000 admon-graphic-default-extension

admon-graphic-default-extension

Name

admon-graphic-default-extension -- no documented purpose

Synopsis

admon-graphic-default-extension

Source Code

(define admon-graphic-default-extension #f)
docbook-dsssl-1.79/doc/print/admon-graphics-path.html0000644000175000001440000000531110142565327023322 0ustar msmithusers00000000000000 %admon-graphics-path%

%admon-graphics-path%

Name

%admon-graphics-path% -- Path to admonition graphics

Synopsis

%admon-graphics-path%

Description

Sets the path, probably relative to the directory where the HTML files are created, to the admonition graphics. Must include trailing directory separator.

Source Code

(define %admon-graphics-path%
  ;; Path to admonition graphics
  "../images/")
docbook-dsssl-1.79/doc/print/admon-graphics.html0000644000175000001440000000505110142565327022371 0ustar msmithusers00000000000000 %admon-graphics%

%admon-graphics%

Name

%admon-graphics% -- Use graphics in admonitions?

Synopsis

%admon-graphics%

Description

If true, admonitions are presented in an alternate style that uses a graphic. Default graphics are provided in the distribution.

Source Code

(define %admon-graphics%
  ;; Use graphics in admonitions?
  #f)
docbook-dsssl-1.79/doc/print/r1756.htm0000644000175000001440000000527210142565327020112 0ustar msmithusers00000000000000 Admonitions

X. Admonitions

Table of Contents
%admon-graphics% -- Use graphics in admonitions?
%admon-graphics-path% -- Path to admonition graphics
admon-graphic-default-extension -- no documented purpose
%admon-graphics-extension% -- Admonition graphic file extension
$admon-graphic$ -- Admonition graphic file
$admon-graphic-width$ -- Admonition graphic file width
docbook-dsssl-1.79/doc/print/generate-heading-level.html0000644000175000001440000000521010142565327023766 0ustar msmithusers00000000000000 %generate-heading-level%

%generate-heading-level%

Name

%generate-heading-level% -- Output RTF heading level characteristics?

Synopsis

%generate-heading-level%

Description

If true, component and section titles will have the heading-level characteristic in the RTF.

Source Code

(define %generate-heading-level%   
  ;; Output RTF heading level characteristics?
  #t)
docbook-dsssl-1.79/doc/print/article-page-number-restart.html0000644000175000001440000000525610142565326025010 0ustar msmithusers00000000000000 %article-page-number-restart%

%article-page-number-restart%

Name

%article-page-number-restart% -- Restart page numbers in each article?

Synopsis

%article-page-number-restart%

Description

If true, page numbers are restarted at the beginning of each article.

Source Code

(define %article-page-number-restart% 
  ;; Restart page numbers in each article?
  #f)
docbook-dsssl-1.79/doc/print/page-number-restart.html0000644000175000001440000000540610142565326023364 0ustar msmithusers00000000000000 %page-number-restart%

%page-number-restart%

Name

%page-number-restart% -- Restart page numbers in each component?

Synopsis

%page-number-restart%

Description

If true, page numbers are restarted at the beginning of each component-level element (Chapter, Appendix, Bibliography, etc.).

Source Code

(define %page-number-restart% 
  ;; Restart page numbers in each component?
  #f)
docbook-dsssl-1.79/doc/print/footer-margin.html0000644000175000001440000000540410142565326022247 0ustar msmithusers00000000000000 %footer-margin%

%footer-margin%

Name

%footer-margin% -- Height of footer margin

Synopsis

%footer-margin%

Description

The %footer-margin% parameter specifies the height of the footer margin of the page. Note that this setting is relative to the physical page, not the writing direction.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %footer-margin% 
  ;; Height of footer margin
  4pi)
docbook-dsssl-1.79/doc/print/header-margin.html0000644000175000001440000000544510142565326022206 0ustar msmithusers00000000000000 %header-margin%

%header-margin%

Name

%header-margin% -- Height of header margin

Synopsis

%header-margin%

Description

The %header-margin% parameter specifies the heigth of the header margin of the page. Note that this setting is relative to the physical page, not the writing direction.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %header-margin% 
  ;; Height of header margin
  (if (equal? %visual-acuity% "large-type") 
      5.5pi 
      4pi))
docbook-dsssl-1.79/doc/print/bottom-margin.html0000644000175000001440000000542510142565326022260 0ustar msmithusers00000000000000 %bottom-margin%

%bottom-margin%

Name

%bottom-margin% -- Height of bottom margin

Synopsis

%bottom-margin%

Description

The %bottom-margin% parameter specifies the height of the bottom margin of the page. Note that this setting is relative to the physical page, not the writing direction.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %bottom-margin% 
  ;; Height of bottom margin
  (if (equal? %visual-acuity% "large-type")
      9.5pi 
      8pi))
docbook-dsssl-1.79/doc/print/top-margin.html0000644000175000001440000000536610142565326021562 0ustar msmithusers00000000000000 %top-margin%

%top-margin%

Name

%top-margin% -- Height of top margin

Synopsis

%top-margin%

Description

The %top-margin% parameter specifies the height of the top margin of the page. Note that this setting is relative to the physical page, not the writing direction.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %top-margin% 
  ;; Height of top margin
  (if (equal? %visual-acuity% "large-type")
      7.5pi
      6pi))
docbook-dsssl-1.79/doc/print/body-width.html0000644000175000001440000000536510142565326021556 0ustar msmithusers00000000000000 %body-width%

%body-width%

Name

%body-width% -- Specifies the width of the text in the body column

Synopsis

%body-width%

Description

Identifies the width of the page on which text will occur, after the %body-start-indent% is removed.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %body-width% 
  ;; Specifies the width of the text in the body column
  (- %text-width% %body-start-indent%))
docbook-dsssl-1.79/doc/print/epigraph-end-indent.html0000644000175000001440000000525510142565326023324 0ustar msmithusers00000000000000 %epigraph-end-indent%

%epigraph-end-indent%

Name

%epigraph-end-indent% -- Specified the right indent of epigraphs.

Synopsis

%epigraph-end-indent%

Description

The right indent of a epigraph. Default none.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %epigraph-end-indent%
  ;; Specified the right indent of epigraphs.
  0pt)
docbook-dsssl-1.79/doc/print/epigraph-start-indent.html0000644000175000001440000000531210142565326023705 0ustar msmithusers00000000000000 %epigraph-start-indent%

%epigraph-start-indent%

Name

%epigraph-start-indent% -- Specifies the left indent of epigraphs.

Synopsis

%epigraph-start-indent%

Description

The indent of a epigraph. Default 55% of the text width.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %epigraph-start-indent%
  ;; Specifies the left indent of epigraphs.
  (* %text-width% 0.55))
docbook-dsssl-1.79/doc/print/text-width.html0000644000175000001440000000526310142565325021601 0ustar msmithusers00000000000000 %text-width%

%text-width%

Name

%text-width% -- Specifies the width of the body column

Synopsis

%text-width%

Description

Identifies the width of the page on which text may occur.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %text-width% 
  ;; Specifies the width of the body column
  (- %page-width% (+ %left-margin% %right-margin%)))
docbook-dsssl-1.79/doc/print/page-height.html0000644000175000001440000000663310142565325021664 0ustar msmithusers00000000000000 %page-height%

%page-height%

Name

%page-height% -- Specifies the page height

Synopsis

%page-height%

Description

Identifies the height of the page (length perpendicular to the writing direction). It is usually controlled by the %paper-type% parameter.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %page-height%
  ;; Specifies the page height
  (case %paper-type%
    (("A4landscape") 210mm)
    (("USletter") 11in)
    (("USlandscape") 8.5in)
    (("4A0") 2378mm)
    (("2A0") 1682mm)
    (("A0") 1189mm)
    (("A1") 841mm)
    (("A2") 594mm)
    (("A3") 420mm)
    (("A4") 297mm)
    (("A5") 210mm)
    (("A6") 148mm)
    (("A7") 105mm)
    (("A8") 74mm)
    (("A9") 52mm)
    (("A10") 37mm)
    (("B0") 1414mm)
    (("B1") 1000mm)
    (("B2") 707mm)
    (("B3") 500mm)
    (("B4") 353mm)
    (("B5") 250mm)
    (("B6") 176mm)
    (("B7") 125mm)
    (("B8") 88mm)
    (("B9") 62mm)
    (("B10") 44mm)
    (("C0") 1297mm)
    (("C1") 917mm)
    (("C2") 648mm)
    (("C3") 458mm)
    (("C4") 324mm)
    (("C5") 229mm)
    (("C6") 162mm)
    (("C7") 114mm)
    (("C8") 81mm)
    (("C9") 57mm)
    (("C10") 40mm)))
docbook-dsssl-1.79/doc/print/page-width.html0000644000175000001440000000661510142565325021533 0ustar msmithusers00000000000000 %page-width%

%page-width%

Name

%page-width% -- Specifies the page width

Synopsis

%page-width%

Description

Identifies the width of the page (length in the writing direction). It is usually controlled by the %paper-type% parameter.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %page-width%
  ;; Specifies the page width
  (case %paper-type%
    (("A4landscape") 297mm)
    (("USletter") 8.5in)
    (("USlandscape") 11in)
    (("4A0") 1682mm)
    (("2A0") 1189mm)
    (("A0") 841mm)
    (("A1") 594mm)
    (("A2") 420mm)
    (("A3") 297mm)
    (("A4") 210mm)
    (("A5") 148mm)
    (("A6") 105mm)
    (("A7") 74mm)
    (("A8") 52mm)
    (("A9") 37mm)
    (("A10") 26mm)
    (("B0") 1000mm)
    (("B1") 707mm)
    (("B2") 500mm)
    (("B3") 353mm)
    (("B4") 250mm)
    (("B5") 176mm)
    (("B6") 125mm)
    (("B7") 88mm)
    (("B8") 62mm)
    (("B9") 44mm)
    (("B10") 31mm)
    (("C0") 917mm)
    (("C1") 648mm)
    (("C2") 458mm)
    (("C3") 324mm)
    (("C4") 229mm)
    (("C5") 162mm)
    (("C6") 114mm)
    (("C7") 81mm)
    (("C8") 57mm)
    (("C9") 40mm)
    (("C10") 28mm)))
docbook-dsssl-1.79/doc/print/right-margin.html0000644000175000001440000000512410142565325022064 0ustar msmithusers00000000000000 %right-margin%

%right-margin%

Name

%right-margin% -- Width of the right margin

Synopsis

%right-margin%

Description

The %right-margin% parameter specifies the width of the right margin of the page. Note that this setting is relative to the physical page, not the writing direction.

Source Code

(define %right-margin% 
  ;; Width of the right margin
  6pi)
docbook-dsssl-1.79/doc/print/left-margin.html0000644000175000001440000000517310142565325021705 0ustar msmithusers00000000000000 %left-margin%

%left-margin%

Name

%left-margin% -- Width of left margin

Synopsis

%left-margin%

Description

The %left-margin% parameter specifies the width of the left margin of the page. Note that this setting is relative to the physical page, not the writing direction.

Source Code

(define %left-margin% 
  ;; Width of left margin
  6pi)
docbook-dsssl-1.79/doc/print/page-balance-columns.html0000644000175000001440000000531510142565325023453 0ustar msmithusers00000000000000 %page-balance-columns?%

%page-balance-columns?%

Name

%page-balance-columns?% -- Balance columns on pages?

Synopsis

%page-balance-columns?%

Description

If true, the columns on the final page of a multiple column layout will be balanced. Otherwise, the columns will be completely filled in the writing direction and the last column may be a different length than the preceding columns.

Source Code

(define %page-balance-columns?% 
  ;; Balance columns on pages?
  #f)
docbook-dsssl-1.79/doc/print/page-column-sep.html0000644000175000001440000000512410142565325022470 0ustar msmithusers00000000000000 %page-column-sep%

%page-column-sep%

Name

%page-column-sep% -- Sets the width of the gutter between columns

Synopsis

%page-column-sep%

Description

Sets the width of the gutter between columns

Source Code

(define %page-column-sep%
  ;; Sets the width of the gutter between columns
  0.5in)
docbook-dsssl-1.79/doc/print/titlepage-n-columns.html0000644000175000001440000000506410142565325023366 0ustar msmithusers00000000000000 %titlepage-n-columns%

%titlepage-n-columns%

Name

%titlepage-n-columns% -- Sets the number of columns on the title page

Synopsis

%titlepage-n-columns%

Description

Sets the number of columns on the title page

Source Code

(define %titlepage-n-columns%
  ;; Sets the number of columns on the title page
  1)
docbook-dsssl-1.79/doc/print/page-n-columns.html0000644000175000001440000000502110142565325022315 0ustar msmithusers00000000000000 %page-n-columns%

%page-n-columns%

Name

%page-n-columns% -- Sets the number of columns on each page

Synopsis

%page-n-columns%

Description

Sets the number of columns on each page

Source Code

(define %page-n-columns%
  ;; Sets the number of columns on each page
  1)
docbook-dsssl-1.79/doc/print/writing-mode.html0000644000175000001440000000500210142565325022074 0ustar msmithusers00000000000000 %writing-mode%

%writing-mode%

Name

%writing-mode% -- The writing mode

Synopsis

%writing-mode%

Description

The writing mode is either left-to-right, or right-to-left.

Source Code

(define %writing-mode%
  ;; The writing mode
  'left-to-right)
docbook-dsssl-1.79/doc/print/two-side.html0000644000175000001440000000507710142565325021236 0ustar msmithusers00000000000000 %two-side%

%two-side%

Name

%two-side% -- Is two-sided output being produced?

Synopsis

%two-side%

Description

If %two-side% is true, headers and footers are alternated so that the "outer" and "inner" headers will be correctly placed in the bound document.

Source Code

(define %two-side% 
  ;; Is two-sided output being produced?
  #f)
docbook-dsssl-1.79/doc/print/paper-type.html0000644000175000001440000000556310142565324021570 0ustar msmithusers00000000000000 %paper-type%

%paper-type%

Name

%paper-type% -- Name of paper type

Synopsis

%paper-type%

Description

The paper type value identifies the sort of paper in use, for example, A4 or USletter. Setting the paper type is an easy shortcut for setting the correct paper height and width.

See %page-width% and %page-height concerning what other page size are available. Some common examples are A4, USletter, A4landscape, USlandscape.

Source Code

(define %paper-type%
  ;; Name of paper type
  ;; "A4"
  "USletter")
docbook-dsssl-1.79/doc/print/r1350.htm0000644000175000001440000001064310142565327020076 0ustar msmithusers00000000000000 Paper/Page Characteristics

IX. Paper/Page Characteristics

Table of Contents
%paper-type% -- Name of paper type
%two-side% -- Is two-sided output being produced?
%writing-mode% -- The writing mode
%page-n-columns% -- Sets the number of columns on each page
%titlepage-n-columns% -- Sets the number of columns on the title page
%page-column-sep% -- Sets the width of the gutter between columns
%page-balance-columns?% -- Balance columns on pages?
%left-margin% -- Width of left margin
%right-margin% -- Width of the right margin
%page-width% -- Specifies the page width
%page-height% -- Specifies the page height
%text-width% -- Specifies the width of the body column
%epigraph-start-indent% -- Specifies the left indent of epigraphs.
%epigraph-end-indent% -- Specified the right indent of epigraphs.
%body-width% -- Specifies the width of the text in the body column
%top-margin% -- Height of top margin
%bottom-margin% -- Height of bottom margin
%header-margin% -- Height of header margin
%footer-margin% -- Height of footer margin
%page-number-restart% -- Restart page numbers in each component?
%article-page-number-restart% -- Restart page numbers in each article?
%generate-heading-level% -- Output RTF heading level characteristics?
docbook-dsssl-1.79/doc/print/chap-app-running-head-autolabel.html0000644000175000001440000000626010142565324025511 0ustar msmithusers00000000000000 %chap-app-running-head-autolabel%

%chap-app-running-head-autolabel%

Name

%chap-app-running-head-autolabel% -- Put chapter labels in running heads?

Synopsis

%chap-app-running-head-autolabel%

Description

If true, running heads on Chapters and Appendixes will include an automatic label.

In other words, if a Chapter has no Label attribute, and %chap-app-running-head-autolabel% is true, running heads will include the automatic label for the Chapter. If %chap-app-running-head-autolabel% is false, only the Title (or TitleAbbrev) will appear in the running head.

Source Code

(define %chap-app-running-head-autolabel% 
  ;; Put chapter labels in running heads?
  #t)
docbook-dsssl-1.79/doc/print/chap-app-running-heads.html0000644000175000001440000000525610142565324023732 0ustar msmithusers00000000000000 %chap-app-running-heads%

%chap-app-running-heads%

Name

%chap-app-running-heads% -- Generate running headers and footers on chapter-level elements?

Synopsis

%chap-app-running-heads%

Description

If true, running headers and footers are produced on chapter-level elements.

Source Code

(define %chap-app-running-heads% 
  ;; Generate running headers and footers on chapter-level elements?
  #t)
docbook-dsssl-1.79/doc/print/r1306.htm0000644000175000001440000000455610142565324020102 0ustar msmithusers00000000000000 Running Heads

VIII. Running Heads

Table of Contents
%chap-app-running-heads% -- Generate running headers and footers on chapter-level elements?
%chap-app-running-head-autolabel% -- Put chapter labels in running heads?
docbook-dsssl-1.79/doc/print/qanda-inherit-numeration.html0000644000175000001440000000534210142565324024400 0ustar msmithusers00000000000000 %qanda-inherit-numeration%

%qanda-inherit-numeration%

Name

%qanda-inherit-numeration% -- Should numbered questions inherit the surrounding numeration?

Synopsis

%qanda-inherit-numeration%

Description

If true, question numbers are prefixed with the surrounding component or section number. Has no effect unless %section-autolabel% is also true.

Source Code

(define %qanda-inherit-numeration% 
  ;; Should numbered questions inherit the surrounding numeration?
  #f)
docbook-dsssl-1.79/doc/print/label-preface-sections.html0000644000175000001440000000526410142565324024007 0ustar msmithusers00000000000000 %label-preface-sections%

%label-preface-sections%

Name

%label-preface-sections% -- Are sections in the Preface enumerated?

Synopsis

%label-preface-sections%

Description

If true, unlabeled sections in the Preface will be enumerated if %section-autolabel% is true.

Source Code

(define %label-preface-sections%
  ;; Are sections in the Preface enumerated?
  #t)
docbook-dsssl-1.79/doc/print/chapter-autolabel.html0000644000175000001440000000503410142565324023067 0ustar msmithusers00000000000000 %chapter-autolabel%

%chapter-autolabel%

Name

%chapter-autolabel% -- Are chapters enumerated?

Synopsis

%chapter-autolabel%

Description

If true, chapters will be enumerated.

Source Code

(define %chapter-autolabel% 
  ;; Are chapters enumerated?
  #t)
docbook-dsssl-1.79/doc/print/section-autolabel.html0000644000175000001440000000472210142565324023110 0ustar msmithusers00000000000000 %section-autolabel%

%section-autolabel%

Name

%section-autolabel% -- Are sections enumerated?

Synopsis

%section-autolabel%

Description

If true, unlabeled sections will be enumerated.

Source Code

(define %section-autolabel% 
  ;; Are sections enumerated?
  #f)
docbook-dsssl-1.79/doc/print/r1238.htm0000644000175000001440000000477410142565324020110 0ustar msmithusers00000000000000 Labelling

VII. Labelling

Table of Contents
%section-autolabel% -- Are sections enumerated?
%chapter-autolabel% -- Are chapters enumerated?
%label-preface-sections% -- Are sections in the Preface enumerated?
%qanda-inherit-numeration% -- Should numbered questions inherit the surrounding numeration?
docbook-dsssl-1.79/doc/print/callout-default-col.html0000644000175000001440000000512210142565323023330 0ustar msmithusers00000000000000 %callout-default-col%

%callout-default-col%

Name

%callout-default-col% -- Default column for callouts

Synopsis

%callout-default-col%

Description

If the coordinates of a callout include only a line number, the callout bug will appear in column %callout-default-col%.

Source Code

(define %callout-default-col% 
  ;; Default column for callouts
  60)
docbook-dsssl-1.79/doc/print/callout-fancy-bug.html0000644000175000001440000000516410142565323023012 0ustar msmithusers00000000000000 %callout-fancy-bug%

%callout-fancy-bug%

Name

%callout-fancy-bug% -- Use fancy callout bugs?

Synopsis

%callout-fancy-bug%

Description

If true, fancy callout bugs will be used. Otherwise, simple ones are used. Fancy callout bugs may require the RTF backend.

Source Code

(define %callout-fancy-bug% 
  ;; Use fancy callout bugs?
  #t)
docbook-dsssl-1.79/doc/print/indent-screen-lines.html0000644000175000001440000000555310142565323023346 0ustar msmithusers00000000000000 %indent-screen-lines%

%indent-screen-lines%

Name

%indent-screen-lines% -- Indent lines in a 'Screen'?

Synopsis

%indent-screen-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-screen-lines%
  ;; Indent lines in a 'Screen'?
  #f)
docbook-dsssl-1.79/doc/print/indent-programlisting-lines.html0000644000175000001440000000562210142565323025125 0ustar msmithusers00000000000000 %indent-programlisting-lines%

%indent-programlisting-lines%

Name

%indent-programlisting-lines% -- Indent lines in a 'ProgramListing'?

Synopsis

%indent-programlisting-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-programlisting-lines%
  ;; Indent lines in a 'ProgramListing'?
  #f)
docbook-dsssl-1.79/doc/print/indent-address-lines.html0000644000175000001440000000564110142565323023512 0ustar msmithusers00000000000000 %indent-address-lines%

%indent-address-lines%

Name

%indent-address-lines% -- Indent lines in a 'Address'?

Synopsis

%indent-address-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-address-lines% 
  ;; Indent lines in a 'Address'?
  #f)
docbook-dsssl-1.79/doc/print/indent-literallayout-lines.html0000644000175000001440000000567510142565323024766 0ustar msmithusers00000000000000 %indent-literallayout-lines%

%indent-literallayout-lines%

Name

%indent-literallayout-lines% -- Indent lines in a 'LiteralLayout'?

Synopsis

%indent-literallayout-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-literallayout-lines% 
  ;; Indent lines in a 'LiteralLayout'?
  #f)
docbook-dsssl-1.79/doc/print/indent-funcsynopsisinfo-lines.html0000644000175000001440000000571310142565323025504 0ustar msmithusers00000000000000 %indent-funcsynopsisinfo-lines%

%indent-funcsynopsisinfo-lines%

Name

%indent-funcsynopsisinfo-lines% -- Indent lines in a 'FuncSynopsisInfo'?

Synopsis

%indent-funcsynopsisinfo-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-funcsynopsisinfo-lines% 
  ;; Indent lines in a 'FuncSynopsisInfo'?
  #f)
docbook-dsssl-1.79/doc/print/indent-synopsis-lines.html0000644000175000001440000000560110142565323023750 0ustar msmithusers00000000000000 %indent-synopsis-lines%

%indent-synopsis-lines%

Name

%indent-synopsis-lines% -- Indent lines in a 'Synopsis'?

Synopsis

%indent-synopsis-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-synopsis-lines% 
  ;; Indent lines in a 'Synopsis'?
  #f)
docbook-dsssl-1.79/doc/print/linenumber-space.html0000644000175000001440000000602410142565323022723 0ustar msmithusers00000000000000 $linenumber-space$

$linenumber-space$

Name

$linenumber-space$ -- Returns the sosofo which separates line numbers from the text

Synopsis

($linenumber-space$)

Description

The sosofo returned by ($linenumber-space$) is placed between the line number and the corresponding line in enumerated environments.

Note: %linenumber-padchar%s are separated from lines that are not enumerated (because they dont match %linenumber-mod%). In other words, ($linenumber-space$)' occurs on every line.

Source Code

(define ($linenumber-space$) 
  ;; Returns the sosofo which separates line numbers from the text
  (literal "\no-break-space;"))
docbook-dsssl-1.79/doc/print/linenumber-padchar.html0000644000175000001440000000514210142565322023231 0ustar msmithusers00000000000000 %linenumber-padchar%

%linenumber-padchar%

Name

%linenumber-padchar% -- Pad character in line numbers

Synopsis

%linenumber-padchar%

Description

Line numbers will be padded (on the left) with %linenumber-padchar%.

Source Code

(define %linenumber-padchar% 
  ;; Pad character in line numbers
  "\no-break-space;")
docbook-dsssl-1.79/doc/print/linenumber-length.html0000644000175000001440000000514610142565322023114 0ustar msmithusers00000000000000 %linenumber-length%

%linenumber-length%

Name

%linenumber-length% -- Width of line numbers in enumerated environments

Synopsis

%linenumber-length%

Description

Line numbers will be padded to %linenumber-length% characters.

Source Code

(define %linenumber-length% 
  ;; Width of line numbers in enumerated environments
  3)
docbook-dsssl-1.79/doc/print/linenumber-mod.html0000644000175000001440000000515510142565322022412 0ustar msmithusers00000000000000 %linenumber-mod%

%linenumber-mod%

Name

%linenumber-mod% -- Controls line-number frequency in enumerated environments.

Synopsis

%linenumber-mod%

Description

Every %linenumber-mod% line will be enumerated.

Source Code

(define %linenumber-mod% 
  ;; Controls line-number frequency in enumerated environments.
  5)
docbook-dsssl-1.79/doc/print/number-screen-lines.html0000644000175000001440000000547010142565322023352 0ustar msmithusers00000000000000 %number-screen-lines%

%number-screen-lines%

Name

%number-screen-lines% -- Enumerate lines in a 'Screen'?

Synopsis

%number-screen-lines%

Description

If true, lines in each Screen will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-screen-lines%
  ;; Enumerate lines in a 'Screen'?
  #f)
docbook-dsssl-1.79/doc/print/number-programlisting-lines.html0000644000175000001440000000556410142565322025140 0ustar msmithusers00000000000000 %number-programlisting-lines%

%number-programlisting-lines%

Name

%number-programlisting-lines% -- Enumerate lines in a 'ProgramListing'?

Synopsis

%number-programlisting-lines%

Description

If true, lines in each ProgramListing will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-programlisting-lines%
  ;; Enumerate lines in a 'ProgramListing'?
  #f)
docbook-dsssl-1.79/doc/print/number-address-lines.html0000644000175000001440000000557410142565322023525 0ustar msmithusers00000000000000 %number-address-lines%

%number-address-lines%

Name

%number-address-lines% -- Enumerate lines in a 'Address'?

Synopsis

%number-address-lines%

Description

If true, lines in each Address will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-address-lines% 
  ;; Enumerate lines in a 'Address'?
  #f)
docbook-dsssl-1.79/doc/print/number-literallayout-lines.html0000644000175000001440000000563610142565322024771 0ustar msmithusers00000000000000 %number-literallayout-lines%

%number-literallayout-lines%

Name

%number-literallayout-lines% -- Enumerate lines in a 'LiteralLayout'?

Synopsis

%number-literallayout-lines%

Description

If true, lines in each LiteralLayout will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-literallayout-lines% 
  ;; Enumerate lines in a 'LiteralLayout'?
  #f)
docbook-dsssl-1.79/doc/print/number-funcsynopsisinfo-lines.html0000644000175000001440000000565710142565322025521 0ustar msmithusers00000000000000 %number-funcsynopsisinfo-lines%

%number-funcsynopsisinfo-lines%

Name

%number-funcsynopsisinfo-lines% -- Enumerate lines in a 'FuncSynopsisInfo'?

Synopsis

%number-funcsynopsisinfo-lines%

Description

If true, lines in each FuncSynopsisInfo will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-funcsynopsisinfo-lines% 
  ;; Enumerate lines in a 'FuncSynopsisInfo'?
  #f)
docbook-dsssl-1.79/doc/print/number-synopsis-lines.html0000644000175000001440000000557410142565321023766 0ustar msmithusers00000000000000 %number-synopsis-lines%

%number-synopsis-lines%

Name

%number-synopsis-lines% -- Enumerate lines in a 'Synopsis'?

Synopsis

%number-synopsis-lines%

Description

If true, lines in each Synopsis will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-synopsis-lines% 
  ;; Enumerate lines in a 'Synopsis'?
  #f)
docbook-dsssl-1.79/doc/print/verbatim-default-width.html0000644000175000001440000000541210142565321024040 0ustar msmithusers00000000000000 %verbatim-default-width%

%verbatim-default-width%

Name

%verbatim-default-width% -- Default width of verbatim environments

Synopsis

%verbatim-default-width%

Description

If no WIDTH attribute is specified on verbatim environments, %verbatim-default-width% is the default. Note: this width only comes into play if %verbatim-size-factor% is #f.

Source Code

(define %verbatim-default-width%
  ;; Default width of verbatim environments
  80)
docbook-dsssl-1.79/doc/print/r866.htm0000644000175000001440000001061410142565323020023 0ustar msmithusers00000000000000 Verbatim Environments

VI. Verbatim Environments

Table of Contents
%verbatim-default-width% -- Default width of verbatim environments
%number-synopsis-lines% -- Enumerate lines in a 'Synopsis'?
%number-funcsynopsisinfo-lines% -- Enumerate lines in a 'FuncSynopsisInfo'?
%number-literallayout-lines% -- Enumerate lines in a 'LiteralLayout'?
%number-address-lines% -- Enumerate lines in a 'Address'?
%number-programlisting-lines% -- Enumerate lines in a 'ProgramListing'?
%number-screen-lines% -- Enumerate lines in a 'Screen'?
%linenumber-mod% -- Controls line-number frequency in enumerated environments.
%linenumber-length% -- Width of line numbers in enumerated environments
%linenumber-padchar% -- Pad character in line numbers
$linenumber-space$ -- Returns the sosofo which separates line numbers from the text
%indent-synopsis-lines% -- Indent lines in a 'Synopsis'?
%indent-funcsynopsisinfo-lines% -- Indent lines in a 'FuncSynopsisInfo'?
%indent-literallayout-lines% -- Indent lines in a 'LiteralLayout'?
%indent-address-lines% -- Indent lines in a 'Address'?
%indent-programlisting-lines% -- Indent lines in a 'ProgramListing'?
%indent-screen-lines% -- Indent lines in a 'Screen'?
%callout-fancy-bug% -- Use fancy callout bugs?
%callout-default-col% -- Default column for callouts
docbook-dsssl-1.79/doc/print/print-backend.html0000644000175000001440000000554010142565321022213 0ustar msmithusers00000000000000 print-backend

print-backend

Name

print-backend -- Returns the backend that is being used to format the document

Synopsis

(print-backend)

Description

This parameter controls features in the stylesheet that are backend specific. The legal values are rtf, tex, mif, and #f. Using #f implies that no special features are used.

Source Code

(define (print-backend)
  ;; Returns the backend that is being used to format the document
  (cond
   (tex-backend 'tex)
   (mif-backend 'mif)
   (rtf-backend 'rtf)
   (else default-backend)))
docbook-dsssl-1.79/doc/print/default-backend.html0000644000175000001440000000536510142565321022510 0ustar msmithusers00000000000000 default-backend

default-backend

Name

default-backend -- What is the default backend?

Synopsis

default-backend

Description

This parameter sets the default backend. Selecting an explicit backend enables features specific to that backend (if there are any). The legal values are rtf, tex, mif, and #f. Using #f implies that no special features are used.

Source Code

(define default-backend 
  ;; What is the default backend?
  #f)
docbook-dsssl-1.79/doc/print/rtf-backend.html0000644000175000001440000000501210142565321021644 0ustar msmithusers00000000000000 rtf-backend

rtf-backend

Name

rtf-backend -- Are we using the RTF backend?

Synopsis

rtf-backend

Description

This parameter exists so that -V rtf-backend can be used on the command line to explicitly select the RTF backend.

Source Code

(define rtf-backend 
  ;; Are we using the RTF backend?
  #f)
docbook-dsssl-1.79/doc/print/mif-backend.html0000644000175000001440000000476610142565321021643 0ustar msmithusers00000000000000 mif-backend

mif-backend

Name

mif-backend -- Are we using the MIF backend?

Synopsis

mif-backend

Description

This parameter exists so that -V mif-backend can be used on the command line to explicitly select the MIF backend.

Source Code

(define mif-backend 
  ;; Are we using the MIF backend?
  #f)
docbook-dsssl-1.79/doc/print/tex-backend.html0000644000175000001440000000473010142565321021657 0ustar msmithusers00000000000000 tex-backend

tex-backend

Name

tex-backend -- Are we using the TeX backend?

Synopsis

tex-backend

Description

This parameter exists so that -V tex-backend can be used on the command line to explicitly select the TeX backend.

Source Code

(define tex-backend 
  ;; Are we using the TeX backend?
  #f)
docbook-dsssl-1.79/doc/print/r771.htm0000644000175000001440000000500610142565321020013 0ustar msmithusers00000000000000 Backends

V. Backends

Table of Contents
tex-backend -- Are we using the TeX backend?
mif-backend -- Are we using the MIF backend?
rtf-backend -- Are we using the RTF backend?
default-backend -- What is the default backend?
print-backend -- Returns the backend that is being used to format the document
docbook-dsssl-1.79/doc/print/table-title-font-weight.html0000644000175000001440000000514510142565321024132 0ustar msmithusers00000000000000 %table-title-font-weight%

%table-title-font-weight%

Name

%table-title-font-weight% -- Table title font weight

Synopsis

%table-title-font-weight%

Description

Specifies the title font weight (i.e., bold or medium) of the formal tables.

Source Code

(define %table-title-font-weight%
  ;; Table title font weight
  'bold)
docbook-dsssl-1.79/doc/print/formal-object-title-font-weight.html0000644000175000001440000000533110142565320025563 0ustar msmithusers00000000000000 %formal-object-title-font-weight%

%formal-object-title-font-weight%

Name

%formal-object-title-font-weight% -- Formal object title font weight

Synopsis

%formal-object-title-font-weight%

Description

Specifies the title font weight (i.e., bold or medium) of formal objects (e.g., figures).

Source Code

(define %formal-object-title-font-weight%
  ;; Formal object title font weight
  'bold)
docbook-dsssl-1.79/doc/print/footnote-size-factor.html0000644000175000001440000000535510142565320023556 0ustar msmithusers00000000000000 %footnote-size-factor%

%footnote-size-factor%

Name

%footnote-size-factor% -- Footnote font scaling factor

Synopsis

%footnote-size-factor%

Description

When printing footnotes, the current font size is multiplied by the %footnote-size-factor%.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %footnote-size-factor% 
  ;; Footnote font scaling factor
  0.9)
docbook-dsssl-1.79/doc/print/bf-size.html0000644000175000001440000000542710142565320021034 0ustar msmithusers00000000000000 %bf-size%

%bf-size%

Name

%bf-size% -- Defines the body font size

Synopsis

%bf-size%

Description

Sets the body font size. This parameter is usually controlled by the %visual-acuity% parameter.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %bf-size%
  ;; Defines the body font size
  (case %visual-acuity%
    (("tiny") 8pt)
    (("normal") 10pt)
    (("presbyopic") 12pt)
    (("large-type") 24pt)))
docbook-dsssl-1.79/doc/print/verbatim-size-factor.html0000644000175000001440000000565010142565320023530 0ustar msmithusers00000000000000 %verbatim-size-factor%

%verbatim-size-factor%

Name

%verbatim-size-factor% -- Verbatim font scaling factor

Synopsis

%verbatim-size-factor%

Description

When a monospace font is selected, the current font size is multiplied by the %verbatim-size-factor%. If %verbatim-size-factor% is #f, no scaling is performed (Well, thats not precisely true. In $verbatim-display$environments, the font size is calculated with respect to the longest line in the display, if %verbatim-size-factor% is #f').

Source Code

(define %verbatim-size-factor% 
  ;; Verbatim font scaling factor
  0.9)
docbook-dsssl-1.79/doc/print/ss-shift-factor.html0000644000175000001440000000517410142565320022510 0ustar msmithusers00000000000000 %ss-shift-factor%

%ss-shift-factor%

Name

%ss-shift-factor% -- Super/subscript shift factor

Synopsis

%ss-shift-factor%

Description

When text is set as a subscript or superscript, it is set above or below the baseline by a factor of the current font size and %ss-shift-factor%.

Source Code

(define %ss-shift-factor%
  ;; Super/subscript shift factor
  0.4)
docbook-dsssl-1.79/doc/print/ss-size-factor.html0000644000175000001440000000512610142565320022342 0ustar msmithusers00000000000000 %ss-size-factor%

%ss-size-factor%

Name

%ss-size-factor% -- Super/subscript scaling factor

Synopsis

%ss-size-factor%

Description

When text is set as a subscript or superscript, the font size of the text is multiplied by %ss-size-factor%.

Source Code

(define %ss-size-factor% 
  ;; Super/subscript scaling factor
  0.6)
docbook-dsssl-1.79/doc/print/smaller-size-factor.html0000644000175000001440000000530610142565320023354 0ustar msmithusers00000000000000 %smaller-size-factor%

%smaller-size-factor%

Name

%smaller-size-factor% -- Smaller font scaling factor

Synopsis

%smaller-size-factor%

Description

In environments that are usually set with a slightly smaller font size, for example block quotations, the stylesheet calculates the smaller font size by muliplying the current font size by %smaller-size-factor%.

Source Code

(define %smaller-size-factor% 
  ;; Smaller font scaling factor
  0.9)
docbook-dsssl-1.79/doc/print/hsize-bump-factor.html0000644000175000001440000000577210142565320023037 0ustar msmithusers00000000000000 %hsize-bump-factor%

%hsize-bump-factor%

Name

%hsize-bump-factor% -- Font scaling factor

Synopsis

%hsize-bump-factor%

Description

Internally, the stylesheet refers to font sizes in purely relative terms. This is done by defining a scaled set of fonts (sizes 1, 2, 3, etc.) based at the default text font size (e.g. 10pt). The %hsize-bump-factor% describes the ratio between scaled sizes. The default is 1.2.

Each hsize is %hsize-bump-factor% times larger than the previous hsize. For example, if the base size is 10pt, and %hsize-bump-factor% 1.2, hsize 1 is 12pt, hsize 2 is 14.4pt, hsize 3 is 17.28pt, etc.

Source Code

(define %hsize-bump-factor% 
  ;; Font scaling factor
  1.2)
docbook-dsssl-1.79/doc/print/visual-acuity.html0000644000175000001440000000612310142565320022266 0ustar msmithusers00000000000000 %visual-acuity%

%visual-acuity%

Name

%visual-acuity% -- General measure of document text size

Synopsis

%visual-acuity%

Description

This parameter controls the general size of the text in the document. Several other values (body font size and margins) have default values that vary depending on the setting of %visual-acuity%. There are three legal values: normal, the normal, standard document size (10pt body text); tiny, a small text size (8pt body text); presbyopic, a slightly more generous size (12pt body text); and large-type, quite large (24pt body text).

Source Code

(define %visual-acuity%
  ;; General measure of document text size
  ;; "tiny"
  ;; "presbyopic"
  ;; "large-type"
  "normal")
docbook-dsssl-1.79/doc/print/guilabel-font-family.html0000644000175000001440000000561210142565320023500 0ustar msmithusers00000000000000 %guilabel-font-family%

%guilabel-font-family%

Name

%guilabel-font-family% -- The font family used in GUI labels

Synopsis

%guilabel-font-family%

Description

The name of the font family used for text that represents text on a GUI (e.g., text in GUILabel, GUIMenu, etc.). (Arial by default).

The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them).

The values here work for the RTF backend under MS Windows. YMMV.

Source Code

(define %guilabel-font-family%
  ;; The font family used in GUI labels
  "Arial")
docbook-dsssl-1.79/doc/print/admon-font-family.html0000644000175000001440000000546010142565320023013 0ustar msmithusers00000000000000 %admon-font-family%

%admon-font-family%

Name

%admon-font-family% -- The font family used in admonitions

Synopsis

%admon-font-family%

Description

The name of the font family used for body text in admonitions (Arial by default).

The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them).

The values here work for the RTF backend under MS Windows. YMMV.

Source Code

(define %admon-font-family% 
  ;; The font family used in admonitions
  "Arial")
docbook-dsssl-1.79/doc/print/mono-font-family.html0000644000175000001440000000546710142565317022702 0ustar msmithusers00000000000000 %mono-font-family%

%mono-font-family%

Name

%mono-font-family% -- The font family used in verbatim environments

Synopsis

%mono-font-family%

Description

The name of the font family used in verbatim environments (Courier New by default).

The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them).

The values here work for the RTF backend under MS Windows. YMMV.

Source Code

(define %mono-font-family% 
  ;; The font family used in verbatim environments
  "Courier New")
docbook-dsssl-1.79/doc/print/body-font-family.html0000644000175000001440000000543410142565317022661 0ustar msmithusers00000000000000 %body-font-family%

%body-font-family%

Name

%body-font-family% -- The font family used in body text

Synopsis

%body-font-family%

Description

The name of the font family used in body text (Times New Roman by default).

The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them).

The values here work for the RTF backend under MS Windows. YMMV.

Source Code

(define %body-font-family% 
  ;; The font family used in body text
  "Times New Roman")
docbook-dsssl-1.79/doc/print/title-font-family.html0000644000175000001440000000545410142565317023047 0ustar msmithusers00000000000000 %title-font-family%

%title-font-family%

Name

%title-font-family% -- The font family used in titles

Synopsis

%title-font-family%

Description

The name of the font family used in titles (Arial by default).

The values used here are system dependent (you have to have the fonts you select) and backend dependent (the backend has to know how to use them).

The values here work for the RTF backend under MS Windows. YMMV.

Source Code

(define %title-font-family% 
  ;; The font family used in titles
  "Arial")
docbook-dsssl-1.79/doc/print/refentry-name-font-family.html0000644000175000001440000000510710142565317024475 0ustar msmithusers00000000000000 %refentry-name-font-family%

%refentry-name-font-family%

Name

%refentry-name-font-family% -- The font family used in RefName

Synopsis

%refentry-name-font-family%

Description

The name of the font family used in RefEntry RefNames.

Source Code

(define %refentry-name-font-family%
  ;; The font family used in RefName
  %mono-font-family%)
docbook-dsssl-1.79/doc/print/r471.htm0000644000175000001440000000755710142565321020025 0ustar msmithusers00000000000000 Fonts

IV. Fonts

Table of Contents
%refentry-name-font-family% -- The font family used in RefName
%title-font-family% -- The font family used in titles
%body-font-family% -- The font family used in body text
%mono-font-family% -- The font family used in verbatim environments
%admon-font-family% -- The font family used in admonitions
%guilabel-font-family% -- The font family used in GUI labels
%visual-acuity% -- General measure of document text size
%hsize-bump-factor% -- Font scaling factor
%smaller-size-factor% -- Smaller font scaling factor
%ss-size-factor% -- Super/subscript scaling factor
%ss-shift-factor% -- Super/subscript shift factor
%verbatim-size-factor% -- Verbatim font scaling factor
%bf-size% -- Defines the body font size
%footnote-size-factor% -- Footnote font scaling factor
%formal-object-title-font-weight% -- Formal object title font weight
%table-title-font-weight% -- Table title font weight
docbook-dsssl-1.79/doc/print/funcsynopsis-decoration.html0000644000175000001440000000531710142565317024371 0ustar msmithusers00000000000000 %funcsynopsis-decoration%

%funcsynopsis-decoration%

Name

%funcsynopsis-decoration% -- Decorate elements of a FuncSynopsis?

Synopsis

%funcsynopsis-decoration%

Description

If true, elements of the FuncSynopsis will be decorated (e.g. bold or italic). The decoration is controlled by functions that can be redefined in a customization layer. See edbsynop.dsl.

Source Code

(define %funcsynopsis-decoration%
  ;; Decorate elements of a FuncSynopsis?
  #t)
docbook-dsssl-1.79/doc/print/kr-funcsynopsis-indent.html0000644000175000001440000000551310142565317024133 0ustar msmithusers00000000000000 %kr-funcsynopsis-indent%

%kr-funcsynopsis-indent%

Name

%kr-funcsynopsis-indent% -- Indent-depth in K&R-style function synopses

Synopsis

%kr-funcsynopsis-indent%

Description

If the %funcsynopsis-style% is kr, %kr-funcsynopsis-indent% specifies the amount by which parameter definitions should be indented under the function prototype.

Source Code

(define %kr-funcsynopsis-indent% 
  ;; Indent-depth in K&R-style function synopses
  1pi)
docbook-dsssl-1.79/doc/print/funcsynopsis-style.html0000644000175000001440000000550510142565317023401 0ustar msmithusers00000000000000 %funcsynopsis-style%

%funcsynopsis-style%

Name

%funcsynopsis-style% -- What style of 'FuncSynopsis' should be generated?

Synopsis

%funcsynopsis-style%

Description

If %funcsynopsis-style% is ansi, ANSI-style function synopses are generated for a FuncSynopsis, otherwise K&R-style function synopses are generated.

Source Code

(define %funcsynopsis-style% 
  ;; What style of 'FuncSynopsis' should be generated?
  'ansi)
docbook-dsssl-1.79/doc/print/refentry-xref-manvolnum.html0000644000175000001440000000527510142565317024316 0ustar msmithusers00000000000000 %refentry-xref-manvolnum%

%refentry-xref-manvolnum%

Name

%refentry-xref-manvolnum% -- Output manvolnum as part of RefEntry cross-reference?

Synopsis

%refentry-xref-manvolnum%

Description

If true, the manvolnum is used when cross-referencing RefEntrys, either with XRef or CiteRefEntry.

Source Code

(define %refentry-xref-manvolnum%
  ;; Output manvolnum as part of RefEntry cross-reference?
  #t)
docbook-dsssl-1.79/doc/print/refentry-xref-italic.html0000644000175000001440000000530110142565317023535 0ustar msmithusers00000000000000 %refentry-xref-italic%

%refentry-xref-italic%

Name

%refentry-xref-italic% -- Use italic text when cross-referencing RefEntrys?

Synopsis

%refentry-xref-italic%

Description

If true, italics are used when cross-referencing RefEntrys, either with XRef or CiteRefEntry.

Source Code

(define %refentry-xref-italic%
  ;; Use italic text when cross-referencing RefEntrys?
  #f)
docbook-dsssl-1.79/doc/print/refentry-generate-name.html0000644000175000001440000000520210142565317024036 0ustar msmithusers00000000000000 %refentry-generate-name%

%refentry-generate-name%

Name

%refentry-generate-name% -- Output NAME header before 'RefName'(s)?

Synopsis

%refentry-generate-name%

Description

If true, a "NAME" section title is output before the list of RefNames.

Source Code

(define %refentry-generate-name% 
  ;; Output NAME header before 'RefName'(s)?
  #t)
docbook-dsssl-1.79/doc/print/refentry-keep.html0000644000175000001440000000540110142565316022252 0ustar msmithusers00000000000000 %refentry-keep%

%refentry-keep%

Name

%refentry-keep% -- Keep RefEntrys together?

Synopsis

%refentry-keep%

Description

Refentry keep indicates how the stylesheet should attempt to keep each RefEntry. Common values are #t, for the smallest possible area, page for the same page, and #f to ignore this characteristic.

Source Code

(define %refentry-keep% 
  ;; Keep RefEntrys together?
  #t)
docbook-dsssl-1.79/doc/print/refentry-new-page.html0000644000175000001440000000501710142565316023034 0ustar msmithusers00000000000000 %refentry-new-page%

%refentry-new-page%

Name

%refentry-new-page% -- 'RefEntry' starts on new page?

Synopsis

%refentry-new-page%

Description

If true, each RefEntry begins on a new page.

Source Code

(define %refentry-new-page% 
  ;; 'RefEntry' starts on new page?
  #f)
docbook-dsssl-1.79/doc/print/r329.htm0000644000175000001440000000610010142565317020013 0ustar msmithusers00000000000000 RefEntries and FuncSynopses

III. RefEntries and FuncSynopses

Table of Contents
%refentry-new-page% -- 'RefEntry' starts on new page?
%refentry-keep% -- Keep RefEntrys together?
%refentry-generate-name% -- Output NAME header before 'RefName'(s)?
%refentry-xref-italic% -- Use italic text when cross-referencing RefEntrys?
%refentry-xref-manvolnum% -- Output manvolnum as part of RefEntry cross-reference?
%funcsynopsis-style% -- What style of 'FuncSynopsis' should be generated?
%kr-funcsynopsis-indent% -- Indent-depth in K&R-style function synopses
%funcsynopsis-decoration% -- Decorate elements of a FuncSynopsis?
docbook-dsssl-1.79/doc/print/othername-in-middle.html0000644000175000001440000000530410142565316023316 0ustar msmithusers00000000000000 %author-othername-in-middle%

%author-othername-in-middle%

Name

%author-othername-in-middle% -- Author OTHERNAME appears between FIRSTNAME and SURNAME?

Synopsis

%author-othername-in-middle%

Description

If true, the OTHERNAME of an AUTHOR appears between the FIRSTNAME and SURNAME. Otherwise, OTHERNAME is suppressed.

Source Code

(define %author-othername-in-middle%
  ;; Author OTHERNAME appears between FIRSTNAME and SURNAME?
  #t)
docbook-dsssl-1.79/doc/print/titlepage-in-info-order.html0000644000175000001440000000555110142565316024124 0ustar msmithusers00000000000000 %titlepage-in-info-order%

%titlepage-in-info-order%

Name

%titlepage-in-info-order% -- Place elements on title page in document order?

Synopsis

%titlepage-in-info-order%

Description

If true, the elements on the title page will be set in the order that they appear in the *info element. Otherwise, they will be set in the order specified in the *-titlepage-*-elements list.

Source Code

(define %titlepage-in-info-order% 
  ;; Place elements on title page in document order?
  #f)
docbook-dsssl-1.79/doc/print/generate-article-ttlpg-on-sep-page.html0000644000175000001440000000551510142565316026154 0ustar msmithusers00000000000000 %generate-article-titlepage-on-separate-page%

%generate-article-titlepage-on-separate-page%

Name

%generate-article-titlepage-on-separate-page% -- Should the article title page be on a separate page?

Synopsis

%generate-article-titlepage-on-separate-page%

Description

If true, the title page for each Article will occur on its own page.

Source Code

(define %generate-article-titlepage-on-separate-page%
  ;; Should the article title page be on a separate page?
  #f)
docbook-dsssl-1.79/doc/print/generate-article-titlepage.html0000644000175000001440000000544310142565316024667 0ustar msmithusers00000000000000 %generate-article-titlepage%

%generate-article-titlepage%

Name

%generate-article-titlepage% -- Should an article title page be produced?

Synopsis

%generate-article-titlepage%

Description

If true, a title page will be generated for each Article.

Source Code

(define %generate-article-titlepage% 
  ;; Should an article title page be produced?
  #t)
docbook-dsssl-1.79/doc/print/generate-reference-titlepage.html0000644000175000001440000000541010142565316025174 0ustar msmithusers00000000000000 %generate-reference-titlepage%

%generate-reference-titlepage%

Name

%generate-reference-titlepage% -- Should a reference title page be produced?

Synopsis

%generate-reference-titlepage%

Description

If true, a title page will be generated for each Reference.

Source Code

(define %generate-reference-titlepage% 
  ;; Should a reference title page be produced?
  #t)
docbook-dsssl-1.79/doc/print/generate-partintro-on-titlepage.html0000644000175000001440000000554710142565316025705 0ustar msmithusers00000000000000 %generate-partintro-on-titlepage%

%generate-partintro-on-titlepage%

Name

%generate-partintro-on-titlepage% -- Should the PartIntro appear on the Part/Reference title page?

Synopsis

%generate-partintro-on-titlepage%

Description

If true, the PartIntro content will appear on the title page of Parts and References. If false, it will be placed on separate page(s) after the title page.

Source Code

(define %generate-partintro-on-titlepage%
  ;; Should the PartIntro appear on the Part/Reference title page?
  #t)
docbook-dsssl-1.79/doc/print/generate-part-titlepage.html0000644000175000001440000000531410142565316024207 0ustar msmithusers00000000000000 %generate-part-titlepage%

%generate-part-titlepage%

Name

%generate-part-titlepage% -- Should a part title page be produced?

Synopsis

%generate-part-titlepage%

Description

If true, a title page will be generated for each Part.

Source Code

(define %generate-part-titlepage% 
  ;; Should a part title page be produced?
  #t)
docbook-dsssl-1.79/doc/print/generate-book-titlepage.html0000644000175000001440000000523610142565316024176 0ustar msmithusers00000000000000 %generate-book-titlepage%

%generate-book-titlepage%

Name

%generate-book-titlepage% -- Should a book title page be produced?

Synopsis

%generate-book-titlepage%

Description

If true, a title page will be generated for each Book.

Source Code

(define %generate-book-titlepage%
  ;; Should a book title page be produced?
  #t)
docbook-dsssl-1.79/doc/print/generate-set-titlepage.html0000644000175000001440000000510010142565315024024 0ustar msmithusers00000000000000 %generate-set-titlepage%

%generate-set-titlepage%

Name

%generate-set-titlepage% -- Should a set title page be produced?

Synopsis

%generate-set-titlepage%

Description

If true, a title page will be generated for each Set.

Source Code

(define %generate-set-titlepage%
  ;; Should a set title page be produced?
  #t)
docbook-dsssl-1.79/doc/print/r177.htm0000644000175000001440000000661610142565316020027 0ustar msmithusers00000000000000 Titlepages

II. Titlepages

Table of Contents
%generate-set-titlepage% -- Should a set title page be produced?
%generate-book-titlepage% -- Should a book title page be produced?
%generate-part-titlepage% -- Should a part title page be produced?
%generate-partintro-on-titlepage% -- Should the PartIntro appear on the Part/Reference title page?
%generate-reference-titlepage% -- Should a reference title page be produced?
%generate-article-titlepage% -- Should an article title page be produced?
%generate-article-titlepage-on-separate-page% -- Should the article title page be on a separate page?
%titlepage-in-info-order% -- Place elements on title page in document order?
%author-othername-in-middle% -- Author OTHERNAME appears between FIRSTNAME and SURNAME?
docbook-dsssl-1.79/doc/print/generate-article-toc-on-titlepage.html0000644000175000001440000000544510142565315026065 0ustar msmithusers00000000000000 %generate-article-toc-on-titlepage%

%generate-article-toc-on-titlepage%

Name

%generate-article-toc-on-titlepage% -- Should the Article TOC appear on the Article title page?

Synopsis

%generate-article-toc-on-titlepage%

Description

If true, the Article TOC will be placed on the Article title page. If false, the TOC will be placed on separate page(s) after the title page. If false, %generate-article-titlepage-on-separate-page% should be true.

Source Code

(define %generate-article-toc-on-titlepage%
  ;; Should the Article TOC appear on the Article title page?
  #t)
docbook-dsssl-1.79/doc/print/generate-article-toc.html0000644000175000001440000000545510142565315023500 0ustar msmithusers00000000000000 %generate-article-toc%

%generate-article-toc%

Name

%generate-article-toc% -- Should a Table of Contents be produced for Articles?

Synopsis

%generate-article-toc%

Description

If true, a Table of Contents will be generated for each Article.

Source Code

(define %generate-article-toc% 
  ;; Should a Table of Contents be produced for Articles?
  #f)
docbook-dsssl-1.79/doc/print/generate-reference-toc-on-titlepage.html0000644000175000001440000000551110142565315026372 0ustar msmithusers00000000000000 %generate-reference-toc-on-titlepage%

%generate-reference-toc-on-titlepage%

Name

%generate-reference-toc-on-titlepage% -- Should the Reference TOC appear on the Reference title page?

Synopsis

%generate-reference-toc-on-titlepage%

Description

If true, the Reference TOC will be placed on the Reference title page. If false, the TOC will be placed on separate page(s) after the title page.

Source Code

(define %generate-reference-toc-on-titlepage%
  ;; Should the Reference TOC appear on the Reference title page?
  #t)
docbook-dsssl-1.79/doc/print/generate-reference-toc.html0000644000175000001440000000573610142565315024015 0ustar msmithusers00000000000000 %generate-reference-toc%

%generate-reference-toc%

Name

%generate-reference-toc% -- Should a Table of Contents be produced for References?

Synopsis

%generate-reference-toc%

Description

If true, a Table of Contents will be generated for each Reference. Note: %generate-reference-toc-on-titlepage% controls whether the Reference TOC is placed on the bottom of the title page or on page(s) of its own.

Source Code

(define %generate-reference-toc% 
  ;; Should a Table of Contents be produced for References?
  #f)
docbook-dsssl-1.79/doc/print/generate-part-toc-on-titlepage.html0000644000175000001440000000540410142565315025403 0ustar msmithusers00000000000000 %generate-part-toc-on-titlepage%

%generate-part-toc-on-titlepage%

Name

%generate-part-toc-on-titlepage% -- Should the Part TOC appear on the Part title page?

Synopsis

%generate-part-toc-on-titlepage%

Description

If true, the Part TOC will be placed on the Part title page. If false, the TOC will be placed on separate page(s) after the Part title page.

Source Code

(define %generate-part-toc-on-titlepage%
  ;; Should the Part TOC appear on the Part title page?
  #t)
docbook-dsssl-1.79/doc/print/generate-part-toc.html0000644000175000001440000000554610142565315023024 0ustar msmithusers00000000000000 %generate-part-toc%

%generate-part-toc%

Name

%generate-part-toc% -- Should a Table of Contents be produced for Parts?

Synopsis

%generate-part-toc%

Description

If true, a Table of Contents will be generated for each Part. Note: %generate-part-toc-on-titlepage% controls whether the Part TOC is placed on the bottom of the part titlepage or on page(s) of its own.

Source Code

(define %generate-part-toc% 
  ;; Should a Table of Contents be produced for Parts?
  #f)
docbook-dsssl-1.79/doc/print/generate-book-lot-list.html0000644000175000001440000000600110142565315023755 0ustar msmithusers00000000000000 $generate-book-lot-list$

$generate-book-lot-list$

Name

$generate-book-lot-list$ -- Which Lists of Titles should be produced for Books?

Synopsis

($generate-book-lot-list$)

Description

This parameter should be a list (possibly empty) of the elements for which Lists of Titles should be produced for each Book.

It is meaningless to put elements that do not have titles in this list. If elements with optional titles are placed in this list, only the instances of those elements that do have titles will appear in the LOT.

Source Code

(define ($generate-book-lot-list$)
  ;; Which Lists of Titles should be produced for Books?
  (list (normalize "table")
(normalize "figure")
(normalize "example")
(normalize "equation")))
docbook-dsssl-1.79/doc/print/generate-book-toc.html0000644000175000001440000000517010142565315023001 0ustar msmithusers00000000000000 %generate-book-toc%

%generate-book-toc%

Name

%generate-book-toc% -- Should a Table of Contents be produced for Books?

Synopsis

%generate-book-toc%

Description

If true, a Table of Contents will be generated for each Book.

Source Code

(define %generate-book-toc% 
  ;; Should a Table of Contents be produced for Books?
  #t)
docbook-dsssl-1.79/doc/print/generate-set-toc.html0000644000175000001440000000505210142565315022641 0ustar msmithusers00000000000000 %generate-set-toc%

%generate-set-toc%

Name

%generate-set-toc% -- Should a Table of Contents be produced for Sets?

Synopsis

%generate-set-toc%

Description

If true, a Table of Contents will be generated for each Set.

Source Code

(define %generate-set-toc% 
  ;; Should a Table of Contents be produced for Sets?
  #f)
docbook-dsssl-1.79/doc/print/r22.htm0000644000175000001440000000643710142565315017734 0ustar msmithusers00000000000000 TOC/LOT Apparatus

I. TOC/LOT Apparatus

Table of Contents
%generate-set-toc% -- Should a Table of Contents be produced for Sets?
%generate-book-toc% -- Should a Table of Contents be produced for Books?
$generate-book-lot-list$ -- Which Lists of Titles should be produced for Books?
%generate-part-toc% -- Should a Table of Contents be produced for Parts?
%generate-part-toc-on-titlepage% -- Should the Part TOC appear on the Part title page?
%generate-reference-toc% -- Should a Table of Contents be produced for References?
%generate-reference-toc-on-titlepage% -- Should the Reference TOC appear on the Reference title page?
%generate-article-toc% -- Should a Table of Contents be produced for Articles?
%generate-article-toc-on-titlepage% -- Should the Article TOC appear on the Article title page?
docbook-dsssl-1.79/doc/print/ln15.htm0000644000175000001440000000373110142565314020077 0ustar msmithusers00000000000000

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please direct all questions, bug reports, or suggestions for changes to Norman Walsh, <ndw@nwalsh.com>.

See http://nwalsh.com/docbook/dsssl/ for more information.

docbook-dsssl-1.79/doc/print/index.html0000644000175000001440000000502110142565334020577 0ustar msmithusers00000000000000 DocBook Print Parameters

DocBook Print Parameters

Part of the Modular DocBook Stylesheet distribution

Norman Walsh


docbook-dsssl-1.79/doc/lib/0000755000175000001440000000000010142565347016222 5ustar msmithusers00000000000000docbook-dsssl-1.79/doc/lib/ChangeLog0000644000175000001440000000012310142575332017763 0ustar msmithusers000000000000002001-04-04 Norman Walsh * .cvsignore: New file. docbook-dsssl-1.79/doc/lib/string-X3Enodes.html0000644000175000001440000000511110142565347022042 0ustar msmithusers00000000000000 string->nodes

string->nodes

Name

string->nodes -- no documented purpose

Synopsis

(string->nodes s)

Source Code

(define (string->nodes s)
  ;; Escape XML characters...
  (let* ((achars (string-replace s "&" "&#38;#38;"))
	 (bchars (string-replace achars "<" "&#38;#60;"))
	 (cchars (string-replace bchars ">" "&#38;#62;")))
    (let ((doc (string-append "<literal><!DOCTYPE doc [ <!ELEMENT "
			      "doc - - (#PCDATA)> ]><doc>" cchars ";</doc>")))
      (children (node-property 'docelem (sgml-parse doc))))))
docbook-dsssl-1.79/doc/lib/parse-starttag-pi.html0000644000175000001440000000710110142565347022456 0ustar msmithusers00000000000000 parse-starttag-pi

parse-starttag-pi

Name

parse-starttag-pi -- Parses a structured PI and returns a list of values

Synopsis

(parse-starttag-pi pi)

Description

It has become common practice to give PIs structured values. The result is a PI that looks a lot like a start tag with attributes:

<?pitarget name1="value1" name2=value2 name3="value 3">

This function parses a PI with this form and returns a list. The list contains the pitarget and each of the name/value pairs:

("pitarget" "name1" "value1" "name2" "value2" "name3" "value 3")

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (parse-starttag-pi pi)
  ;; Parses a structured PI and returns a list of values
  (let* ((strippi (strip pi))
	 (spacepos (string-index strippi " ")))
    (if (< spacepos 0)
	(list strippi)
	(let* ((pitarget (substring strippi 0 spacepos))
	       (pivalues (strip (substring strippi 
					   (+ spacepos 1)
					   (string-length strippi)))))
	  (let loop ((values pivalues) (result (list pitarget)))
	    (if (string=? values "")
		result
		(loop (parse-skip-pi-attribute values)
		      (append result (parse-pi-attribute values)))))))))
docbook-dsssl-1.79/doc/lib/parse-skip-pi-attribute.html0000644000175000001440000000465210142565347023604 0ustar msmithusers00000000000000 parse-skip-pi-attribute

parse-skip-pi-attribute

Name

parse-skip-pi-attribute -- no documented purpose

Synopsis

(parse-skip-pi-attribute pivalues)

Source Code

(define (parse-skip-pi-attribute pivalues)
  (parse-pi-attribute pivalues #t))
docbook-dsssl-1.79/doc/lib/parse-pi-attribute.html0000644000175000001440000000555210142565346022637 0ustar msmithusers00000000000000 parse-pi-attribute

parse-pi-attribute

Name

parse-pi-attribute -- no documented purpose

Synopsis

(parse-pi-attribute pivalues #!optional (skip #f))

Source Code

(define (parse-pi-attribute pivalues #!optional (skip #f))
  (let* ((equalpos (string-index pivalues "="))
	 (name     (substring pivalues 0 equalpos))
	 (quotchar (substring pivalues (+ equalpos 1) (+ equalpos 2)))
	 (rest     (substring pivalues 
			      (+ equalpos 2) 
			      (string-length pivalues)))
	 (quotpos  (string-index rest quotchar))
	 (value    (substring rest 0 quotpos))
	 (morevals (strip (substring rest 
				     (+ quotpos 1) 
				     (string-length rest)))))
    (if skip
	morevals
	(list name value))))
docbook-dsssl-1.79/doc/lib/string-index.html0000644000175000001440000000570510142565346021531 0ustar msmithusers00000000000000 string-index

string-index

Name

string-index -- Finds first occurance of 'target' in 'source'

Synopsis

(string-index source target)

Description

Returns the position of the first occurance of target in source, or -1 if it does not occur.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (string-index source target)
  ;; Finds first occurance of 'target' in 'source'
  (let loop ((str source) (pos 0))
    (if (< (string-length str) (string-length target))
	-1
	(if (string=? (substring str 0 (string-length target)) target)
	    pos
	    (loop (substring str 1 (string-length str))
		  (+ pos 1))))))
docbook-dsssl-1.79/doc/lib/trim-string.html0000644000175000001440000000611610142565346021372 0ustar msmithusers00000000000000 trim-string

trim-string

Name

trim-string -- Trims the tail off of a string

Synopsis

(trim-string str string-list)

Description

If str ends with any of the strings in string-list, trim that string off and return the base string. E.g., (trim-string "filename.sgm" (".sgm" ".xml" ".sgml")) returns "filename".

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (trim-string str string-list)
  ;; Trims the tail off of a string
  (let ((strlen (string-length str)))
    (let loop ((sl string-list))
      (if (null? sl)
	  str
	  (if (equal? 
	       (substring str (- strlen (string-length (car sl))) strlen)
	       (car sl))
	      (substring str 0 (- strlen (string-length (car sl))))
	      (loop (cdr sl)))))))
docbook-dsssl-1.79/doc/lib/system-id-filename.html0000644000175000001440000000563210142565346022611 0ustar msmithusers00000000000000 system-id-filename

system-id-filename

Name

system-id-filename -- Returns the filename part of the system id of target

Synopsis

(system-id-filename target)

Description

The entity-generated-system-id of target seems to begin with a keyword, usually OSFILE on my system, in angle brackets. This function removes the leading OSFILE bit.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (system-id-filename target)
  ;; Returns the filename part of the system id of target
  (let* ((sysid  (entity-generated-system-id target))
	 (fnbits (split sysid '(#\>)))
	 (fntail (cdr fnbits)))
    (join fntail "\U-0061;")))
docbook-dsssl-1.79/doc/lib/url-encode-string.html0000644000175000001440000000566410142565346022463 0ustar msmithusers00000000000000 url-encode-string

url-encode-string

Name

url-encode-string -- Returns str with all special characters %-encoded

Synopsis

(url-encode-string str)

Description

Converts str to a properly encoded URL string. Returns str unchanged if it is not a string.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (url-encode-string str)
  ;; Returns str with all special characters %-encoded
  (if (string? str)
      (let loop ((charlist (string->list str)) (url ""))
	(if (null? charlist)
	    url
	    (loop (cdr charlist) 
		  (string-append url (url-encode-char (car charlist))))))
      str))
docbook-dsssl-1.79/doc/lib/url-encode-char.html0000644000175000001440000000646610142565346022073 0ustar msmithusers00000000000000 url-encode-char

url-encode-char

Name

url-encode-char -- Returns the url-encoded equivalent of a character

Synopsis

(url-encode-char ch)

Description

Converts ch to a properly encoded URL character.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (url-encode-char ch)
  ;; Returns the url-encoded equivalent of a character
  (cond ((char=? ch #\space)  "%20") ; space
	((char=? ch #\U-0026) "%26") ; ampersand
	((char=? ch #\?)      "%3F") ; question
	((char=? ch #\{)      "%7B") ; open curly
	((char=? ch #\})      "%7D") ; close curly
	((char=? ch #\|)      "%7C") ; vertical bar
	((char=? ch #\\)      "%5C") ; backslash
	((char=? ch #\/)      "%2F") ; slash
	((char=? ch #\^)      "%5E") ; caret
	((char=? ch #\~)      "%7E") ; tilde
	((char=? ch #\[)      "%5B") ; open square
	((char=? ch #\])      "%5D") ; close square
	((char=? ch #\`)      "%60") ; backtick
	((char=? ch #\%)      "%25") ; percent
	((char=? ch #\+)      "%2B") ; plus
	(else (string ch))))
docbook-dsssl-1.79/doc/lib/include-characters.html0000644000175000001440000000615510142565346022656 0ustar msmithusers00000000000000 include-characters

include-characters

Name

include-characters -- Return the character content of fileref

Synopsis

(include-characters fileref)

Description

Opens and loads fileref with (read-entity); returns the content of fileref as characters. Trims the last trailing newline off the file so that "the right thing" happens in asis environments.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (include-characters fileref)
  ;; Return the character content of fileref
  (let* ((newline #\U-000D)
	 (file-content  (read-entity fileref))
	 (file-length   (string-length file-content))
	 ;; If the last char is a newline, drop it, otherwise print it...
	 (content       (if (equal? newline (string-ref file-content
							(- file-length 1)))
			    (substring file-content 0 (- file-length 1))
			    file-content)))
    content))
docbook-dsssl-1.79/doc/lib/include-file.html0000644000175000001440000000545010142565346021453 0ustar msmithusers00000000000000 include-file

include-file

Name

include-file -- Return the literal content of fileref

Synopsis

(include-file fileref)

Description

Opens and loads fileref with (read-entity); returns the content of fileref as a (literal). Trims the last trailing newline off the file so that "the right thing" happens in asis environments.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (include-file fileref)
  ;; Return the literal content of fileref
  (literal (include-characters fileref)))
docbook-dsssl-1.79/doc/lib/node-2-string.html0000644000175000001440000000616310142565346021505 0ustar msmithusers00000000000000 node-list->string

node-list->string

Name

node-list->string -- Return a string representation of the node list

Synopsis

(node-list->string nodelist)

Description

Builds a string representation of the node list and returns it. The representation is

"gi(firstchildgi()secondchildgi(firstgrandchildgi())) secondgi()..."

This is a debugging function, in case that wasn't obvious...

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (node-list->string nodelist)
  ;; Return a string representation of the node list
  (let loop ((nl nodelist) (res ""))
    (if (node-list-empty? nl)
	res
	(loop (node-list-rest nl)
	      (string-append res 
			     (if (gi (node-list-first nl))
				 (string-append
				  (gi (node-list-first nl))
				  "("
				  (node-list->string 
				   (children (node-list-first nl)))
				  ")")
				 ""))))))
docbook-dsssl-1.79/doc/lib/normalize.html0000644000175000001440000000570110142565346021112 0ustar msmithusers00000000000000 normalize

normalize

Name

normalize -- Normalize the str according to the SGML declaration in effect

Synopsis

(normalize str)

Description

Performs SGML general name normalization on the string; used to compare attribute names and generic identifiers correctly according to the SGML declaration in effect; this is necessary since XML is case-sensitive but the reference concrete syntax and many SGML DTDs are not.

Author

Chris Maden

Source Code

(define (normalize str)
  ;; Normalize the str according to the SGML declaration in effect
  (if (string? str)
      (general-name-normalize str
			      (current-node))
      str))
docbook-dsssl-1.79/doc/lib/length-string-unit-part.html0000644000175000001440000000626410142565346023625 0ustar msmithusers00000000000000 length-string-unit-part

length-string-unit-part

Name

length-string-unit-part -- Returns the unit part of a length string

Synopsis

(length-string-unit-part lenstr)

Description

Given a length as a string, return the units part.

Example

"100pt" returns "pt". "30" returns "". "in" returns "in".

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (length-string-unit-part lenstr)
  ;; Returns the unit part of a length string
  (let ((number-part (length-string-number-part lenstr))
	(strlen (string-length lenstr)))
    (if (equal? (string-length number-part) strlen)
	""
	(substring lenstr (string-length number-part) strlen))))
docbook-dsssl-1.79/doc/lib/length-string-number-part.html0000644000175000001440000000652310142565346024134 0ustar msmithusers00000000000000 length-string-number-part

length-string-number-part

Name

length-string-number-part -- Returns the numeric part of a length string

Synopsis

(length-string-number-part lenstr)

Description

Given a length as a string, return the numeric part.

Example

"100pt" returns "100". "30" returns "30". "in" returns "".

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (length-string-number-part lenstr)
  ;; Returns the numeric part of a length string
  (let ((digits '(#\0 #\1 #\2 #\3 #\4 #\5 #\6 #\7 #\8 #\9 #\.)))
    (let loop ((chars (string->list lenstr))
	       (number-part ""))
      (if (or (null? chars) (not (member (car chars) digits)))
	  number-part
	  (loop (cdr chars) (string-append number-part 
					   (string (car chars))))))))
docbook-dsssl-1.79/doc/lib/sgml-root-elementX3F.html0000644000175000001440000000541410142565346023006 0ustar msmithusers00000000000000 sgml-root-element?

sgml-root-element?

Name

sgml-root-element? -- Test if a node is the root element

Synopsis

(sgml-root-element? node)

Description

Returns #t if node is the root element of the current document.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (sgml-root-element? node)
  ;; Test if a node is the root element
  (node-list=? node (sgml-root-element node)))
docbook-dsssl-1.79/doc/lib/sgml-root-element.html0000644000175000001440000000560610142565345022467 0ustar msmithusers00000000000000 sgml-root-element

sgml-root-element

Name

sgml-root-element -- Returns the node that is the root element of the current document

Synopsis

(sgml-root-element #!optional (grove-node (current-node)))

Description

Returns the node that is the root element of the current document

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (sgml-root-element #!optional (grove-node (current-node)))
  ;; Returns the node that is the root element of the current document
  (node-property 'document-element (node-property 'grove-root grove-node)))
docbook-dsssl-1.79/doc/lib/decrement-list-members.html0000644000175000001440000000644310142565345023464 0ustar msmithusers00000000000000 decrement-list-members

decrement-list-members

Name

decrement-list-members -- Decrement each member of a list

Synopsis

(decrement-list-members vlist #!optional (decr 1) (floor 0))

Description

Decrement all the values of a list by decr, not to fall below floor.

vlist

The list of values. All the values of this list should be numeric.

decr

The amount by which each element of the list should be decremented. The default is 1.

floor

The value below which each member of the list is not allowed to fall. The default is 0.

Author

David Carlisle

Source Code

(define (decrement-list-members vlist #!optional (decr 1) (floor 0))
  ;; Decrement each member of a list
  (map (lambda (a) 
	 (if (<= a (+ decr floor))
	     floor
	     (- a decr)))
       vlist))
docbook-dsssl-1.79/doc/lib/list-put.html0000644000175000001440000000646310142565345020700 0ustar msmithusers00000000000000 list-put

list-put

Name

list-put -- Replace a specific member of a list

Synopsis

(list-put vlist ordinal value #!optional (span 1))

Description

Replaces the ordinalth value of vlist with value. If span > 1, replaces ordinal to ordinal+span-1 values starting at ordinal.

Example

(list-put (1 2 3 4 5) 2 0 2) returns (1 0 0 4 5).

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (list-put vlist ordinal value #!optional (span 1))
  ;; Replace a specific member of a list
  (let loop ((result vlist) (count span) (k ordinal))
    (if (equal? count 0)
	result
	(let ((head (list-head result (- k 1)))
	      (tail (list-tail result k)))
	  (loop (append head (list value) tail) (- count 1) (+ k 1))))))
docbook-dsssl-1.79/doc/lib/list-head.html0000644000175000001440000000562410142565345020767 0ustar msmithusers00000000000000 list-head

list-head

Name

list-head -- Return the head of a list

Synopsis

(list-head inputlist k)

Description

Returns the list that contains the first k elements of inputlist.

Example

(list-head (1 2 3 4) 2) returns (1 2).

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (list-head inputlist k)
  ;; Return the head of a list
  (let loop ((l inputlist) (count k) (result '()))
    (if (<= count 0)
	result
	(loop (cdr l) (- count 1) (append result (list (car l)))))))
docbook-dsssl-1.79/doc/lib/constant-list.html0000644000175000001440000000534310142565345021715 0ustar msmithusers00000000000000 constant-list

constant-list

Name

constant-list -- Returns a list of the specified value

Synopsis

(constant-list value length)

Description

Return a list containing length elements, each of value.

Author

David Carlisle

Source Code

(define (constant-list value length)
  ;; Returns a list of the specified value
   (let loop ((count (abs length)) (result '()))
     (if (equal? count 0)
         result
         (loop (- count 1) (cons value  result)))))
docbook-dsssl-1.79/doc/lib/nth-node.html0000644000175000001440000000534510142565345020631 0ustar msmithusers00000000000000 nth-node

nth-node

Name

nth-node -- Return a specific node in a node list (by numeric index)

Synopsis

(nth-node nl k)

Description

Returns the kth node in nl. The first node in the node list has the index "1".

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (nth-node nl k)
  ;; Return a specific node in a node list (by numeric index)
  (if (equal? k 1)
      (node-list-first nl)
      (nth-node (node-list-rest nl) (- k 1))))
docbook-dsssl-1.79/doc/lib/dingbat.html0000644000175000001440000001041310142565345020515 0ustar msmithusers00000000000000 dingbat

dingbat

Name

dingbat -- Map dingbat names to Unicode characters

Synopsis

(dingbat usrname)

Description

Map a dingbat name to the appropriate Unicode character.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (dingbat usrname)
  ;; Map dingbat names to Unicode characters
  ;; Print dingbats and other characters selected by name
  (let ((name (case-fold-down usrname)))
    (case name
      ;; For backward compatibility
      (("box") 			"\white-square;")
      (("checkbox")		"\white-square;")
      ;; \check-mark prints the wrong symbol (in Jade 0.8 RTF backend)
      (("check")		"\heavy-check-mark;") 
      (("checkedbox")		"\ballot-box-with-check;")
      (("dash")			"\em-dash;")
      (("copyright")		"\copyright-sign")

      ;; Straight out of Unicode
      (("raquo")                "\U-00BB;")
      (("laquo")                "\U-00AB;")
      (("rsaquo")               "\U-203A;")
      (("lsaquo")               "\U-2039;")
      (("lsquo")		"\U-2018;")
      (("rsquo")		"\U-2019;")
      (("ldquo")		"\U-201C;")
      (("rdquo")		"\U-201D;")
      (("ldquor")		"\U-201E;")
      (("rdquor")		"\U-201D;")
      (("en-dash")		"\en-dash;")
      (("em-dash")		"\em-dash;")
      (("en-space")		"\U-2002;")
      (("em-space")		"\U-2003;")
      (("bullet")		"\bullet;")
      (("black-square")		"\black-square;")
      (("white-square")		"\white-square;")
      ;; \ballot-box name doesn't work (in Jade 0.8 RTF backend)
      ;; and \white-square looks better than \U-2610; anyway
      (("ballot-box")		"\white-square;")
      (("ballot-box-with-check")	"\ballot-box-with-check;")
      (("ballot-box-with-x")	"\ballot-box-with-x;")
      ;; \check-mark prints the wrong symbol (in Jade 0.8 RTF backend)
      (("check-mark")		"\heavy-check-mark;") 
      ;; \ballot-x prints out the wrong symbol (in Jade 0.8 RTF backend)
      (("ballot-x")		"\heavy-check-mark;")
      (("copyright-sign")	"\copyright-sign;")
      (("registered-sign")	"\registered-sign;")
      (else "\bullet;"))))
docbook-dsssl-1.79/doc/lib/measurement-to-length.html0000644000175000001440000000625310142565345023340 0ustar msmithusers00000000000000 measurement-to-length

measurement-to-length

Name

measurement-to-length -- Convert a measurement to a length

Synopsis

(measurement-to-length measure)

Description

Given a string containing a measurement, return that measurement as a length.

Example

"2.5cm" returns 2.5cm as a length. "3.4barleycorn" returns 6.8pi.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (measurement-to-length measure)
  ;; Convert a measurement to a length
  (let* ((pm (car (parse-measurement measure)))
	 (pu (car (cdr (parse-measurement measure))))
	 (magnitude (if pm pm "1"))
	 (units     (if pu pu (if pm "pt" "default")))
	 (unitconv  (assoc units unit-conversion-alist))
	 (factor    (if unitconv (car (cdr unitconv)) 1pt)))
    (* (string->number magnitude) factor)))
docbook-dsssl-1.79/doc/lib/unit-conversion-alist.html0000644000175000001440000000552410142565345023370 0ustar msmithusers00000000000000 unit-conversion-alist

unit-conversion-alist

Name

unit-conversion-alist -- Defines the base length of specific unit names

Synopsis

unit-conversion-alist

Description

This list identifies the length of each unit.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define unit-conversion-alist
  ;; Defines the base length of specific unit names
  (list
   '("default" 1pi)
   '("mm" 1mm)
   '("cm" 1cm)
   '("in" 1in)
   '("pi" 1pi)
   '("pc" 1pi)
   '("pt" 1pt)
   '("px" 1px)
   '("barleycorn" 2pi)))
docbook-dsssl-1.79/doc/lib/parse-measurement.html0000644000175000001440000000725310142565345022552 0ustar msmithusers00000000000000 parse-measurement

parse-measurement

Name

parse-measurement -- Parse a string containing a measurement and return the magnitude and units

Synopsis

(parse-measurement measure)

Description

Parse a string containing a measurement, e.g., "3pi" or "2.5in", and return the magnitude and units: (3 "pi") or (2.5 "in").

Either element of the list may be #f if the string cannot reasonably be parsed as a measurement. Leading and trailing spaces are ignored.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (parse-measurement measure)
  ;; Parse a string containing a measurement and return the magnitude and units
  (let* ((magstart  (find-first-char measure " " "0123456789."))
	 (unitstart (find-first-char measure " 0123456789." ""))
	 (unitend   (find-first-char measure "" " " unitstart))
	 (magnitude (if (< magstart 0)
			#f
			(if (< unitstart 0)
			    (substring measure 
				       magstart 
				       (string-length measure))
			    (substring measure magstart unitstart))))
	 (unit      (if (< unitstart 0)
			#f
			(if (< unitend 0)
			    (substring measure 
				       unitstart 
				       (string-length measure))
			    (substring measure unitstart unitend)))))
  (list magnitude unit)))
docbook-dsssl-1.79/doc/lib/find-first-char.html0000644000175000001440000000765510142565345022103 0ustar msmithusers00000000000000 find-first-char

find-first-char

Name

find-first-char -- Find the first occurance of a character in a string

Synopsis

(find-first-char string skipchars findchars #!optional (pos 0))

Description

Finds first character in string that is in findchars, skipping all occurances of characters in skipchars. Search begins at pos. If no such characters are found, returns -1.

If skipchars is empty, skip anything not in findchars If skipchars is #f, skip nothing If findchars is empty, the first character not in skipchars is matched It is an error if findchars is not a string. It is an error if findchars is empty and skipchars is not a non-empty string.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (find-first-char string skipchars findchars #!optional (pos 0))
  ;; Find the first occurance of a character in a string
  (let ((skiplist (if (string? skipchars)
		      (string->list skipchars)
		      '()))
	(findlist (string->list findchars)))
    (if (and (null? skiplist) (null? findlist))
	;; this is an error
	-2
	(if (or (>= pos (string-length string)) (< pos 0))
	    -1
	    (let ((ch (string-ref string pos)))
	      (if (null? skiplist) 
		  ;; try to find first
		  (if (member ch findlist)
		      pos
		      (if (string? skipchars)
			  (find-first-char string 
					   skipchars findchars (+ 1 pos))
			  -1))
		  ;; try to skip first
		  (if (member ch skiplist)
		      (find-first-char string skipchars findchars (+ 1 pos))
		      (if (or (member ch findlist) (null? findlist))
			  pos
			  -1))))))))
docbook-dsssl-1.79/doc/lib/case-fold-up.html0000644000175000001440000000524410142565345021372 0ustar msmithusers00000000000000 case-fold-up

case-fold-up

Name

case-fold-up -- Shift a string to uppercase

Synopsis

(case-fold-up str)

Description

Returns str in uppercase.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (case-fold-up str)
  ;; Shift a string to uppercase
  (if (string? str)
      (apply string (case-fold-up-charlist (string->list str)))
      str))
docbook-dsssl-1.79/doc/lib/case-fold-down.html0000644000175000001440000000530610142565345021714 0ustar msmithusers00000000000000 case-fold-down

case-fold-down

Name

case-fold-down -- Shift a string to lowercase

Synopsis

(case-fold-down str)

Description

Returns str in lowercase.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (case-fold-down str)
  ;; Shift a string to lowercase
  (if (string? str)
      (apply string (case-fold-down-charlist (string->list str)))
      str))
docbook-dsssl-1.79/doc/lib/case-fold-up-charlist.html0000644000175000001440000000564710142565344023207 0ustar msmithusers00000000000000 case-fold-up-charlist

case-fold-up-charlist

Name

case-fold-up-charlist -- Return the list of characters, shifted to uppercase

Synopsis

(case-fold-up-charlist charlist)

Description

Shifts all of the characters in charlist to uppercase with case-fold-up-char.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (case-fold-up-charlist charlist)
  ;; Return the list of characters, shifted to uppercase
  (if (null? charlist)
      '()
      (cons (case-fold-up-char (car charlist)) 
	    (case-fold-up-charlist (cdr charlist)))))
docbook-dsssl-1.79/doc/lib/case-fold-down-charlist.html0000644000175000001440000000567610142565344023534 0ustar msmithusers00000000000000 case-fold-down-charlist

case-fold-down-charlist

Name

case-fold-down-charlist -- Return the list of characters, shifted to lowercase

Synopsis

(case-fold-down-charlist charlist)

Description

Shifts all of the characters in charlist to lowercase with case-fold-down-char.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (case-fold-down-charlist charlist)
  ;; Return the list of characters, shifted to lowercase
  (if (null? charlist)
      '()
      (cons (case-fold-down-char (car charlist)) 
	    (case-fold-down-charlist (cdr charlist)))))
docbook-dsssl-1.79/doc/lib/case-fold-up-char.html0000644000175000001440000000735410142565344022310 0ustar msmithusers00000000000000 case-fold-up-char

case-fold-up-char

Name

case-fold-up-char -- Return the uppercase form of a single character

Synopsis

(case-fold-up-char ch #!optional (uc-list default-uppercase-list)       (lc-list default-lowercase-list))

Description

Returns the uppercase form of ch if ch is a member of lowercase-list, otherwise return ch.

The implied mapping from uppercase to lowercase in the two lists is one-to-one. The first element of the uppercase list is the uppercase form of the first element of the lowercase list, and vice versa.

ch

The character to fold down.

uc-list

The list of uppercase letters. The default is the list of English uppercase letters.

lc-list

The list of lowercase letters. The default is the list of English lowercase letters.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (case-fold-up-char ch #!optional (uc-list default-uppercase-list)
					 (lc-list default-lowercase-list))
  ;; Return the uppercase form of a single character
  (let ((idx (list-member-find ch lc-list)))
    (if (>= idx 0)
	(list-ref uc-list idx)
	ch)))
docbook-dsssl-1.79/doc/lib/case-fold-down-char.html0000644000175000001440000000732610142565344022632 0ustar msmithusers00000000000000 case-fold-down-char

case-fold-down-char

Name

case-fold-down-char -- Return the lowercase form of a single character

Synopsis

(case-fold-down-char ch #!optional (uc-list default-uppercase-list)         (lc-list default-lowercase-list))

Description

Returns the lowercase form of ch if ch is a member of the uppercase list, otherwise return ch.

The implied mapping from uppercase to lowercase in the two lists is one-to-one. The first element of the uppercase list is the uppercase form of the first element of the lowercase list, and vice versa.

ch

The character to fold down.

uc-list

The list of uppercase letters. The default is the list of English uppercase letters.

lc-list

The list of lowercase letters. The default is the list of English lowercase letters.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (case-fold-down-char ch #!optional (uc-list default-uppercase-list)
					   (lc-list default-lowercase-list))
  ;; Return the lowercase form of a single character
  (let ((idx (list-member-find ch uc-list)))
    (if (>= idx 0)
	(list-ref lc-list idx)
	ch)))
docbook-dsssl-1.79/doc/lib/default-lowercase-list.html0000644000175000001440000000567110142565344023475 0ustar msmithusers00000000000000 default-lowercase-list

default-lowercase-list

Name

default-lowercase-list -- The default list of lowercase characters

Synopsis

default-lowercase-list

Description

The default list of lowercase characters. The order and sequence of characters in this list must match the order and sequence in default-uppercase-list.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define default-lowercase-list
  ;; The default list of lowercase characters
  '(#\a #\b #\c #\d #\e #\f #\g #\h #\i #\j #\k #\l #\m
    #\n #\o #\p #\q #\r #\s #\t #\u #\v #\w #\x #\y #\z))
docbook-dsssl-1.79/doc/lib/default-uppercase-list.html0000644000175000001440000000565210142565344023477 0ustar msmithusers00000000000000 default-uppercase-list

default-uppercase-list

Name

default-uppercase-list -- The default list of uppercase characters

Synopsis

default-uppercase-list

Description

The default list of uppercase characters. The order and sequence of characters in this list must match the order and sequence in default-lowercase-list.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define default-uppercase-list
  ;; The default list of uppercase characters
  '(#\A #\B #\C #\D #\E #\F #\G #\H #\I #\J #\K #\L #\M
    #\N #\O #\P #\Q #\R #\S #\T #\U #\V #\W #\X #\Y #\Z))
docbook-dsssl-1.79/doc/lib/list-member-find.html0000644000175000001440000000561410142565344022251 0ustar msmithusers00000000000000 list-member-find

list-member-find

Name

list-member-find -- Returns the index of an element in a list

Synopsis

(list-member-find element elementlist)

Description

Returns the index of element in the list elementlist. The first element in a list has index 0.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (list-member-find element elementlist)
  ;; Returns the index of an element in a list
  (let loop ((elemlist elementlist) (count 0))
    (if (null? elemlist)
	-1
	(if (equal? element (car elemlist))
	    count
	    (loop (cdr elemlist) (+ count 1))))))
docbook-dsssl-1.79/doc/lib/expt.html0000644000175000001440000000532210142565344020067 0ustar msmithusers00000000000000 expt

expt

Name

expt -- Exponentiation

Synopsis

(expt b n)

Description

Returns b raised to the nth power for integer n >= 0.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (expt b n)
  ;; Exponentiation
  ;; 
  (if (<= n 0)
      1
      (* b (expt b (- n 1)))))
docbook-dsssl-1.79/doc/lib/component-list-child-number.html0000644000175000001440000000665310142565344024441 0ustar msmithusers00000000000000 component-list-child-number

component-list-child-number

Name

component-list-child-number -- Find child-number of a list of children within a component

Synopsis

(component-list-child-number inputnd inputlist complist)

Description

Finds the first ancestor of inputnd in complist and then counts all the elements of the types in inputlist from that point on and returns the number of inputnd.

If the node is not found, 0 is returned.

WARNING: this requires walking over *all* the descendants of the ancestor node. This may be *slow*.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (component-list-child-number inputnd inputlist complist)
  ;; Find child-number of a list of children within a component
    (let loop ((nl (component-list-descendant-node-list
		    inputnd inputlist complist))
	       (num 1))
      (if (node-list-empty? nl)
	  0
	  (if (node-list=? (node-list-first nl) inputnd)
	      num
	      (loop (node-list-rest nl) (+ num 1))))))
docbook-dsssl-1.79/doc/lib/component-descendant-list-node-list.html0000644000175000001440000000676110142565344026074 0ustar msmithusers00000000000000 component-list-descendant-node-list

component-list-descendant-node-list

Name

component-list-descendant-node-list -- Find all elements of a list of elements in a component

Synopsis

(component-list-descendant-node-list inputnd inputlist complist)

Description

Finds the first ancestor of inputnd in complist and then returns a list of all the elements in inputlist within that component.

WARNING: this requires walking over *all* the descendants of the ancestor node. This may be *slow*.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (component-list-descendant-node-list inputnd inputlist complist)
  ;; Find all elements of a list of elements in a component
  (let ((nd (ancestor-member inputnd complist)))
    (let loop ((nl (descendants nd)) (result (empty-node-list)))
      (if (node-list-empty? nl)
	  result
	  (if (member (gi (node-list-first nl)) inputlist)
	      (loop (node-list-rest nl) 
		    (node-list result (node-list-first nl)))
	      (loop (node-list-rest nl) 
		    result))))))
docbook-dsssl-1.79/doc/lib/component-child-number.html0000644000175000001440000000701710142565344023463 0ustar msmithusers00000000000000 component-child-number

component-child-number

Name

component-child-number -- Find child-number within a component

Synopsis

(component-child-number inputnd complist)

Description

Finds the first ancestor of inputnd in complist and then counts all the elements of type inputnd from that point on and returns the number of inputnd. (This is like a recursive-child-number starting at the first parent of inputnd in complist.)

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (component-child-number inputnd complist)
  ;; Find child-number within a component
  (let loop ((nl (component-descendant-node-list inputnd complist))
	     (num 1))
    (if (node-list-empty? nl)
	0
	(if (node-list=? (node-list-first nl) inputnd)
	    num
	    (if (string=? (gi (node-list-first nl)) (gi inputnd))
		(loop (node-list-rest nl) (+ num 1))
		(loop (node-list-rest nl) num))))))
docbook-dsssl-1.79/doc/lib/component-descendant-node-list.html0000644000175000001440000000613310142565344025114 0ustar msmithusers00000000000000 component-descendant-node-list

component-descendant-node-list

Name

component-descendant-node-list -- Find all 'inputnd's within an ancestor element

Synopsis

(component-descendant-node-list inputnd complist)

Description

Finds the first ancestor of inputnd in complist and then returns a node list of all the inputnds within (that are descendants of) that ancestor.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (component-descendant-node-list inputnd complist)
  ;; Find all 'inputnd's within an ancestor element
  (let ((nd (ancestor-member inputnd complist)))
    (select-elements (descendants nd) (gi inputnd))))
docbook-dsssl-1.79/doc/lib/node-list-filter-elements.html0000644000175000001440000000610610142565343024102 0ustar msmithusers00000000000000 node-list-filter-elements

node-list-filter-elements

Name

node-list-filter-elements -- Returns the elements in 'nodelist'

Synopsis

(node-list-filter-elements nodelist)

Description

Returns the elements in nodelist

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (node-list-filter-elements nodelist)
  ;; Returns the elements in 'nodelist'
  (let loop ((result (empty-node-list)) (nl nodelist))
    (if (node-list-empty? nl)
	result
	(if (equal? (node-property 'class-name (node-list-first nl)) 'element)
	    (loop (node-list result (node-list-first nl))
		  (node-list-rest nl))
	    (loop result (node-list-rest nl))))))
docbook-dsssl-1.79/doc/lib/node-list-filter-out-pis.html0000644000175000001440000000623110142565343023665 0ustar msmithusers00000000000000 node-list-filter-out-pis

node-list-filter-out-pis

Name

node-list-filter-out-pis -- Returns the nodelist with all PIs removed

Synopsis

(node-list-filter-out-pis nodelist)

Description

Returns a node list containing all the nodes from nodelist that are not PIs. The order of nodes in the node list is preserved.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (node-list-filter-out-pis nodelist)
  ;; Returns the nodelist with all PIs removed
  (let loop ((result (empty-node-list)) (nl nodelist))
    (if (node-list-empty? nl)
	result
	(if (equal? (node-property 'class-name (node-list-first nl)) 'pi)
	    (loop result (node-list-rest nl))
	    (loop (node-list result (node-list-first nl))
		  (node-list-rest nl))))))
docbook-dsssl-1.79/doc/lib/node-list-filter-by-not-gi.html0000644000175000001440000000626610142565343024102 0ustar msmithusers00000000000000 node-list-filter-by-not-gi

node-list-filter-by-not-gi

Name

node-list-filter-by-not-gi -- Returns selected elements from a node list

Synopsis

(node-list-filter-by-not-gi nodelist gilist)

Description

Returns a node list containing all the nodes from nodelist whose GIs are NOT members of gilist. The order of nodes in the node list is preserved.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (node-list-filter-by-not-gi nodelist gilist)
  ;; Returns selected elements from a node list
  (let loop ((result (empty-node-list)) (nl nodelist))
    (if (node-list-empty? nl)
	result
	(if (member (gi (node-list-first nl)) gilist)
	    (loop result (node-list-rest nl))
	    (loop (node-list result (node-list-first nl))
		  (node-list-rest nl))))))
docbook-dsssl-1.79/doc/lib/node-list-filter-by-gi.html0000644000175000001440000000615610142565343023302 0ustar msmithusers00000000000000 node-list-filter-by-gi

node-list-filter-by-gi

Name

node-list-filter-by-gi -- Returns selected elements from a node list

Synopsis

(node-list-filter-by-gi nodelist gilist)

Description

Returns a node list containing all the nodes from nodelist whose GIs are members of gilist. The order of nodes in the node list is preserved.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (node-list-filter-by-gi nodelist gilist)
  ;; Returns selected elements from a node list
  (let loop ((result (empty-node-list)) (nl nodelist))
    (if (node-list-empty? nl)
	result
	(if (member (gi (node-list-first nl)) gilist)
	    (loop (node-list result (node-list-first nl)) 
		  (node-list-rest nl))
	    (loop result (node-list-rest nl))))))
docbook-dsssl-1.79/doc/lib/copy-string.html0000644000175000001440000000575110142565343021372 0ustar msmithusers00000000000000 copy-string

copy-string

Name

copy-string -- Return a string duplicated a specified number of times

Synopsis

(copy-string string num)

Description

Copies string num times and returns the result.

Example

(copy-string "x" 3) returns "xxx"

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (copy-string string num)
  ;; Return a string duplicated a specified number of times
  (if (<= num 0)
      ""
      (let loop ((str string) (count (- num 1)))
	(if (<= count 0)
	    str
	    (loop (string-append str string) (- count 1))))))
docbook-dsssl-1.79/doc/lib/file-extension.html0000644000175000001440000000576510142565343022052 0ustar msmithusers00000000000000 file-extension

file-extension

Name

file-extension -- Return the extension of a filename

Synopsis

(file-extension filespec)

Description

Returns the extension of a filename. The extension is the last "."-delimited part of the name. Returns "" if there is no period in the filename.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (file-extension filespec) 
  ;; Return the extension of a filename
  (if (string? filespec)
      (let* ((pathparts (match-split filespec "/"))
	     (filename  (list-ref pathparts (- (length pathparts) 1)))
	     (fileparts (match-split filename "."))
	     (extension (list-ref fileparts (- (length fileparts) 1))))
	(if (> (length fileparts) 1)
	    extension
	    ""))
      ""))
docbook-dsssl-1.79/doc/lib/directory-depth.html0000644000175000001440000000650410142565343022217 0ustar msmithusers00000000000000 directory-depth

directory-depth

Name

directory-depth -- Count the directory depth of a path name

Synopsis

(directory-depth pathname)

Description

Returns the number of directory levels in pathname

The pathname must end in a filename. Further, this function assumes that directories in a pathname are separated by forward slashes ("/").

Example

"filename" => 0, "foo/filename" => 1, "foo/bar/filename => 2, "foo/bar/../filename => 1.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (directory-depth pathname)
  ;; Count the directory depth of a path name
  (let loop ((count 0) (pathlist (match-split pathname "/")))
    (if (null? pathlist)
	(- count 1) ;; pathname should always end in a filename
	(if (or (equal? (car pathlist) "/") (equal? (car pathlist) "."))
	    (loop count (cdr pathlist))
	    (if (equal? (car pathlist) "..")
		(loop (- count 1) (cdr pathlist))
		(loop (+ count 1) (cdr pathlist)))))))
docbook-dsssl-1.79/doc/lib/expand-children.html0000644000175000001440000000673310142565343022162 0ustar msmithusers00000000000000 expand-children

expand-children

Name

expand-children -- Expand selected nodes in a node list

Synopsis

(expand-children nodelist gilist)

Description

Given a node-list, expand-children replaces all of the members of the node-list whose GIs are members of gilist with (children).

This function can be used to selectively flatten the hierarchy of a document.

Example

Suppose that the node list is (BOOKINFO PREFACE PART APPENDIX). (expand-children nl ("PART")) might return (BOOKINFO PREFACE CHAPTER CHAPTER APPENDIX).

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (expand-children nodelist gilist)
  ;; Expand selected nodes in a node list
  (let loop ((nl nodelist) (result (empty-node-list)))
    (if (node-list-empty? nl)
	result
	(if (member (gi (node-list-first nl)) gilist)
	    (loop (node-list-rest nl) 
		  (node-list result (children (node-list-first nl))))
	    (loop (node-list-rest nl)
		  (node-list result (node-list-first nl)))))))
docbook-dsssl-1.79/doc/lib/descendant-of-p.html0000644000175000001440000000562510142565343022063 0ustar msmithusers00000000000000 descendant-of?

descendant-of?

Name

descendant-of? -- Returns true if the child is some descendant of the specified node

Synopsis

(descendant-of? ancestor child)

Description

Returns #t if child is a descendant of ancestor.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (descendant-of? ancestor child)
  ;; Returns true if the child is some descendant of the specified node
  (let loop ((c child))
    (if (node-list-empty? c)
	#f
	(if (node-list=? ancestor c)
	    #t
	    (loop (parent c))))))
docbook-dsssl-1.79/doc/lib/has-ancestor-member-p.html0000644000175000001440000000555510142565343023207 0ustar msmithusers00000000000000 has-ancestor-member?

has-ancestor-member?

Name

has-ancestor-member? -- Returns true if the specified node has one of a set of GIs as an ancestor

Synopsis

(has-ancestor-member? nd gilist)

Description

Returns #t if nd has an ancestor whose GI is a member of gilist.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (has-ancestor-member? nd gilist)
  ;; Returns true if the specified node has one of a set of GIs as an ancestor
  (not (node-list-empty? (ancestor-member nd gilist))))
docbook-dsssl-1.79/doc/lib/ancestor-member.html0000644000175000001440000000556710142565343022204 0ustar msmithusers00000000000000 ancestor-member

ancestor-member

Name

ancestor-member -- Returns the first ancestor in a list of GIs

Synopsis

(ancestor-member nd gilist)

Description

Returns the first ancestor of nd whose GI is a member of gilist.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (ancestor-member nd gilist)
  ;; Returns the first ancestor in a list of GIs
  (if (node-list-empty? nd)
      (empty-node-list)
      (if (member (gi nd) gilist)
	  nd
	  (ancestor-member (parent nd) gilist))))
docbook-dsssl-1.79/doc/lib/string-replace-list.html0000644000175000001440000000606210142565343023000 0ustar msmithusers00000000000000 string-replace-list

string-replace-list

Name

string-replace-list -- Replace a list of target substrings in a string

Synopsis

(string-replace-list string replace-list)

Description

Replaces, in string, all occurances of each target in replace-list with its replacement.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (string-replace-list string replace-list)
  ;; Replace a list of target substrings in a string
  (let loop ((str string) (pos 0))
    (if (>= pos (string-length str))
	str
	(loop (repl-substring-list str replace-list pos) 
	      (if (repl-substring-list? str replace-list pos)
		  (+ (string-length 
		      (repl-substring-list-repl str replace-list pos)) 
		     pos)
		  (+ 1 pos))))))
docbook-dsssl-1.79/doc/lib/string-replace.html0000644000175000001440000000577510142565343022041 0ustar msmithusers00000000000000 string-replace

string-replace

Name

string-replace -- Replace all occurances of a target substring in a string

Synopsis

(string-replace string target repl)

Description

Replaces all occurances of target in string with repl.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (string-replace string target repl)
  ;; Replace all occurances of a target substring in a string
  (let loop ((str string) (pos 0))
    (if (>= pos (string-length str))
	str
	(loop (repl-substring str target repl pos) 
	      (if (repl-substring? str target pos)
		  (+ (string-length repl) pos)
		  (+ 1 pos))))))
docbook-dsssl-1.79/doc/lib/repl-substring-list.html0000644000175000001440000000625410142565343023044 0ustar msmithusers00000000000000 repl-substring-list

repl-substring-list

Name

repl-substring-list -- Replace the first target in the replacement list that matches

Synopsis

(repl-substring-list string replace-list pos)

Description

Replaces the first target in replace-list that matches in string at pos with its replacement. See also repl-substring-list?.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (repl-substring-list string replace-list pos)
  ;; Replace the first target in the replacement list that matches
  (if (repl-substring-list? string replace-list pos)
      (let ((target (repl-substring-list-target string replace-list pos))
	    (repl   (repl-substring-list-repl string replace-list pos)))
	(repl-substring string target repl pos))
      string))
docbook-dsssl-1.79/doc/lib/repl-substring-list-repl.html0000644000175000001440000000633010142565342023776 0ustar msmithusers00000000000000 repl-substring-list-repl

repl-substring-list-repl

Name

repl-substring-list-repl -- Return the replacement that would be used in the string

Synopsis

(repl-substring-list-repl string replace-list pos)

Description

Returns the replacement in replace-list that would be used for the target that matches in string at pos See also repl-substring-list?.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (repl-substring-list-repl string replace-list pos)
  ;; Return the replacement that would be used in the string
  (let loop ((list replace-list))
    (let ((target (car list))
	  (repl   (car (cdr list)))
	  (rest   (cdr (cdr list))))
      (if (repl-substring? string target pos)
	  repl
	  (if (null? rest)
	      #f
	      (loop rest))))))
docbook-dsssl-1.79/doc/lib/repl-substring-list-target.html0000644000175000001440000000624310142565342024325 0ustar msmithusers00000000000000 repl-substring-list-target

repl-substring-list-target

Name

repl-substring-list-target -- Return the target that matches in a string

Synopsis

(repl-substring-list-target string replace-list pos)

Description

Returns the target in replace-list that matches in string at pos See also repl-substring-list?.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (repl-substring-list-target string replace-list pos)
  ;; Return the target that matches in a string
  (let loop ((list replace-list))
    (let ((target (car list))
	  (repl   (car (cdr list)))
	  (rest   (cdr (cdr list))))
      (if (repl-substring? string target pos)
	  target
	  (if (null? rest)
	      #f
	      (loop rest))))))
docbook-dsssl-1.79/doc/lib/repl-substring-list-p.html0000644000175000001440000001004410142565342023270 0ustar msmithusers00000000000000 repl-substring-list?

repl-substring-list?

Name

repl-substring-list? -- Perform repl-substring? with a list of target/replacement pairs

Synopsis

(repl-substring-list? string replace-list pos)

Description

Returns #t if any target in replace-list occurs at pos in string.

string

The string in which replacement should be tested.

replace-list

A list of target/replacement pairs. This list is just a list of strings, treated as pairs. For example, ("was" "x" "is" "y"). In this example, was may be replaced by x and is may be replaced by y.

pos

The location within string where the test will occur.

Example

(repl-substring-list? "this is it" ("was" "x" "is" "y") 2) returns #t: "is" could be replaced by "y".

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (repl-substring-list? string replace-list pos)
  ;; Perform repl-substring? with a list of target/replacement pairs
  (let loop ((list replace-list))
    (let ((target (car list))
	  (repl   (car (cdr list)))
	  (rest   (cdr (cdr list))))
      (if (repl-substring? string target pos)
	  #t
	  (if (null? rest)
	      #f
	      (loop rest))))))
docbook-dsssl-1.79/doc/lib/repl-substring.html0000644000175000001440000000572610142565342022075 0ustar msmithusers00000000000000 repl-substring

repl-substring

Name

repl-substring -- Replace substring in a string

Synopsis

(repl-substring string target repl pos)

Description

Replaces target with repl in string at pos.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (repl-substring string target repl pos)
  ;; Replace substring in a string
  (let ((matches (repl-substring? string target pos)))
    (if matches
	(string-append
	 (substring string 0 pos)
	 repl
	 (substring string 
		    (+ pos (string-length target)) 
		    (string-length string)))
	string)))
docbook-dsssl-1.79/doc/lib/repl-substring-p.html0000644000175000001440000000577610142565342022337 0ustar msmithusers00000000000000 repl-substring?

repl-substring?

Name

repl-substring? -- Returns true if the specified substring can be replaced

Synopsis

(repl-substring? string target pos)

Description

Returns #t if target occurs at pos in string.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (repl-substring? string target pos)
  ;; Returns true if the specified substring can be replaced
  (let* ((could-match (<= (+ pos (string-length target)) 
			 (string-length string)))
	 (match (if could-match 
		    (substring string pos (+ pos (string-length target))) "")))
    (and could-match (string=? match target))))
docbook-dsssl-1.79/doc/lib/string-list-sosofo.html0000644000175000001440000000716010142565342022674 0ustar msmithusers00000000000000 string-list-sosofo

string-list-sosofo

Name

string-list-sosofo -- Build sosofo from a list of strings and an associative list

Synopsis

(string-list-sosofo string-list assoc-list)

Description

Take a list of strings and an associative list that maps strings to sosofos and return an appended sosofo.

(This function is used for a particular task in the DocBook stylesheets. It may not be particularly general, but its in dblib.dsl' because there is nothing DTD-specific about it.)

Example

Given the string list ("what is " "1" " " "+" " " "1") and the associative list (("1" (literal "one")) ("2" (literal "two")) ("+" (literal "plus"))), (string-list-sosofo) returns the sequence of sosofos equivalent to (literal "what is one plus one").

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (string-list-sosofo string-list assoc-list)
  ;; Build sosofo from a list of strings and an associative list
  (if (null? string-list)
      (empty-sosofo)
      (sosofo-append (match-substitute-sosofo (car string-list) assoc-list)
		     (string-list-sosofo (cdr string-list) assoc-list))))
docbook-dsssl-1.79/doc/lib/match-substitute-sosofo.html0000644000175000001440000000606710142565342023727 0ustar msmithusers00000000000000 match-substitute-sosofo

match-substitute-sosofo

Name

match-substitute-sosofo -- Return matching sosofo from associative list

Synopsis

(match-substitute-sosofo string assoc-list)

Description

Given a string and an associative list of strings and sosofos, return the sosofo of the matching string, or return the literal string as a sosofo.

(This function is used for a particular task in the DocBook stylesheets. It may not be particularly general, but its in dblib.dsl' because there is nothing DTD-specific about it.)

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (match-substitute-sosofo string assoc-list)
  ;; Return matching sosofo from associative list
  (if (assoc string assoc-list)
      (car (cdr (assoc string assoc-list)))
      (literal string)))
docbook-dsssl-1.79/doc/lib/assoc.html0000644000175000001440000000631610142565342020221 0ustar msmithusers00000000000000 assoc

assoc

Name

assoc -- Returns the association of an object in an associative list

Synopsis

(assoc obj alist)

Description

Given an associative list, returns the pair that has obj as a car or #f if no such pair exists.

obj

The associative key to locate.

alist

The associative list.

Example

(assoc "a" (("a" "b") ("c" "d"))) returns ("a" "b")

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (assoc obj alist)
  ;; Returns the association of an object in an associative list
  (let loop ((al alist))
    (if (null? al)
	#f
	(if (equal? obj (car (car al)))
	    (car al)
	    (loop (cdr al))))))
docbook-dsssl-1.79/doc/lib/assoc-objs.html0000644000175000001440000000607110142565342021152 0ustar msmithusers00000000000000 assoc-objs

assoc-objs

Name

assoc-objs -- Returns a list of the objects in an associative list

Synopsis

(assoc-objs alist)

Description

Returns a list of the objects in an associative list.

alist

The associative list. An associative list is a list of lists where each interior list is a pair of elements.

Example

(assoc-objs (("a" "b") ("c" "d"))) returns ("a" "c")

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (assoc-objs alist)
  ;; Returns a list of the objects in an associative list
  (let loop ((result '()) (al alist))
    (if (null? al)
	result
	(loop (append result (list (car (car al)))) (cdr al)))))
docbook-dsssl-1.79/doc/lib/match-split-list.html0000644000175000001440000000636510142565342022313 0ustar msmithusers00000000000000 match-split-list

match-split-list

Name

match-split-list -- Splits a string at a list of targets and returns the resulting list of tokens

Synopsis

(match-split-list string target-list)

Description

Splits string at every target in target-list with (match-split), returning the whole collection of tokens as a list.

string

The string to split.

target-list

A list of target strings which are the delimters between tokens.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (match-split-list string target-list)
  ;; Splits a string at a list of targets and returns the resulting list of tokens
  (let loop ((result (list string)) (tlist target-list))
    (if (null? tlist)
	result
	(loop (match-split-string-list result (car tlist))
	      (cdr tlist)))))
docbook-dsssl-1.79/doc/lib/match-split-string-list.html0000644000175000001440000000636710142565342023621 0ustar msmithusers00000000000000 match-split-string-list

match-split-string-list

Name

match-split-string-list -- Splits each string in a list of strings and returns the concatenated result list

Synopsis

(match-split-string-list string-list target)

Description

Splits each string in string-list at target with (match-split), concatenates the results, and returns a single list of tokens.

string-list

The list of strings to split.

target

The string which is a delimiter between tokens.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (match-split-string-list string-list target)
  ;; Splits each string in a list of strings and returns the concatenated result list
  (let loop ((result '()) (sl string-list))
    (if (null? sl)
	result
	(loop (append result (match-split (car sl) target))
	      (cdr sl)))))
docbook-dsssl-1.79/doc/lib/match-split.html0000644000175000001440000000770410142565341021337 0ustar msmithusers00000000000000 match-split

match-split

Name

match-split -- Splits string at target and returns the resulting list of tokens

Synopsis

(match-split string target)

Description

Splits string at every occurance of target and returns the result as a list. Note that match-split returns the occurances of target in the list of tokens.

string

The string to split.

target

The string which is a delimiter between tokens

Example

"this is a test" split at "is" returns ("th" "is" " " "is" " a test")

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (match-split string target)
  ;; Splits string at target and returns the resulting list of tokens
  (if (string? string)
      (let loop ((result '()) (current "") (rest string))
	(if (< (string-length rest) (string-length target))
	    (append result (if (equal? (string-append current rest) "")
			       '()
			       (list (string-append current rest))))
	    (if (equal? target (substring rest 0 (string-length target)))
		(loop (append result 
			      (if (equal? current "")
				  '()
				  (list current))
			      (list target))
		      ""
		      (substring rest (string-length target) 
				 (string-length rest)))
		(loop result
		      (string-append current (substring rest 0 1))
		      (substring rest 1 (string-length rest))))))
      (list string)))
docbook-dsssl-1.79/doc/lib/pad-string.html0000644000175000001440000000744710142565341021166 0ustar msmithusers00000000000000 pad-string

pad-string

Name

pad-string -- Pads a string, in front, to the specified length

Synopsis

(pad-string string length padchar)

Description

Returns string, padded in front with padchar to at least length Returns string unmodified if string is not a (string?), padchar is not a (string?), padchar is the empty string, or if string is already greater than or equal to length in length.

string

The string to pad.

length

The desired length.

padchar

The character (string, actually) to use as padding. If padchar is longer than 1 character, the resulting string may be longer than length when returned.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (pad-string string length padchar)
  ;; Pads a string, in front, to the specified length
  (if (and (string? string) 
	   (string? padchar) 
	   (> (string-length padchar) 0))
      (let loop ((s string) (count (- length (string-length string))))
	(if (<= count 0)
	    s
	    (loop (string-append padchar s) 
		  (- count (string-length padchar)))))
      string))
docbook-dsssl-1.79/doc/lib/join.html0000644000175000001440000000613210142565341020043 0ustar msmithusers00000000000000 join

join

Name

join -- Joins a list of strings together

Synopsis

(join slist #!optional (space " "))

Description

Given a list of strings and a space string, returns the string that results from joining all the strings in the list together, separated by space.

slist

The list of strings.

space

The string to place between each member of the list. Defaults to a single space.

Author

David Carlisle

Source Code

(define (join slist #!optional (space " "))
  ;; Joins a list of strings together
  (letrec ((loop (lambda (l result)
		   (if (null? l) 
		       result
		       (loop (cdr l) (cons space (cons (car l) result)))))))
    (if (null? slist)
	""
	(apply string-append (cons (car slist) 
				   (loop (reverse (cdr slist)) '() ))))))
docbook-dsssl-1.79/doc/lib/strip.html0000644000175000001440000000667610142565341020262 0ustar msmithusers00000000000000 strip

strip

Name

strip -- Strip leading and trailing characters off of a string

Synopsis

(strip str #!optional (stripchars '(#\space #\
 #\U-0009)))

Description

Strips leading and trailing characters in the stripchars list off of a string and returns the stripped string.

str

The string to strip

stripchars

A list of characters that should be stripped.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (strip str #!optional (stripchars '(#\space #\
 #\U-0009)))
  ;; Strip leading and trailing characters off of a string
  (let* ((startpos (let loop ((count 0))
		     (if (>= count (string-length str))
			 (string-length str)
			 (if (member (string-ref str count) stripchars)
			     (loop (+ count 1))
			     count))))
	 (tailstr  (substring str startpos (string-length str)))
	 (endpos   (let loop ((count (- (string-length tailstr) 1)))
		     (if (< count 1)
			 0
			 (if (member (string-ref tailstr count) stripchars)
			     (loop (- count 1))
			     count)))))
    (if (or (< endpos 0)
	    (string=? tailstr ""))
	""
	(substring tailstr 0 (+ endpos 1)))))
docbook-dsssl-1.79/doc/lib/split.html0000644000175000001440000000737310142565341020247 0ustar msmithusers00000000000000 split

split

Name

split -- Splits string at whitespace and returns the resulting list of tokens

Synopsis

(split str #!optional (whitespace '(#\space)))

Description

Given a string containing delimited tokens, return a list of the tokens in string form.

str

The string to split.

whitespace

A list of characters that should be treated as whitespace.

Author

David Megginson, <dmeggins@uottawa.ca>

Source Code

(define (split str #!optional (whitespace '(#\space)))
  ;; Splits string at whitespace and returns the resulting list of tokens
  (let loop ((characters (string->list str)) ; Top-level recursive loop.
	     (current-word '())
	     (tokens '()))

    ; If there are no characters left,
    ; then we're done!
    (cond ((null? characters)
	   ; Is there a token in progress?
	   (if (null? current-word)
	       (reverse tokens)
	       (reverse (cons (list->string (reverse current-word))
			      tokens))))
	  ; If there are characters left,
	  ; then keep going.
	  (#t
	   (let ((c (car characters))
		 (rest (cdr characters)))
	     ; Are we reading a space?
	     (cond ((member c whitespace)
		    (if (null? current-word)
			(loop rest '() tokens)
			(loop rest
			      '()
			      (cons (list->string (reverse current-word))
				    tokens))))
		   ; We are reading a non-space
		   (#t
		    (loop rest (cons c current-word) tokens))))))))
docbook-dsssl-1.79/doc/lib/string-with-space.html0000644000175000001440000000640310142565341022455 0ustar msmithusers00000000000000 string-with-space

string-with-space

Name

string-with-space -- Returns string with a space appended or the empty string

Synopsis

(string-with-space string #!optional (space " "))

Description

If string is not the empty string, returns string with a space appended. If string is empty, or is not a (string?), returns string unmodified.

string

The string onto which a space should be appended.

space

If specified, the space to append. Defaults to a single space.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (string-with-space string #!optional (space " ")) 
  ;; Returns string with a space appended or the empty string
  (if (string? string)
      (if (equal? string "")
	  string
	  (string-append string space))
      string))
docbook-dsssl-1.79/doc/lib/r300.htm0000644000175000001440000002555510142565347017434 0ustar msmithusers00000000000000 Miscellaneous

IV. Miscellaneous

Table of Contents
string-with-space -- Returns string with a space appended or the empty string
split -- Splits string at whitespace and returns the resulting list of tokens
strip -- Strip leading and trailing characters off of a string
join -- Joins a list of strings together
pad-string -- Pads a string, in front, to the specified length
match-split -- Splits string at target and returns the resulting list of tokens
match-split-string-list -- Splits each string in a list of strings and returns the concatenated result list
match-split-list -- Splits a string at a list of targets and returns the resulting list of tokens
assoc-objs -- Returns a list of the objects in an associative list
assoc -- Returns the association of an object in an associative list
match-substitute-sosofo -- Return matching sosofo from associative list
string-list-sosofo -- Build sosofo from a list of strings and an associative list
repl-substring? -- Returns true if the specified substring can be replaced
repl-substring -- Replace substring in a string
repl-substring-list? -- Perform repl-substring? with a list of target/replacement pairs
repl-substring-list-target -- Return the target that matches in a string
repl-substring-list-repl -- Return the replacement that would be used in the string
repl-substring-list -- Replace the first target in the replacement list that matches
string-replace -- Replace all occurances of a target substring in a string
string-replace-list -- Replace a list of target substrings in a string
ancestor-member -- Returns the first ancestor in a list of GIs
has-ancestor-member? -- Returns true if the specified node has one of a set of GIs as an ancestor
descendant-of? -- Returns true if the child is some descendant of the specified node
expand-children -- Expand selected nodes in a node list
directory-depth -- Count the directory depth of a path name
file-extension -- Return the extension of a filename
copy-string -- Return a string duplicated a specified number of times
node-list-filter-by-gi -- Returns selected elements from a node list
node-list-filter-by-not-gi -- Returns selected elements from a node list
node-list-filter-out-pis -- Returns the nodelist with all PIs removed
node-list-filter-elements -- Returns the elements in 'nodelist'
component-descendant-node-list -- Find all 'inputnd's within an ancestor element
component-child-number -- Find child-number within a component
component-list-descendant-node-list -- Find all elements of a list of elements in a component
component-list-child-number -- Find child-number of a list of children within a component
expt -- Exponentiation
list-member-find -- Returns the index of an element in a list
default-uppercase-list -- The default list of uppercase characters
default-lowercase-list -- The default list of lowercase characters
case-fold-down-char -- Return the lowercase form of a single character
case-fold-up-char -- Return the uppercase form of a single character
case-fold-down-charlist -- Return the list of characters, shifted to lowercase
case-fold-up-charlist -- Return the list of characters, shifted to uppercase
case-fold-down -- Shift a string to lowercase
case-fold-up -- Shift a string to uppercase
find-first-char -- Find the first occurance of a character in a string
parse-measurement -- Parse a string containing a measurement and return the magnitude and units
unit-conversion-alist -- Defines the base length of specific unit names
measurement-to-length -- Convert a measurement to a length
dingbat -- Map dingbat names to Unicode characters
nth-node -- Return a specific node in a node list (by numeric index)
constant-list -- Returns a list of the specified value
list-head -- Return the head of a list
list-put -- Replace a specific member of a list
decrement-list-members -- Decrement each member of a list
sgml-root-element -- Returns the node that is the root element of the current document
sgml-root-element? -- Test if a node is the root element
length-string-number-part -- Returns the numeric part of a length string
length-string-unit-part -- Returns the unit part of a length string
normalize -- Normalize the str according to the SGML declaration in effect
node-list->string -- Return a string representation of the node list
include-file -- Return the literal content of fileref
include-characters -- Return the character content of fileref
url-encode-char -- Returns the url-encoded equivalent of a character
url-encode-string -- Returns str with all special characters %-encoded
system-id-filename -- Returns the filename part of the system id of target
trim-string -- Trims the tail off of a string
string-index -- Finds first occurance of 'target' in 'source'
parse-pi-attribute -- no documented purpose
parse-skip-pi-attribute -- no documented purpose
parse-starttag-pi -- Parses a structured PI and returns a list of values
string->nodes -- no documented purpose
docbook-dsssl-1.79/doc/lib/my-debug.html0000644000175000001440000000706410142565340020621 0ustar msmithusers00000000000000 my-debug

my-debug

Name

my-debug -- A debugging function more helpful than (debug)

Synopsis

(my-debug x #!optional return-value)

Description

A version of debug that tries to print information more helpful than "unknown object ...". Will need extending for any further types added to Jade which don't have useful print methods. (Should yield more information extracted from each type.)

x

The object about which debugging information is desired.

Author

Tony Graham

Source Code

(define (my-debug x #!optional return-value)
  ;; A debugging function more helpful than (debug)
  (let ((msg (debug (cond ((node-list? x)
			   (if (node-list-empty? x)
			       (list 'empty-node-list x)
			       (list (if (named-node-list? x)
					 'named-node-list
					 'node-list)
				     (node-list-length x) x)))
			  ((sosofo? x)
			   (list 'sosofo x))
			  ((procedure? x)
			   (list 'procedure x))
			  ((style? x)
			   (list 'style x))
			  ((address? x)
			   (list 'address x))
			  ((color? x)
			   (list 'color x))
			  ((color-space? x)
			   (list 'color-space x))
			  ((display-space? x)
			   (list 'display-space x))
			  ((inline-space? x)
			   (list 'inline-space x))
			  ((glyph-id? x)
			   (list 'glyph-id x))
			  ((glyph-subst-table? x)
			   (list 'glyph-subst-table x))
			  (else x)))))
    return-value))
docbook-dsssl-1.79/doc/lib/r274.htm0000644000175000001440000000407110142565340017425 0ustar msmithusers00000000000000 Debug

III. Debug

Table of Contents
my-debug -- A debugging function more helpful than (debug)
docbook-dsssl-1.79/doc/lib/absolute-child-number.html0000644000175000001440000000560510142565340023274 0ustar msmithusers00000000000000 absolute-child-number

absolute-child-number

Name

absolute-child-number -- Returns the absolute child number of the specified node

Synopsis

(absolute-child-number #!optional (nd (current-node)))

Description

Returns the child number, regardless of gi, of snl within its parent.

Isn't there a better way to get this?

snl

The node (singleton node list) whose child number is desired.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (absolute-child-number #!optional (nd (current-node)))
  ;; Returns the absolute child number of the specified node
  (+ (node-list-length (preced nd)) 1))
docbook-dsssl-1.79/doc/lib/map.html0000644000175000001440000000560410142565340017663 0ustar msmithusers00000000000000 map

map

Name

map -- Implements map

Synopsis

(map f #!rest xs)

Description

Implements map

Author

From Mulberry Tech. site (need better attribution)

Source Code

(define (map f #!rest xs)
  ;; Implements map
  (let ((map1 (lambda (f xs)           ; bootstrap version for unary F
		(let loop ((xs xs))
		  (if (null? xs)
		      '()
		      (cons (f (car xs))
			    (loop (cdr xs))))))))
    (cond ((null? xs)
	   '())
	  ((null? (cdr xs))
	   (map1 f (car xs)))
	  (else
	   (let loop ((xs xs))
	     (if (null? (car xs))
		 '()
		 (cons (apply f (map1 car xs))
		       (loop (map1 cdr xs)))))))))
docbook-dsssl-1.79/doc/lib/list-2-string.html0000644000175000001440000000535310142565340021525 0ustar msmithusers00000000000000 list->string

list->string

Name

list->string -- Converts a list of characters into a string

Synopsis

(list->string chars)

Description

Implements list->string as per ISO/IEC 10179:1996 (clause 8.5.9.9).

Author

David Megginson, <dmeggins@uottawa.ca>

Source Code

(define (list->string chars)
  ;; Converts a list of characters into a string
  (let loop ((cl chars)
	     (str ""))
    (if (null? cl)
	str
	(loop (cdr cl)
	      (string-append str (string (car cl)))))))
docbook-dsssl-1.79/doc/lib/string-2-list.html0000644000175000001440000000541510142565340021524 0ustar msmithusers00000000000000 string->list

string->list

Name

string->list -- Converts a string into a list of characters.

Synopsis

(string->list str)

Description

Implements string->list as per ISO/IEC 10179:1996 (clause 8.5.9.9).

Author

David Megginson, <dmeggins@uottawa.ca>

Source Code

(define (string->list str)
  ;; Converts a string into a list of characters.
  (let loop ((chars '())
	     (k (- (string-length str) 1)))
    (if (< k 0)
	chars
	(loop (cons (string-ref str k) chars) (- k 1)))))
docbook-dsssl-1.79/doc/lib/siblings.html0000644000175000001440000000507410142565337020727 0ustar msmithusers00000000000000 siblings

siblings

Name

siblings -- Implements siblings as per ISO/IEC 10179:1996

Synopsis

(siblings snl)

Description

Implements siblings as per ISO/IEC 10179:1996

Author

From ISO/IEC 10179:1996

Source Code

(define (siblings snl)
  ;; Implements siblings as per ISO/IEC 10179:1996
  (children (parent snl)))
docbook-dsssl-1.79/doc/lib/ifollow.html0000644000175000001440000000543510142565337020571 0ustar msmithusers00000000000000 ifollow

ifollow

Name

ifollow -- Implements ifollow as per ISO/IEC 10179:1996

Synopsis

(ifollow nl)

Description

Implements ifollow as per ISO/IEC 10179:1996

Author

From ISO/IEC 10179:1996

Source Code

(define (ifollow nl)
  ;; Implements ifollow as per ISO/IEC 10179:1996
  (node-list-map (lambda (snl)
		   (let loop ((rest (siblings snl)))
		     (cond ((node-list-empty? rest)
			    (empty-node-list))
			   ((node-list=? (node-list-first rest) snl)
			    (node-list-first (node-list-rest rest)))
			   (else
			    (loop (node-list-rest rest))))))
		 nl))
docbook-dsssl-1.79/doc/lib/ipreced.html0000644000175000001440000000555510142565337020534 0ustar msmithusers00000000000000 ipreced

ipreced

Name

ipreced -- Implements ipreced as per ISO/IEC 10179:1996

Synopsis

(ipreced nl)

Description

Implements ipreced as per ISO/IEC 10179:1996

Author

From ISO/IEC 10179:1996

Source Code

(define (ipreced nl)
  ;; Implements ipreced as per ISO/IEC 10179:1996
  (node-list-map (lambda (snl)
		 (let loop ((prev (empty-node-list))
			    (rest (siblings snl)))
		   (cond ((node-list-empty? rest)
			  (empty-node-list))
			 ((node-list=? (node-list-first rest) snl)
			  prev)
			 (else
			  (loop (node-list-first rest)
				(node-list-rest rest))))))
		 nl))
docbook-dsssl-1.79/doc/lib/node-list-last-element.html0000644000175000001440000000571610142565337023406 0ustar msmithusers00000000000000 node-list-last-element

node-list-last-element

Name

node-list-last-element -- Return the last element node in a node list

Synopsis

(node-list-last-element nodelist)

Description

This function returns the last node in a node list which is an element (as opposed to a PI or anything else that might appear in a node list).

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (node-list-last-element nodelist)
  ;; Return the last element node in a node list
  (let loop ((el (empty-node-list)) (nl nodelist))
    (if (node-list-empty? nl)
	el
	(if (gi (node-list-first nl))
	    (loop (node-list-first nl) (node-list-rest nl))
	    (loop el (node-list-rest nl))))))
docbook-dsssl-1.79/doc/lib/node-list-first-element.html0000644000175000001440000000571510142565337023571 0ustar msmithusers00000000000000 node-list-first-element

node-list-first-element

Name

node-list-first-element -- Return the first element node in a node list

Synopsis

(node-list-first-element nodelist)

Description

This function returns the first node in a node list which is an element (as opposed to a PI or anything else that might appear in a node list).

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define (node-list-first-element nodelist)
  ;; Return the first element node in a node list
  (let loop ((nl nodelist))
    (if (node-list-empty? nl)
	(empty-node-list)
	(if (gi (node-list-first nl))
	    (node-list-first nl)
	    (loop (node-list-rest nl))))))
docbook-dsssl-1.79/doc/lib/node-list-last.html0000644000175000001440000000534210142565337021752 0ustar msmithusers00000000000000 node-list-last

node-list-last

Name

node-list-last -- Implements node-list-last as per ISO/IEC 10179:1996

Synopsis

(node-list-last nl)

Description

Implements node-list-last as per ISO/IEC 10179:1996

Author

From ISO/IEC 10179:1996

Source Code

(define (node-list-last nl)
  ;; Implements node-list-last as per ISO/IEC 10179:1996
  (node-list-ref nl
		 (- (node-list-length nl) 1)))
docbook-dsssl-1.79/doc/lib/node-list-reduce.html0000644000175000001440000000544210142565337022257 0ustar msmithusers00000000000000 node-list-reduce

node-list-reduce

Name

node-list-reduce -- Implements node-list-reduce as per ISO/IEC 10179:1996

Synopsis

(node-list-reduce nl proc init)

Description

Implements node-list-reduce as per ISO/IEC 10179:1996

Author

From ISO/IEC 10179:1996

Source Code

(define (node-list-reduce nl proc init)
  ;; Implements node-list-reduce as per ISO/IEC 10179:1996
  (if (node-list-empty? nl)
      init
      (node-list-reduce (node-list-rest nl)
                        proc
                        (proc init (node-list-first nl)))))
docbook-dsssl-1.79/doc/lib/r49.htm0000644000175000001440000000634110142565340017347 0ustar msmithusers00000000000000 ISO/IEC 10179

II. ISO/IEC 10179

Table of Contents
node-list-reduce -- Implements node-list-reduce as per ISO/IEC 10179:1996
node-list-last -- Implements node-list-last as per ISO/IEC 10179:1996
node-list-first-element -- Return the first element node in a node list
node-list-last-element -- Return the last element node in a node list
ipreced -- Implements ipreced as per ISO/IEC 10179:1996
ifollow -- Implements ifollow as per ISO/IEC 10179:1996
siblings -- Implements siblings as per ISO/IEC 10179:1996
string->list -- Converts a string into a list of characters.
list->string -- Converts a list of characters into a string
map -- Implements map
absolute-child-number -- Returns the absolute child number of the specified node
docbook-dsssl-1.79/doc/lib/version.html0000644000175000001440000000504410142565337020577 0ustar msmithusers00000000000000 %library-version%

%library-version%

Name

%library-version% -- Defines the library version string

Synopsis

%library-version%

Description

Defines the library version string.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %library-version%
  ;; Defines the library version string
  "Modular DocBook Stylesheet Library")
docbook-dsssl-1.79/doc/lib/r28.htm0000644000175000001440000000405110142565337017346 0ustar msmithusers00000000000000 Library Version

I. Library Version

Table of Contents
%library-version% -- Defines the library version string
docbook-dsssl-1.79/doc/lib/ln15.htm0000644000175000001440000000635010142565337017516 0ustar msmithusers00000000000000

This software may be distributed under the same terms as Jade:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Except as contained in this notice, the names of individuals credited with contribution to this software shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the individuals in question.

Any stylesheet derived from this Software that is publically distributed will be identified with a different name and the version strings in any derived Software will be changed so that no possibility of confusion between the derived package and this Software will exist.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please direct all questions, bug reports, or suggestions for changes to Norman Walsh, <ndw@nwalsh.com>.

See http://nwalsh.com/docbook/dsssl/ for more information.

docbook-dsssl-1.79/doc/lib/index.html0000644000175000001440000000313510142565347020221 0ustar msmithusers00000000000000 DSSSL Library

DSSSL Library

Part of the Modular DocBook Stylesheet distribution

Norman Walsh


Table of Contents
I. Library Version
II. ISO/IEC 10179
III. Debug
IV. Miscellaneous
docbook-dsssl-1.79/doc/html/0000755000175000001440000000000010142565312016410 5ustar msmithusers00000000000000docbook-dsssl-1.79/doc/html/ChangeLog0000644000175000001440000000012310142575332020161 0ustar msmithusers000000000000002001-04-04 Norman Walsh * .cvsignore: New file. docbook-dsssl-1.79/doc/html/firstterm-bold.html0000644000175000001440000000457110142565312022242 0ustar msmithusers00000000000000 firstterm-bold

firstterm-bold

Name

firstterm-bold -- Make FIRSTTERM elements bold?

Synopsis

firstterm-bold

Description

If #t, FIRSTTERMs will be bold, to distinguish them from simple GLOSSTERMs.

Source Code

(define firstterm-bold
  ;; Make FIRSTTERM elements bold?
  #f)
docbook-dsssl-1.79/doc/html/object-titles-after.html0000644000175000001440000000536610142565312023157 0ustar msmithusers00000000000000 $object-titles-after$

$object-titles-after$

Name

$object-titles-after$ -- List of objects who's titles go after the object

Synopsis

($object-titles-after$)

Description

Titles of formal objects (Figures, Equations, Tables, etc.) in this list will be placed below the object instead of above it.

This is a list of element names, for example: (list (normalize "figure") (normalize "table")).

Source Code

(define ($object-titles-after$)
  ;; List of objects who's titles go after the object
  '())
docbook-dsssl-1.79/doc/html/writing-mode.html0000644000175000001440000000504510142565312021707 0ustar msmithusers00000000000000 %writing-mode%

%writing-mode%

Name

%writing-mode% -- The writing mode

Synopsis

%writing-mode%

Description

The writing mode is either left-to-right, or right-to-left.

Source Code

(define %writing-mode%
  ;; The writing mode
  'left-to-right)
docbook-dsssl-1.79/doc/html/show-comments.html0000644000175000001440000000524710142565312022111 0ustar msmithusers00000000000000 %show-comments%

%show-comments%

Name

%show-comments% -- Display Comment elements?

Synopsis

%show-comments%

Description

If true, comments will be displayed, otherwise they are suppressed. Comments here refers to the Comment element, which will be renamed Remark in DocBook V4.0, not SGML/XML comments which are unavailable.

Source Code

(define %show-comments%
  ;; Display Comment elements?
  #f)
docbook-dsssl-1.79/doc/html/link-mailto-url.html0000644000175000001440000000513310142565311022317 0ustar msmithusers00000000000000 %link-mailto-url%

%link-mailto-url%

Name

%link-mailto-url% -- Mailto URL for LINK REL=made

Synopsis

%link-mailto-url%

Description

If not #f, the %link-mailto-url% address will be used in a LINK REL=made element in the HTML HEAD.

Source Code

(define %link-mailto-url%
  ;; Mailto URL for LINK REL=made
  #f)
docbook-dsssl-1.79/doc/html/footnotes-at-end.html0000644000175000001440000000556710142565311022500 0ustar msmithusers00000000000000 %footnotes-at-end%

%footnotes-at-end%

Name

%footnotes-at-end% -- Should footnotes appear at the end of HTML pages?

Synopsis

%footnotes-at-end%

Description

If #t, footnotes will be placed at the end of each HTML page instead of immediately following the place where they occur. Note: support for this feature is dependent on the processing performed by the (footer-navigation) function; if you replace that function, make sure that you're replacement calls (make-endnotes).

Source Code

(define %footnotes-at-end%
  ;; Should footnotes appear at the end of HTML pages?
  #t)
docbook-dsssl-1.79/doc/html/default-title-end-punct.html0000644000175000001440000000523110142565311023734 0ustar msmithusers00000000000000 %default-title-end-punct%

%default-title-end-punct%

Name

%default-title-end-punct% -- Default punctuation at the end of a run-in head.

Synopsis

%default-title-end-punct%

Description

The punctuation used at the end of a run-in head (e.g. on FORMALPARA).

Source Code

(define %default-title-end-punct% 
  ;; Default punctuation at the end of a run-in head.
  ".")
docbook-dsssl-1.79/doc/html/default-simplesect-level.html0000644000175000001440000000551110142565311024176 0ustar msmithusers00000000000000 %default-simplesect-level%

%default-simplesect-level%

Name

%default-simplesect-level% -- Default section level for 'SimpleSect's.

Synopsis

%default-simplesect-level%

Description

If SimpleSects appear inside other section-level elements, they are rendered at the appropriate section level, but if they appear in a component-level element, they are rendered at %default-simplesect-level%.

Source Code

(define %default-simplesect-level% 
  ;; Default section level for 'SimpleSect's.
  4)
docbook-dsssl-1.79/doc/html/default-quadding.html0000644000175000001440000000546110142565311022521 0ustar msmithusers00000000000000 %default-quadding%

%default-quadding%

Name

%default-quadding% -- The default quadding

Synopsis

%default-quadding%

Description

At present, this is only used on paragraphs. It specifies the value of the ALIGN attribute on the paragraph. This would be better done with CSS, but not all browsers support it yet and this has been oft requested functionality.

A value of #f suppresses the ALIGN attribute altogether.

Source Code

(define %default-quadding%   
  ;; The default quadding
  #f)
docbook-dsssl-1.79/doc/html/honorific-punctuation.html0000644000175000001440000000516610142565311023634 0ustar msmithusers00000000000000 %honorific-punctuation%

%honorific-punctuation%

Name

%honorific-punctuation% -- Punctuation to follow honorifics in names

Synopsis

%honorific-punctuation%

Description

The honorific punctuation is placed after the honorific in a name.

Source Code

(define %honorific-punctuation%
  ;; Punctuation to follow honorifics in names
  ".")
docbook-dsssl-1.79/doc/html/content-title-end-punct.html0000644000175000001440000000524610142565311023770 0ustar msmithusers00000000000000 %content-title-end-punct%

%content-title-end-punct%

Name

%content-title-end-punct% -- List of punctuation chars at the end of a run-in head

Synopsis

%content-title-end-punct%

Description

If a run-in head ends in any of these characters, the %default-title-end-punct% is not used.

Source Code

(define %content-title-end-punct% 
  ;; List of punctuation chars at the end of a run-in head
  '(#\. #\! #\? #\:))
docbook-dsssl-1.79/doc/html/r2256.htm0000644000175000001440000000654610142565312017715 0ustar msmithusers00000000000000 Miscellaneous

XVII. Miscellaneous

Table of Contents
%content-title-end-punct% -- List of punctuation chars at the end of a run-in head
%honorific-punctuation% -- Punctuation to follow honorifics in names
%default-quadding% -- The default quadding
%default-simplesect-level% -- Default section level for 'SimpleSect's.
%default-title-end-punct% -- Default punctuation at the end of a run-in head.
%footnotes-at-end% -- Should footnotes appear at the end of HTML pages?
%link-mailto-url% -- Mailto URL for LINK REL=made
%show-comments% -- Display Comment elements?
%writing-mode% -- The writing mode
$object-titles-after$ -- List of objects who's titles go after the object
firstterm-bold -- Make FIRSTTERM elements bold?
docbook-dsssl-1.79/doc/html/informalequation-rules.html0000644000175000001440000000536310142565311024011 0ustar msmithusers00000000000000 %informalequation-rules%

%informalequation-rules%

Name

%informalequation-rules% -- Specify rules before and after an InformalEquation

Synopsis

%informalequation-rules%

Description

If #t, rules will be drawn before and after each InformalEquation.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %informalequation-rules%
  ;; Specify rules before and after an InformalEquation
  #f)
docbook-dsssl-1.79/doc/html/informaltable-rules.html0000644000175000001440000000545110142565311023251 0ustar msmithusers00000000000000 %informaltable-rules%

%informaltable-rules%

Name

%informaltable-rules% -- Specify rules before and after an InformalTable

Synopsis

%informaltable-rules%

Description

If #t, rules will be drawn before and after each InformalTable.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %informaltable-rules%
  ;; Specify rules before and after an InformalTable
  #f)
docbook-dsssl-1.79/doc/html/informalfigure-rules.html0000644000175000001440000000545010142565311023442 0ustar msmithusers00000000000000 %informalfigure-rules%

%informalfigure-rules%

Name

%informalfigure-rules% -- Specify rules before and after an InformalFigure

Synopsis

%informalfigure-rules%

Description

If #t, rules will be drawn before and after each InformalFigure.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %informalfigure-rules%
  ;; Specify rules before and after an InformalFigure
  #f)
docbook-dsssl-1.79/doc/html/informalexample-rules.html0000644000175000001440000000542310142565311023614 0ustar msmithusers00000000000000 %informalexample-rules%

%informalexample-rules%

Name

%informalexample-rules% -- Specify rules before and after an InformalExample

Synopsis

%informalexample-rules%

Description

If #t, rules will be drawn before and after each InformalExample.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %informalexample-rules%
  ;; Specify rules before and after an InformalExample
  #f)
docbook-dsssl-1.79/doc/html/equation-rules.html0000644000175000001440000000531210142565311022253 0ustar msmithusers00000000000000 %equation-rules%

%equation-rules%

Name

%equation-rules% -- Specify rules before and after an Equation

Synopsis

%equation-rules%

Description

If #t, rules will be drawn before and after each Equation.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %equation-rules%
  ;; Specify rules before and after an Equation
  #f)
docbook-dsssl-1.79/doc/html/table-rules.html0000644000175000001440000000522110142565310021513 0ustar msmithusers00000000000000 %table-rules%

%table-rules%

Name

%table-rules% -- Specify rules before and after an Table

Synopsis

%table-rules%

Description

If #t, rules will be drawn before and after each Table.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %table-rules%
  ;; Specify rules before and after an Table
  #f)
docbook-dsssl-1.79/doc/html/figure-rules.html0000644000175000001440000000522010142565310021704 0ustar msmithusers00000000000000 %figure-rules%

%figure-rules%

Name

%figure-rules% -- Specify rules before and after an Figure

Synopsis

%figure-rules%

Description

If #t, rules will be drawn before and after each Figure.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %figure-rules%
  ;; Specify rules before and after an Figure
  #f)
docbook-dsssl-1.79/doc/html/example-rules.html0000644000175000001440000000517510142565310022067 0ustar msmithusers00000000000000 %example-rules%

%example-rules%

Name

%example-rules% -- Specify rules before and after an Example

Synopsis

%example-rules%

Description

If #t, rules will be drawn before and after each Example.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %example-rules%
  ;; Specify rules before and after an Example
  #f)
docbook-dsssl-1.79/doc/html/phrase-propagates-style.html0000644000175000001440000000520610142565310024062 0ustar msmithusers00000000000000 %phrase-propagates-style%

%phrase-propagates-style%

Name

%phrase-propagates-style% -- Support propagating phrase role attributes to HTML

Synopsis

%phrase-propagates-style%

Description

Should the role attribute of phrase be propagated to HTML as a class attribute value?

Source Code

(define %phrase-propagates-style%
  ;; Support propagating phrase role attributes to HTML
  #t)
docbook-dsssl-1.79/doc/html/emphasis-propagates-style.html0000644000175000001440000000525710142565310024417 0ustar msmithusers00000000000000 %emphasis-propagates-style%

%emphasis-propagates-style%

Name

%emphasis-propagates-style% -- Support propagating emphasis role attributes to HTML

Synopsis

%emphasis-propagates-style%

Description

Should the role attribute of emphasis be propagated to HTML as a class attribute value?

Source Code

(define %emphasis-propagates-style%
  ;; Support propagating emphasis role attributes to HTML
  #t)
docbook-dsssl-1.79/doc/html/spacing-paras.html0000644000175000001440000000531510142565310022030 0ustar msmithusers00000000000000 %spacing-paras%

%spacing-paras%

Name

%spacing-paras% -- Block-element spacing hack

Synopsis

%spacing-paras%

Description

Should extraneous "P" tags be output to force the correct vertical spacing around things like tables. This is ugly because different browsers do different things. Turning this one can also create illegal HTML.

Source Code

(define %spacing-paras%
  ;; Block-element spacing hack
  #t)
docbook-dsssl-1.79/doc/html/fix-para-wrappers.html0000644000175000001440000000534310142565310022651 0ustar msmithusers00000000000000 %fix-para-wrappers%

%fix-para-wrappers%

Name

%fix-para-wrappers% -- Block element in para hack

Synopsis

%fix-para-wrappers%

Description

Block elements are allowed in PARA in DocBook, but not in P in HTML. With %fix-para-wrappers% turned on, the stylesheets attempt to avoid putting block elements in HTML P tags by outputting additional end/begin P pairs around them.

Source Code

(define %fix-para-wrappers%
  ;; Block element in para hack
  #f)
docbook-dsssl-1.79/doc/html/r2086.htm0000644000175000001440000000577410142565311017717 0ustar msmithusers00000000000000 Object Rules

XVI. Object Rules

Table of Contents
%example-rules% -- Specify rules before and after an Example
%figure-rules% -- Specify rules before and after an Figure
%table-rules% -- Specify rules before and after an Table
%equation-rules% -- Specify rules before and after an Equation
%informalexample-rules% -- Specify rules before and after an InformalExample
%informalfigure-rules% -- Specify rules before and after an InformalFigure
%informaltable-rules% -- Specify rules before and after an InformalTable
%informalequation-rules% -- Specify rules before and after an InformalEquation
docbook-dsssl-1.79/doc/html/css-liststyle-alist.html0000644000175000001440000000562510142565310023240 0ustar msmithusers00000000000000 %css-liststyle-alist%

%css-liststyle-alist%

Name

%css-liststyle-alist% -- Map DocBook OVERRIDE and MARK attributes to CSS

Synopsis

%css-liststyle-alist%

Description

If %css-decoration% is turned on then the list-style-type property of list items will be set to reflect the list item style selected in the DocBook instance. This associative list maps the style type names used in your instance to the appropriate CSS names. If no mapping exists, the name from the instance will be used.

Source Code

(define %css-liststyle-alist%
  ;; Map DocBook OVERRIDE and MARK attributes to CSS
  '(("bullet" "disc")
    ("box" "square")))
docbook-dsssl-1.79/doc/html/css-decoration.html0000644000175000001440000000534010142565310022213 0ustar msmithusers00000000000000 %css-decoration%

%css-decoration%

Name

%css-decoration% -- Enable CSS decoration of elements

Synopsis

%css-decoration%

Description

If %css-decoration% is turned on then HTML elements produced by the stylesheet may be decorated with STYLE attributes. For example, the LI tags produced for list items may include a fragment of CSS in the STYLE attribute which sets the CSS property "list-style-type".

Source Code

(define %css-decoration%
  ;; Enable CSS decoration of elements
  #t)
docbook-dsssl-1.79/doc/html/html40.html0000644000175000001440000000512210142565310020404 0ustar msmithusers00000000000000 %html40%

%html40%

Name

%html40% -- Generate HTML 4.0

Synopsis

%html40%

Description

If %html40% is true then the output more closely resembles HTML 4.0. In particular, the HTML table module includes COL, THEAD, TBODY, and TFOOT elements, and the output documents have a proper doctype declaration.

Source Code

(define %html40%
  ;; Generate HTML 4.0
  #t)
docbook-dsssl-1.79/doc/html/r1968.htm0000644000175000001440000000542710142565310017721 0ustar msmithusers00000000000000 HTML Content and CSS

XV. HTML Content and CSS

Table of Contents
%html40% -- Generate HTML 4.0
%css-decoration% -- Enable CSS decoration of elements
%css-liststyle-alist% -- Map DocBook OVERRIDE and MARK attributes to CSS
%fix-para-wrappers% -- Block element in para hack
%spacing-paras% -- Block-element spacing hack
%emphasis-propagates-style% -- Support propagating emphasis role attributes to HTML
%phrase-propagates-style% -- Support propagating phrase role attributes to HTML
docbook-dsssl-1.79/doc/html/funcsynopsis-style.html0000644000175000001440000000541310142565310023200 0ustar msmithusers00000000000000 %funcsynopsis-style%

%funcsynopsis-style%

Name

%funcsynopsis-style% -- What style of 'FuncSynopsis' should be generated?

Synopsis

%funcsynopsis-style%

Description

If %funcsynopsis-style% is ansi, ANSI-style function synopses are generated for a FuncSynopsis, otherwise K&R-style function synopses are generated.

Source Code

(define %funcsynopsis-style% 
  ;; What style of 'FuncSynopsis' should be generated?
  'ansi)
docbook-dsssl-1.79/doc/html/funcsynopsis-decoration.html0000644000175000001440000000544310142565310024172 0ustar msmithusers00000000000000 %funcsynopsis-decoration%

%funcsynopsis-decoration%

Name

%funcsynopsis-decoration% -- Decorate elements of a FuncSynopsis?

Synopsis

%funcsynopsis-decoration%

Description

If true, elements of the FuncSynopsis will be decorated (e.g. bold or italic). The decoration is controlled by functions that can be redefined in a customization layer. See edbsynop.dsl.

Source Code

(define %funcsynopsis-decoration%
  ;; Decorate elements of a FuncSynopsis?
  #f)
docbook-dsssl-1.79/doc/html/refentry-xref-manvolnum.html0000644000175000001440000000533210142565307024117 0ustar msmithusers00000000000000 %refentry-xref-manvolnum%

%refentry-xref-manvolnum%

Name

%refentry-xref-manvolnum% -- Output manvolnum as part of RefEntry cross-reference?

Synopsis

%refentry-xref-manvolnum%

Description

If true, the manvolnum is used when cross-referencing RefEntrys, either with XRef or CiteRefEntry.

Source Code

(define %refentry-xref-manvolnum%
  ;; Output manvolnum as part of RefEntry cross-reference?
  #t)
docbook-dsssl-1.79/doc/html/refentry-xref-italic.html0000644000175000001440000000530510142565307023350 0ustar msmithusers00000000000000 %refentry-xref-italic%

%refentry-xref-italic%

Name

%refentry-xref-italic% -- Use italic text when cross-referencing RefEntrys?

Synopsis

%refentry-xref-italic%

Description

If true, italics are used when cross-referencing RefEntrys, either with XRef or CiteRefEntry.

Source Code

(define %refentry-xref-italic%
  ;; Use italic text when cross-referencing RefEntrys?
  #f)
docbook-dsssl-1.79/doc/html/refentry-generate-name.html0000644000175000001440000000520310142565307023646 0ustar msmithusers00000000000000 %refentry-generate-name%

%refentry-generate-name%

Name

%refentry-generate-name% -- Output NAME header before 'RefName'(s)?

Synopsis

%refentry-generate-name%

Description

If true, a "NAME" section title is output before the list of RefNames.

Source Code

(define %refentry-generate-name% 
  ;; Output NAME header before 'RefName'(s)?
  #t)
docbook-dsssl-1.79/doc/html/r1881.htm0000644000175000001440000000534010142565310017705 0ustar msmithusers00000000000000 RefEntries and FuncSynopses

XIV. RefEntries and FuncSynopses

Table of Contents
%refentry-generate-name% -- Output NAME header before 'RefName'(s)?
%refentry-xref-italic% -- Use italic text when cross-referencing RefEntrys?
%refentry-xref-manvolnum% -- Output manvolnum as part of RefEntry cross-reference?
%funcsynopsis-decoration% -- Decorate elements of a FuncSynopsis?
%funcsynopsis-style% -- What style of 'FuncSynopsis' should be generated?
docbook-dsssl-1.79/doc/html/citerefentry-link.html0000644000175000001440000000527110142565307022745 0ustar msmithusers00000000000000 %citerefentry-link%

%citerefentry-link%

Name

%citerefentry-link% -- Generate URL links when cross-referencing RefEntrys?

Synopsis

%citerefentry-link%

Description

If true, a web link will be generated, presumably to an online man->HTML gateway. The text of the link is generated by the $generate-citerefentry-link$ function.

Source Code

(define %citerefentry-link%
  ;; Generate URL links when cross-referencing RefEntrys?
  #f)
docbook-dsssl-1.79/doc/html/use-id-as-filename.html0000644000175000001440000000534010142565307022651 0ustar msmithusers00000000000000 %use-id-as-filename%

%use-id-as-filename%

Name

%use-id-as-filename% -- Use ID attributes as name for component HTML files?

Synopsis

%use-id-as-filename%

Description

If %use-id-as-filename% is true, the stylesheet will use the value of the ID attribute on a component as the base filename instead of using the auto-generated base.

Source Code

(define %use-id-as-filename%
  ;; Use ID attributes as name for component HTML files?
  #f)
docbook-dsssl-1.79/doc/html/stylesheet-type.html0000644000175000001440000000502710142565307022456 0ustar msmithusers00000000000000 %stylesheet-type%

%stylesheet-type%

Name

%stylesheet-type% -- The type of the stylesheet to use

Synopsis

%stylesheet-type%

Description

The type of the stylesheet to place in the HTML LINK TAG.

Source Code

(define %stylesheet-type%
  ;; The type of the stylesheet to use
  "text/css")
docbook-dsssl-1.79/doc/html/stylesheet.html0000644000175000001440000000503410142565307021475 0ustar msmithusers00000000000000 %stylesheet%

%stylesheet%

Name

%stylesheet% -- Name of the stylesheet to use

Synopsis

%stylesheet%

Description

The name of the stylesheet to place in the HTML LINK TAG, or #f to suppress the stylesheet LINK.

Source Code

(define %stylesheet%
  ;; Name of the stylesheet to use
  #f)
docbook-dsssl-1.79/doc/html/output-dir.html0000644000175000001440000000570510142565307021425 0ustar msmithusers00000000000000 %output-dir%

%output-dir%

Name

%output-dir% -- The directory to which HTML files should be written

Synopsis

%output-dir%

Description

The output directory can be set in two ways. An individual document can specify output-dir="directory" in the dbhtml PI, or the stylesheet can specify the %output-dir%. If both are specified, the PI value will be used.

Note: the output directory is ignored if use-output-dir is not #t. (This allows the author to test stylesheets and documents without accidentally overwriting existing documents.)

Source Code

(define %output-dir%
  ;; The directory to which HTML files should be written
  #f)
docbook-dsssl-1.79/doc/html/use-output-dir.html0000644000175000001440000000522010142565307022207 0ustar msmithusers00000000000000 use-output-dir

use-output-dir

Name

use-output-dir -- If an output-dir is specified, should it be used?

Synopsis

use-output-dir

Description

If true, chunks will be written to the output-dir instead of the current directory. (This option can conveniently be set with -V use-output-dir on the Jade command line).

Source Code

(define use-output-dir
  ;; If an output-dir is specified, should it be used?
  #f)
docbook-dsssl-1.79/doc/html/rootchunk.html0000644000175000001440000000524210142565307021321 0ustar msmithusers00000000000000 rootchunk

rootchunk

Name

rootchunk -- Make a chunk for the root element when nochunks is used

Synopsis

rootchunk

Description

If true, a chunk will be created for the root element, even though nochunks is specified. This option has no effect if nochunks is not true. (This option can conveniently be set with -V rootchunk on the Jade command line).

Source Code

(define rootchunk
  ;; Make a chunk for the root element when nochunks is used
  #f)
docbook-dsssl-1.79/doc/html/nochunks.html0000644000175000001440000000516010142565306021133 0ustar msmithusers00000000000000 nochunks

nochunks

Name

nochunks -- Suppress chunking of output pages

Synopsis

nochunks

Description

If true, the entire source document is formatted as a single HTML document and output on stdout. (This option can conveniently be set with -V nochunks on the Jade command line).

Source Code

(define nochunks
  ;; Suppress chunking of output pages
  #f)
docbook-dsssl-1.79/doc/html/html-manifest-filename.html0000644000175000001440000000511610142565306023632 0ustar msmithusers00000000000000 html-manifest-filename

html-manifest-filename

Name

html-manifest-filename -- Name of HTML manifest file

Synopsis

html-manifest-filename

Description

The name of the file to which a manifest will be written if html-manifest is not #f.

Source Code

(define html-manifest-filename
  ;; Name of HTML manifest file
  "HTML.manifest")
docbook-dsssl-1.79/doc/html/html-manifest.html0000644000175000001440000000520510142565306022053 0ustar msmithusers00000000000000 html-manifest

html-manifest

Name

html-manifest -- Write a manifest?

Synopsis

html-manifest

Description

If not #f then the list of HTML files created by the stylesheet will be written to the file named by html-manifest-filename.

Source Code

(define html-manifest
  ;; Write a manifest?
  #f)
docbook-dsssl-1.79/doc/html/html-index-filename.html0000644000175000001440000000507210142565306023134 0ustar msmithusers00000000000000 html-index-filename

html-index-filename

Name

html-index-filename -- Name of HTML index file

Synopsis

html-index-filename

Description

The name of the file to which index data will be written if html-index is not #f.

Source Code

(define html-index-filename
  ;; Name of HTML index file
  "HTML.index")
docbook-dsssl-1.79/doc/html/html-index.html0000644000175000001440000000515710142565306021362 0ustar msmithusers00000000000000 html-index

html-index

Name

html-index -- HTML indexing?

Synopsis

html-index

Description

Turns on HTML indexing. If true, then index data will be written to the file defined by html-index-filename. This data can be collated and turned into a DocBook index with bin/collateindex.pl.

Source Code

(define html-index
  ;; HTML indexing?
  #f)
docbook-dsssl-1.79/doc/html/root-filename.html0000644000175000001440000000515710142565306022052 0ustar msmithusers00000000000000 %root-filename%

%root-filename%

Name

%root-filename% -- Name for the root HTML document

Synopsis

%root-filename%

Description

The filename of the root HTML document (e.g, "index"). If #f, then a default name will be selected based on the element type of the root element (e.g, book1.htm, set1.htm, c1.htm, etc.).

Source Code

(define %root-filename%
  ;; Name for the root HTML document
  #f)
docbook-dsssl-1.79/doc/html/html-sysid.html0000644000175000001440000000534710142565306021407 0ustar msmithusers00000000000000 %html-sysid%

%html-sysid%

Name

%html-sysid% -- What system ID are you declaring your HTML compliant with?

Synopsis

%html-sysid%

Description

The system ID used in output HTML files. If #f, then no system ID is produced. If both this and %html-pubid% are #f, then no doctype declaration is produced.

Source Code

(define %html-sysid%
  ;; What system ID are you declaring your HTML compliant with?
  (if %html40%
      "http://www.w3.org/TR/html4/loose.dtd"
      #f))
docbook-dsssl-1.79/doc/html/html-pubid.html0000644000175000001440000000537010142565306021353 0ustar msmithusers00000000000000 %html-pubid%

%html-pubid%

Name

%html-pubid% -- What public ID are you declaring your HTML compliant with?

Synopsis

%html-pubid%

Description

The public ID used in output HTML files. If #f, then no public ID is produced. If both this and %html-sysid% are #f, then no doctype declaration is produced.

Source Code

(define %html-pubid%
  ;; What public ID are you declaring your HTML compliant with?
  (if %html40%
      "-//W3C//DTD HTML 4.01 Transitional//EN"
      #f))
docbook-dsssl-1.79/doc/html/html-header-tags.html0000644000175000001440000000523710142565306022436 0ustar msmithusers00000000000000 %html-header-tags%

%html-header-tags%

Name

%html-header-tags% -- What additional HEAD tags should be generated?

Synopsis

%html-header-tags%

Description

A list of the the HTML HEAD tags that should be generated. The format is a list of lists, each interior list consists of a tag name and a set of attribute/value pairs: '(("META" ("NAME" "name") ("CONTENT" "content")))

Source Code

(define %html-header-tags% 
  ;; What additional HEAD tags should be generated?
  '())
docbook-dsssl-1.79/doc/html/html-ext.html0000644000175000001440000000505210142565306021045 0ustar msmithusers00000000000000 %html-ext%

%html-ext%

Name

%html-ext% -- Default extension for HTML output files

Synopsis

%html-ext%

Description

The default extension for HTML output files.

Source Code

(define %html-ext% 
  ;; Default extension for HTML output files
  ".htm")
docbook-dsssl-1.79/doc/html/html-use-lang-in-filename.html0000644000175000001440000000527610142565306024152 0ustar msmithusers00000000000000 %html-use-lang-in-filename%

%html-use-lang-in-filename%

Name

%html-use-lang-in-filename% -- Add the source language code to the HTML output filename?

Synopsis

%html-use-lang-in-filename%

Description

If #t, the source language code (or the default language code, if none is specified), will be added to the filename of each HTML output file.

Source Code

(define %html-use-lang-in-filename% 
  ;; Add the source language code to the HTML output filename?
  #f)
docbook-dsssl-1.79/doc/html/html-prefix.html0000644000175000001440000000507510142565306021547 0ustar msmithusers00000000000000 %html-prefix%

%html-prefix%

Name

%html-prefix% -- Add the specified prefix to HTML output filenames

Synopsis

%html-prefix%

Description

The specified prefix will be added to all HTML output filenames.

Source Code

(define %html-prefix% 
  ;; Add the specified prefix to HTML output filenames
  "")
docbook-dsssl-1.79/doc/html/body-attr.html0000644000175000001440000000534010142565306021210 0ustar msmithusers00000000000000 %body-attr%

%body-attr%

Name

%body-attr% -- What attributes should be hung off of BODY?

Synopsis

%body-attr%

Description

A list of the the BODY attributes that should be generated. The format is a list of lists, each interior list contains the name and value of a BODY attribute.

Source Code

(define %body-attr% 
  ;; What attributes should be hung off of BODY?
  (list
   (list "BGCOLOR" "#FFFFFF")
   (list "TEXT" "#000000")
   (list "LINK" "#0000FF")
   (list "VLINK" "#840084")
   (list "ALINK" "#0000FF")))
docbook-dsssl-1.79/doc/html/r1535.htm0000644000175000001440000001042610142565307017710 0ustar msmithusers00000000000000 HTML Parameters and Chunking

XIII. HTML Parameters and Chunking

Table of Contents
%body-attr% -- What attributes should be hung off of BODY?
%html-prefix% -- Add the specified prefix to HTML output filenames
%html-use-lang-in-filename% -- Add the source language code to the HTML output filename?
%html-ext% -- Default extension for HTML output files
%html-header-tags% -- What additional HEAD tags should be generated?
%html-pubid% -- What public ID are you declaring your HTML compliant with?
%html-sysid% -- What system ID are you declaring your HTML compliant with?
%root-filename% -- Name for the root HTML document
html-index -- HTML indexing?
html-index-filename -- Name of HTML index file
html-manifest -- Write a manifest?
html-manifest-filename -- Name of HTML manifest file
nochunks -- Suppress chunking of output pages
rootchunk -- Make a chunk for the root element when nochunks is used
use-output-dir -- If an output-dir is specified, should it be used?
%output-dir% -- The directory to which HTML files should be written
%stylesheet% -- Name of the stylesheet to use
%stylesheet-type% -- The type of the stylesheet to use
%use-id-as-filename% -- Use ID attributes as name for component HTML files?
%citerefentry-link% -- Generate URL links when cross-referencing RefEntrys?
docbook-dsssl-1.79/doc/html/image-library-filename.html0000644000175000001440000000623210142565305023605 0ustar msmithusers00000000000000 image-library-filename

image-library-filename

Name

image-library-filename -- Name of the image library database

Synopsis

image-library-filename

Description

If image-library is true, then the database is loaded from image-library-filename. It's a current limitation that only a single database can be loaded.

The image library database is stored in a separate directory because it must be parsed with the XML declaration. The only practical way to accomplish this with Jade, if you are processing a document that uses another declaration, is by having a catalog file in the directory that contains the image library that specifies the SGMLDECL. (So if it was in the same directory as your document, your document would also be parsed with the XML declaration, which may not be correct.)

Source Code

(define image-library-filename
  ;; Name of the image library database
  "imagelib/imagelib.xml")
docbook-dsssl-1.79/doc/html/image-library.html0000644000175000001440000000520110142565305022022 0ustar msmithusers00000000000000 image-library

image-library

Name

image-library -- Load image library database for additional info about images?

Synopsis

image-library

Description

If true, an image library database is loaded and extra information about web graphics is retrieved from it.

Source Code

(define image-library
  ;; Load image library database for additional info about images?
  #f)
docbook-dsssl-1.79/doc/html/graphic-extensions.html0000644000175000001440000000554310142565305023121 0ustar msmithusers00000000000000 %graphic-extensions%

%graphic-extensions%

Name

%graphic-extensions% -- List of graphic filename extensions

Synopsis

%graphic-extensions%

Description

The list of extensions which may appear on a fileref on a Graphic which are indicative of graphic formats.

Filenames that end in one of these extensions will not have the %graphic-default-extension% added to them.

Source Code

(define %graphic-extensions% 
  ;; List of graphic filename extensions
  '("gif" "jpg" "jpeg" "png" "tif" "tiff" "eps" "epsf"))
docbook-dsssl-1.79/doc/html/stock-graphics-extension.html0000644000175000001440000000561310142565305024240 0ustar msmithusers00000000000000 %stock-graphics-extension%

%stock-graphics-extension%

Name

%stock-graphics-extension% -- Suffix for "stock" graphic files

Synopsis

%stock-graphics-extension%

Description

The extension to for the graphic files which ship with the Modular DocBook Stylesheet distribution. This applies to callout graphics and admonition graphics. Should include the intervening period in the suffix, if any.

Author

Yann Dirson, Adam Di Carlo

Source Code

(define %stock-graphics-extension%
  ;; Suffix for "stock" graphic files
  ".gif")
docbook-dsssl-1.79/doc/html/graphic-default-extension.html0000644000175000001440000000552210142565305024355 0ustar msmithusers00000000000000 %graphic-default-extension%

%graphic-default-extension%

Name

%graphic-default-extension% -- Default extension for graphic FILEREFs

Synopsis

%graphic-default-extension%

Description

The %graphic-default-extension% will be added to the end of all fileref filenames on Graphics if they do not end in one of the %graphic-extensions%. Set this to #f to turn off this feature.

Source Code

(define %graphic-default-extension% 
  ;; Default extension for graphic FILEREFs
  #f)
docbook-dsssl-1.79/doc/html/r1438.htm0000644000175000001440000000520510142565305017707 0ustar msmithusers00000000000000 Graphics

XII. Graphics

Table of Contents
%graphic-default-extension% -- Default extension for graphic FILEREFs
%stock-graphics-extension% -- Suffix for "stock" graphic files
%graphic-extensions% -- List of graphic filename extensions
image-library -- Load image library database for additional info about images?
image-library-filename -- Name of the image library database
docbook-dsssl-1.79/doc/html/olink-sysid.html0000644000175000001440000000507410142565305021553 0ustar msmithusers00000000000000 %olink-sysid%

%olink-sysid%

Name

%olink-sysid% -- Portion of the URL which identifies the system identifier

Synopsis

%olink-sysid%

Description

Portion of the URL which identifies the system identifier. System identifiers are only used if no public identifier is provided.

Source Code

(define %olink-sysid% 
  ;; Portion of the URL which identifies the system identifier
  "sysid=")
docbook-dsssl-1.79/doc/html/olink-resolution.html0000644000175000001440000000505210142565305022617 0ustar msmithusers00000000000000 %olink-resolution%

%olink-resolution%

Name

%olink-resolution% -- URL script for OLink resolution

Synopsis

%olink-resolution%

Description

OLink resolution requires a server component, %olink-resolution% identifies that component.

Source Code

(define %olink-resolution% 
  ;; URL script for OLink resolution
  "/cgi-bin/olink?")
docbook-dsssl-1.79/doc/html/olink-pubid.html0000644000175000001440000000506110142565305021517 0ustar msmithusers00000000000000 %olink-pubid%

%olink-pubid%

Name

%olink-pubid% -- Portion of the URL which identifies the public identifier

Synopsis

%olink-pubid%

Description

Portion of the URL which identifies the public identifier

Source Code

(define %olink-pubid% 
  ;; Portion of the URL which identifies the public identifier
  "pubid=")
docbook-dsssl-1.79/doc/html/olink-outline-ext.html0000644000175000001440000000524410142565305022674 0ustar msmithusers00000000000000 %olink-outline-ext%

%olink-outline-ext%

Name

%olink-outline-ext% -- Extension for olink outline file

Synopsis

%olink-outline-ext%

Description

The extension used to find the outline information file. When searching for outline information about a document, the extension is discarded from the system ID of the file and %olinke-outline-ext% is appended.

Source Code

(define %olink-outline-ext%
  ;; Extension for olink outline file
  ".olink")
docbook-dsssl-1.79/doc/html/olink-fragid.html0000644000175000001440000000500610142565305021647 0ustar msmithusers00000000000000 %olink-fragid%

%olink-fragid%

Name

%olink-fragid% -- Portion of the URL which identifies the fragment identifier

Synopsis

%olink-fragid%

Description

Portion of the URL which identifies the fragment identifier

Source Code

(define %olink-fragid%
  ;; Portion of the URL which identifies the fragment identifier
  "&fragid=")
docbook-dsssl-1.79/doc/html/r1354.htm0000644000175000001440000000507310142565305017707 0ustar msmithusers00000000000000 OLinks

XI. OLinks

Table of Contents
%olink-fragid% -- Portion of the URL which identifies the fragment identifier
%olink-outline-ext% -- Extension for olink outline file
%olink-pubid% -- Portion of the URL which identifies the public identifier
%olink-resolution% -- URL script for OLink resolution
%olink-sysid% -- Portion of the URL which identifies the system identifier
docbook-dsssl-1.79/doc/html/biblio-xref-title.html0000644000175000001440000000520110142565304022616 0ustar msmithusers00000000000000 biblio-xref-title

biblio-xref-title

Name

biblio-xref-title -- Use the titles of bibliography entries in XREFs

Synopsis

biblio-xref-title

Description

If true, cross references to bibliography entries will use the title of the entry as the cross reference text. Otherwise, either the number (see biblio-number) or XREFLABEL/ABBREV will be used.

Source Code

(define biblio-xref-title
  ;; Use the titles of bibliography entries in XREFs
  #f)
docbook-dsssl-1.79/doc/html/biblio-number.html0000644000175000001440000000513010142565304022024 0ustar msmithusers00000000000000 biblio-number

biblio-number

Name

biblio-number -- Enumerate bibliography entries

Synopsis

biblio-number

Description

If true, bibliography entries will be numbered. If you cross-reference bibliography entries, you should probably use biblio-number or consistently use XREFLABEL or ABBREV.

Source Code

(define biblio-number
  ;; Enumerate bibliography entries
  #f)
docbook-dsssl-1.79/doc/html/filter-used.html0000644000175000001440000000612610142565304021527 0ustar msmithusers00000000000000 biblio-filter-used

biblio-filter-used

Name

biblio-filter-used -- Suppress unreferenced bibliography entries

Synopsis

biblio-filter-used

Description

If true, bibliography entries which are not cited are suppressed. A biblioentry is cited if an XREF or LINK matches its ID, or if a CITE element matches its ID, XREFLABEL, or leading ABBREV.

A BIBLIOGRAPHY with no entries will still be output (making a whole component conditional would be _A LOT_ of work and seems unnecessary), but BIBLIDIVs with no entries will be suppressed.

This setting may have significant performance implications, hence it is false by default.

(This option can conveniently be set with -V biblio-filter-used on the Jade command line).

Source Code

(define biblio-filter-used
  ;; Suppress unreferenced bibliography entries
  #f)
docbook-dsssl-1.79/doc/html/biblio-citation-check.html0000644000175000001440000000602010142565304023420 0ustar msmithusers00000000000000 biblio-citation-check

biblio-citation-check

Name

biblio-citation-check -- Check citations

Synopsis

biblio-citation-check

Description

If true, the content of CITATIONs will be checked against possible biblioentries. If the citation cannot be found, an error is issued and the citation is generated. If the citation is found, it is generated with a cross reference to the appropriate biblioentry.

A citation matches if the content of the citation element matches the ID, XREFLABEL, or leading ABBREV of a biblioentry.

This setting may have significant performance implications on large documents, hence it is false by default.

(This option can conveniently be set with -V biblio-citation-check on the Jade command line).

Source Code

(define biblio-citation-check
  ;; Check citations
  #f)
docbook-dsssl-1.79/doc/html/r1279.htm0000644000175000001440000000473210142565304017715 0ustar msmithusers00000000000000 Bibliographies

X. Bibliographies

Table of Contents
biblio-citation-check -- Check citations
biblio-filter-used -- Suppress unreferenced bibliography entries
biblio-number -- Enumerate bibliography entries
biblio-xref-title -- Use the titles of bibliography entries in XREFs
docbook-dsssl-1.79/doc/html/blockquote-end-col.html0000644000175000001440000000532210142565304022770 0ustar msmithusers00000000000000 %blockquote-end-col%

%blockquote-end-col%

Name

%blockquote-end-col% -- Size of end indent for blockquoted text.

Synopsis

%blockquote-end-col%

Description

Width of the table column which provides and end indent after blockquoted text, expressed as a percentage. AUTHOR Ola Lundqvist

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %blockquote-end-col%
  ;; Size of end indent for blockquoted text.
  "10%")
docbook-dsssl-1.79/doc/html/blockquote-start-col.html0000644000175000001440000000543110142565304023360 0ustar msmithusers00000000000000 %blockquote-start-col%

%blockquote-start-col%

Name

%blockquote-start-col% -- Size of start indent for blockquoted text.

Synopsis

%blockquote-start-col%

Description

Width of the table column which provides a starting indent for blockquoted text, expressed as a percentage. AUTHOR Ola Lundqvist

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %blockquote-start-col%
  ;; Size of start indent for blockquoted text.
  "10%")
docbook-dsssl-1.79/doc/html/epigraph-content-col.html0000644000175000001440000000536210142565304023327 0ustar msmithusers00000000000000 %epigraph-content-col%

%epigraph-content-col%

Name

%epigraph-content-col% -- Size of epigraph text column.

Synopsis

%epigraph-content-col%

Description

Width of the table column which contains the contents of epigraphs, expressed as a percentage. AUTHOR Ola Lundqvist

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %epigraph-content-col%
  ;; Size of epigraph text column.
  "45%")
docbook-dsssl-1.79/doc/html/epigraph-start-col.html0000644000175000001440000000542110142565304023006 0ustar msmithusers00000000000000 %epigraph-start-col%

%epigraph-start-col%

Name

%epigraph-start-col% -- Size of start indent for epigraphs.

Synopsis

%epigraph-start-col%

Description

Width of the table column which provides a starting indent for epigraphs, expressed as a percentage. AUTHOR Ola Lundqvist

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %epigraph-start-col%
  ;; Size of start indent for epigraphs.
  "45%")
docbook-dsssl-1.79/doc/html/simplelist-column-width.html0000644000175000001440000000541310142565304024077 0ustar msmithusers00000000000000 %simplelist-column-width%

%simplelist-column-width%

Name

%simplelist-column-width% -- Width of columns in tabular simple lists

Synopsis

%simplelist-column-width%

Description

If SimpleLists are presented in a table, how wide should the table columns be? If #f, no width will be specified.

If not #f, this value should be a string (it will be used in the WIDTH attribute on the TD for each table entry).

Source Code

(define %simplelist-column-width% 
  ;; Width of columns in tabular simple lists
  #f)
docbook-dsssl-1.79/doc/html/table-width.html0000644000175000001440000000556510142565304021516 0ustar msmithusers00000000000000 $table-width$

$table-width$

Name

$table-width$ -- Calculate table width

Synopsis

($table-width$)

Description

This function is called to calculate the width of tables that should theoretically be "100%" wide. Unfortunately, in HTML, a 100% width table in a list hangs off the right side of the browser window. (Who's mistake was that!). So this function provides a way to massage the width appropriately.

This version is fairly dumb.

Source Code

(define ($table-width$)
  ;; Calculate table width
  (if (has-ancestor-member? (current-node) '("LISTITEM"))
      "90%"
      "100%"))
docbook-dsssl-1.79/doc/html/table-element-list.html0000644000175000001440000000504510142565304022772 0ustar msmithusers00000000000000 $table-element-list$

$table-element-list$

Name

$table-element-list$ -- List of table element names

Synopsis

($table-element-list$)

Description

The list of table elements in the DTD.

Source Code

(define ($table-element-list$) 
  ;; List of table element names
  (list (normalize "table") (normalize "informaltable")))
docbook-dsssl-1.79/doc/html/cals-table-class.html0000644000175000001440000000535010142565304022414 0ustar msmithusers00000000000000 %cals-table-class%

%cals-table-class%

Name

%cals-table-class% -- Class attribute for CALS tables

Synopsis

%cals-table-class%

Description

This value, if not #f, will be used as the value of the CLASS attribute on CALS tables. This allows the HTML stylesheet to distinguish between HTML tables generated from tables in the source document from HTML tables generated for other reasons (simplelists and navigation, for example).

Source Code

(define %cals-table-class%
  ;; Class attribute for CALS tables
  "CALSTABLE")
docbook-dsssl-1.79/doc/html/r1133.htm0000644000175000001440000000570010142565304017676 0ustar msmithusers00000000000000 Tables

IX. Tables

Table of Contents
%cals-table-class% -- Class attribute for CALS tables
$table-element-list$ -- List of table element names
$table-width$ -- Calculate table width
%simplelist-column-width% -- Width of columns in tabular simple lists
%epigraph-start-col% -- Size of start indent for epigraphs.
%epigraph-content-col% -- Size of epigraph text column.
%blockquote-start-col% -- Size of start indent for blockquoted text.
%blockquote-end-col% -- Size of end indent for blockquoted text.
docbook-dsssl-1.79/doc/html/qanda-inherit-numeration.html0000644000175000001440000000532210142565303024203 0ustar msmithusers00000000000000 %qanda-inherit-numeration%

%qanda-inherit-numeration%

Name

%qanda-inherit-numeration% -- Should numbered questions inherit the surrounding numeration?

Synopsis

%qanda-inherit-numeration%

Description

If true, question numbers are prefixed with the surrounding component or section number. Has no effect unless %section-autolabel% is also true.

Source Code

(define %qanda-inherit-numeration% 
  ;; Should numbered questions inherit the surrounding numeration?
  #t)
docbook-dsssl-1.79/doc/html/label-preface-sections.html0000644000175000001440000000526210142565303023612 0ustar msmithusers00000000000000 %label-preface-sections%

%label-preface-sections%

Name

%label-preface-sections% -- Are sections in the Preface enumerated?

Synopsis

%label-preface-sections%

Description

If true, unlabeled sections in the Preface will be enumerated if %section-autolabel% is true.

Source Code

(define %label-preface-sections%
  ;; Are sections in the Preface enumerated?
  #t)
docbook-dsssl-1.79/doc/html/section-autolabel.html0000644000175000001440000000504310142565303022712 0ustar msmithusers00000000000000 %section-autolabel%

%section-autolabel%

Name

%section-autolabel% -- Are sections enumerated?

Synopsis

%section-autolabel%

Description

If true, unlabeled sections will be enumerated.

Source Code

(define %section-autolabel%
  ;; Are sections enumerated?
  #f)
docbook-dsssl-1.79/doc/html/chapter-autolabel.html0000644000175000001440000000470610142565303022701 0ustar msmithusers00000000000000 %chapter-autolabel%

%chapter-autolabel%

Name

%chapter-autolabel% -- Are chapters enumerated?

Synopsis

%chapter-autolabel%

Description

If true, chapters will be enumerated.

Source Code

(define %chapter-autolabel% 
  ;; Are chapters enumerated?
  #t)
docbook-dsssl-1.79/doc/html/r1065.htm0000644000175000001440000000477310142565303017712 0ustar msmithusers00000000000000 Labelling

VIII. Labelling

Table of Contents
%chapter-autolabel% -- Are chapters enumerated?
%section-autolabel% -- Are sections enumerated?
%label-preface-sections% -- Are sections in the Preface enumerated?
%qanda-inherit-numeration% -- Should numbered questions inherit the surrounding numeration?
docbook-dsssl-1.79/doc/html/callout-default-col.html0000644000175000001440000000513210142565303023137 0ustar msmithusers00000000000000 %callout-default-col%

%callout-default-col%

Name

%callout-default-col% -- Default column for callouts

Synopsis

%callout-default-col%

Description

If the coordinates of a callout include only a line number, the callout bug will appear in column %callout-default-col%.

Source Code

(define %callout-default-col% 
  ;; Default column for callouts
  60)
docbook-dsssl-1.79/doc/html/shade-verbatim-attr.html0000644000175000001440000000527510142565303023152 0ustar msmithusers00000000000000 $shade-verbatim-attr$

$shade-verbatim-attr$

Name

$shade-verbatim-attr$ -- Attributes used to create a shaded verbatim environment.

Synopsis

($shade-verbatim-attr$)

Description

See %shade-verbatim%

Source Code

(define ($shade-verbatim-attr$)
  ;; Attributes used to create a shaded verbatim environment.
  (list
   (list "BORDER" "0")
   (list "BGCOLOR" "#E0E0E0")
   (list "WIDTH" ($table-width$))))
docbook-dsssl-1.79/doc/html/shade-verbatim.html0000644000175000001440000000526610142565303022202 0ustar msmithusers00000000000000 %shade-verbatim%

%shade-verbatim%

Name

%shade-verbatim% -- Should verbatim environments be shaded?

Synopsis

%shade-verbatim%

Description

If true, a table with ($shade-verbatim-attr$) attributes will be wrapped around each verbatim environment. This gives the effect of a shaded verbatim environment.

Source Code

(define %shade-verbatim%  
  ;; Should verbatim environments be shaded?
  #f)
docbook-dsssl-1.79/doc/html/linenumber-space.html0000644000175000001440000000576010142565303022537 0ustar msmithusers00000000000000 $linenumber-space$

$linenumber-space$

Name

$linenumber-space$ -- Returns the sosofo which separates line numbers from the text

Synopsis

($linenumber-space$)

Description

The sosofo returned by ($linenumber-space$) is placed between the line number and the corresponding line in enumerated environments.

Note: %linenumber-padchar%s are separated from lines that are not enumerated (because they dont match %linenumber-mod%). In other words, ($linenumber-space$)' occurs on every line.

Source Code

(define ($linenumber-space$) 
  ;; Returns the sosofo which separates line numbers from the text
  (make entity-ref name: "nbsp"))
docbook-dsssl-1.79/doc/html/linenumber-padchar.html0000644000175000001440000000507610142565303023046 0ustar msmithusers00000000000000 %linenumber-padchar%

%linenumber-padchar%

Name

%linenumber-padchar% -- Pad character in line numbers

Synopsis

%linenumber-padchar%

Description

Line numbers will be padded (on the left) with %linenumber-padchar%.

Source Code

(define %linenumber-padchar% 
  ;; Pad character in line numbers
  " ")
docbook-dsssl-1.79/doc/html/linenumber-mod.html0000644000175000001440000000514210142565303022215 0ustar msmithusers00000000000000 %linenumber-mod%

%linenumber-mod%

Name

%linenumber-mod% -- Controls line-number frequency in enumerated environments.

Synopsis

%linenumber-mod%

Description

Every %linenumber-mod% line will be enumerated.

Source Code

(define %linenumber-mod% 
  ;; Controls line-number frequency in enumerated environments.
  5)
docbook-dsssl-1.79/doc/html/linenumber-length.html0000644000175000001440000000515710142565303022725 0ustar msmithusers00000000000000 %linenumber-length%

%linenumber-length%

Name

%linenumber-length% -- Width of line numbers in enumerated environments

Synopsis

%linenumber-length%

Description

Line numbers will be padded to %linenumber-length% characters.

Source Code

(define %linenumber-length% 
  ;; Width of line numbers in enumerated environments
  3)
docbook-dsssl-1.79/doc/html/number-synopsis-lines.html0000644000175000001440000000545710142565303023576 0ustar msmithusers00000000000000 %number-synopsis-lines%

%number-synopsis-lines%

Name

%number-synopsis-lines% -- Enumerate lines in a 'Synopsis'?

Synopsis

%number-synopsis-lines%

Description

If true, lines in each Synopsis will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-synopsis-lines% 
  ;; Enumerate lines in a 'Synopsis'?
  #f)
docbook-dsssl-1.79/doc/html/number-screen-lines.html0000644000175000001440000000552710142565302023163 0ustar msmithusers00000000000000 %number-screen-lines%

%number-screen-lines%

Name

%number-screen-lines% -- Enumerate lines in a 'Screen'?

Synopsis

%number-screen-lines%

Description

If true, lines in each Screen will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-screen-lines%
  ;; Enumerate lines in a 'Screen'?
  #f)
docbook-dsssl-1.79/doc/html/number-programlisting-lines.html0000644000175000001440000000562010142565302024737 0ustar msmithusers00000000000000 %number-programlisting-lines%

%number-programlisting-lines%

Name

%number-programlisting-lines% -- Enumerate lines in a 'ProgramListing'?

Synopsis

%number-programlisting-lines%

Description

If true, lines in each ProgramListing will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-programlisting-lines%
  ;; Enumerate lines in a 'ProgramListing'?
  #f)
docbook-dsssl-1.79/doc/html/number-literallayout-lines.html0000644000175000001440000000567710142565302024604 0ustar msmithusers00000000000000 %number-literallayout-lines%

%number-literallayout-lines%

Name

%number-literallayout-lines% -- Enumerate lines in a 'LiteralLayout'?

Synopsis

%number-literallayout-lines%

Description

If true, lines in each LiteralLayout will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-literallayout-lines% 
  ;; Enumerate lines in a 'LiteralLayout'?
  #f)
docbook-dsssl-1.79/doc/html/number-funcsynopsisinfo-lines.html0000644000175000001440000000565010142565302025320 0ustar msmithusers00000000000000 %number-funcsynopsisinfo-lines%

%number-funcsynopsisinfo-lines%

Name

%number-funcsynopsisinfo-lines% -- Enumerate lines in a 'FuncSynopsisInfo'?

Synopsis

%number-funcsynopsisinfo-lines%

Description

If true, lines in each FuncSynopsisInfo will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-funcsynopsisinfo-lines% 
  ;; Enumerate lines in a 'FuncSynopsisInfo'?
  #f)
docbook-dsssl-1.79/doc/html/number-address-lines.html0000644000175000001440000000555310142565302023330 0ustar msmithusers00000000000000 %number-address-lines%

%number-address-lines%

Name

%number-address-lines% -- Enumerate lines in a 'Address'?

Synopsis

%number-address-lines%

Description

If true, lines in each Address will be enumerated. See also %linenumber-mod%, %linenumber-length%, %linenumber-padchar%, and ($linenumber-space$).

Source Code

(define %number-address-lines% 
  ;; Enumerate lines in a 'Address'?
  #f)
docbook-dsssl-1.79/doc/html/indent-synopsis-lines.html0000644000175000001440000000553410142565302023562 0ustar msmithusers00000000000000 %indent-synopsis-lines%

%indent-synopsis-lines%

Name

%indent-synopsis-lines% -- Indent lines in a 'Synopsis'?

Synopsis

%indent-synopsis-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-synopsis-lines% 
  ;; Indent lines in a 'Synopsis'?
  #f)
docbook-dsssl-1.79/doc/html/indent-screen-lines.html0000644000175000001440000000557010142565302023152 0ustar msmithusers00000000000000 %indent-screen-lines%

%indent-screen-lines%

Name

%indent-screen-lines% -- Indent lines in a 'Screen'?

Synopsis

%indent-screen-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-screen-lines%
  ;; Indent lines in a 'Screen'?
  #f)
docbook-dsssl-1.79/doc/html/indent-programlisting-lines.html0000644000175000001440000000565110142565302024734 0ustar msmithusers00000000000000 %indent-programlisting-lines%

%indent-programlisting-lines%

Name

%indent-programlisting-lines% -- Indent lines in a 'ProgramListing'?

Synopsis

%indent-programlisting-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-programlisting-lines%
  ;; Indent lines in a 'ProgramListing'?
  #f)
docbook-dsssl-1.79/doc/html/indent-literallayout-lines.html0000644000175000001440000000573110142565302024564 0ustar msmithusers00000000000000 %indent-literallayout-lines%

%indent-literallayout-lines%

Name

%indent-literallayout-lines% -- Indent lines in a 'LiteralLayout'?

Synopsis

%indent-literallayout-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-literallayout-lines% 
  ;; Indent lines in a 'LiteralLayout'?
  #f)
docbook-dsssl-1.79/doc/html/indent-funcsynopsisinfo-lines.html0000644000175000001440000000567710142565302025322 0ustar msmithusers00000000000000 %indent-funcsynopsisinfo-lines%

%indent-funcsynopsisinfo-lines%

Name

%indent-funcsynopsisinfo-lines% -- Indent lines in a 'FuncSynopsisInfo'?

Synopsis

%indent-funcsynopsisinfo-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-funcsynopsisinfo-lines% 
  ;; Indent lines in a 'FuncSynopsisInfo'?
  #f)
docbook-dsssl-1.79/doc/html/indent-address-lines.html0000644000175000001440000000552110142565302023314 0ustar msmithusers00000000000000 %indent-address-lines%

%indent-address-lines%

Name

%indent-address-lines% -- Indent lines in a 'Address'?

Synopsis

%indent-address-lines%

Description

If not #f, each line in the display will be indented with the content of this variable. Usually it is set to some number of spaces, but you can indent with any string you wish.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %indent-address-lines% 
  ;; Indent lines in a 'Address'?
  #f)
docbook-dsssl-1.79/doc/html/r694.htm0000644000175000001440000001071010142565303017625 0ustar msmithusers00000000000000 Verbatim Environments

VII. Verbatim Environments

Table of Contents
%indent-address-lines% -- Indent lines in a 'Address'?
%indent-funcsynopsisinfo-lines% -- Indent lines in a 'FuncSynopsisInfo'?
%indent-literallayout-lines% -- Indent lines in a 'LiteralLayout'?
%indent-programlisting-lines% -- Indent lines in a 'ProgramListing'?
%indent-screen-lines% -- Indent lines in a 'Screen'?
%indent-synopsis-lines% -- Indent lines in a 'Synopsis'?
%number-address-lines% -- Enumerate lines in a 'Address'?
%number-funcsynopsisinfo-lines% -- Enumerate lines in a 'FuncSynopsisInfo'?
%number-literallayout-lines% -- Enumerate lines in a 'LiteralLayout'?
%number-programlisting-lines% -- Enumerate lines in a 'ProgramListing'?
%number-screen-lines% -- Enumerate lines in a 'Screen'?
%number-synopsis-lines% -- Enumerate lines in a 'Synopsis'?
%linenumber-length% -- Width of line numbers in enumerated environments
%linenumber-mod% -- Controls line-number frequency in enumerated environments.
%linenumber-padchar% -- Pad character in line numbers
$linenumber-space$ -- Returns the sosofo which separates line numbers from the text
%shade-verbatim% -- Should verbatim environments be shaded?
$shade-verbatim-attr$ -- Attributes used to create a shaded verbatim environment.
%callout-default-col% -- Default column for callouts
docbook-dsssl-1.79/doc/html/gentext-nav-use-tables.html0000644000175000001440000000515210142565301023601 0ustar msmithusers00000000000000 %gentext-nav-use-tables%

%gentext-nav-use-tables%

Name

%gentext-nav-use-tables% -- Use tables to build the navigation headers and footers?

Synopsis

%gentext-nav-use-tables%

Description

If true, HTML TABLEs will be used to format the header and footer navigation information.

Source Code

(define %gentext-nav-use-tables%
  ;; Use tables to build the navigation headers and footers?
  #t)
docbook-dsssl-1.79/doc/html/gentext-nav-use-ff.html0000644000175000001440000000522210142565301022720 0ustar msmithusers00000000000000 %gentext-nav-use-ff%

%gentext-nav-use-ff%

Name

%gentext-nav-use-ff% -- Add "fast-forward" to the navigation links?

Synopsis

%gentext-nav-use-ff%

Description

Do you want "fast-forward" navigation? Probably not is my guess. I'm not sure this works real well yet.

Source Code

(define %gentext-nav-use-ff%
  ;; Add "fast-forward" to the navigation links?
  #f)
docbook-dsssl-1.79/doc/html/gentext-nav-tblwidth.html0000644000175000001440000000527110142565301023360 0ustar msmithusers00000000000000 %gentext-nav-tblwidth%

%gentext-nav-tblwidth%

Name

%gentext-nav-tblwidth% -- If using tables for navigation, how wide should the tables be?

Synopsis

%gentext-nav-tblwidth%

Description

If tables are used for navigation (see %gentext-nav-use-tables%), how wide should the tables be?

Source Code

(define %gentext-nav-tblwidth% 
  ;; If using tables for navigation, how wide should the tables be?
  "100%")
docbook-dsssl-1.79/doc/html/footer-navigation.html0000644000175000001440000000561110142565301022732 0ustar msmithusers00000000000000 %footer-navigation%

%footer-navigation%

Name

%footer-navigation% -- Should navigation links be added to the bottom of each page?

Synopsis

%footer-navigation%

Description

If #t, navigation links will be added to the bottom of each page. If #f, no navigation links will be added. Note that this has no effect on ($user-footer-navigation$) or (nav-footer), which will still be called (but do nothing by default).

Source Code

(define %footer-navigation%
  ;; Should navigation links be added to the bottom of each page?
  #t)
docbook-dsssl-1.79/doc/html/header-navigation.html0000644000175000001440000000541310142565301022664 0ustar msmithusers00000000000000 %header-navigation%

%header-navigation%

Name

%header-navigation% -- Should navigation links be added to the top of each page?

Synopsis

%header-navigation%

Description

If #t, navigation links will be added to the top of each page. If #f, no navigation links will be added. Note that this has no effect on ($user-header-navigation$), which will still be called (but does nothing by default).

Source Code

(define %header-navigation%
  ;; Should navigation links be added to the top of each page?
  #t)
docbook-dsssl-1.79/doc/html/r604.htm0000644000175000001440000000541110142565301017614 0ustar msmithusers00000000000000 Navigation

VI. Navigation

Table of Contents
%header-navigation% -- Should navigation links be added to the top of each page?
%footer-navigation% -- Should navigation links be added to the bottom of each page?
%gentext-nav-tblwidth% -- If using tables for navigation, how wide should the tables be?
%gentext-nav-use-ff% -- Add "fast-forward" to the navigation links?
%gentext-nav-use-tables% -- Use tables to build the navigation headers and footers?
docbook-dsssl-1.79/doc/html/may-format-variablelist-as-table.html0000644000175000001440000000570410142565301025523 0ustar msmithusers00000000000000 %may-format-variablelist-as-table%

%may-format-variablelist-as-table%

Name

%may-format-variablelist-as-table% -- Format VariableLists as tables?

Synopsis

%may-format-variablelist-as-table%

Description

If %may-format-variablelist-as-table% is #t, a VariableList will be formatted as a table, if *all of* the terms are shorter than the specified TermLength.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %may-format-variablelist-as-table%
  ;; Format VariableLists as tables?
  #f)
docbook-dsssl-1.79/doc/html/default-variablelist-termlength.html0000644000175000001440000000617610142565301025560 0ustar msmithusers00000000000000 %default-variablelist-termlength%

%default-variablelist-termlength%

Name

%default-variablelist-termlength% -- Default term length on variablelists

Synopsis

%default-variablelist-termlength%

Description

When formatting a VariableList, this value is used as the default term length, if no TermLength is specified.

If all of the terms in a list shorter than the term length, the stylesheet may format them "side-by-side" in a table.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %default-variablelist-termlength%
  ;; Default term length on variablelists
  20)
docbook-dsssl-1.79/doc/html/always-format-variablelist-as-table.html0000644000175000001440000000623710142565300026236 0ustar msmithusers00000000000000 %always-format-variablelist-as-table%

%always-format-variablelist-as-table%

Name

%always-format-variablelist-as-table% -- Always format VariableLists as tables?

Synopsis

%always-format-variablelist-as-table%

Description

When a VariableList is formatted, if any of the terms in the list are too long, the whole list is formatted as a list.

If %always-format-variablelist-as-table% is #t, the VariableList will be formatted as a table, even if some terms are too long. The terms that are too long will format span above their associated description.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define %always-format-variablelist-as-table%
  ;; Always format VariableLists as tables?
  #f)
docbook-dsssl-1.79/doc/html/r533.htm0000644000175000001440000000512310142565301017615 0ustar msmithusers00000000000000 VariableLists

V. VariableLists

Table of Contents
%always-format-variablelist-as-table% -- Always format VariableLists as tables?
%default-variablelist-termlength% -- Default term length on variablelists
%may-format-variablelist-as-table% -- Format VariableLists as tables?
docbook-dsssl-1.79/doc/html/callout-graphics-number-limit.html0000644000175000001440000000551710142565300025146 0ustar msmithusers00000000000000 %callout-graphics-number-limit%

%callout-graphics-number-limit%

Name

%callout-graphics-number-limit% -- Number of largest callout graphic

Synopsis

%callout-graphics-number-limit%

Description

If %callout-graphics% is true, graphics are used to represent callout numbers. The value of %callout-graphics-number-limit% is the largest number for which a graphic exists. If the callout number exceeds this limit, the default presentation "(nnn)" will always be used.

Source Code

(define %callout-graphics-number-limit%
  ;; Number of largest callout graphic
  10)
docbook-dsssl-1.79/doc/html/callout-graphics-path.html0000644000175000001440000000524210142565300023471 0ustar msmithusers00000000000000 %callout-graphics-path%

%callout-graphics-path%

Name

%callout-graphics-path% -- Path to callout graphics

Synopsis

%callout-graphics-path%

Description

Sets the path, probably relative to the directory where the HTML files are created, to the callout graphics.

Source Code

(define %callout-graphics-path%
  ;; Path to callout graphics
  "../images/callouts/")
docbook-dsssl-1.79/doc/html/callout-graphics.html0000644000175000001440000000511110142565300022532 0ustar msmithusers00000000000000 %callout-graphics%

%callout-graphics%

Name

%callout-graphics% -- Use graphics in callouts?

Synopsis

%callout-graphics%

Description

If true, callouts are presented with graphics (e.g., reverse-video circled numbers instead of "(1)", "(2)", etc.). Default graphics are provided in the distribution.

Source Code

(define %callout-graphics%
  ;; Use graphics in callouts?
  #t)
docbook-dsssl-1.79/doc/html/r481.htm0000644000175000001440000000454210142565300017622 0ustar msmithusers00000000000000 Callouts

IV. Callouts

Table of Contents
%callout-graphics% -- Use graphics in callouts?
%callout-graphics-path% -- Path to callout graphics
%callout-graphics-number-limit% -- Number of largest callout graphic
docbook-dsssl-1.79/doc/html/admon-graphic-width.html0000644000175000001440000000521210142565300023121 0ustar msmithusers00000000000000 $admon-graphic-width$

$admon-graphic-width$

Name

$admon-graphic-width$ -- Admonition graphic file width

Synopsis

($admon-graphic-width$ #!optional (nd (current-node)))

Description

Given an admonition node, returns the width of the graphic that will be used for that admonition.

All of the default graphics in the distribution are 25 pixels wide.

Source Code

(define ($admon-graphic-width$ #!optional (nd (current-node)))
  ;; Admonition graphic file width
  "25")
docbook-dsssl-1.79/doc/html/admon-graphic.html0000644000175000001440000000640210142565300022006 0ustar msmithusers00000000000000 $admon-graphic$

$admon-graphic$

Name

$admon-graphic$ -- Admonition graphic file

Synopsis

($admon-graphic$ #!optional (nd (current-node)))

Description

Given an admonition node, returns the name of the graphic that should be used for that admonition.

Source Code

(define ($admon-graphic$ #!optional (nd (current-node)))
  ;; Admonition graphic file
  (cond ((equal? (gi nd) (normalize "tip"))
	 (string-append %admon-graphics-path% "tip" %stock-graphics-extension%))
	((equal? (gi nd) (normalize "note"))
	 (string-append %admon-graphics-path% "note" %stock-graphics-extension%))
	((equal? (gi nd) (normalize "important"))
	 (string-append %admon-graphics-path% "important" %stock-graphics-extension%))
	((equal? (gi nd) (normalize "caution"))
	 (string-append %admon-graphics-path% "caution" %stock-graphics-extension%))
	((equal? (gi nd) (normalize "warning"))
	 (string-append %admon-graphics-path% "warning" %stock-graphics-extension%))
	(else (error (string-append (gi nd) " is not an admonition.")))))
docbook-dsssl-1.79/doc/html/admon-graphics-path.html0000644000175000001440000000507710142565300023132 0ustar msmithusers00000000000000 %admon-graphics-path%

%admon-graphics-path%

Name

%admon-graphics-path% -- Path to admonition graphics

Synopsis

%admon-graphics-path%

Description

Sets the path, probably relative to the directory where the HTML files are created, to the admonition graphics.

Source Code

(define %admon-graphics-path%
  ;; Path to admonition graphics
  "../images/")
docbook-dsssl-1.79/doc/html/admon-graphics.html0000644000175000001440000000503610142565300022173 0ustar msmithusers00000000000000 %admon-graphics%

%admon-graphics%

Name

%admon-graphics% -- Use graphics in admonitions?

Synopsis

%admon-graphics%

Description

If true, admonitions are presented in an alternate style that uses a graphic. Default graphics are provided in the distribution.

Source Code

(define %admon-graphics%
  ;; Use graphics in admonitions?
  #f)
docbook-dsssl-1.79/doc/html/r414.htm0000644000175000001440000000466510142565300017624 0ustar msmithusers00000000000000 Admonitions

III. Admonitions

Table of Contents
%admon-graphics% -- Use graphics in admonitions?
%admon-graphics-path% -- Path to admonition graphics
$admon-graphic$ -- Admonition graphic file
$admon-graphic-width$ -- Admonition graphic file width
docbook-dsssl-1.79/doc/html/othername-in-middle.html0000644000175000001440000000523010142565300023115 0ustar msmithusers00000000000000 %author-othername-in-middle%

%author-othername-in-middle%

Name

%author-othername-in-middle% -- Author OTHERNAME appears between FIRSTNAME and SURNAME?

Synopsis

%author-othername-in-middle%

Description

If true, the OTHERNAME of an AUTHOR appears between the FIRSTNAME and SURNAME. Otherwise, OTHERNAME is suppressed.

Source Code

(define %author-othername-in-middle%
  ;; Author OTHERNAME appears between FIRSTNAME and SURNAME?
  #t)
docbook-dsssl-1.79/doc/html/legalnotice-link-file.html0000644000175000001440000000611510142565300023434 0ustar msmithusers00000000000000 $legalnotice-link-file$

$legalnotice-link-file$

Name

$legalnotice-link-file$ -- Name of output file for legal notices

Synopsis

($legalnotice-link-file$ legalnotice)

Description

Name of the output file for legal notices if %generate-legalnotice-link% is true. Since several legal notices may occur (in a Set of Books, for example), this is no longer a fixed filename.

Source Code

(define ($legalnotice-link-file$ legalnotice)
  ;; Name of output file for legal notices
  (if (and %use-id-as-filename% (attribute-string (normalize "id") legalnotice))
      (string-append (attribute-string (normalize "id") legalnotice)
		     %html-ext%)
      (string-append "ln"
		     (number->string (all-element-number legalnotice))
		     %html-ext%)))
docbook-dsssl-1.79/doc/html/generate-legalnotice-link.html0000644000175000001440000000576010142565300024314 0ustar msmithusers00000000000000 %generate-legalnotice-link%

%generate-legalnotice-link%

Name

%generate-legalnotice-link% -- Should legal notices be a link to a separate file?

Synopsis

%generate-legalnotice-link%

Description

If true, legal notices will be references to a separate file. Note: the support for this handles the case where a single *INFO node contains several distinct legal notices, but won't handle multiple legal notices in different *INFO nodes. (Each set will overwrite the previous.) A more complex approach could be implemented, but this is sufficient for the current demand. Let me know...

Source Code

(define %generate-legalnotice-link%
  ;; Should legal notices be a link to a separate file?
  #f)
docbook-dsssl-1.79/doc/html/titlepage-in-info-order.html0000644000175000001440000000547510142565277023747 0ustar msmithusers00000000000000 %titlepage-in-info-order%

%titlepage-in-info-order%

Name

%titlepage-in-info-order% -- Place elements on title page in document order?

Synopsis

%titlepage-in-info-order%

Description

If true, the elements on the title page will be set in the order that they appear in the *info element. Otherwise, they will be set in the order specified in the *-titlepage-*-elements list.

Source Code

(define %titlepage-in-info-order% 
  ;; Place elements on title page in document order?
  #f)
docbook-dsssl-1.79/doc/html/generate-article-titlepage.html0000644000175000001440000000533010142565277024500 0ustar msmithusers00000000000000 %generate-article-titlepage%

%generate-article-titlepage%

Name

%generate-article-titlepage% -- Should an article title page be produced?

Synopsis

%generate-article-titlepage%

Description

If true, a title page will be generated for each Article.

Source Code

(define %generate-article-titlepage% 
  ;; Should an article title page be produced?
  #t)
docbook-dsssl-1.79/doc/html/generate-reference-titlepage.html0000644000175000001440000000540610142565277025017 0ustar msmithusers00000000000000 %generate-reference-titlepage%

%generate-reference-titlepage%

Name

%generate-reference-titlepage% -- Should a reference title page be produced?

Synopsis

%generate-reference-titlepage%

Description

If true, a title page will be generated for each Reference.

Source Code

(define %generate-reference-titlepage% 
  ;; Should a reference title page be produced?
  #t)
docbook-dsssl-1.79/doc/html/generate-partintro-on-titlepage.html0000644000175000001440000000554510142565277025521 0ustar msmithusers00000000000000 %generate-partintro-on-titlepage%

%generate-partintro-on-titlepage%

Name

%generate-partintro-on-titlepage% -- Should the PartIntro appear on the Part/Reference title page?

Synopsis

%generate-partintro-on-titlepage%

Description

If true, the PartIntro content will appear on the title page of Parts and References. If false, it will be placed on separate page(s) after the title page.

Source Code

(define %generate-partintro-on-titlepage%
  ;; Should the PartIntro appear on the Part/Reference title page?
  #t)
docbook-dsssl-1.79/doc/html/generate-part-titlepage.html0000644000175000001440000000531210142565277024023 0ustar msmithusers00000000000000 %generate-part-titlepage%

%generate-part-titlepage%

Name

%generate-part-titlepage% -- Should a part title page be produced?

Synopsis

%generate-part-titlepage%

Description

If true, a title page will be generated for each Part.

Source Code

(define %generate-part-titlepage% 
  ;; Should a part title page be produced?
  #t)
docbook-dsssl-1.79/doc/html/generate-book-titlepage.html0000644000175000001440000000523410142565277024012 0ustar msmithusers00000000000000 %generate-book-titlepage%

%generate-book-titlepage%

Name

%generate-book-titlepage% -- Should a book title page be produced?

Synopsis

%generate-book-titlepage%

Description

If true, a title page will be generated for each Book.

Source Code

(define %generate-book-titlepage%
  ;; Should a book title page be produced?
  #t)
docbook-dsssl-1.79/doc/html/generate-set-titlepage.html0000644000175000001440000000507610142565277023657 0ustar msmithusers00000000000000 %generate-set-titlepage%

%generate-set-titlepage%

Name

%generate-set-titlepage% -- Should a set title page be produced?

Synopsis

%generate-set-titlepage%

Description

If true, a title page will be generated for each Set.

Source Code

(define %generate-set-titlepage%
  ;; Should a set title page be produced?
  #t)
docbook-dsssl-1.79/doc/html/r246.htm0000644000175000001440000000666310142565300017627 0ustar msmithusers00000000000000 Titlepages

II. Titlepages

Table of Contents
%generate-set-titlepage% -- Should a set title page be produced?
%generate-book-titlepage% -- Should a book title page be produced?
%generate-part-titlepage% -- Should a part title page be produced?
%generate-partintro-on-titlepage% -- Should the PartIntro appear on the Part/Reference title page?
%generate-reference-titlepage% -- Should a reference title page be produced?
%generate-article-titlepage% -- Should an article title page be produced?
%titlepage-in-info-order% -- Place elements on title page in document order?
%generate-legalnotice-link% -- Should legal notices be a link to a separate file?
$legalnotice-link-file$ -- Name of output file for legal notices
%author-othername-in-middle% -- Author OTHERNAME appears between FIRSTNAME and SURNAME?
docbook-dsssl-1.79/doc/html/generate-qandaset-toc.html0000644000175000001440000000521710142565277023470 0ustar msmithusers00000000000000 $generate-qandaset-toc$

$generate-qandaset-toc$

Name

$generate-qandaset-toc$ -- Should a QandASet Table of Contents be produced?

Synopsis

($generate-qandaset-toc$)

Description

If true, an automatically generated TOC is produced for each QandASet.

Author

Norman Walsh, <ndw@nwalsh.com>

Source Code

(define ($generate-qandaset-toc$)
  ;; Should a QandASet Table of Contents be produced?
  #t)
docbook-dsssl-1.79/doc/html/annotate-toc.html0000644000175000001440000000521210142565277021704 0ustar msmithusers00000000000000 %annotate-toc%

%annotate-toc%

Name

%annotate-toc% -- Annotate TOC entries

Synopsis

%annotate-toc%

Description

If #t, TOC entries will be annotated (e.g., the RefPurpose of a RefEntry will be displayed in the TOC).

Source Code

(define %annotate-toc%
  ;; Annotate TOC entries
  #t)
docbook-dsssl-1.79/doc/html/generate-reference-toc-on-titlepage.html0000644000175000001440000000542510142565277026215 0ustar msmithusers00000000000000 %generate-reference-toc-on-titlepage%

%generate-reference-toc-on-titlepage%

Name

%generate-reference-toc-on-titlepage% -- Should the Reference TOC appear on the Reference title page?

Synopsis

%generate-reference-toc-on-titlepage%

Description

If true, the Reference TOC will be placed on the Reference title page. If false, the TOC will be placed after the Reference title page.

Source Code

(define %generate-reference-toc-on-titlepage%
  ;; Should the Reference TOC appear on the Reference title page?
  #t)
docbook-dsssl-1.79/doc/html/generate-reference-toc.html0000644000175000001440000000542510142565277023627 0ustar msmithusers00000000000000 %generate-reference-toc%

%generate-reference-toc%

Name

%generate-reference-toc% -- Should a Table of Contents be produced for References?

Synopsis

%generate-reference-toc%

Description

If true, a Table of Contents will be generated for each Reference.

Source Code

(define %generate-reference-toc% 
  ;; Should a Table of Contents be produced for References?
  #t)
docbook-dsssl-1.79/doc/html/generate-article-lot-list.html0000644000175000001440000000574710142565276024304 0ustar msmithusers00000000000000 $generate-article-lot-list$

$generate-article-lot-list$

Name

$generate-article-lot-list$ -- Which Lists of Titles should be produced for Books?

Synopsis

($generate-article-lot-list$)

Description

This parameter should be a list (possibly empty) of the elements for which Lists of Titles shold be produced for each Article.

It is meaningless to put elements that do not have titles in this list. If elements with optional titles are placed in this list, only the instances of those elements that do have titles will appear in the LOT.

Source Code

(define ($generate-article-lot-list$)
  ;; Which Lists of Titles should be produced for Books?
(list))
docbook-dsssl-1.79/doc/html/generate-article-toc.html0000644000175000001440000000525110142565276023310 0ustar msmithusers00000000000000 %generate-article-toc%

%generate-article-toc%

Name

%generate-article-toc% -- Should a Table of Contents be produced for Articles?

Synopsis

%generate-article-toc%

Description

If true, a Table of Contents will be generated for each Article.

Source Code

(define %generate-article-toc% 
  ;; Should a Table of Contents be produced for Articles?
  #f)
docbook-dsssl-1.79/doc/html/force-chapter-toc.html0000644000175000001440000000530310142565276022615 0ustar msmithusers00000000000000 %force-chapter-toc%

%force-chapter-toc%

Name

%force-chapter-toc% -- Force a chapter TOC even if it includes only a single entry

Synopsis

%force-chapter-toc%

Description

Force chapter toc indicates whether or not an automatically generated chapter TOC should be included even if it has only one entry.

Source Code

(define %force-chapter-toc% 
  ;; Force a chapter TOC even if it includes only a single entry
  #f)
docbook-dsssl-1.79/doc/html/generate-chapter-toc.html0000644000175000001440000000560310142565276023314 0ustar msmithusers00000000000000 $generate-chapter-toc$

$generate-chapter-toc$

Name

$generate-chapter-toc$ -- Should a Chapter Table of Contents be produced?

Synopsis

$generate-chapter-toc$

Description

If true, an automatically generated chapter TOC should be included. By default, its true. Its false if the output is going to a single file and the current node isn't the root element.

Source Code

(define $generate-chapter-toc$ 
  ;; Should a Chapter Table of Contents be produced?
  (lambda ()
    (or (not nochunks)
(node-list=? (current-node) (sgml-root-element)))))
docbook-dsssl-1.79/doc/html/generate-part-toc-on-titlepage.html0000644000175000001440000000537010142565276025223 0ustar msmithusers00000000000000 %generate-part-toc-on-titlepage%

%generate-part-toc-on-titlepage%

Name

%generate-part-toc-on-titlepage% -- Should the Part TOC appear on the Part title page?

Synopsis

%generate-part-toc-on-titlepage%

Description

If true, the Part TOC will be placed on the Part title page. If false, the TOC will be placed on separate page(s) after the Part title page.

Source Code

(define %generate-part-toc-on-titlepage%
  ;; Should the Part TOC appear on the Part title page?
  #t)
docbook-dsssl-1.79/doc/html/generate-part-toc.html0000644000175000001440000000554410142565276022640 0ustar msmithusers00000000000000 %generate-part-toc%

%generate-part-toc%

Name

%generate-part-toc% -- Should a Table of Contents be produced for Parts?

Synopsis

%generate-part-toc%

Description

If true, a Table of Contents will be generated for each Part. Note: %generate-part-toc-on-titlepage% controls whether the Part TOC is placed on the bottom of the part titlepage or on page(s) of its own.

Source Code

(define %generate-part-toc% 
  ;; Should a Table of Contents be produced for Parts?
  #t)
docbook-dsssl-1.79/doc/html/generate-book-lot-list.html0000644000175000001440000000577710142565276023616 0ustar msmithusers00000000000000 $generate-book-lot-list$

$generate-book-lot-list$

Name

$generate-book-lot-list$ -- Which Lists of Titles should be produced for Books?

Synopsis

($generate-book-lot-list$)

Description

This parameter should be a list (possibly empty) of the elements for which Lists of Titles should be produced for each Book.

It is meaningless to put elements that do not have titles in this list. If elements with optional titles are placed in this list, only the instances of those elements that do have titles will appear in the LOT.

Source Code

(define ($generate-book-lot-list$)
  ;; Which Lists of Titles should be produced for Books?
  (list (normalize "table")
(normalize "figure")
(normalize "example")
(normalize "equation")))
docbook-dsssl-1.79/doc/html/generate-book-toc.html0000644000175000001440000000516610142565276022624 0ustar msmithusers00000000000000 %generate-book-toc%

%generate-book-toc%

Name

%generate-book-toc% -- Should a Table of Contents be produced for Books?

Synopsis

%generate-book-toc%

Description

If true, a Table of Contents will be generated for each Book.

Source Code

(define %generate-book-toc% 
  ;; Should a Table of Contents be produced for Books?
  #t)
docbook-dsssl-1.79/doc/html/generate-set-toc.html0000644000175000001440000000505010142565276022455 0ustar msmithusers00000000000000 %generate-set-toc%

%generate-set-toc%

Name

%generate-set-toc% -- Should a Table of Contents be produced for Sets?

Synopsis

%generate-set-toc%

Description

If true, a Table of Contents will be generated for each Set.

Source Code

(define %generate-set-toc% 
  ;; Should a Table of Contents be produced for Sets?
  #t)
docbook-dsssl-1.79/doc/html/r22.htm0000644000175000001440000000740410142565277017546 0ustar msmithusers00000000000000 TOC/LOT Apparatus

I. TOC/LOT Apparatus

Table of Contents
%generate-set-toc% -- Should a Table of Contents be produced for Sets?
%generate-book-toc% -- Should a Table of Contents be produced for Books?
$generate-book-lot-list$ -- Which Lists of Titles should be produced for Books?
%generate-part-toc% -- Should a Table of Contents be produced for Parts?
%generate-part-toc-on-titlepage% -- Should the Part TOC appear on the Part title page?
$generate-chapter-toc$ -- Should a Chapter Table of Contents be produced?
%force-chapter-toc% -- Force a chapter TOC even if it includes only a single entry
%generate-article-toc% -- Should a Table of Contents be produced for Articles?
$generate-article-lot-list$ -- Which Lists of Titles should be produced for Books?
%generate-reference-toc% -- Should a Table of Contents be produced for References?
%generate-reference-toc-on-titlepage% -- Should the Reference TOC appear on the Reference title page?
%annotate-toc% -- Annotate TOC entries
$generate-qandaset-toc$ -- Should a QandASet Table of Contents be produced?
docbook-dsssl-1.79/doc/html/ln15.htm0000644000175000001440000000372710142565276017723 0ustar msmithusers00000000000000

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please direct all questions, bug reports, or suggestions for changes to Norman Walsh, <ndw@nwalsh.com>.

See http://nwalsh.com/docbook/dsssl/ for more information.

docbook-dsssl-1.79/doc/html/index.html0000644000175000001440000000451310142565312020410 0ustar msmithusers00000000000000 DocBook HTML Parameters

DocBook HTML Parameters

Part of the Modular DocBook Stylesheet distribution

Norman Walsh