OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] DocBook, list indentation


Hi,
actually I was trying and posing two different questions.

1) The first one (to which you answered in 
http://lists.oasis-open.org/archives/docbook-apps/200603/msg00225.html) 
referred to the possibility of manually (or automatically) specifying 
the width of the label and the distance by which the label and the 
*first* line of text in an item (of an enumerated list) are indented 
to the right.  This allows to avoid overlapping between long labels 
and the first line of an item (FOP) or having long labels compressed 
in a too short space (XEP).
(... and I used your suggestion to use the dbfo label-width 
processing instruction to solve this problem)

---------------------------------------------------------------------

2) The second one refers to the possibility of controlling the 
indentation of any other line of an item in an (enumerated) list.
For instance, if the label of an enumerated list is extremely long 
the first line should start just after the label so that there isn't 
any overlap between the text and the label but, at the same time, I 
could try and indent any other line of the item (and the other items) 
so that the text is more readable (i.e. by making the left margin 
"more left", just under the label).

Example
Given an item in an enumerated list:

<<LONG LABEL>> text text text text text   [right margin]
________________[ X ]
__[Y]


if <<TEXT>> is longer than the page width, it is automatically 
indented at point X.  I would like to move point x (after the first 
line) to an arbitrary point (e.g. Y), for example under the label.

In this way:
- By specifying the label width I can ensure no overlap between the 
label and the text on the first line (question 1).
- By specifying an arbitrary indentation point for the second line, I 
can ensure that the text of the item is more readable (since my lists 
are deeply nested and with long labels).

Best regards,
         Andrea.


At 01.45 28/03/2006, you wrote:
>I thought I answered this question earlier in this other response:
>
>http://lists.oasis-open.org/archives/docbook-apps/200603/msg00225.html
>
>If that didn't answer your question, then I'm still not 
>understanding the question.
>
>Bob Stayton
>Sagehill Enterprises
>DocBook Consulting
>bobs@sagehill.net
>
>
>----- Original Message ----- From: "Andrea Mattioli" <aldaris@jumpy.it>
>To: <docbook-apps@lists.oasis-open.org>
>Sent: Friday, March 24, 2006 8:14 AM
>Subject: [docbook-apps] DocBook, list indentation
>
>
>>Hi,
>>is there the possibility to specify an attribute (parameter, 
>>customization,...) to indent the body of a list ?
>>
>>Example: using nested (ordered) lists, instead of obtaining this indentation
>>
>>...
>>1.1.1.2.3. listitem1 first paragraph
>>-------------- listitem1 second paragraph
>>-------------- listitem1 third paragraph
>>-------------- 1.1.1.2.3.1  listitem1 nested list first paragraph
>>------------------------------- listitem1 nested list second paragraph
>>------------------------------- listitem1 nested list third paragraph
>>...
>>
>>to get this result?
>>
>>...
>>1.1.1.2.3. listitem1 first paragraph
>>---listitem1 second paragraph
>>---listitem1 third paragraph
>>---1.1.1.2.3.1  listitem1 nested list first paragraph
>>------ listitem1 nested list second paragraph
>>------ listitem1 nested list third paragraph
>>...
>>
>>Thanks,
>>Andrea.
>---------------------------------------------------------------------
>To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]