Skip to main content
Known Participant
August 5, 2011
Question

Defining Leading within List

  • August 5, 2011
  • 1 reply
  • 626 views

Hello there,

My question is related to formatting in the markup (xml).

I need/want to have specific value for 'leading' inside the List element.

As far as I understand and see in my text, 'leading' inside List element inherits paragraphSpaceAfter value; i.e. the spaces between list items are the same as the spaces between paragraphs.

If I set specific value for 'paragraphSpaceAfter' in the opening <list> tag, quite predictably leading is changed for all list items, but it also affects the space between the list and the following paragraph (which is undesirable).

So, I ended up with quite verbose way - setting 'paragraphSpaceAfter' attribute in every list element.

Is there more elegant way of specifying 'leading' for just list items?

Thanks,

Igor Borodin

This topic has been closed for replies.

1 reply

Adobe Employee
August 8, 2011

paragraphSpaceAfter is designed for paragraph. If you set paragraphSpaceAfter for list element, only the paragraphs in the list will be affected and have space after themself. So the last paragrah will have the space for sure, which cause the space between list and the following paragraph.

A better solution in my opinion is that you set paragraphSpaceAfter for the list element and reset paragraphSpaceAfter for the last paragraph in the list.

FTQuestAuthor
Known Participant
August 8, 2011

Thanks.

That's what I ended up doing.

IB