File: README

package info (click to toggle)
docbook-slides 3.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 2,624 kB
  • ctags: 598
  • sloc: xml: 1,404; sh: 656; makefile: 7
file content (104 lines) | stat: -rw-r--r-- 4,070 bytes parent folder | download | duplicates (2)
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
96
97
98
99
100
101
102
103
104
$Id: README,v 1.3 2005/04/27 15:37:37 xmldoc Exp $

README for the DocBook Slides distribution

For installation information, see the INSTALL file. This README
file provides some minimal documentation on authoring, validating,
and transforming Slides documents.

----------------------------------------------------------------------
Slides how-to and reference documentation
----------------------------------------------------------------------
Some minimal how-to documentation on Slides is available at:

  http://docbook.sourceforge.net/release/slides/current/doc/

Reference documentation on XSL stylesheet parameters is at:

  http://docbook.sourceforge.net/release/slides/current/doc/param.html

The same documentation is also in the doc/ subdirectory in the
Slides distribution.

----------------------------------------------------------------------
Authoring and validating with DTDs (slides.dtd or slides-full.dtd)
----------------------------------------------------------------------
To do DTD-driven authoring and validation of DocBook Slides
documents, add a DOCTYPE to your documents using either a PUBLIC
or SYSTEM ID with the appropriate URI for either the included
slides.dtd (based on Simplified DocBook) or slides-full.dtd
(based on full DocBook) DTD.

For example:

  <!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides V3.4//EN"
  "http://docbook.sourceforge.net/release/slides/3.4/schema/dtd/slides.dtd">

IMPORTANT: The example above may not be up-to-date. For the
           current PUBLIC ID and URI see the actual slides.dtd
           and slides-full.dtd files. 

----------------------------------------------------------------------
Authoring with RELAX NG (slides.rnc and slides-full.rnc)
----------------------------------------------------------------------
To do RNC-driven authoring of DocBook Slides content with a
"RELAX NG aware" XML editing application such as Emacs/nXML,
oXygen XML Editor, XMLBuddy, or Exchanger XML Editor, point your
editing application at the included slides.rnc (based on
Simplified DocBook) or slides-full.rnc (based on full DocBook)
schema files.

Alternatively, if you are authoring with an editor such as
Emacs/nXML mode that supports schema "locating rules", use the
included locatingrules.xml file. It tells your editor to
automatically associate any documents whose root element is
"slides" (DocBook Slides documents), with (by default) the
slides.rnc schema. To have "slides" documents instead associated
with the slides-full.rnc, edit the locatingrules.xml file.

To use the locating-rules.xml file with Emacs/nXML mode, either

  - do M-x customize-variable rng-schema-locating-files and then
    add the absolute path to the locatingrules.xml file there

    OR

  - put the following into your .emacs file:

      (setq rng-schema-locating-files
        (append
          '("~/docbook-slides/locatingrules.xml")))

  Of course, replace the ~/docbook-slides/locatingrules.xml
  pathname with the appropriate location for your system.

----------------------------------------------------------------------
Validating with RELAX NG (slides.rnc and slides-full.rnc)
----------------------------------------------------------------------
To validate Slides documents using RELAX NG, do either of the
following:

  1. Use RNV[1]; for example:

     rnv ~/docbook-slides/slides.rnc foo.xml

  2. Use the xmllint tool from libxml2[1]; for example:

     xmllint --noout --relaxng ~/docbook-slides/slides.rng foo.xml

     IMPORTANT: If you use xmllint, you need to validate against
                the *.rng versions of the schemas, not the *.rnc
                versions.

[1] http://davidashen.net/rnv.html
[2] http://xmlsoft.org/

----------------------------------------------------------------------
Transforming your Slides documents to HTML and PDF
----------------------------------------------------------------------
See the documentation at:

  http://docbook.sourceforge.net/release/slides/current/doc/

The same documentation is also in the doc/ subdirectory in the
Slides distribution.