Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Commit a5feec6

Browse files
author
Stuart Rackham
committed
- Changed a number of inadevertently duplicated files to symlinks.
- Documentation updates.
1 parent 17cf97e commit a5feec6

8 files changed

+43
-1565
lines changed

doc/asciidoc.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -756,8 +756,7 @@ is rendered as:
756756
[underline]#Underline text#, [overline]#overline text# and
757757
[bold blue line-through]*bold blue and line-through*.
758758

759-
NOTE: Quoted text attributes are not applicable to PDF or HTML 4
760-
outputs.
759+
NOTE: Text attributes are not applicable to PDF or HTML 4 outputs.
761760

762761
[[X52]]
763762
Constrained and Unconstrained Quotes

doc/faq.txt

+32-6
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ To selectively indent paragraphs you could either create an 'indented'
643643
paragraph style from scratch or use the 'role' attribute.
644644

645645
[float]
646-
==== Create an indented paragraph style
646+
==== Create an indented paragraph style (xhtml11 backend)
647647
Define an 'indented' paragraph style, for example, by putting this in
648648
a configuration file:
649649

@@ -668,7 +668,7 @@ lacinia. Vivamus at lectus.
668668
---------------------------------------------------------------------
669669

670670
[float]
671-
==== Use the role attribute
671+
==== Use the role attribute (xhtml11 backend)
672672
Add the following line to the `xhtml11.css` stylesheet (or a custom
673673
stylesheet).
674674

@@ -686,10 +686,36 @@ vestibulum mi. Aliquam pede. Aenean lobortis lorem et lacus. Sed
686686
lacinia. Vivamus at lectus.
687687
---------------------------------------------------------------------
688688

689-
NOTE: This FAQ applies to XHTML output not DocBook. To achieve the
690-
same results with DocBook use the 'role' attribute and customize the
691-
DocBook XSL stylesheets to indent paragraphs with the `simpara`
692-
element `role="indented"` attribute.
689+
[float]
690+
==== Use the role attribute (docbook backend)
691+
Add the following line to the distributed `docbook-xsl.css` stylesheet
692+
or include it in a custom stylesheet.
693+
694+
---------------------------------------------------------------------
695+
p.indented {text-indent: 3em;}
696+
---------------------------------------------------------------------
697+
698+
Apply the 'role' attribute to indented paragraphs, for example:
699+
700+
---------------------------------------------------------------------
701+
[role="indented"]
702+
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas
703+
ultrices justo porttitor augue. Vestibulum pretium. Donec porta
704+
vestibulum mi. Aliquam pede. Aenean lobortis lorem et lacus. Sed
705+
lacinia. Vivamus at lectus.
706+
---------------------------------------------------------------------
707+
708+
If you have included the custom CSS in a separate stylesheet you will
709+
need to specify the stylesheet file name (along with the default
710+
`docbook-xsl.css` stylesheet file name) with the `html.stylesheet` XSL
711+
parameter. If you are using 'a2x(1)' use the `--stylesheet` option (it
712+
sets the `html.stylesheet` XSL parameter), for example: `--stylesheet
713+
"docbook-xsl.css mycss.css"`.
714+
715+
NOTE: This applies to HTML outputs not PDF. To achieve the same
716+
results with PDF outputs you will need to customize the DocBook XSL
717+
Stylesheets to render indented paragraphs from DocBook `simpara`
718+
elements containing the the `role="indented"` attribute.
693719

694720

695721
== Is there a way to set default table grid and frame attributes?

examples/website/README.txt

-35
This file was deleted.

examples/website/README.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../README.txt

0 commit comments

Comments
 (0)