Turn on the use of the stylesheet. Remove the code that caries out
special formatting for questions, as the stylesheets now do this. Interested parties can look at http://people.freebsd.org/~nik/faq-css/ for an idea of how the new stylesheets render.
This commit is contained in:
parent
e4bca6fe83
commit
e705f83469
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9643
1 changed files with 9 additions and 28 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- $FreeBSD: doc/share/sgml/freebsd.dsl,v 1.31 2001/06/02 23:02:13 dd Exp $ -->
|
||||
<!-- $FreeBSD: doc/share/sgml/freebsd.dsl,v 1.32 2001/06/16 21:30:11 nik Exp $ -->
|
||||
|
||||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||
<!ENTITY % output.html "IGNORE">
|
||||
|
@ -79,6 +79,9 @@
|
|||
"html.index"
|
||||
"html-split.index"))
|
||||
|
||||
(define %stylesheet%
|
||||
"docbook.css")
|
||||
|
||||
<!-- This code handles displaying $email-footer$ at the bottom
|
||||
of each page.
|
||||
|
||||
|
@ -379,28 +382,6 @@
|
|||
(element maketarget ($mono-seq$))
|
||||
(element makevar ($mono-seq$))
|
||||
|
||||
<!-- For the HTML version, display the questions in a bigger, bolder
|
||||
font. -->
|
||||
|
||||
<![ %output.html; [
|
||||
(element question
|
||||
(let* ((chlist (children (current-node)))
|
||||
(firstch (node-list-first chlist))
|
||||
(restch (node-list-rest chlist)))
|
||||
(make element gi: "DIV"
|
||||
attributes: (list (list "CLASS" (gi)))
|
||||
(make element gi: "P"
|
||||
(make element gi: "BIG"
|
||||
(make element gi: "A"
|
||||
attributes: (list (list "NAME" (element-id)))
|
||||
(empty-sosofo))
|
||||
(make element gi: "B"
|
||||
(literal (question-answer-label
|
||||
(current-node)) " ")
|
||||
(process-node-list (children firstch)))))
|
||||
(process-node-list restch))))
|
||||
]]>
|
||||
|
||||
<!-- Override generate-anchor. This is used to generate a unique ID for
|
||||
each element that can be linked to. The element-id function calls
|
||||
this one if there's no ID attribute that it can use. Normally, we
|
||||
|
|
Loading…
Reference in a new issue