After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615682 - Generated man pages missing newline before .RS 4
Generated man pages missing newline before .RS 4
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
: 593760 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-04-13 20:44 UTC by redskies888
Modified: 2010-06-15 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description redskies888 2010-04-13 20:44:36 UTC
### See also Bug 153336. Looks like this problem was previously fixed. Feel free to re-open 153336 if that makes more sense. First time bug reporter - please excuse any lack of etiquette.

### First ran into this problem with version 1.4.7. Downloaded 1.6.3 source, built & installed it however problem remains.

### System: RHEL 5 (2.6.18-164.el5, x86_64)

### Details:

Example source file:
--------------------

 @page cmf_d
 CMF Daemon

 @section cmfd-synop SYNOPSIS

 @par abc Hello
 This is a test.


Results in man page fragment:
-----------------------------

.SH NAME
cmf_d \- CMF Daemon
.SH "SYNOPSIS"
.PP
\fBabc Hello\fP.RS 4
This is a test.

Man page looks like this:
-------------------------

NAME
       cmf_d - CMF Daemon

SYNOPSIS
       abc Hello.RS 4 This is a test.


Fixed by post processing:
-------------------------

An inelegant hack to fixup the man page converts the \fP preceding .RS to \n.

i.e.
sed -e 's/\fP\.RS/ \n.RS/g' < cmf_d.8 > cmf_d.tmp
mv cmf_d.tmp cmf_d.8

Resulting in man page fragment:

.SH NAME
cmf_d \- CMF Daemon
.SH "SYNOPSIS"
.PP
\fBabc Hello
.RS 4
This is a test.


### Version info:

% /usr/bin/doxygen
Doxyfile not found and no input file specified!
Doxygen version 1.6.3
Copyright Dimitri van Heesch 1997-2010
<snip>
Comment 1 Dimitri van Heesch 2010-05-03 20:09:19 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-06-11 19:45:42 UTC
*** Bug 593760 has been marked as a duplicate of this bug. ***
Comment 3 Dimitri van Heesch 2010-06-15 11:22:17 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.