Bugs item #1650931, was opened at 2007-02-02 12:21
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1650931&group_id=21935
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XSL
Group: output: manpages
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Daniel Leidert (dleidert)
Assigned to: Michael(tm) Smith (xmldoc)
Summary: man: Wrong indentation in mixing list-contents
Initial Comment:
See the following example:
<variablelist>
[..]
<varlistentry>
<term></term>
<listitem>
<para>... paragraph before inline list ...</para>
<variablelist>
2x varlistentry
</variablelist>
</listitem>
<para>... paragraph after inline list ...</para>
</varlistentry>
[..]
</variablelist>
The second paragraph is not in the same indentation as the first one. This is probably the result of an identation of the inline variablelist. The output looks
$term_outside_list_content
$(... paragraph before inline list ...)
$first_term_in_inline_list_content
$first_listitem_in_inline_list_content
$second_term_in_inline_list_content
$second_listitem_in_inline_list_content
$(... paragraph after inline list ...)
But here the indentation level should be on the same level as $(... paragraph before inline list ...). If you need an example, I can send you the sources of the attached output example (see Option "BlockSignalsOnLock" -> the last paragraph ("As of now it is uncertain [..]") should be in the same indentation leven as the first ("To allow the debugging [..]") one.
Regards, Daniel
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2007-03-08 19:20
Message:
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Michael(tm) Smith (xmldoc)
Date: 2007-02-22 02:35
Message:
Logged In: YES
user_id=118135
Originator: NO
Daniel,
Please test with the attached patch and let me know if it fixes the
problem (and without introducing other problems).
File Added: patch.lists.xsl_variablelist.1
----------------------------------------------------------------------
Comment By: Michael(tm) Smith (xmldoc)
Date: 2007-02-07 09:34
Message:
Logged In: YES
user_id=118135
Originator: NO
OK, I've reproduced this. It seems that after 1.70.1 I decided for some
reason to add an indent around all Variablelist instances, and I didn't do
it correctly.
First I need to go back and figure out why I added that indent. Maybe it's
not really needed at all. But assuming that I've got it there for some good
reason, I'll try to figure out how to get it do what it should be doing.
--Mike
----------------------------------------------------------------------
Comment By: Michael(tm) Smith (xmldoc)
Date: 2007-02-07 09:20
Message:
Logged In: YES
user_id=118135
Originator: NO
dammit. Closed this accidentally because I confused it with another issue.
Reopening.
Ignore previous two comments.
----------------------------------------------------------------------
Comment By: Michael(tm) Smith (xmldoc)
Date: 2007-02-07 09:14
Message:
Logged In: YES
user_id=118135
Originator: NO
I made a simple refinement for this, but I think it should fix this
regression for all cases.
----------------------------------------------------------------------
Comment By: Michael(tm) Smith (xmldoc)
Date: 2007-02-07 09:12
Message:
Logged In: YES
user_id=118135
Originator: NO
A fix for this issue has been added to the current codebase.
Please test the fix with the latest snapshot from:
http://docbook.sourceforge.net/snapshots/
----------------------------------------------------------------------
Comment By: Michael(tm) Smith (xmldoc)
Date: 2007-02-06 00:27
Message:
Logged In: YES
user_id=118135
Originator: NO
Thanks. I'll try you test case and follow up after that.
----------------------------------------------------------------------
Comment By: Daniel Leidert (dleidert)
Date: 2007-02-05 23:51
Message:
Logged In: YES
user_id=1102637
Originator: YES
The <para>... paragraph after inline list ...</para> is inside the
listitem, not outside (just a mistake typing in the full example by hand).
The sample is attached. Simplay process it with e.g. xsltproc and your
latest docbook-xsl stylesheets.
File Added: fglrx.4x.xml
----------------------------------------------------------------------
Comment By: Michael(tm) Smith (xmldoc)
Date: 2007-02-05 23:08
Message:
Logged In: YES
user_id=118135
Originator: NO
Daniel,
Please post you complete valid source for a test case that demonstrates
this bug. In the description, you have the following:
...
</listitem>
<para>... paragraph after inline list ...</para>
</varlistentry>
I hope that's not what's really in your test case, because it's not valid
to have a listitem followed by a para. You can't have a para between the
closing listitem tag and the varlistentry.
--Mike
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1650931&group_id=21935
|