New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated man pages missing newline before .RS 4 (Origin: bugzilla #615682) #3735

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.6.3 on platform Other
Assigned to: Dimitri van Heesch

On 2010-04-13 20:44:36 +0000, redskies888@yahoo.com wrote:

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

On 2010-05-03 20:09:19 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2010-06-11 19:45:42 +0000, Dimitri van Heesch wrote:

*** Bug 593760 has been marked as a duplicate of this bug. ***

On 2010-06-15 11:22:17 +0000, Dimitri van Heesch wrote:

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.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment