Bug 243345 - textproc/libxslt: man page is badly formatted
Summary: textproc/libxslt: man page is badly formatted
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 22:06 UTC by Lorenzo Salvadore
Modified: 2020-01-14 06:53 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments
svn-diff-man-xsltproc (11.26 KB, patch)
2020-01-14 06:10 UTC, Walter Schwarzenfeld
no flags Details | Diff
xsltproc.1.new (9.44 KB, text/plain)
2020-01-14 06:12 UTC, Walter Schwarzenfeld
no flags Details
svn-diff-man-xsltproc_v2 (11.59 KB, patch)
2020-01-14 06:34 UTC, Walter Schwarzenfeld
no flags Details | Diff
xsltproc.1.new_2 (9.43 KB, text/plain)
2020-01-14 06:34 UTC, Walter Schwarzenfeld
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer 2020-01-13 22:06:20 UTC
Running "man xsltproc" returns a man page badly formatted.

For example I see many keywords such as .HP, .PP, .RE and text is badly aligned.
On the other hand bold fonts seem to be correct.

I see the man page is correct here:
https://www.freebsd.org/cgi/man.cgi?query=xsltproc&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html
Maybe the fact that I run 13.0-CURRENT can be part of the cause of the problem.
Comment 1 Tobias C. Berner freebsd_committer 2020-01-14 05:31:38 UTC
Moin moin 

Yeah you're right that manpage looks broken for me locally too.


mfg Tobias
Comment 2 Walter Schwarzenfeld freebsd_triage 2020-01-14 06:10:18 UTC
Created attachment 210726 [details]
svn-diff-man-xsltproc

Trying a patch, hope it is right.
Comment 3 Walter Schwarzenfeld freebsd_triage 2020-01-14 06:12:15 UTC
Created attachment 210727 [details]
xsltproc.1.new

Attached my new xsltproc.1, if there additional changes needed.
Comment 4 Walter Schwarzenfeld freebsd_triage 2020-01-14 06:34:08 UTC
Created attachment 210729 [details]
svn-diff-man-xsltproc_v2

Found two errors.
Comment 5 Walter Schwarzenfeld freebsd_triage 2020-01-14 06:34:36 UTC
Created attachment 210730 [details]
xsltproc.1.new_2
Comment 6 Walter Schwarzenfeld freebsd_triage 2020-01-14 06:51:47 UTC
The line
 10 .TH "XSLTPROC" "1" "$Date$" "libxslt" "xsltproc Manual"

is not correct, should have the form like

.TH "XSLTPROC" "1" "$Date: 2008\-04\-21 16:28:56 +0200 (Mon, 21 Apr 2008) $" "libxslt" "xsltproc Manual"

but I don't know if the date is correct (got this from ubuntu).

Last line of the manpage shows now:

libxslt                             ==> $Date$                         XSLTPROC(1)
Comment 7 Walter Schwarzenfeld freebsd_triage 2020-01-14 06:53:19 UTC
I don't use the ubuntu manpage, I only use it as example for formatting.