Re: [groff] no header in Japanese manpages

2019-04-20 Thread Steffen Nurpmeso
Hello.

KUBO Koichi wrote in <51fe9714-c2f9-5351-e4d5-aacc92fa0...@obuk.org>:
 |I am using groff-1.22.4 on FreeBSD.
 |After updating groff, I realized that there is no header in Japanese
 |manpages using mdoc.tmac.  So I added the following line to
 |mdoc.local:
 |
 |.if ((\n[.x]\n[.y] >= 122) & (\n[.Y] >= 4)) \{\
 |.  if "\*[locale]"japanese" \{\
 |
 |.als doc-section-namesection-name
 |
 |.als doc-section-synopsissection-synopsis
 |
 |.als doc-section-description section-description
 |
 |.als doc-section-see-alsosection-see-also
 |
 |.als doc-section-files   section-files
 |
 |.als doc-section-authors section-authors
 |
 |.  \}
 |
 |.\}
 |
 |Please let me know if there are other things I have to do.

This should not be needed, the doc- is a shared prefix that will
be stripped during installations, as it is not needed.  Whether it
is good to strip it, i do not know.  I do not like it.  Namespaces
would be much cooler, like being able to say "use namespace doc",
but i cannot help it, at least not for the forseeable future.
I am confident Ingo tested 1.22.4.

Out of interest, who needs this doc- prefix, actually?

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



Re: [groff] Problems with -Thtml

2019-04-20 Thread Ralph Corderoy
Hi Blake,

James Cloos wrote:
> > groff -Thtml -mm build-manual.mm  >build-manual.html
>
> That works fine on my workstation, which is still at groff 1.22.3.
> Ie, the pdf and html version look the same.

Given you're building from git, can you update to 1.22.3's commit and
see if you also get good results, like James?  If so, use git-bisect(1)
if you're comfortable with it, and/or open a bug report.
https://savannah.gnu.org/bugs/?group=groff

-- 
Cheers, Ralph.



[groff] no header in Japanese manpages

2019-04-20 Thread KUBO Koichi
Hello,

I am using groff-1.22.4 on FreeBSD.
After updating groff, I realized that there is no header in Japanese
manpages using mdoc.tmac.  So I added the following line to
mdoc.local:

.if ((\n[.x]\n[.y] >= 122) & (\n[.Y] >= 4)) \{\
.  if "\*[locale]"japanese" \{\

.als doc-section-namesection-name

.als doc-section-synopsissection-synopsis

.als doc-section-description section-description

.als doc-section-see-alsosection-see-also

.als doc-section-files   section-files

.als doc-section-authors section-authors

.  \}

.\}


Please let me know if there are other things I have to do.

thanks

Koichi