Hallo Werner,

Werner LEMBERG <w...@gnu.org> wrote:
 |> [...] i stumbled over a interpretation difference (full source
 |> attached):
 |> 
 |> source:
 |>   .It Fn at_quick_exit , Fn _atexit
 |>   groff and mandoc agree.
 |>   .It Fn at_quick_exit , _atexit
 |>   Only mandoc gets that right.
 |> 
 |> mandoc:
 |>      at_quick_exit(), _atexit()
 |>                      groff and mandoc agree.
 |> 
 |>      at_quick_exit(), _atexit()
 |>                      Only mandoc gets that right.
 |> 
 |> groff (1.22.3)
 |>      at_quick_exit(), _atexit()
 |>                 groff and mandoc agree.
 |> 
 |>      at_quick_exit(), _atexit
 |>                 Only mandoc (and mdocmx) gets that right.
 |> 
 |> From my understanding of the manual
 |
 |Where have you read this?
 |
 |> the latter is a valid form to mark "_atexit" as a .Fn, in which case
 |> the mdoc macros have a bug?
 |
 |I would rather say the opposite: the comma ends the list of function
 |parameters of `Fn'.

Hmm..........  Ok but that would make me wonder about

  .It Ic .Cm , .Dudu , Va wir , ihr
  Command modifier.

which is rendered as i would then expect (from what i thought)
from both GNU troff and mandoc(1).

So it's a bug in mdoc(7) -- i'll have to look into the macros this
week anyway..

--steffen

Reply via email to