W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 2008

[Bug 6003] New type of lists

From: <bugzilla@wiggum.w3.org>
Date: Mon, 01 Sep 2008 09:32:00 +0000
To: xsl-editors@w3.org
Message-Id: <E1Ka5lQ-00045Q-Ma@wiggum.w3.org>


--- Comment #1 from Vincent Hennebert <vhennebert@gmail.com>  2008-09-01 09:32:00 ---
I'm not sure new XSL Formatting Objects are needed to achieve such a layout.
This can be done by something like the following:
      <fo:block start-indent="3em" text-indent="-3em">
        <fo:inline font-weight="bold">Term Definition.</fo:inline>
        <fo:leader leader-length="1em"/>
        If definition is long, it continues on second line a little bit
indented. Nested term:
          <fo:block start-indent="3em" text-indent="-3em">
            <fo:inline font-weight="bold">Nested term.</fo:inline>
            <fo:leader leader-length="1em"/>
            Definition of nested term keeps the same value of indentation.

The block-container is used to reset the reference for start-indent. A solution
without the block-container is to set start-indent and text-indent resp. to 6em
and -6em, and so on, but obviously that requires to know the depth of the
definition list (might make the XSLT stage a little bit more complicated).

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
Received on Monday, 1 September 2008 09:32:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:25 UTC