Bug 328711 - valgrind.1 manpage "memcheck options" section is badly generated
Summary: valgrind.1 manpage "memcheck options" section is badly generated
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: 3.9.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-12 09:41 UTC by Miroslav Franc
Modified: 2013-12-13 09:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (4.08 KB, patch)
2013-12-12 09:44 UTC, Miroslav Franc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Franc 2013-12-12 09:41:12 UTC
Generated valgrind.1 manpage (the MEMCHECK OPTIONS part) doesn't have .RE macro on many places at the beginning of the line failing to restore left margin.  As a result the text is "blown to the right".  Is seems that the cause is missing para tag in those items.

Reproducible: Always

Steps to Reproduce:
1. man valgrind
2. look at MEMCHECK OPTIONS and scroll down
Comment 1 Miroslav Franc 2013-12-12 09:44:43 UTC
Created attachment 84057 [details]
patch

This fixes things for me.  After make man-pages in docs the man page look OK.
Comment 2 Mark Wielaard 2013-12-12 21:21:53 UTC
Thanks that fixes things also for me.
Pushed as valgrind svn r13758.
Comment 3 Philippe Waroquiers 2013-12-12 23:20:51 UTC
(In reply to comment #1)
> Created attachment 84057 [details]
> patch
> 
> This fixes things for me.  After make man-pages in docs the man page look OK.

Found some similar (bug less "mucking" :) problems in manual-core.xml,
drd-manual.xml and mc-manual.xml, causing some options to still be pushed
to the right.

So, further improvements in revision 13759
Comment 4 Mark Wielaard 2013-12-13 08:41:01 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > This fixes things for me.  After make man-pages in docs the man page look OK.
> 
> Found some similar (bug less "mucking" :) problems in manual-core.xml,
> drd-manual.xml and mc-manual.xml, causing some options to still be pushed
> to the right.

I was wondering why I hadn't seen these. Turns out it depends on DocBook XSL Stylesheets version used. Apparently v1.78.1 is a bit more forgiving than v1.75.2. With v1.75.2 I can see the extra indentation issues (and they are fixed Philippe's patch), with v1.78.1 those extra corrections weren't needed.

With v1.75.2 I still see one (small) extra indentation issue after the --collect-atstart=<yes|no> switch block, which I cannot seem to correct with tweaking the paras. But with v1.78.1 things look fine.
Comment 5 Miroslav Franc 2013-12-13 09:37:54 UTC
(In reply to comment #4)
> I was wondering why I hadn't seen these. Turns out it depends on DocBook XSL
> Stylesheets version used. Apparently v1.78.1 is a bit more forgiving than
> v1.75.2. With v1.75.2 I can see the extra indentation issues (and they are
> fixed Philippe's patch), with v1.78.1 those extra corrections weren't needed.

That would explain it.  I was using v1.78.1 as well.  Sigh.