├── styles
├── dsssl-stylesheets
│ ├── VERSION
│ ├── images
│ │ ├── home.gif
│ │ ├── next.gif
│ │ ├── note.gif
│ │ ├── prev.gif
│ │ ├── tip.gif
│ │ ├── up.gif
│ │ ├── caution.gif
│ │ ├── important.gif
│ │ ├── toc-blank.gif
│ │ ├── toc-minus.gif
│ │ ├── toc-plus.gif
│ │ ├── warning.gif
│ │ └── callouts
│ │ │ ├── 1.gif
│ │ │ ├── 10.gif
│ │ │ ├── 2.gif
│ │ │ ├── 3.gif
│ │ │ ├── 4.gif
│ │ │ ├── 5.gif
│ │ │ ├── 6.gif
│ │ │ ├── 7.gif
│ │ │ ├── 8.gif
│ │ │ └── 9.gif
│ ├── test
│ │ ├── emc2.gif
│ │ ├── emc2i.gif
│ │ ├── tennis.jpg
│ │ ├── tennis.mpeg
│ │ ├── xlists.sgm
│ │ ├── xmath.sgm
│ │ ├── xblocks.sgm
│ │ ├── xtables.sgm
│ │ ├── xcallout.sgm
│ │ ├── xcmdsyn.sgm
│ │ ├── xinlines.sgm
│ │ ├── xfuncsyn.sgm
│ │ ├── xinclude.sgm
│ │ ├── xml
│ │ │ └── xinlines.xml
│ │ ├── xsections.sgm
│ │ ├── xgraphic.sgm
│ │ ├── xindex.sgm
│ │ ├── xiterms.sgm
│ │ ├── cases
│ │ │ ├── refentry.sgm
│ │ │ ├── include.sgm
│ │ │ ├── graphic.sgm
│ │ │ ├── gloss.sgm
│ │ │ ├── math.sgm
│ │ │ ├── funcsyn.sgm
│ │ │ ├── iterms.sgm
│ │ │ ├── makemlang.pl
│ │ │ ├── index.sgm
│ │ │ ├── refent.sgm
│ │ │ ├── cmdsyn.sgm
│ │ │ ├── callout.sgm
│ │ │ └── biblio2.sgm
│ │ ├── xgloss.sgm
│ │ ├── xmlang.sgm
│ │ ├── xbadtag.sgm
│ │ ├── xbiblio2.sgm
│ │ ├── multicol.dsl
│ │ ├── headft.dsl
│ │ ├── xbook2.sgm
│ │ ├── xarticle.dsl
│ │ ├── docbook.css
│ │ ├── imagelib
│ │ │ └── imagelib.xml
│ │ ├── footnote.sgm
│ │ ├── xset.sgm
│ │ ├── struct.sgm
│ │ ├── refentry.sgm
│ │ ├── multicol.sgm
│ │ ├── genindex.sgm
│ │ ├── xreference.sgm
│ │ └── docbook40.xml
│ ├── common
│ │ ├── dbl1sv.ent
│ │ ├── dbl1ptbr.ent
│ │ ├── dbl1null.dsl
│ │ ├── dbl1en.ent
│ │ ├── dbl1id.ent
│ │ ├── dbl1no.ent
│ │ ├── dbl1fi.ent
│ │ ├── dbl1da.ent
│ │ ├── dbl1pt.ent
│ │ ├── dbl1nl.ent
│ │ ├── dbl1sl.ent
│ │ ├── dbl1pl.ent
│ │ ├── dbl1it.ent
│ │ ├── dbl1ro.ent
│ │ ├── dbl1sk.ent
│ │ ├── dbl1de.ent
│ │ ├── dbl1cs.ent
│ │ ├── dbl1es.ent
│ │ ├── dbl1fr.ent
│ │ ├── dbl1et.ent
│ │ ├── dbl1ja.ent
│ │ └── dbl1ca.ent
│ ├── html
│ │ ├── version.dsl
│ │ ├── dblot.dsl
│ │ ├── dbmsgset.dsl
│ │ ├── dbprocdr.dsl
│ │ ├── dbtitle.dsl
│ │ ├── dbpi.dsl
│ │ ├── dbmath.dsl
│ │ └── dbgraph.dsl
│ ├── print
│ │ ├── version.dsl
│ │ ├── notoc.dsl
│ │ ├── dblot.dsl
│ │ ├── plain.dsl
│ │ ├── dbprocdr.dsl
│ │ ├── dbmsgset.dsl
│ │ ├── dbtitle.dsl
│ │ ├── dbmath.dsl
│ │ ├── dbgraph.dsl
│ │ └── dbgloss.dsl
│ ├── dtds
│ │ ├── olink
│ │ │ └── olinksum.dtd
│ │ ├── imagelib
│ │ │ └── imagelib.dtd
│ │ └── decls
│ │ │ └── docbook.dcl
│ └── catalog
├── catalog
├── openjade
│ ├── catalog
│ └── style-sheet.dtd
├── sgml-iso
│ ├── ISOamsc.ent
│ ├── ISOdia.ent
│ ├── ISOamso.ent
│ ├── catalog
│ ├── ISOgrk2.ent
│ ├── ISOcyr2.ent
│ ├── ISOgrk3.ent
│ ├── ISOgrk4.ent
│ ├── ISOgrk1.ent
│ ├── ISOamsb.ent
│ └── ISObox.ent
├── sgml-dtd-3.1
│ ├── dbgenent.mod
│ ├── catalog
│ └── docbook.dcl
└── tutorial.dsl
├── ChangeLog
├── images
├── note.gif
├── tip.gif
├── caution.gif
├── warning.gif
├── app-window-eq.gif
├── icmp_ratemask.gif
├── icmp_ratemask_ex.gif
├── adv-window-scale-neg-eq.gif
└── adv-window-scale-pos-eq.gif
├── appendices
├── history.sgml
└── measurements.sgml
├── chapters
└── neigh-reference.sgml
├── addons
├── eps_to_png
├── addons
└── fabpdf
├── TODO
├── other
└── ip_dynaddr.txt
└── ipsysctl-tutorial.sgml
/styles/dsssl-stylesheets/VERSION:
--------------------------------------------------------------------------------
1 | 1.64
2 |
3 |
--------------------------------------------------------------------------------
/ChangeLog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/ChangeLog
--------------------------------------------------------------------------------
/images/note.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/note.gif
--------------------------------------------------------------------------------
/images/tip.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/tip.gif
--------------------------------------------------------------------------------
/images/caution.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/caution.gif
--------------------------------------------------------------------------------
/images/warning.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/warning.gif
--------------------------------------------------------------------------------
/appendices/history.sgml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/appendices/history.sgml
--------------------------------------------------------------------------------
/images/app-window-eq.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/app-window-eq.gif
--------------------------------------------------------------------------------
/images/icmp_ratemask.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/icmp_ratemask.gif
--------------------------------------------------------------------------------
/images/icmp_ratemask_ex.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/icmp_ratemask_ex.gif
--------------------------------------------------------------------------------
/images/adv-window-scale-neg-eq.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/adv-window-scale-neg-eq.gif
--------------------------------------------------------------------------------
/images/adv-window-scale-pos-eq.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/images/adv-window-scale-pos-eq.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/home.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/home.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/next.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/next.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/note.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/note.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/prev.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/prev.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/tip.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/tip.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/up.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/up.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/emc2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/test/emc2.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/emc2i.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/test/emc2i.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/tennis.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/test/tennis.jpg
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1sv.ent:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/common/dbl1sv.ent
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/tennis.mpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/test/tennis.mpeg
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1ptbr.ent:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/common/dbl1ptbr.ent
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/caution.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/caution.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/important.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/important.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/toc-blank.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/toc-blank.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/toc-minus.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/toc-minus.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/toc-plus.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/toc-plus.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/warning.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/warning.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/1.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/10.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/10.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/2.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/3.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/3.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/4.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/4.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/5.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/5.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/6.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/6.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/7.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/7.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/8.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/8.gif
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/images/callouts/9.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/frznlogic/ipsysctl-tutorial/HEAD/styles/dsssl-stylesheets/images/callouts/9.gif
--------------------------------------------------------------------------------
/chapters/neigh-reference.sgml:
--------------------------------------------------------------------------------
1 |
2 | Neigh reference
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/addons/eps_to_png:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | echo "changing all eps to png for file $1"
3 | cat $1 | sed -e s/\\.eps/\\.png/g > $1.tmp
4 | cat $1.tmp | sed -e s/eps\}/png\}/g > $1
5 | rm -f $1.tmp
6 |
--------------------------------------------------------------------------------
/TODO:
--------------------------------------------------------------------------------
1 | * igmp_max_memberships - need fixing, too short and don't say anything
2 | * Fix first to third person or vice versa to make document coherent.
3 | * Write route/ section.
4 | * Write neigh/ section.
5 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xlists.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &lists;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xmath.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &math;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xblocks.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &blocks;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xtables.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &tables;
6 |
7 |
--------------------------------------------------------------------------------
/styles/catalog:
--------------------------------------------------------------------------------
1 | PUBLIC "-//Oskar Andreasson//DTD DSSSL Style Sheet//EN" "tutorial.dsl"
2 | CATALOG sgml-iso/catalog
3 | CATALOG sgml-dtd-3.1/catalog
4 | CATALOG openjade/catalog
5 | CATALOG "dsssl-stylesheets/catalog"
6 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xcallout.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &callout;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xcmdsyn.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &cmdsynop;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xinlines.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &inlines;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xfuncsyn.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &funcsynop;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xinclude.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &include;
6 |
7 |
8 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xml/xinlines.xml:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | &inlines;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xsections.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | §ions;
6 |
7 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xgraphic.sgm:
--------------------------------------------------------------------------------
1 |
3 |
4 | ]>
5 | Book Title
6 | &graphic;
7 |
8 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xindex.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 |
5 | foo
6 | foo
7 |
8 | &index;
9 |
10 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xiterms.sgm:
--------------------------------------------------------------------------------
1 |
3 |
4 | ]>
5 | Book Title
6 | &iterms;
7 | &genindex;
8 |
9 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/refentry.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | A Reference
6 | &refentry;
7 |
8 |
9 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xgloss.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | fooempty
6 | &glossary;
7 |
8 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/include.sgm:
--------------------------------------------------------------------------------
1 | Include Tests
2 |
3 | Don'tcha just love self-reference?
4 |
5 |
6 |
7 |
8 |
9 | I do.
10 |
11 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1null.dsl:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 | ;; No definitions...
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/styles/openjade/catalog:
--------------------------------------------------------------------------------
1 | PUBLIC "-//James Clark//DTD DSSSL Flow Object Tree//EN" "fot.dtd"
2 | PUBLIC "ISO/IEC 10179:1996//DTD DSSSL Architecture//EN" "dsssl.dtd"
3 | PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" "style-sheet.dtd"
4 | PUBLIC "-//OpenJade//DTD DSSSL Style Sheet//EN" "style-sheet.dtd"
5 | SYSTEM "builtins.dsl" "builtins.dsl"
6 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xmlang.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 |
5 |
6 | Book Title
7 |
8 |
9 | To test multilingual capability, this book claims to be in German.
10 | Of course, I don't know a word of German so it's really mostly
11 | English.
12 |
13 |
14 |
15 | &mlang;
16 |
17 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xbadtag.sgm:
--------------------------------------------------------------------------------
1 |
3 |
4 | ]>
5 | Book Title
6 | Chapter Title
7 |
8 | This is a test paragraph, with a bogus FOO tag in it.
9 |
10 |
11 |
12 |
13 |
15 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xbiblio2.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | Test Chapter
6 | The test bibliography contains three entries, only two are
7 | referred to here:
8 | (by xref), and
9 | AhoSethiUllman96 (by citation).
10 | And another test .
11 |
12 |
13 | &biblio;
14 |
15 |
16 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/multicol.dsl:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 |
5 |
6 |
7 |
8 |
9 | (define %page-n-columns% 3)
10 | (define %page-column-sep% 2in)
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/headft.dsl:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 |
5 |
6 |
7 |
8 |
9 | (define %generate-toc% #f)
10 | (define %generate-lot-list% '())
11 | (define %generate-titlepage% #f)
12 |
13 | (define %two-side% #t)
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/graphic.sgm:
--------------------------------------------------------------------------------
1 | Graphic Tests
2 |
3 |
4 | e=mc^2
5 |
6 |
7 |
8 |
9 | e=mc^2, smaller
10 |
11 |
12 |
13 |
14 | e=mc^2
15 |
16 |
17 |
18 |
19 | e=mc^2
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/html/version.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: version.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.nwalsh.com/docbook/dsssl/
5 | ;;
6 |
7 | ;; If **ANY** change is made to this file, you _MUST_ alter the
8 | ;; following definition:
9 |
10 | (define (stylesheet-version)
11 | (let* ((version "&VERSION;")
12 | (verslen (string-length version)))
13 | (string-append
14 | "Modular DocBook HTML Stylesheet Version "
15 | ;; trim off the trailing newline
16 | (substring version 0 (- verslen 1)))))
17 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/version.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: version.dsl,v 1.1 2002/11/21 20:52:34 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.nwalsh.com/docbook/dsssl/
5 | ;;
6 |
7 | ;; If **ANY** change is made to this file, you _MUST_ alter the
8 | ;; following definition:
9 |
10 | (define (stylesheet-version)
11 | (let* ((version "&VERSION;")
12 | (verslen (string-length version)))
13 | (string-append
14 | "Modular DocBook Print Stylesheet Version "
15 | ;; trim off the trailing newline
16 | (substring version 0 (- verslen 1)))))
17 |
--------------------------------------------------------------------------------
/addons/addons:
--------------------------------------------------------------------------------
1 | Basically, just add a new backend (pdf backend already exist, but doesn't work nice for me nor
2 | for you it seems...).
3 |
4 | Just copy the file fabpdf
5 | into /usr/share/sgml/docbook/utils-0.6/backends/fabpdf
6 | (for me, for you it might be another
7 | directory, to know the right path, just type :
8 | # jw -b toto
9 | jw: There is no backend called "/usr/share/sgml/docbook/utils-0.6/backends/toto".
10 | so here my directory is /usr/share/sgml/docbook/utils-0.6/backends/
11 | )
12 |
13 | Then move eps_to_png into /usr/bin/ or anywhere else in your path.
14 |
15 | I've modified your makefiles already,
16 | it should work nice for pdf...
17 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xbook2.sgm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Book Title
6 |
7 | WalshNorman
8 | DoeJohn
9 |
10 | DoeJane
11 |
12 | Legal Notice
13 | This is a test document. You can do what you will with it.
14 |
15 |
16 | Test Book Meta
17 |
18 | This book just tests the book meta. Title in a biblio element
19 | and author+editor.
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xarticle.dsl:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 |
5 |
6 |
7 |
8 |
9 | (define (article-titlepage-recto-elements)
10 | (list (normalize "title")
11 | (normalize "subtitle")
12 | (normalize "mediaobject")
13 | (normalize "corpauthor")
14 | (normalize "authorgroup")
15 | (normalize "author")
16 | (normalize "releaseinfo")
17 | (normalize "copyright")
18 | (normalize "pubdate")
19 | (normalize "revhistory")
20 | (normalize "abstract")))
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/notoc.dsl:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 |
5 |
6 |
7 |
8 |
9 | ;; $Id: notoc.dsl,v 1.1 2002/11/21 20:52:34 blueflux Exp $
10 | ;;
11 | ;; This file is part of the Modular DocBook Stylesheet distribution.
12 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
13 | ;;
14 | ;; Example of a customization layer on top of the modular docbook style
15 | ;; sheet. Definitions inserted in this file take precedence over
16 | ;; definitions in the 'use'd stylesheet(s).
17 |
18 | (define %generate-toc% #f)
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/html/dblot.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dblot.dsl,v 1.1 2002/11/21 20:52:32 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; need test cases to do toc/lot; do these later
8 |
9 | (element toc (empty-sosofo))
10 | (element (toc title) (empty-sosofo))
11 | (element tocfront ($paragraph$))
12 | (element tocentry ($paragraph$))
13 | (element tocpart (process-children))
14 | (element tocchap (process-children))
15 | (element toclevel1 (process-children))
16 | (element toclevel2 (process-children))
17 | (element toclevel3 (process-children))
18 | (element toclevel4 (process-children))
19 | (element toclevel5 (process-children))
20 | (element tocback ($paragraph$))
21 | (element lot (empty-sosofo))
22 | (element (lot title) (empty-sosofo))
23 | (element lotentry ($paragraph$))
24 |
25 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/dblot.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dblot.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; need test cases to do toc/lot; do these later
8 |
9 | (element toc (empty-sosofo))
10 | (element (toc title) (empty-sosofo))
11 | (element tocfront ($paragraph$))
12 | (element tocentry ($paragraph$))
13 | (element tocpart (process-children))
14 | (element tocchap (process-children))
15 | (element toclevel1 (process-children))
16 | (element toclevel2 (process-children))
17 | (element toclevel3 (process-children))
18 | (element toclevel4 (process-children))
19 | (element toclevel5 (process-children))
20 | (element tocback ($paragraph$))
21 | (element lot (empty-sosofo))
22 | (element (lot title) (empty-sosofo))
23 | (element lotentry ($paragraph$))
24 |
25 |
--------------------------------------------------------------------------------
/addons/fabpdf:
--------------------------------------------------------------------------------
1 | # Backend to convert something into PDF
2 | # Send any comments to Eric Bischoff
3 | # This program is under GPL license. See LICENSE file for details.
4 |
5 | # Convert to TeX
6 | echo $SGML_ARGUMENTS
7 | echo $SGML_JADE
8 | $SGML_JADE -t tex -o ${SGML_FILE_NAME}.tex $SGML_ARGUMENTS
9 | if [ $? -ne 0 ]
10 | then exit 1
11 | fi
12 |
13 | eps_to_png ${SGML_FILE_NAME}.tex
14 |
15 | # Convert from TeX to PDF
16 | pdfjadetex ${SGML_FILE_NAME}.tex >${SGML_FILE_NAME}.tmp
17 | if [ $? -ne 0 ]
18 | then
19 | cat ${SGML_FILE_NAME}.tmp
20 | rm ${SGML_FILE_NAME}.tmp
21 | rm ${SGML_FILE_NAME}.tex
22 | exit 2
23 | fi
24 | rm ${SGML_FILE_NAME}.tmp
25 |
26 | # Unconditionally re-run pdfjadetex, twice
27 | pdfjadetex ${SGML_FILE_NAME}.tex >/dev/null
28 | pdfjadetex ${SGML_FILE_NAME}.tex >/dev/null
29 | rm ${SGML_FILE_NAME}.log
30 | rm ${SGML_FILE_NAME}.aux
31 | rm ${SGML_FILE_NAME}.tex
32 |
33 | exit 0
34 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/docbook.css:
--------------------------------------------------------------------------------
1 | .BOOK .TITLE { text-align: center }
2 | .BOOK .SUBTITLE { text-align: center }
3 | .BOOK .CORPAUTHOR { text-align: center }
4 | .BOOK .AUTHOR { text-align: center }
5 | .BOOK .AFFILIATION { text-align: center }
6 | .BOOK .EDITEDBY { text-align: center }
7 | .BOOK .EDITOR { text-align: center }
8 | .BOOK .GRAPHIC { text-align: center }
9 |
10 | .ARTICLE .TITLE { text-align: center }
11 | .ARTICLE .SUBTITLE { text-align: center }
12 | .ARTICLE .CORPAUTHOR { text-align: center }
13 | .ARTICLE .AUTHOR { text-align: center }
14 | .ARTICLE .AFFILIATION { text-align: center }
15 | .ARTICLE .EDITEDBY { text-align: center }
16 | .ARTICLE .EDITOR { text-align: center }
17 | .ARTICLE .GRAPHIC { text-align: center }
18 | .ARTICLE .ABSTRACT { margin-left: 0.5in;
19 | margin-right: 0.5in;
20 | font-style: italic }
21 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/gloss.sgm:
--------------------------------------------------------------------------------
1 | Example Glossary
2 |
3 | This is not a real glossary, it's just an example.
4 |
5 |
6 |
7 |
8 | E
9 |
10 | Extensible Markup Language
11 | XML
12 |
13 | Some reasonable definition here.
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | S
23 |
24 | SGML
25 |
26 |
27 |
28 | Standard Generalized
29 | Markup LanguageSGML
30 | ISO 8879:1986
31 |
32 | Some reasonable definition here.
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/imagelib/imagelib.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | The equation E = m c-squared
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | The equation E = m c-squared (inverted)
24 |
25 |
26 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/dtds/olink/olinksum.dtd:
--------------------------------------------------------------------------------
1 |
10 |
11 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/math.sgm:
--------------------------------------------------------------------------------
1 | Math/Equation Tests
2 |
3 |
4 | Here are a few equations. Ok, they're all the same, but that's not
5 | really the point of this test.
6 |
7 |
8 | First Equation
9 | e=mc^2
10 |
11 |
12 | Second Equation
13 | e=mc^2
14 |
15 |
16 | Some Informal Equations
17 |
18 |
19 | e=mc^2
20 |
21 |
22 |
23 | e=mc^2
24 |
25 |
26 |
27 | This next equation doesn't have a title. Don't do this.
28 |
29 |
30 |
31 | e=mc^2
32 |
33 |
34 |
35 | Finally, here's an inline equation:
36 | e=mc^2
,
37 | for completeness.
38 |
39 |
40 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOamsc.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOdia.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/styles/sgml-dtd-3.1/dbgenent.mod:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/plain.dsl:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 |
5 |
6 |
7 |
8 |
9 | ;; $Id: plain.dsl,v 1.1 2002/11/21 20:52:34 blueflux Exp $
10 | ;;
11 | ;; This file is part of the Modular DocBook Stylesheet distribution.
12 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
13 | ;;
14 | ;; Example of a customization layer on top of the modular docbook style
15 | ;; sheet. Definitions inserted in this file take precedence over
16 | ;; definitions in the 'use'd stylesheet(s).
17 |
18 | (define %generate-set-titlepage% #f)
19 | (define %generate-book-titlepage% #f)
20 | (define %generate-part-titlepage% #f)
21 | (define %generate-reference-titlepage% #f)
22 | (define %generate-article-titlepage% #f)
23 |
24 | (define %generate-set-toc% #f)
25 | (define %generate-book-toc% #f)
26 | (define %generate-part-toc% #f)
27 | (define %generate-reference-toc% #f)
28 | (define %generate-article-toc% #f)
29 |
30 | (define %generate-book-lot-list% '())
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/other/ip_dynaddr.txt:
--------------------------------------------------------------------------------
1 | IP dynamic address hack-port v0.03
2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 | This stuff allows diald ONESHOT connections to get established by
4 | dynamically changing packet source address (and socket's if local procs).
5 | It is implemented for TCP diald-box connections(1) and IP_MASQuerading(2).
6 |
7 | If enabled[*] and forwarding interface has changed:
8 | 1) Socket (and packet) source address is rewritten ON RETRANSMISSIONS
9 | while in SYN_SENT state (diald-box processes).
10 | 2) Out-bounded MASQueraded source address changes ON OUTPUT (when
11 | internal host does retransmission) until a packet from outside is
12 | received by the tunnel.
13 |
14 | This is specially helpful for auto dialup links (diald), where the
15 | ``actual'' outgoing address is unknown at the moment the link is
16 | going up. So, the *same* (local AND masqueraded) connections requests that
17 | bring the link up will be able to get established.
18 |
19 | [*] At boot, by default no address rewriting is attempted.
20 | To enable:
21 | # echo 1 > /proc/sys/net/ipv4/ip_dynaddr
22 | To enable verbose mode:
23 | # echo 2 > /proc/sys/net/ipv4/ip_dynaddr
24 | To disable (default)
25 | # echo 0 > /proc/sys/net/ipv4/ip_dynaddr
26 |
27 | Enjoy!
28 |
29 | -- Juanjo
30 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/html/dbmsgset.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbmsgset.dsl,v 1.1 2002/11/21 20:52:32 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; ======================== ERROR MESSAGES (ETC.) =======================
8 |
9 | (element msgset (process-children))
10 |
11 | (element msgentry ($block-container$))
12 |
13 | (element simplemsgentry ($block-container$))
14 |
15 | (element msg ($block-container$))
16 |
17 | (element msgmain (process-children))
18 |
19 | (element msgsub
20 | (process-children))
21 |
22 | (element msgrel (empty-sosofo))
23 |
24 | (element msgtext (process-children))
25 |
26 | (element msginfo ($indent-para-container$))
27 |
28 | (define ($genhead-para$ headtext)
29 | (make element gi: "P"
30 | (make element gi: "B"
31 | (literal
32 | (string-append headtext ": ")))
33 | (process-children)))
34 |
35 | (element msglevel ($genhead-para$ (gentext-element-name (current-node))))
36 | (element msgorig ($genhead-para$ (gentext-element-name (current-node))))
37 | (element msgaud ($genhead-para$ (gentext-element-name (current-node))))
38 |
39 | (element msgexplan ($indent-para-container$))
40 | (element (msgexplan title) ($runinhead$))
41 | (element (msgexplan para) (make sequence (process-children)))
42 |
43 |
--------------------------------------------------------------------------------
/ipsysctl-tutorial.sgml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ]>
20 |
21 |
22 |
23 | &bookinfo;
24 |
25 |
26 |
27 | &introduction;
28 |
29 | &howtoset;
30 |
31 | &variablereference;
32 |
33 | &measurements;
34 |
35 | &otherresources;
36 |
37 | &history;
38 |
39 | &gfdl;
40 |
41 | &gpl;
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/dbprocdr.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbprocdr.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; ============================= PROCEDURES =============================
8 |
9 | (define (PROCSTEP ilvl)
10 | (if (> ilvl 1) 2.0em 1.8em))
11 |
12 | (element procedure
13 | (if (node-list-empty? (select-elements (children (current-node)) (normalize "title")))
14 | ($informal-object$)
15 | ($formal-object$)))
16 |
17 | (element (procedure title) (empty-sosofo))
18 |
19 | (element substeps
20 | (make display-group
21 | space-before: %para-sep%
22 | space-after: %para-sep%
23 | start-indent: (+ (inherited-start-indent) (PROCSTEP 2))))
24 |
25 | (element step
26 | (let ((stepcontent (children (current-node)))
27 | (ilevel (length (hierarchical-number-recursive (normalize "step")))))
28 | (make sequence
29 | start-indent: (+ (inherited-start-indent) (PROCSTEP ilevel))
30 |
31 | (make paragraph
32 | space-before: %para-sep%
33 | first-line-start-indent: (- (PROCSTEP ilevel))
34 | (make line-field
35 | field-width: (PROCSTEP ilevel)
36 | (literal ($proc-step-number$ (current-node))))
37 | (process-node-list (children (node-list-first stepcontent))))
38 | (process-node-list (node-list-rest stepcontent)))))
39 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/catalog:
--------------------------------------------------------------------------------
1 | OVERRIDE YES
2 |
3 | -- Stylesheets --
4 |
5 | PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN"
6 | print/docbook.dsl
7 |
8 | PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN"
9 | html/docbook.dsl
10 |
11 | PUBLIC "-//Norman Walsh//DOCUMENT DSSSL Library//EN"
12 | lib/dblib.dsl
13 |
14 | PUBLIC "-//Norman Walsh//DOCUMENT DSSSL Library V2//EN"
15 | lib/dblib.dsl
16 |
17 | -- DTDs --
18 |
19 | PUBLIC "+//IDN nwalsh.com//DTD DocBook DSSSL Architecture V1.0//EN"
20 | dtds/dbdsssl/dbdsssl.dtd
21 |
22 | PUBLIC "-//Norman Walsh//DTD DocBook OLink Summary V1.1//EN"
23 | dtds/olink/olinksum.dtd
24 |
25 | PUBLIC "-//Norman Walsh//DTD DocBook HTML 1.0//EN"
26 | dtds/html/dbhtml.dtd
27 |
28 | PUBLIC "-//Norman Walsh//DTD Image Library 1.0//EN"
29 | dtds/imagelib/imagelib.dtd
30 |
31 | -- Entities --
32 |
33 | PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"
34 | dtds/html/ISOlat1.gml
35 |
36 | -- Documents --
37 |
38 | PUBLIC "-//Norman Walsh//DOCUMENT DocBook DSSSL Stylesheet Documentation V1.0//EN"
39 | docsrc/docbook.sgm
40 |
41 | PUBLIC "-//Norman Walsh//DOCUMENT OLink Test Document V1.0//EN"
42 | docsrc/olinktarget.sgm
43 |
44 | PUBLIC "-//Norman Walsh//DOCUMENT OLink Semantics in the DocBook DSSSL Stylesheets V1.0//EN"
45 | docsrc/olinksemantics.sgm
46 |
47 | -- Declarations --
48 |
49 | -- SGMLDECL "dtds/decls/docbook.dcl" --
50 |
51 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/funcsyn.sgm:
--------------------------------------------------------------------------------
1 | FuncSynopsis Tests
2 |
3 | Two Simple Parameters
4 |
5 |
6 |
7 | int max
8 | int int1
9 | int int2
10 |
11 |
12 |
13 | Variable Arguments
14 |
15 |
16 |
17 | #include <varargs.h>
18 |
19 |
20 | int max
21 |
22 |
23 |
24 |
25 | Void
26 |
27 |
28 |
29 | int rand
30 |
31 |
32 |
33 |
34 | Function Pointer Arguments
35 |
36 |
37 |
38 | void qsort
39 | void *dataptr[]
40 | int left
41 | int right
42 | int (* comp)
43 | void *, void *
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/styles/tutorial.dsl:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 |
5 |
6 |
7 |
8 |
9 | ;; $Id: tutorial.dsl,v 1.2 2002/12/19 18:47:42 blueflux Exp $
10 | ;;
11 | ;; This file is part of the Modular DocBook Stylesheet distribution.
12 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
13 | ;;
14 | ;; Example of a customization layer on top of the modular docbook style
15 | ;; sheet. Definitions inserted in this file take precedence over
16 | ;; definitions in the 'use'd stylesheet(s).
17 |
18 | (define %title-font-family%
19 | "Arial")
20 | (define %body-font-family%
21 | "Arial")
22 | (define %mono-font-family%
23 | "Arial")
24 | (define %admon-font-family%
25 | "Arial")
26 | (define %command-font-family%
27 | "Courier New")
28 |
29 |
30 | (element command
31 | (make sequence
32 | font-family-name: %command-font-family%
33 | font-weight: 'bold
34 | ))
35 |
36 | (element systemitem
37 | (make sequence
38 | font-family-name: %command-font-family%
39 | font-weight: 'normal
40 | font-posture: 'italic
41 | ))
42 |
43 | (element computeroutput
44 | (make sequence
45 | font-family-name: %command-font-family%
46 | font-weight: 'bold
47 | font-posture: 'italic
48 | ))
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/dbmsgset.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbmsgset.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; ======================== ERROR MESSAGES (ETC.) =======================
8 |
9 | (element msgset (process-children))
10 |
11 | (element msgentry ($informal-object$))
12 |
13 | (element simplemsgentry ($informal-object$))
14 |
15 | (element msg
16 | (make display-group
17 | font-weight: 'bold
18 | font-family-name: %mono-font-family%
19 | (process-children)))
20 |
21 | (element msgmain (process-children))
22 |
23 | (element msgsub
24 | (make display-group
25 | start-indent: (+ (inherited-start-indent) (ILSTEP))
26 | (process-children)))
27 |
28 | (element msgrel (empty-sosofo))
29 |
30 | (element msgtext (process-children))
31 |
32 | (element msginfo ($indent-para-container$))
33 |
34 | (define ($genhead-para$ headtext)
35 | (make paragraph
36 | space-before: %para-sep%
37 | space-after: %para-sep%
38 | (make sequence
39 | font-weight: 'bold
40 | (literal
41 | (string-append headtext ": ")))
42 | (process-children)))
43 |
44 | (element msglevel ($genhead-para$ (gentext-element-name (current-node))))
45 | (element msgorig ($genhead-para$ (gentext-element-name (current-node))))
46 | (element msgaud ($genhead-para$ (gentext-element-name (current-node))))
47 |
48 | (element msgexplan ($indent-para-container$))
49 | (element (msgexplan title) ($runinhead$))
50 | (element (msgexplan para) (make sequence (process-children)))
51 |
52 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/footnote.sgm:
--------------------------------------------------------------------------------
1 |
3 | ]>
4 | Book Title
5 | Part 1
6 | Chapter 1
7 | F1f1
8 | This is a ulink.
9 | So is this: http://nwalsh.com/.
10 |
11 |
12 | A Test Table
13 |
14 |
15 | a1a2table f1
16 | b1b2
17 |
18 |
19 |
20 |
21 | Section 1
22 | F2f2
23 |
24 | Section 2
25 | F3f3
26 | This paraA CommentA Footnote in a Comment contains a comment that contains a footnote.
27 |
28 | F3bf3b
29 |
30 | Section 3
31 | F4f4
32 |
33 |
34 | Chapter 2
35 | F5f5
36 | As opposed to a previous one.
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xset.sgm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Set Title
5 | WalshNorman
6 | Legal Notice
7 | This is a test document. You can do what you will with it.
8 |
9 | 1998Norman Walsh
10 |
11 |
12 |
13 | Book Title
14 | WalshNorman
15 | Legal Notice
16 | This is a test document. You can do what you will with it.
17 |
18 |
19 | This is a second legal notice. But it's not noteworthy.
20 |
21 | 1998Norman Walsh
22 |
23 | Chapter Title
24 |
25 | Chapter content.
26 |
27 |
28 |
29 |
30 |
31 | Book Title
32 | WalshNorman
33 | Legal Notice
34 | This is a test document. You can do what you will with it.
35 |
36 |
37 | This is a second legal notice. But it's not noteworthy.
38 |
39 | 1998Norman Walsh
40 |
41 | Chapter Title
42 |
43 | Chapter content.
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/iterms.sgm:
--------------------------------------------------------------------------------
1 | Index Term Tests
2 |
3 |
4 | Test data.
5 |
6 | oft-repeated
7 | chap-level
8 |
9 | Index Term Sect 1
10 |
11 |
12 | Test data.
13 |
14 | !
15 | oft-repeatedwith id
16 | sect1-level
17 | sect1-level
18 | sect1-levelsec
19 | sect1-othersec
20 | chap-levelsectert
21 | chap-levelsectert
22 | sect1-level
23 |
24 | Index Term Sect 2
25 |
26 |
27 | Test data.
28 |
29 | [
30 | oft-repeated
31 | sect2-level
32 | chap-levelsectert
33 |
34 | Index Term Sect 3
35 | foo
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOamso.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/styles/sgml-iso/catalog:
--------------------------------------------------------------------------------
1 | -- ...................................................................... --
2 | -- Catalog data for SGML ISO character entities ......................... --
3 |
4 | PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" ISOlat1.ent
5 | PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" ISOlat2.ent
6 | PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" ISOdia.ent
7 | PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" ISObox.ent
8 | PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" ISOnum.ent
9 | PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" ISOpub.ent
10 | PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" ISOtech.ent
11 | PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" ISOamsa.ent
12 | PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" ISOamsb.ent
13 | PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" ISOamsc.ent
14 | PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" ISOamsn.ent
15 | PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" ISOamso.ent
16 | PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" ISOamsr.ent
17 | PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" ISOgrk1.ent
18 | PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" ISOgrk2.ent
19 | PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" ISOgrk3.ent
20 | PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" ISOgrk4.ent
21 | PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" ISOcyr1.ent
22 | PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" ISOcyr2.ent
23 |
24 | -- End of ISO entities .................................................. --
25 | -- ...................................................................... --
26 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/dbtitle.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbtitle.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | (define title-style
8 | (style
9 | font-family-name: %title-font-family%
10 | font-weight: 'bold
11 | quadding: 'start))
12 |
13 | ;; So we can pass different sosofo's to this routine and get identical
14 | ;; treatment (see REFNAME in dbrfntry.dsl)
15 | ;;
16 | (define ($lowtitlewithsosofo$ tlevel sosofo)
17 | (let ((hs (HSIZE (- 3 tlevel))))
18 | (make paragraph
19 | font-family-name: %title-font-family%
20 | font-weight: 'bold
21 | font-size: hs
22 | line-spacing: (* hs %line-spacing-factor%)
23 | space-before: (* hs %head-before-factor%)
24 | space-after: (* hs %head-after-factor%)
25 | start-indent: %body-start-indent%
26 | quadding: 'start
27 | keep-with-next?: #t
28 | heading-level: (if %generate-heading-level% (+ tlevel 2) 0)
29 | sosofo)))
30 |
31 | (define ($lowtitle$ tlevel)
32 | ($lowtitlewithsosofo$ tlevel (process-children)))
33 |
34 | (define ($runinhead$)
35 | (let* ((title (data (current-node)))
36 | (titlelen (string-length title))
37 | (lastchar (string-ref title (- titlelen 1)))
38 | (punct (if (member lastchar %content-title-end-punct%)
39 | ""
40 | %default-title-end-punct%)))
41 | (make sequence
42 | font-weight: 'bold
43 | (process-children)
44 | (literal punct " "))))
45 |
46 | (element title ($lowtitle$ 2)) ;; the default TITLE format
47 | (element titleabbrev (empty-sosofo))
48 | (element subtitle (empty-sosofo))
49 |
50 | (mode title-mode
51 | (element title
52 | (process-children)))
53 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/makemlang.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl -- # -*- Perl -*-
2 |
3 | use strict;
4 | my %languages = ('ca' => 'Catalan',
5 | 'cs' => 'Czech',
6 | 'da' => 'Danish',
7 | 'de' => 'German',
8 | 'el' => 'Greek',
9 | 'en' => 'English',
10 | 'es' => 'Spanish',
11 | 'et' => 'Estonian',
12 | 'fi' => 'Finnish',
13 | 'fr' => 'French',
14 | 'hu' => 'Hungarian',
15 | 'id' => 'Indonesian',
16 | 'it' => 'Italian',
17 | 'ja' => 'Japanese',
18 | 'ko' => 'Korean',
19 | 'nl' => 'Dutch',
20 | 'no' => 'Norwegian',
21 | 'pl' => 'Polish',
22 | 'pt' => 'Portuguese',
23 | 'pt_br' => 'Portuguese (Brazil)',
24 | 'ro' => 'Romanian',
25 | 'ru' => 'Russian',
26 | 'sk' => 'Slovak',
27 | 'sl' => 'Slovenian',
28 | 'sv' => 'Swedish',
29 | 'zh_cn' => 'Chinese (Continental)');
30 |
31 | foreach my $lang (sort keys %languages) {
32 | my $langid = $lang;
33 | $langid =~ s/_//g;
34 |
35 | print <
37 |
38 |
39 | Surname
40 | Firstname
41 |
42 |
43 | $languages{$lang}
44 |
45 |
46 | This paragraph would be in $languages{$lang}, if I knew any.
47 | Quote test.
48 |
49 |
50 | Author formatting test: .
51 | Cross reference tests:
52 | EOF
53 |
54 | foreach my $otherlang (sort keys %languages) {
55 | my $otherlangid = $otherlang;
56 | $otherlangid =~ s/_//g;
57 | if ($otherlang ne $lang) {
58 | print "See .\n";
59 | }
60 | }
61 |
62 | print <
64 |
65 |
66 | EOF2
67 | }
68 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/struct.sgm:
--------------------------------------------------------------------------------
1 | Forward
4 | para
5 |
6 | Introduction
7 | para
8 | ">
9 | First Chapter
11 | para
12 |
13 | Second Chapter
14 | para
15 | First Section
16 | First Subsection
17 | First Subsubsection
18 | First Subsubsubsection
19 | First Subsubsubsubsection
20 | para
21 |
22 | Second Subsubsubsubsection
23 | para
24 |
25 |
26 | Second Subsubsubsection
27 | para
28 |
29 |
30 | Second Subsubsection
31 | para
32 |
33 |
34 | Second Subsection
35 | para
36 |
37 |
38 | Second Section
39 | para
40 |
41 |
42 | Third Chapter
43 | para
44 | ">
45 | First Appendix
47 | para
48 |
49 | Second Appendix
50 | para
51 | ">
52 | ]>
53 | Set Title
54 | Book 1 Title
55 | &prefs;
56 | &chaps;
57 | &apps;
58 |
59 | Book 2 Title
60 | &prefs;
61 | First Part
62 | &chaps;
63 |
64 | Second Part
65 | &chaps;
66 |
67 | &apps;
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/index.sgm:
--------------------------------------------------------------------------------
1 |
2 | This is a test index.
3 |
4 | a formal para
5 |
6 | this is a formal paragraph.
7 |
8 |
9 |
10 | Primary
11 | Secondary 1
12 | Tertiary 11
13 | Tertiary 12
14 | Secondary 2
15 | Tertiary 21
16 |
17 |
18 | primary
19 |
20 |
21 | primary
22 |
23 |
24 | primary
25 | secondary
26 |
27 |
28 | primary
29 | secondary
30 |
31 |
32 | primary
33 | secondary
34 | tertiary1
35 |
36 |
37 | primary
38 | secondary
39 | tertiary2
40 |
41 |
42 | primary
43 | secondary2
44 | tertiary3
45 |
46 |
47 | primary
48 | see ie
49 |
50 |
51 | primary
52 | secondary2
53 | tertiary3
54 | seealso ie
55 |
56 |
57 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/html/dbprocdr.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbprocdr.dsl,v 1.1 2002/11/21 20:52:32 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; ============================= PROCEDURES =============================
8 |
9 | (define (PROCSTEP ilvl)
10 | (if (> ilvl 1) 2.0em 1.8em))
11 |
12 | (element procedure
13 | (let ((titles (select-elements (children (current-node)) (normalize "title")))
14 | (preamble (node-list-filter-by-not-gi (children (current-node))
15 | (list (normalize "step"))))
16 | (steps (node-list-filter-by-gi (children (current-node))
17 | (list (normalize "step")))))
18 | (make element gi: "DIV"
19 | attributes: (list
20 | (list "CLASS" (gi)))
21 | (if (not (node-list-empty? titles))
22 | (make element gi: "P"
23 | (make element gi: "B"
24 | (with-mode title-mode
25 | (process-node-list titles))))
26 | (empty-sosofo))
27 | (process-node-list preamble)
28 | (make element gi: "OL"
29 | attributes: (list
30 | (list "TYPE" ($proc-hierarch-number-format$ 1)))
31 | (process-node-list steps)))))
32 |
33 | (element (procedure title) (empty-sosofo))
34 |
35 | (element substeps
36 | (make element gi: "OL"
37 | attributes: (list
38 | (list "CLASS" "SUBSTEPS")
39 | (list "TYPE" ($proc-hierarch-number-format$
40 | (+ ($proc-step-depth$ (current-node)) 1))))
41 | (process-children)))
42 |
43 | (element step
44 | (let ((id (attribute-string (normalize "id"))))
45 | (make sequence
46 | (make element gi: "LI"
47 | (if id
48 | (make element gi: "A"
49 | attributes: (list
50 | (list "NAME" id))
51 | (empty-sosofo))
52 | (empty-sosofo))
53 | (process-children)))))
54 |
55 |
56 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOgrk2.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/refentry.sgm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | RefEntryTitle
6 |
7 |
8 |
9 | RefDescriptor
10 | RefName1
11 | RefName2
12 |
13 | Yes, there must be a purpose!
14 |
15 |
16 |
17 | Synopsis
18 |
19 |
20 | A
21 | Synopsis
22 | Goes
23 | Here
24 |
25 |
26 |
27 |
28 | A RefSect1
29 |
30 |
31 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
32 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
33 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
34 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
35 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
36 |
37 |
38 | A RefSect2
39 |
40 |
41 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
42 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
43 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
44 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
45 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
46 |
47 |
48 | A RefSect3
49 |
50 |
51 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
52 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
53 | Blah blah blah blah.
54 | This is a footnote in a refentry.
55 | Blah blah blah blah. Blah blah blah blah.
56 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
57 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/html/dbtitle.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbtitle.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; So we can pass different sosofo's to this routine and get identical
8 | ;; treatment (see REFNAME in dbrfntry.dsl)
9 | ;;
10 | (define ($lowtitlewithsosofo$ tlevel sosofo)
11 | (let ((tgi (cond
12 | ((equal? tlevel 1) "H1")
13 | ((equal? tlevel 2) "H2")
14 | ((equal? tlevel 3) "H3")
15 | ((equal? tlevel 4) "H4")
16 | ((equal? tlevel 5) "H5")
17 | (else "P"))))
18 | (if (< tlevel 6)
19 | (make element gi: tgi
20 | sosofo)
21 | (make element gi: "P"
22 | (make element gi: "B"
23 | sosofo)))))
24 |
25 | (define ($lowtitle$ tlevel)
26 | ($lowtitlewithsosofo$ tlevel (process-children)))
27 |
28 | (define ($runinhead$)
29 | (let* ((title (data (current-node)))
30 | (titlelen (string-length title))
31 | (lastchar (if (> titlelen 0)
32 | (string-ref title (- titlelen 1))
33 | "."))
34 | (punct (if (or (= titlelen 0)
35 | (member lastchar %content-title-end-punct%))
36 | ""
37 | %default-title-end-punct%)))
38 | (make element gi: "B"
39 | (process-children)
40 | (literal punct " "))))
41 |
42 | (element title
43 | (make element gi: "P"
44 | (make element gi: "B"
45 | (process-children-trim))))
46 |
47 | (element titleabbrev (empty-sosofo))
48 |
49 | (mode title-mode
50 | (element title
51 | (process-children)))
52 |
53 | (mode subtitle-mode
54 | (element subtitle
55 | (make sequence
56 | (literal (if (first-sibling?)
57 | ""
58 | "; "))
59 | (process-children))))
60 |
61 | (mode head-title-mode
62 | ;; TITLE in an HTML HEAD
63 | (default
64 | (process-children))
65 |
66 | (element graphic (empty-sosofo))
67 | (element inlinegraphic (empty-sosofo)))
68 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOcyr2.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/dtds/imagelib/imagelib.dtd:
--------------------------------------------------------------------------------
1 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
31 |
32 |
33 |
34 |
35 |
41 |
42 |
43 |
44 |
45 |
46 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/html/dbpi.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbpi.dsl,v 1.1 2002/11/21 20:52:32 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://nwalsh.com/docbook/dsssl/
5 | ;;
6 |
7 | (define (pi-value component piname)
8 | ;; Returns the value of the (?piname value) PI (if one exists)
9 | ;; as a child of component, otherwise returns #f
10 | ;;
11 | (let loop ((nl (select-by-class (children component) 'pi)))
12 | (if (node-list-empty? nl)
13 | #f
14 | (let ((pidata (node-property 'system-data (node-list-first nl))))
15 | (if (and (> (string-length pidata) (string-length piname))
16 | (equal? piname
17 | (substring pidata 0 (string-length piname))))
18 | (substring pidata
19 | (+ (string-length piname) 1)
20 | (string-length pidata))
21 | (loop (node-list-rest nl)))))))
22 |
23 | (define (inherited-pi-value component piname)
24 | (let loop ((value #f) (nd component))
25 | (if (or value (node-list-empty? nd))
26 | value
27 | (loop (pi-value nd piname) (parent nd)))))
28 |
29 | (define (dbhtml-findvalue pi-field-list name)
30 | ;; pi-field-list is '(pitarget name1 value1 name2 value2 ...)
31 | (let loop ((slist (cdr pi-field-list)))
32 | (if (null? slist)
33 | #f
34 | (if (string=? (car slist) name)
35 | (car (cdr slist))
36 | (loop (cdr (cdr slist)))))))
37 |
38 | (define (dbhtml-value component name)
39 | ;; Returns the value of "name='value'" in the <?dbhtml ...> PI
40 | (let loop ((nl (select-by-class (children component) 'pi)))
41 | (if (node-list-empty? nl)
42 | #f
43 | (let* ((pidata (node-property 'system-data (node-list-first nl)))
44 | (pilist (if (and (> (string-length pidata) 7)
45 | (string=? (substring pidata 0 7) "dbhtml "))
46 | (parse-starttag-pi pidata)
47 | '()))
48 | (value (if (null? pilist) #f (dbhtml-findvalue pilist name))))
49 | (if value
50 | value
51 | (loop (node-list-rest nl)))))))
52 |
53 | (define (inherited-dbhtml-value component name)
54 | (let loop ((value #f) (nd component))
55 | (if (or value (node-list-empty? nd))
56 | value
57 | (loop (dbhtml-value nd name) (parent nd)))))
58 |
59 | ;; EOF dbpi.dsl
60 |
61 |
62 |
--------------------------------------------------------------------------------
/styles/sgml-dtd-3.1/catalog:
--------------------------------------------------------------------------------
1 | -- ...................................................................... --
2 | -- Catalog data for DocBook V3.1 ........................................ --
3 | -- File docbook.cat ..................................................... --
4 |
5 | -- Please direct all questions, bug reports, or suggestions for
6 | changes to the davenport@berkshire.net mailing list. For more
7 | information, see http://www.oasis-open.org/.
8 | --
9 |
10 | -- This is the catalog data file for Version 3.1 of the DocBook DTD.
11 | It is provided as a convenience in building your own catalog files.
12 | You need not use the filenames listed here, and need not use the
13 | filename method of identifying storage objects at all. See the
14 | documentation for detailed information on the files associated with
15 | the DocBook DTD. See SGML Open Technical Resolution 9401 for
16 | detailed information on supplying and using catalog data.
17 | --
18 |
19 | -- ...................................................................... --
20 | -- SGML declaration associated with DocBook ............................. --
21 |
22 | SGMLDECL "docbook.dcl"
23 |
24 | -- ...................................................................... --
25 | -- DocBook driver file .................................................. --
26 |
27 | PUBLIC "-//OASIS//DTD DocBook V3.1//EN" "docbook.dtd"
28 |
29 | -- ...................................................................... --
30 | -- DocBook modules ...................................................... --
31 |
32 | PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "cals-tbl.dtd"
33 | PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V3.1//EN" "dbpool.mod"
34 | PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V3.1//EN" "dbhier.mod"
35 | PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V3.1//EN" "dbgenent.mod"
36 | PUBLIC "-//OASIS//ENTITIES DocBook Notations V3.1//EN" "dbnotn.mod"
37 | PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V3.1//EN" "dbcent.mod"
38 |
39 | -- End of catalog data for DocBook V3.1 ................................. --
40 | -- ...................................................................... --
41 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/refent.sgm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | RefEntryTitle
5 |
6 |
7 |
8 | RefDescriptor
9 | RefName1
10 | RefName2
11 |
12 | Yes, there must be a purpose!
13 |
14 |
15 |
16 |
17 |
18 |
19 | A
20 | Synopsis
21 | Goes
22 | Here
23 |
24 |
25 |
26 |
27 | A RefSect1
28 |
29 |
30 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
31 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
32 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
33 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
34 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
35 |
36 |
37 | A RefSect2
38 |
39 |
40 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
41 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
42 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
43 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
44 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
45 |
46 |
47 | A RefSect3
48 |
49 |
50 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
51 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
52 | Blah blah blah blah.
53 | This is a footnote in a refentry.
54 | Blah blah blah blah. Blah blah blah blah.
55 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
56 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 | Chop
68 | strip trailing whitespace
69 |
70 |
71 | Description
72 |
73 | Returns the argument string without trailing whitespace.
74 |
75 | chop() example
76 | $trimmed = Chop($line);
77 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/multicol.sgm:
--------------------------------------------------------------------------------
1 |
3 | This is a paragraph of text. This is a paragraph of text.
4 | This is a paragraph of text. This is a paragraph of text.
5 | This is a paragraph of text. This is a paragraph of text.
6 | This is a paragraph of text. This is a paragraph of text.
7 | This is a paragraph of text. This is a paragraph of text.
8 | This is a paragraph of text. This is a paragraph of text.
9 | This is a paragraph of text. This is a paragraph of text.
10 | This is a paragraph of text. This is a paragraph of text.
11 | This is a paragraph of text. This is a paragraph of text.
12 | This is a paragraph of text. This is a paragraph of text.
13 | This is a paragraph of text. This is a paragraph of text.
14 | This is a paragraph of text. This is a paragraph of text.">
15 |
16 |
17 |
18 | ]>
19 | Multiple Column Tests
20 | ¶
21 |
22 | Short words to test wrap. a a a a a a a a a a a a a a a a a a a a a a
23 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
24 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
25 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
26 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
27 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
28 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
29 |
30 | &fiveparas;
31 |
32 | Short words to test wrap. a a a a a a a a a a a a a a a a a a a a a a
33 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
34 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
35 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
36 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
37 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
38 | a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
39 |
40 | &twentyfiveparass;
41 | &twentyfiveparass;
42 | &twentyfiveparass;
43 | &twentyfiveparass;
44 | &twentyfiveparass;
45 | &twentyfiveparass;
46 | &twentyfiveparass;
47 | &twentyfiveparass;
48 | &twentyfiveparass;
49 | &twentyfiveparass;
50 |
51 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/html/dbmath.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbmath.dsl,v 1.1 2002/11/21 20:52:32 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | (define %equation-autolabel% #f)
8 |
9 | (element equation
10 | ;; derived from $semiformal-object$
11 | (if (node-list-empty? (select-elements (children (current-node))
12 | (normalize "title")))
13 | ($informal-object$ %informalequation-rules% %informalequation-rules%)
14 | ($formal-object$ %informalequation-rules% %informalequation-rules%)))
15 |
16 | (element (equation title) (empty-sosofo))
17 | (element (equation alt) (empty-sosofo))
18 | (element (equation graphic)
19 | (let ((alttag (select-elements (children (parent)) (normalize "alt"))))
20 | (if alttag
21 | ($img$ (current-node) (data alttag))
22 | ($img$))))
23 |
24 | (element informalequation
25 | ;; Derived from informal-object
26 | (let ((rule-before? %informalequation-rules%)
27 | (rule-after? %informalequation-rules%))
28 | (if %equation-autolabel%
29 | (make sequence
30 | (if rule-before?
31 | (make empty-element gi: "HR")
32 | (empty-sosofo))
33 | (make element gi: "TABLE"
34 | attributes: '(("CLASS" "INFORMALEQUATION")
35 | ("WIDTH" "100%")
36 | ("BORDER" "0"))
37 | (make element gi: "TR"
38 | (make element gi: "TD"
39 | attributes: '(("VALIGN" "MIDDLE")
40 | ("ALIGN" "LEFT"))
41 | (process-children))
42 | (make element gi: "TD"
43 | attributes: '(("VALIGN" "MIDDLE")
44 | ("ALIGN" "RIGHT")
45 | ("WIDTH" "100"))
46 | (literal "("
47 | (element-label (current-node))
48 | ")"))))
49 | (if rule-after?
50 | (make empty-element gi: "HR")
51 | (empty-sosofo)))
52 | ($informal-object$ rule-before? rule-after?))))
53 |
54 | (element (informalequation alt) (empty-sosofo))
55 | (element (informalequation graphic)
56 | (let ((alttag (select-elements (children (parent)) (normalize "alt"))))
57 | (if alttag
58 | ($img$ (current-node) (data alttag))
59 | ($img$))))
60 |
61 | (element inlineequation ($inline-object$))
62 | (element (inlineequation alt) (empty-sosofo))
63 | (element (inlineequation graphic)
64 | (let ((alttag (select-elements (children (parent)) (normalize "alt"))))
65 | (if alttag
66 | ($img$ (current-node) (data alttag))
67 | ($img$))))
68 |
--------------------------------------------------------------------------------
/styles/openjade/style-sheet.dtd:
--------------------------------------------------------------------------------
1 |
5 |
6 |
10 |
11 |
13 |
14 |
18 |
19 |
22 |
23 |
28 |
29 |
31 |
32 |
34 |
36 |
37 |
38 |
39 |
41 |
42 |
43 |
44 |
46 |
50 |
51 |
52 |
53 |
57 |
58 |
59 |
65 |
66 |
73 |
74 |
77 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1en.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1id.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/dbmath.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbmath.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | (define %equation-autolabel% #f)
8 |
9 | (element equation
10 | ;; derived from $semiformal-object$
11 | (if (node-list-empty? (select-elements (children (current-node))
12 | (normalize "title")))
13 | ($informal-object$ %informalequation-rules% %informalequation-rules%)
14 | ($formal-object$ %informalequation-rules% %informalequation-rules%)))
15 |
16 | (element (equation title) (empty-sosofo))
17 | (element (equation alt) (empty-sosofo))
18 | (element (equation graphic)
19 | (make paragraph
20 | space-before: 0pt
21 | space-after: 0pt
22 | ($img$ (current-node) #t)))
23 |
24 | (element informalequation
25 | ;; Derived from informal-object
26 | (let ((rule-before? %informalequation-rules%)
27 | (rule-after? %informalequation-rules%))
28 | (if %equation-autolabel%
29 | (make display-group
30 | space-before: %block-sep%
31 | space-after: %block-sep%
32 | start-indent: (+ %block-start-indent%
33 | (inherited-start-indent))
34 | keep-with-next?: (object-title-after)
35 |
36 | (if rule-before?
37 | (make rule
38 | orientation: 'horizontal
39 | line-thickness: %object-rule-thickness%
40 | display-alignment: 'center
41 | space-after: (/ %block-sep% 2)
42 | keep-with-next?: #t)
43 | (empty-sosofo))
44 |
45 | (make table
46 | (make table-column
47 | column-number: 1
48 | width: (- %text-width%
49 | (+ (inherited-start-indent)
50 | (inherited-end-indent)
51 | 1in)))
52 | (make table-column
53 | column-number: 2
54 | width: 1in)
55 | (make table-row
56 | (make table-cell
57 | cell-row-alignment: 'center
58 | start-indent: 0pt
59 | end-indent: 0pt
60 | (process-children))
61 | (make table-cell
62 | cell-row-alignment: 'center
63 | quadding: 'end
64 | start-indent: 0pt
65 | end-indent: 0pt
66 | (make paragraph
67 | (literal "(" (element-label (current-node)) ")")))))
68 |
69 | (if rule-after?
70 | (make rule
71 | orientation: 'horizontal
72 | line-thickness: %object-rule-thickness%
73 | display-alignment: 'center
74 | space-before: (/ %block-sep% 2)
75 | keep-with-previous?: #t)
76 | (empty-sosofo)))
77 | ($informal-object$ rule-before? rule-after?))))
78 |
79 | (element (informalequation alt) (empty-sosofo))
80 | (element (informalequation graphic)
81 | (make paragraph
82 | space-before: 0pt
83 | space-after: 0pt
84 | quadding: 'end
85 | ($img$ (current-node) #t)))
86 |
87 | (element inlineequation ($inline-object$))
88 | (element (inlineequation alt) (empty-sosofo))
89 | (element (inlineequation graphic)
90 | (make sequence
91 | ($img$ (current-node) #f)))
92 |
93 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1no.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/genindex.sgm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
21 |
22 | Symbols
23 |
24 |
25 | !,
26 | Index Term Sect 1
27 |
28 |
29 |
30 |
31 | [,
32 | Index Term Sect 2
33 |
34 |
35 |
36 |
37 | A
38 |
39 |
40 | sect2-level,
41 | Index Term Sect 2
42 |
43 |
44 |
45 |
46 | C
47 |
48 |
49 | chap-level,
50 | Index Term Tests
51 |
52 | sec
53 |
54 | tert,
55 | Index Term Sect 1,
56 | Index Term Sect 2
57 |
58 |
59 |
60 |
61 | O
62 |
63 |
64 | oft-repeated,
65 | Index Term Tests,
66 | Index Term Sect 2
67 |
68 | with id,
69 | Index Term Sect 1
70 |
71 |
72 |
73 |
74 | S
75 |
76 |
77 | sect1-level,
78 | Index Term Sect 1
79 |
80 | sec,
81 | Index Term Sect 1
82 |
83 |
84 |
85 |
86 | sect1-other
87 |
88 | sec,
89 | Index Term Sect 1
90 |
91 |
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/dbgraph.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbgraph.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; ==================== GRAPHICS ====================
8 |
9 | ;; NOTE: display #f doesn't seem to work right in the RTF back end...
10 |
11 | (define (graphic-file filename)
12 | (let ((ext (file-extension filename)))
13 | (if (or (not filename)
14 | (not %graphic-default-extension%)
15 | (member ext %graphic-extensions%))
16 | filename
17 | (string-append filename "." %graphic-default-extension%))))
18 |
19 | (define ($graphic$ fileref
20 | #!optional (display #f) (format #f) (scale #f) (align #f))
21 | (let ((graphic-format (if format format ""))
22 | (graphic-scale (if scale (/ (string->number scale) 100) 1))
23 | (graphic-align (cond ((equal? align (normalize "center"))
24 | 'center)
25 | ((equal? align (normalize "right"))
26 | 'end)
27 | (else
28 | 'start))))
29 | (make external-graphic
30 | entity-system-id: (graphic-file fileref)
31 | notation-system-id: graphic-format
32 | scale: graphic-scale
33 | display?: display
34 | display-alignment: graphic-align)))
35 |
36 | (define ($img$ #!optional (nd (current-node)) (display #f))
37 | ;; This function now supports an extension to DocBook. It's
38 | ;; either a clever trick or an ugly hack, depending on your
39 | ;; point of view, but it'll hold us until XLink is finalized
40 | ;; and we can extend DocBook the "right" way.
41 | ;;
42 | ;; If the entity passed to GRAPHIC has the FORMAT
43 | ;; "LINESPECIFIC", either because that's what's specified or
44 | ;; because it's the notation of the supplied ENTITYREF, then
45 | ;; the text of the entity is inserted literally (via Jade's
46 | ;; read-entity external procedure).
47 | ;;
48 | (let* ((fileref (attribute-string (normalize "fileref") nd))
49 | (entityref (attribute-string (normalize "entityref") nd))
50 | (format (if (attribute-string (normalize "format") nd)
51 | (attribute-string (normalize "format") nd)
52 | (if entityref
53 | (entity-notation entityref)
54 | #f)))
55 | (align (attribute-string (normalize "align") nd))
56 | (scale (attribute-string (normalize "scale") nd)))
57 | (if (or fileref entityref)
58 | (if (equal? format (normalize "linespecific"))
59 | (if fileref
60 | (include-file fileref)
61 | (include-file (entity-generated-system-id entityref)))
62 | (if fileref
63 | ($graphic$ fileref display format scale align)
64 | ($graphic$ (entity-generated-system-id entityref)
65 | display format scale align)))
66 | (empty-sosofo))))
67 |
68 | (element graphic
69 | (make paragraph
70 | space-before: %block-sep%
71 | space-after: %block-sep%
72 | ($img$ (current-node) #t)))
73 |
74 | (element inlinegraphic ($img$))
75 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOgrk3.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/dtds/decls/docbook.dcl:
--------------------------------------------------------------------------------
1 |
107 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1fi.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1da.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOgrk4.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1pt.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1nl.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/styles/sgml-dtd-3.1/docbook.dcl:
--------------------------------------------------------------------------------
1 |
107 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1sl.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1pl.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1it.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1ro.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/cmdsyn.sgm:
--------------------------------------------------------------------------------
1 | CmdSynopsis Tests
2 |
3 | Very Simple CmdSynopsis
4 |
5 |
6 |
7 | cd
8 | directory
9 |
10 |
11 | Simple CmdSynopsis
12 |
13 |
14 |
15 | cal
16 | -j
17 | -y
18 | month year
19 |
20 |
21 | Another Simple CmdSynopsis
22 |
23 |
24 |
25 | chgrp
26 | -R
27 |
28 | -H
29 | -L
30 | -P
31 |
32 |
33 | -f
34 | group
35 | file
36 |
37 |
38 | Slightly Complex CmdSynopsis
39 |
40 |
43 |
44 | emacs
45 | -t file
46 | -q
47 | -u user
48 | +number
49 | -f function
50 | -l file
51 | file
52 |
53 |
54 | Quite Complex CmdSynopsis
55 |
56 |
57 |
58 | cccp
59 | -$
60 | -C
61 | -Dname=definition
62 | -dD
63 | -dM
64 | -I directory
65 | -H
66 | -I-
67 |
68 | -imacros file
69 | -include file
70 |
71 | -lang-c
72 | -lang-c++
73 | -lang-objc
74 |
75 | -lint
76 |
77 |
78 | -M
79 | -MD
80 | -MM
81 | -MMD
82 |
83 | -nostdinc
84 | -P
85 | -pedantic
86 | -pedantic-errors
87 | -trigraphs
88 | -Uname
89 |
90 | -undef
91 | -Wtrigraphs
92 | -Wcomment
93 | -Wall
94 | -Wtraditional
95 |
96 | infile
97 | -
98 |
99 |
100 | outfile
101 | -
102 |
103 |
104 |
105 |
106 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/callout.sgm:
--------------------------------------------------------------------------------
1 | Callout Tests
2 |
3 | CallOut (using AREASPEC)
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | @rem = '--*-Perl-*--
18 | @echo off
19 | perl.exe %_batchname %$
20 | goto endofperl
21 | @rem ';
22 |
23 | # Compress mail...
24 |
25 | require 'n:/home/nwalsh/lib/cygnus.pl';
26 | require 'timelocal.pl';
27 | use Cwd;
28 |
29 | select (STDERR); $| = 1;
30 | select (STDOUT); $| = 1;
31 |
32 | @DIRS = ("/home/nwalsh/Mail");
33 | while (@DIRS) {
34 | $dir = shift @DIRS;
35 | opendir (DIR, $dir);
36 | while ($fname = readdir(DIR)) {
37 | $file = "$dir/$fname";
38 | next if ! -d $file;
39 | next if $fname =~ /^\.\.?$/;
40 |
41 | print "$file\n";
42 | push (@DIRS, $file);
43 | &compress ($file);
44 | }
45 | }
46 |
47 | exit;
48 |
49 |
50 |
51 |
52 | The prologue handles embedding a Perl script in a DOS batch file.
53 |
54 |
55 |
56 |
57 | The goto statement, interpreted by the DOS batch
58 | file interpreter, skips over the body of the Perl script.
59 |
60 |
61 |
62 |
63 | The require statement sources in external program
64 | fragments.
65 |
66 |
67 |
68 |
69 | The use statement is similar, but has additional
70 | utility. It is a Perl5 function. (Note that this callout area specifies
71 | both a line and a column.)
72 |
73 |
74 |
75 |
76 | This is a user subroutine call.
77 |
78 |
79 |
80 |
81 |
82 | CallOut (using CO)
83 |
84 | this is a line
85 | this is another line
86 | there's a callout in here.
87 | and there's another on the
88 | next line
89 | right here:
90 |
91 |
92 |
93 |
94 | First callout.
95 | Second para in first callout.
96 |
97 |
98 |
99 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
100 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
101 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
102 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
103 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
104 |
105 | Second callout.
106 | Third para in second callout.
107 |
108 |
109 |
110 | This paragraph describes both callouts.
111 |
112 |
113 |
114 |
115 |
116 |
117 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1sk.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/xreference.sgm:
--------------------------------------------------------------------------------
1 |
2 | RefEntry Tests
3 |
4 |
5 | This test document is really to test xrefs:
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | This is independent of citerefentry:
15 | SomeRefEntry
16 | l.
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | RefEntryTitle
25 | l
26 |
27 |
28 |
29 | RefDescriptor
30 | RefName1
31 | RefName2
32 | Yes, there must be a purpose!
33 |
34 |
35 | Synopsis
36 |
37 |
38 | A
39 | Synopsis
40 | Goes
41 | Here
42 |
43 |
44 |
45 |
46 | A RefSect1
47 |
48 |
49 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
50 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
51 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
52 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
53 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 | RefDescriptor
62 | RefName1
63 | RefName2
64 | Yes, there must be a purpose!
65 |
66 |
67 | Synopsis
68 |
69 |
70 | A
71 | Synopsis
72 | Goes
73 | Here
74 |
75 |
76 |
77 |
78 | A RefSect1
79 |
80 |
81 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
82 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
83 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
84 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
85 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
86 |
87 |
88 |
89 |
90 |
91 |
92 | RefName1
93 | RefName2
94 | Yes, there must be a purpose!
95 |
96 |
97 | Synopsis
98 |
99 |
100 | A
101 | Synopsis
102 | Goes
103 | Here
104 |
105 |
106 |
107 |
108 | A RefSect1
109 |
110 |
111 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
112 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
113 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
114 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
115 | Blah blah blah blah. Blah blah blah blah. Blah blah blah blah.
116 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1de.ent:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOgrk1.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1cs.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISOamsb.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/styles/sgml-iso/ISObox.ent:
--------------------------------------------------------------------------------
1 |
6 |
11 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1es.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/cases/biblio2.sgm:
--------------------------------------------------------------------------------
1 |
2 | A Test Bibliography (w/o divisions)
3 |
4 |
5 | The stock stylesheet attempts to do a Bibliography. It probably needs
6 | a lot of tweaking. It probably doesn't conform to any specific style.
7 |
8 |
9 |
10 | AhoSethiUllman96
11 |
12 | Alfred V.>Aho>
13 | Ravi>Sethi>
14 | Jeffrey D.>Ullman>
15 |
16 | Compilers, Principles, Techniques, and Tools
17 |
18 | Addison-Wesley Publishing Company
19 |
20 | 1996
21 | Bell Telephone Laboratories, Inc.
22 | 0-201-10088-6
23 | James T.DeWolf
24 |
25 | Computer Science
26 |
27 | Michael A.
28 | Harrison
29 |
30 |
31 | Addison-Wesley Publishing Company
32 |
33 |
34 |
35 |
36 |
37 |
38 | Alfred V.>Aho>
39 | Ravi>Sethi>
40 | Jeffrey D.>Ullman>
41 |
42 | Compilers, Principles, Techniques, and Tools
43 |
44 | Addison-Wesley Publishing Company
45 |
46 | 1996
47 | Bell Telephone Laboratories, Inc.
48 | 0-201-10088-6
49 | James T.DeWolf
50 |
51 | Computer Science
52 |
53 | Michael A.
54 | Harrison
55 |
56 |
57 | Addison-Wesley Publishing Company
58 |
59 |
60 |
61 |
62 |
63 | Walsh97
64 |
65 | A Guide to XML
66 | WalshNorman
67 | 1997
68 | 1997ArborText, Inc.
69 | 97-108
70 |
71 |
72 | XML: Principles, Tools, and Techniques
73 |
74 | O'Reilly & Associates, Inc.
75 |
76 | 1085-2301
77 | DanConnolly
78 |
79 |
80 |
81 |
82 |
83 | Walsh, Norman.
84 | Introduction to Cascading Style Sheets.
85 |
86 |
87 | The World Wide Web Journal.
88 | 2(1).
89 | O'Reilly & Associates, Inc. and
90 | The World Wide Web Consortium.
91 | Winter, 1996.
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1fr.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/appendices/measurements.sgml:
--------------------------------------------------------------------------------
1 |
2 | Measurements used in kernel
3 |
4 |
5 | Jiffies
6 |
7 |
8 | Jiffies are the internal timeunits of the Linux kernel. This is based on the
9 | HZ definition that you can find in /usr/include/asm/param.h on your own
10 | system, and differs from different hardware architectures. For example, on
11 | the i386 system this is set to 1/100s, and on the Alpha hardware it is set to
12 | 1/1024s. For a complete listing of the different values on different hardware
13 | architectures, see below.
14 |
15 |
16 |
17 | Jiffies on different hardware
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | Architecture
26 | Jiffies
27 | Notes
28 |
29 |
30 |
31 |
32 |
33 | Alpha
34 | 1024
35 | It seems to me that only AlphaServer 1200, 4000 and 4100 are set to
36 | 1024, if CONFIG_ALPHA_RAWHIDE is configured. If CONFIG_ALPHA_RAWHIDE is not
37 | set, then HZ is set to 1200. If anyone knows for sure about this, they are
38 | welcome to contact me.
39 |
40 |
41 | ARM
42 | 100
43 |
44 |
45 |
46 | CRIS
47 | 100
48 |
49 |
50 |
51 | i386
52 | 100
53 |
54 |
55 |
56 | ia64
57 | 1024
58 | Unless CONFIG_IA64_HP_SIM is configured. Then HZ is defined to 32
59 | since we will then simulate ia64 architecture, which is slow.
60 |
61 |
62 | m68k
63 | 100
64 |
65 |
66 |
67 | MIPS
68 | 100
69 | You should better read the source of include/asm/param.h, since
70 | this value vary quite a lot based on what kind of hardware you are running.
71 |
72 |
73 |
74 | MIPS64
75 | 100
76 |
77 |
78 |
79 | PA-RISC
80 | 100
81 |
82 |
83 |
84 | PPC
85 | 100
86 |
87 |
88 |
89 | PPC-64
90 | 100
91 | Once again, if you run this hardware, read the include/asm/param.h
92 | to fully understand this value.
93 |
94 |
95 |
96 | S390
97 | 100
98 |
99 |
100 |
101 | S390X
102 | 100
103 |
104 |
105 |
106 | SH
107 | 100
108 |
109 |
110 |
111 | Sparc
112 | 100
113 |
114 |
115 |
116 | Sparc64
117 | 100
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/print/dbgloss.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbgloss.dsl,v 1.1 2002/11/21 20:52:33 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; ========================= GLOSSARY ELEMENTS ==========================
8 |
9 | (element glossary ($component$))
10 | (element (glossary title) (empty-sosofo))
11 |
12 | (element glossdiv ($section$))
13 | (element (glossdiv title) (empty-sosofo))
14 |
15 | (element glosslist ($block-container$))
16 | (element glossentry (process-children))
17 |
18 | ;; a glossentry glossterm
19 | (element (glossentry glossterm) ($lowtitle$ 3))
20 | (element (glossentry acronym) (empty-sosofo))
21 | (element (glossentry abbrev) (empty-sosofo))
22 | (element glossdef ($indent-para-container$))
23 |
24 | (element glosssee ($italic-seq$))
25 |
26 | (element (glossentry glosssee)
27 | (let ((otherterm (attribute-string (normalize "otherterm"))))
28 | (make paragraph
29 | space-before: %para-sep%
30 | space-after: %para-sep%
31 | start-indent: (+ (inherited-start-indent) (* (ILSTEP) 2))
32 | quadding: %default-quadding%
33 | ($italic-seq$ (literal (gentext-element-name (current-node))
34 | (gentext-label-title-sep (gi))))
35 | (if otherterm
36 | (make link
37 | destination: (node-list-address (element-with-id otherterm))
38 | (with-mode otherterm
39 | (process-element-with-id otherterm)))
40 | (process-children)))))
41 |
42 | ;; When we hit the first GLOSSSEEALSO, process all of them as a node-list
43 | (element glossseealso
44 | (if (first-sibling?)
45 | (make paragraph
46 | ($italic-seq$ (literal (gentext-element-name (current-node))
47 | (gentext-label-title-sep (gi))))
48 | (with-mode glossseealso
49 | (process-node-list
50 | (select-elements (children (parent)) '(glossseealso))))
51 | (literal "."))
52 | (empty-sosofo)))
53 |
54 | (mode glossseealso
55 |
56 | (element glossseealso
57 | (let ((otherterm (attribute-string (normalize "otherterm"))))
58 | (make sequence
59 | (if (first-sibling?)
60 | (empty-sosofo)
61 | ($italic-seq$ (literal ", ")))
62 |
63 | (if otherterm ;; but this should be required...
64 | (make link
65 | destination: (node-list-address (element-with-id otherterm))
66 | (with-mode otherterm
67 | (process-element-with-id otherterm)))
68 | (process-children)))))
69 |
70 | )
71 |
72 | ;; This is referenced within the GLOSSSEE and GLOSSSEEALSO element
73 | ;; construction expressions. The OTHERTERM attributes on GLOSSSEE and
74 | ;; GLOSSSEEALSO (should) refer to GLOSSENTRY elements but we're only
75 | ;; interested in the text within the GLOSSTERM. Discard the revision
76 | ;; history and the definition from the referenced term.
77 | (mode otherterm
78 | (element glossentry
79 | (process-children))
80 | (element glossterm
81 | (process-children))
82 | (element glossdef
83 | (empty-sosofo))
84 | (element revhistory
85 | (empty-sosofo))
86 | (element glosssee
87 | (empty-sosofo))
88 | (element (glossentry acronym)
89 | (empty-sosofo))
90 | (element (glossentry abbrev)
91 | (empty-sosofo)))
92 |
93 | ;; an inline gloss term
94 | (element glossterm
95 | (let* ((linkend (attribute-string (normalize "linkend"))))
96 | (if linkend
97 | (make link
98 | destination: (node-list-address (element-with-id linkend))
99 | ($italic-seq$))
100 | ($italic-seq$))))
101 |
102 | ;; a first glossterm
103 | (element firstterm
104 | (let* ((linkend (attribute-string (normalize "linkend")))
105 | (sosofo (if linkend
106 | (make link
107 | destination: (node-list-address
108 | (element-with-id linkend))
109 | ($italic-seq$))
110 | ($italic-seq$))))
111 | (if firstterm-bold
112 | (make sequence
113 | font-weight: 'bold
114 | sosofo)
115 | sosofo)))
116 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1et.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1ja.ent:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/common/dbl1ca.ent:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/html/dbgraph.dsl:
--------------------------------------------------------------------------------
1 | ;; $Id: dbgraph.dsl,v 1.1 2002/11/21 20:52:32 blueflux Exp $
2 | ;;
3 | ;; This file is part of the Modular DocBook Stylesheet distribution.
4 | ;; See ../README or http://www.berkshire.net/~norm/dsssl/
5 | ;;
6 |
7 | ;; ==================== GRAPHICS ====================
8 |
9 | (define (graphic-file filename)
10 | (let ((ext (file-extension filename)))
11 | (if (or (not filename)
12 | (not %graphic-default-extension%)
13 | (member ext %graphic-extensions%))
14 | filename
15 | (string-append filename "." %graphic-default-extension%))))
16 |
17 | (define (graphic-attrs imagefile instance-alt)
18 | (let* ((grove (sgml-parse image-library-filename))
19 | (imagelib (node-property 'document-element
20 | (node-property 'grove-root grove)))
21 | (images (select-elements (children imagelib) "image"))
22 | (image (let loop ((imglist images))
23 | (if (node-list-empty? imglist)
24 | #f
25 | (if (equal? (attribute-string
26 | "filename"
27 | (node-list-first imglist))
28 | imagefile)
29 | (node-list-first imglist)
30 | (loop (node-list-rest imglist))))))
31 | (prop (if image
32 | (select-elements (children image) "properties")
33 | #f))
34 | (metas (if prop
35 | (select-elements (children prop) "meta")
36 | #f))
37 | (attrs (let loop ((meta metas) (attrlist '()))
38 | (if (node-list-empty? meta)
39 | attrlist
40 | (if (equal? (attribute-string
41 | "imgattr"
42 | (node-list-first meta))
43 | "yes")
44 | (loop (node-list-rest meta)
45 | (append attrlist
46 | (list
47 | (list
48 | (attribute-string
49 | "name"
50 | (node-list-first meta))
51 | (attribute-string
52 | "content"
53 | (node-list-first meta))))))
54 | (loop (node-list-rest meta) attrlist)))))
55 | (width (attribute-string "width" prop))
56 | (height (attribute-string "height" prop))
57 | (alttext (select-elements (children image) "alttext"))
58 | (alt (if instance-alt
59 | instance-alt
60 | (if (node-list-empty? alttext)
61 | #f
62 | (data alttext)))))
63 | (if (or width height alt (not (null? attrs)))
64 | (append
65 | attrs
66 | (if width (list (list "WIDTH" width)) '())
67 | (if height (list (list "HEIGHT" height)) '())
68 | (if alttext (list (list "ALT" alt)) '()))
69 | '())))
70 |
71 | (define ($graphic$ fileref
72 | #!optional (format #f) (alt #f) (align #f))
73 | (let ((img-attr (append
74 | (list (list "SRC" (graphic-file fileref)))
75 | (if align (list (list "ALIGN" align)) '())
76 | (if image-library (graphic-attrs fileref alt) '()))))
77 | (make empty-element gi: "IMG"
78 | attributes: img-attr)))
79 |
80 | (define ($img$ #!optional (nd (current-node)) (alt #f))
81 | ;; This function now supports an extension to DocBook. It's
82 | ;; either a clever trick or an ugly hack, depending on your
83 | ;; point of view, but it'll hold us until XLink is finalized
84 | ;; and we can extend DocBook the "right" way.
85 | ;;
86 | ;; If the entity passed to GRAPHIC has the FORMAT
87 | ;; "LINESPECIFIC", either because that's what's specified or
88 | ;; because it's the notation of the supplied ENTITYREF, then
89 | ;; the text of the entity is inserted literally (via Jade's
90 | ;; read-entity external procedure).
91 | ;;
92 | (let* ((fileref (attribute-string (normalize "fileref") nd))
93 | (entityref (attribute-string (normalize "entityref") nd))
94 | (format (if (attribute-string (normalize "format") nd)
95 | (attribute-string (normalize "format") nd)
96 | (if entityref
97 | (entity-notation entityref)
98 | #f)))
99 | (align (attribute-string (normalize "align") nd)))
100 | (if (or fileref entityref)
101 | (if (equal? format (normalize "linespecific"))
102 | (if fileref
103 | (include-file fileref)
104 | (include-file (entity-generated-system-id entityref)))
105 | (if fileref
106 | ($graphic$ fileref format alt align)
107 | ($graphic$ (system-id-filename entityref)
108 | format alt align)))
109 | (empty-sosofo))))
110 |
111 | (element graphic
112 | (make element gi: "P"
113 | ($img$)))
114 |
115 | (element inlinegraphic
116 | ($img$))
117 |
--------------------------------------------------------------------------------
/styles/dsssl-stylesheets/test/docbook40.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | DocBook V4.0 Example Document
6 | NormanWalsh
7 |
8 | This document demonstrates the new tags in DocBook V4.0.
9 | The focus of this document is to present examples of new elements,
10 | minor changes such as the addition of new attribute values are not
11 | included.
12 |
13 |
14 | Block-level Markup
15 | There's a new simple-alternative for msgentry:
16 | simplemsgentry.
17 |
18 |
19 | The text of a message
20 | An explanation of the message.
21 |
22 |
23 | The text of a message
24 | An explanation of the message.
25 |
26 |
27 |
28 | Longer descriptions are possible in a revhistory:
29 |
30 |
31 |
32 |
33 |
34 | 2
35 | today
36 | nwalsh
37 |
38 | Here are a few paragraphs of description:
39 | Did some stuff.
40 | Did some other stuff.
41 |
42 |
43 |
44 | 1
45 | yesterday
46 | nwalsh
47 |
48 | Here are a few paragraphs of description:
49 | Did some stuff.
50 | Did some other stuff.
51 |
52 |
53 |
54 |
55 |
56 | Ordered and itemized lists can have titles:
57 |
58 | Itemized List
59 | First thing
60 | Second thing
61 | Third thing
62 |
63 |
64 | Ordered List
65 | First thing
66 | Second thing
67 | Third thing
68 |
69 |
70 | Linespecific environments can indicate line numbering:
71 |
72 |
73 | <!ENTITY % linespecific.attrib
74 | "format NOTATION
75 | (linespecific) 'linespecific'
76 | linenumbering (numbered|unnumbered) #IMPLIED">
77 |
78 |
79 | Added classsynopsis for documenting
80 | object-oriented programming language classes. Here's one example:
81 |
82 |
83 | public
84 | TextFileWriter
85 | HandlerBase
86 |
87 |
88 | private
89 | Writer
90 | writer
91 |
92 |
93 |
94 | public
95 | String
96 | writerName
97 | "MyWriter"
98 |
99 |
100 |
101 | static
102 | public
103 |
104 | write
105 |
106 | ResultTreeFragment
107 | frag
108 |
109 |
110 | String
111 | file
112 |
113 | SAXException
114 |
115 |
116 |
117 |
118 | Inline markup
119 | The sgmltag element has new
120 | class attribute values:
121 | xmlpi and
122 | emptytag. These produce
123 | processing instructions
124 | and empty-tag markup
125 | suitable for XML.
126 |
127 |
128 |
129 |
--------------------------------------------------------------------------------