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>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6003





--- 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-container>
      <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-container>
          <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.
          </fo:block>
        </fo:block-container>
      </fo:block>
    </fo:block-container>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 11:00:00 GMT