This commit is contained in:
gferg 2000-12-28 15:50:22 +00:00
parent 37d46457da
commit e760e13a52
17 changed files with 0 additions and 707 deletions

View File

@ -1,339 +0,0 @@
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!-- Cas HTML -->
<!ENTITY html-ss
PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN"
CDATA DSSSL>
<!-- Cas PS -->
<!ENTITY print-ss
PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN"
CDATA DSSSL>
]>
<style-sheet>
<!-- Pour le HTML -->
<style-specification id="html" use="html-stylesheet">
<style-specification-body>
;; Courtoisement du projet de documentation FreeBSD
;; Use tables to build the navigation headers and footers?
(define %gentext-nav-use-tables% #t)
;; Default extension for HTML output files
(define %html-ext% ".html")
;; Name for the root HTML document
(define %root-filename% "index")
;; Should verbatim environments be shaded?
(define %shade-verbatim% #t)
;; Write a manifest?
(define html-manifest #t)
;; Are sections enumerated?
(define %section-autolabel% #t)
;; Use graphics in admonitions?
(define %admon-graphics% #t)
;; Path to admonition graphics
(define %admon-graphics-path% "images/")
;; Courtoisement de la part de S. Bortzmeyer
(element urlsgml
(make sequence
(make element
gi: "A"
attributes: `(("HREF"
,(data (current-node)))
(data (current-node))))
)
)
;; l'extension par défaut en mode HTML
(define %graphic-default-extension% "png")
(define %generate-part-toc%
#t)
;; Use ID attributes as name for component HTML files? (Greg Ferguson)
(define %use-id-as-filename% #t)
;; Custom headers
(define %html-header-tags%
'(("META" ("HTTP-EQUIV" "Content-Type") ("CONTENT" "text/html; charset=iso-8859-1")) ("META" ("NAME" "Author") ("CONTENT" "Bruno Cornec")) ("META" ("NAME" "KeyWords") ("CONTENT" "Linux,HP,Medasys,HP-UX,Hewlett,Packard,France")))
)
;; Courtoisement de Mark Johnson
;; Turn on fast-forward link generation
(define %gentext-nav-use-ff% #t)
;; ---------------------
;; Navigation Icons
;; ---------------------
;;
;; Redefine links as graphic icons instead of text
;;
;; (Overrides definitions in common/dbl1en.dsl)
;;
(define (gentext-en-nav-prev prev)
(make empty-element gi: "IMG"
attributes: '(("SRC" "../images/prev.png")
("BORDER" "0")
("ALT" "Prev"))))
(define (gentext-en-nav-prev-sibling prevsib)
(make empty-element gi: "IMG"
attributes: '(("SRC" "../images/fast-bak.png")
("BORDER" "0")
("ALT" "Fast Backward"))))
(define (gentext-en-nav-next-sibling nextsib)
(make empty-element gi: "IMG"
attributes: '(("SRC" "../images/fast-for.png")
("BORDER" "0")
("ALT" "Fast Forward"))))
(define (gentext-en-nav-next next)
(make empty-element gi: "IMG"
attributes: '(("SRC" "../images/next.png")
("BORDER" "0")
("ALT" "Next"))))
(define (gentext-en-nav-up up)
(make empty-element gi: "IMG"
attributes: '(("SRC" "../images/up.png")
("BORDER" "0")
("ALT" "Up"))))
(define (gentext-en-nav-home home)
(make empty-element gi: "IMG"
attributes: '(("SRC" "../images/home.png")
("BORDER" "0")
("ALT" "Home"))))
;;
;;
;;=================================================================
;; End of navigation icons section
;;=================================================================
;;=================================================================
;; NAVIGATION HEADER TABLES
;;=================================================================
;;
;;
;; Rearrange navigation header to put bigger jumps at outside edge
;;
;; (Overrides stuff defined in html/dbnavig.dsl)
;;
;;
;;=================================================================
;;=================================================================
;;
;;
(define (default-header-nav-tbl-ff elemnode prev next prevsib nextsib)
(let* ((r1? (nav-banner? elemnode))
(r1-sosofo (make element gi: "TR"
(make element gi: "TH"
attributes: (list
(list "COLSPAN" "5")
(list "ALIGN" "center")
(list "VALIGN" "bottom"))
(nav-banner elemnode))))
(r2? (or (not (node-list-empty? prev))
(not (node-list-empty? next))
(not (node-list-empty? prevsib))
(not (node-list-empty? nextsib))
(nav-context? elemnode)))
(r2-sosofo (make element gi: "TR"
;; constructs Fast-Backward link
(make element gi: "TD"
attributes: (list
(list "WIDTH" "10%")
(list "ALIGN" "left")
(list "VALIGN" "top"))
(if (node-list-empty? prevsib)
(make entity-ref name: "nbsp")
(make element gi: "A"
attributes: (list
(list "HREF"
(href-to
prevsib)))
(gentext-nav-prev-sibling prevsib))))
;; constructs Previous link
(make element gi: "TD"
attributes: (list
(list "WIDTH" "10%")
(list "ALIGN" "left")
(list "VALIGN" "top"))
(if (node-list-empty? prev)
(make entity-ref name: "nbsp")
(make element gi: "A"
attributes: (list
(list "HREF"
(href-to
prev)))
(gentext-nav-prev prev))))
;; center part: navigation context, title, etc.
(make element gi: "TD"
attributes: (list
(list "WIDTH" "60%")
(list "ALIGN" "center")
(list "VALIGN" "bottom"))
(nav-context elemnode))
;; constructs Next link
(make element gi: "TD"
attributes: (list
(list "WIDTH" "10%")
(list "ALIGN" "right")
(list "VALIGN" "top"))
(if (node-list-empty? next)
(make entity-ref name: "nbsp")
(make element gi: "A"
attributes: (list
(list "HREF"
(href-to
next)))
(gentext-nav-next next))))
;; constructs Fast-Forward link
(make element gi: "TD"
attributes: (list
(list "WIDTH" "10%")
(list "ALIGN" "right")
(list "VALIGN" "top"))
(if (node-list-empty? nextsib)
(make entity-ref name: "nbsp")
(make element gi: "A"
attributes: (list
(list "HREF"
(href-to
nextsib)))
(gentext-nav-next-sibling nextsib))))
)))
(if (or r1? r2?)
(make element gi: "DIV"
attributes: '(("CLASS" "NAVHEADER"))
(make element gi: "TABLE"
attributes: (list
(list "WIDTH" %gentext-nav-tblwidth%)
(list "BORDER" "0")
(list "CELLPADDING" "0")
(list "CELLSPACING" "0"))
(if r1? r1-sosofo (empty-sosofo))
(if r2? r2-sosofo (empty-sosofo)))
(make empty-element gi: "HR"
attributes: (list
(list "ALIGN" "LEFT")
(list "WIDTH" %gentext-nav-tblwidth%))))
(empty-sosofo))))
;;
;;
;;=================================================================
</style-specification-body>
</style-specification>
<!-- pour le PS -->
<style-specification id="print" use="print-stylesheet">
<style-specification-body>
;; Ne montre pas les liens
(define %show-ulinks% #f)
;; Are sections enumerated?
(define %section-autolabel% #t)
;; Use graphics in admonitions?
(define %admon-graphics% #t)
;; Path to admonition graphics
(define %admon-graphics-path% "images/")
(define ($admon-graphic$ #!optional (nd (current-node)))
(cond ((equal? (gi nd) (normalize "tip"))
(string-append %admon-graphics-path% "tip.eps"))
((equal? (gi nd) (normalize "note"))
(string-append %admon-graphics-path% "note.eps"))
((equal? (gi nd) (normalize "important"))
(string-append %admon-graphics-path% "important.eps"))
((equal? (gi nd) (normalize "caution"))
(string-append %admon-graphics-path% "caution.eps"))
((equal? (gi nd) (normalize "warning"))
(string-append %admon-graphics-path% "warning.eps"))
(else (error (string-append (gi nd) " is not an admonition.")))))
;; liens en bas de page ?
(define %footnote-ulinks% #t)
;; Make "bottom-of-page" footnotes?
;;(define bop-footnotes #t)
;; Allow justification
(define %default-quadding% 'justify)
;; Allow automatic hyphenation?
(define %hyphenation% #t)
;; urlsgml ne fait rien dans ce mode
(element urlsgml ($mono-seq$))
;; l'extension par défaut en mode print
(define %graphic-default-extension% "eps")
;; Courtoisement de Norman Walsh
(define (book-titlepage-recto-elements)
(list (normalize "title")
(normalize "subtitle")
(normalize "graphic")
(normalize "mediaobject")
(normalize "corpauthor")
(normalize "authorgroup")
(normalize "author")
(normalize "editor")
;;(normalize "copyright")
(normalize "printhistory") ;; add this...
;;(normalize "revhistory")
;;(normalize "abstract")
;;(normalize "releaseinfo")
(normalize "pubdate")
;;(normalize "legalnotice")
))
</style-specification-body>
</style-specification>
<!-- Pour le TXT -->
<style-specification id="txt" use="html">
<style-specification-body>
;; Un seul morceau
(define nochunks #t)
;; pas de manifest
(define %html-manifest% #f)
</style-specification-body>
</style-specification>
<external-specification id="html-stylesheet" document="html-ss">
<external-specification id="print-stylesheet" document="print-ss">
</style-sheet>

View File

@ -1,3 +0,0 @@
-- Catalog file for HP-HOWTO Extended DocBook DTD --
PUBLIC "-//HP-HOWTO//DTD DocBook V4.1-Based Extension//EN" "HP-HOWTO.dtd"

View File

@ -1,65 +0,0 @@
<!-- HP-HOWTO, Extended DocBook DTD
This DTD builds upon the DocBook 4.1 DTD. It extends it in order to
add some new elements.
The comment style and section headings are drawn from the DocBook DTD.
Derived from the FreeBSD DTD
The FPI for this DTD is "-//HP-HOWTO//DTD DocBook V4.1-Based Extension//EN"
-->
<!-- ..................................................................... -->
<!-- Parameter entities .................................................. -->
<!-- These parameter entities have specific meanings, and default to
"IGNORE". The SGML parser is free to redefine them to "INCLUDE" to
cause special processing. -->
<!ENTITY % html "IGNORE"> <!-- HTML output is being generated -->
<!ENTITY % print "IGNORE"> <!-- Print output is being generated -->
<!-- ..................................................................... -->
<!-- Entities for element classes and mixtures ........................... -->
<!-- Object-level classes ................................................ -->
<!ENTITY % local.list.class "|FAQList">
<!ENTITY % local.link.char.class "|urlsgml">
<!-- Altered general entities ............................................
The HTML 4.0 DTD includes some new ISO entities. Most browsers don't
support them yet. Change the definition of some of these entities to
character strings that the browsers will support.
This does not apply when generating printed output, so these are
contained within a %output.html; marked section.
As browser technology improves, these definitions can be removed. -->
<![ %html; [
<!ENTITY ldquo "``">
<!ENTITY rdquo "''">
<!ENTITY mdash "---">
<!ENTITY ndash "--">
<!ENTITY hellip "...">
<!ENTITY dollar "$">
]]>
<!-- Pull in the original DTD -->
<!ENTITY % orig-docbook PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
%orig-docbook;
<!ELEMENT urlsgml - - ((%para.char.mix;)+)>
<!ATTLIST urlsgml
--
Type: Freely assignable parameter
--
Type CDATA #IMPLIED
%common.attrib;
%ulink.role.attrib;
%local.ulink.attrib;
>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 964 B

View File

@ -1,300 +0,0 @@
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (ImageMagick)
%%Title: (note.eps)
%%CreationDate: (Fri Jan 14 15:50:43 2000)
%%BoundingBox: 0 0 23 23
%%DocumentData: Clean7Bit
%%LanguageLevel: 1
%%Pages: 0
%%EndComments
%%BeginDefaults
%%PageOrientation: Portrait
%%EndDefaults
%%BeginProlog
%
% Display a color image. The image is displayed in color on
% Postscript viewers or printers that support color, otherwise
% it is displayed as grayscale.
%
/buffer 512 string def
/byte 1 string def
/color_packet 3 string def
/pixels 768 string def
/DirectClassPacket
{
%
% Get a DirectClass packet.
%
% Parameters:
% red.
% green.
% blue.
% length: number of pixels minus one of this color (optional).
%
currentfile color_packet readhexstring pop pop
compression 0 gt
{
/number_pixels 3 def
}
{
currentfile byte readhexstring pop 0 get
/number_pixels exch 1 add 3 mul def
} ifelse
0 3 number_pixels 1 sub
{
pixels exch color_packet putinterval
} for
pixels 0 number_pixels getinterval
} bind def
/DirectClassImage
{
%
% Display a DirectClass image.
%
systemdict /colorimage known
{
columns rows 8
[
columns 0 0
rows neg 0 rows
]
{ DirectClassPacket } false 3 colorimage
}
{
%
% No colorimage operator; convert to grayscale.
%
columns rows 8
[
columns 0 0
rows neg 0 rows
]
{ GrayDirectClassPacket } image
} ifelse
} bind def
/GrayDirectClassPacket
{
%
% Get a DirectClass packet; convert to grayscale.
%
% Parameters:
% red
% green
% blue
% length: number of pixels minus one of this color (optional).
%
currentfile color_packet readhexstring pop pop
color_packet 0 get 0.299 mul
color_packet 1 get 0.587 mul add
color_packet 2 get 0.114 mul add
cvi
/gray_packet exch def
compression 0 gt
{
/number_pixels 1 def
}
{
currentfile byte readhexstring pop 0 get
/number_pixels exch 1 add def
} ifelse
0 1 number_pixels 1 sub
{
pixels exch gray_packet put
} for
pixels 0 number_pixels getinterval
} bind def
/GrayPseudoClassPacket
{
%
% Get a PseudoClass packet; convert to grayscale.
%
% Parameters:
% index: index into the colormap.
% length: number of pixels minus one of this color (optional).
%
currentfile byte readhexstring pop 0 get
/offset exch 3 mul def
/color_packet colormap offset 3 getinterval def
color_packet 0 get 0.299 mul
color_packet 1 get 0.587 mul add
color_packet 2 get 0.114 mul add
cvi
/gray_packet exch def
compression 0 gt
{
/number_pixels 1 def
}
{
currentfile byte readhexstring pop 0 get
/number_pixels exch 1 add def
} ifelse
0 1 number_pixels 1 sub
{
pixels exch gray_packet put
} for
pixels 0 number_pixels getinterval
} bind def
/PseudoClassPacket
{
%
% Get a PseudoClass packet.
%
% Parameters:
% index: index into the colormap.
% length: number of pixels minus one of this color (optional).
%
currentfile byte readhexstring pop 0 get
/offset exch 3 mul def
/color_packet colormap offset 3 getinterval def
compression 0 gt
{
/number_pixels 3 def
}
{
currentfile byte readhexstring pop 0 get
/number_pixels exch 1 add 3 mul def
} ifelse
0 3 number_pixels 1 sub
{
pixels exch color_packet putinterval
} for
pixels 0 number_pixels getinterval
} bind def
/PseudoClassImage
{
%
% Display a PseudoClass image.
%
% Parameters:
% class: 0-PseudoClass or 1-Grayscale.
%
currentfile buffer readline pop
token pop /class exch def pop
class 0 gt
{
currentfile buffer readline pop
token pop /depth exch def pop
/grays columns 8 add depth sub depth mul 8 idiv string def
columns rows depth
[
columns 0 0
rows neg 0 rows
]
{ currentfile grays readhexstring pop } image
}
{
%
% Parameters:
% colors: number of colors in the colormap.
% colormap: red, green, blue color packets.
%
currentfile buffer readline pop
token pop /colors exch def pop
/colors colors 3 mul def
/colormap colors string def
currentfile colormap readhexstring pop pop
systemdict /colorimage known
{
columns rows 8
[
columns 0 0
rows neg 0 rows
]
{ PseudoClassPacket } false 3 colorimage
}
{
%
% No colorimage operator; convert to grayscale.
%
columns rows 8
[
columns 0 0
rows neg 0 rows
]
{ GrayPseudoClassPacket } image
} ifelse
} ifelse
} bind def
/DisplayImage
{
%
% Display a DirectClass or PseudoClass image.
%
% Parameters:
% x & y translation.
% x & y scale.
% label pointsize.
% image label.
% image columns & rows.
% class: 0-DirectClass or 1-PseudoClass.
% compression: 0-RunlengthEncodedCompression or 1-NoCompression.
% hex color packets.
%
gsave
currentfile buffer readline pop
token pop /x exch def
token pop /y exch def pop
x y translate
currentfile buffer readline pop
token pop /x exch def
token pop /y exch def pop
currentfile buffer readline pop
token pop /pointsize exch def pop
/Helvetica findfont pointsize scalefont setfont
x y scale
currentfile buffer readline pop
token pop /columns exch def
token pop /rows exch def pop
currentfile buffer readline pop
token pop /class exch def pop
currentfile buffer readline pop
token pop /compression exch def pop
class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
grestore
} bind def
%%EndProlog
%%Page: 1 1
%%PageBoundingBox: 0 0 24 24
userdict begin
%%BeginData:
DisplayImage
0 0
24 24
12
24 24
1
1
1
8
ffffffffffffffffffffe7e7e7e7e7ffffffffffffffffffffffffffffffffffbda594a5
a5a594a5ceffffffffffffffffffffffffefc68ca5d6e7efefefe7c69494ceffffffffff
ffffffffe794a5deffffffffffffffffffce94b5ffffffffffffffefa5b5ffffffffffff
ffffffffffffefa5bdffffffffffef94bdffffffffffffffffffffffffffffff94bdffff
ffffcea5ffffffffffffffffffffffffffffffffefa5deffffffa5deffffffffffffffff
ffffffffffffffffffcea5ffffcea5ffffffffffc6bdb5bdb5bddee7e7e7e7e7ffffa5e7
ffa5deefd6d6a58cb5ceded6ce8c84a5a5a5a59494e7b5cee7a5e79494b5ceffffe7ce94
c6ce73bddededed694cede94e7a5d694e7ffffffef94635a4a527b94bdb5b5bdc6efe794
dea5d694e7ffffffbd7bcededea594ffefffefffffffde94e7a5de8ce7ffffef947394b5
bd8ca5ffffffffffffffe794e7a5de947ba5efef6b7bd6cec67bdeffffffffffffffe7a5
ffb5d6ffffb594ce6bbd8c7363bdffffffffffffffffa5ceffd6a5ffffefc67b52739484
c6ffffffffffffffffefa5efffffa5ceffffffdee7dee7deffffffffffffffffffbdbdff
ffffd6a5e7ffffffffffffffffffffffffffffffcea5efffffffffb5a5ffffffffffffff
ffffffffffffffff8cceffffffffffffbd94efffffffffffffffffffffffce8cceffffff
ffffffffffb594c6efffffffffffffffe7b594c6ffffffffffffffffffffd6a58ca5dede
e7decea58cb5e7ffffffffffffffffffffffffffdece94949494a5ceefffffffffffffff
%%EndData
end
%%PageTrailer
%%Trailer
%%BoundingBox: 0 0 23 23
%%EOF

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 843 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB