groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] mdoc(7) interpretation differences (maybe groff bug)


From: Steffen Nurpmeso
Subject: Re: [Groff] mdoc(7) interpretation differences (maybe groff bug)
Date: Mon, 10 Nov 2014 15:03:15 +0100
User-agent: s-nail v14.7.8-70-g9310369

Hallo Werner,

Werner LEMBERG <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]