map2htmtoc.xsl is not aware of CSS, so sometimes it
looks ugly.
This patch (on DITA-OT 1.2) provides basic stylesheet
support for map2htmtoc:
- Honours user stylesheet variables $args.css and
$args.csspath, just like topic-to-html transform.
- Puts optional class attribute $args.xhtml.toc.class
on <body> of resulting HTML, so CSS can detect ToC and
style it independently of topics.
- Calls empty but overridable templates gen-user-head,
gen-user-scripts, gen-user-styles so that plugins can
override default behaviour in a shell.
- Externalizes contenttarget XSLT parameter as
$args.xhtml.contenttarget, so target="contentwin" can
be disabled from ant build file if desired.
Missing, requires updates to map DTD:
- generic @outputclass recognition for maps (map.dtd
does not define outputclass attribute)
- commonltr or commonrtl CSS linking (map does not
define xml:lang attribute).
Yuanpeng (Stephen) Zhang
Code-XSL
None
Public
|
Date: 2007-09-20 03:29
|
|
Date: 2007-09-17 06:39
|
|
Date: 2007-09-06 13:00
|
|
Date: 2006-05-11 22:27 Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| dita-map-html-toc-css.patch | Download | |
| dita-map-html-toc-css-second-bit.patch | replacement patch for OT 1.3 file build_dita2xhtml.xml | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2007-10-23 10:04 | imagiczhang |
| resolution_id | None | 2007-10-23 10:04 | imagiczhang |
| close_date | - | 2007-10-23 10:04 | imagiczhang |
| File Added | 202732: dita-map-html-toc-css-second-bit.patch | 2006-11-14 06:00 | debbiep-sf |
| assigned_to | nobody | 2006-07-11 08:26 | imagiczhang |
| File Added | 176790: dita-map-html-toc-css.patch | 2006-05-04 04:27 | debbiep-sf |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use