help / color / mirror / Atom feed
From: Stephen Gregoratto <dev@sgregoratto.me>
To: discuss@mandoc.bsd.lv
Subject: Re: docbook2mdoc-1.0.0 released
Date: Sun, 21 Apr 2019 21:26:32 +1000	[thread overview]
Message-ID: <20190421112632.z7fawjteacah4ypt@BlackBox> (raw)
In-Reply-To: <20190420190331.GA36463@www.stare.cz>

My vote goes to Fl -option due to how mandoc handles Fl Fl in HTML 
output. Take this example:

  .Bl -tag -width Ds
  .It Fl Fl option
  .It Fl -option

On mandoc 1.14.5, the option list is output as follows:

<dl class="Bl-tag">
    <code class="Fl">-</code><code class="Fl">-option</code>
    <a class="permalink" href="#-option">
      <code class="Fl" id="-option">--option</code>

Notice how the Fl -option gets enclosed in an "<a>" link whilst the Fl 
Fl option doesn't? This comes in handy when you have to reference the 
option later as it can link to it's definition in the option list.

On reflection this does seem like a workaround for buggy output.
Stephen Gregoratto
PGP: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B
 To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv

  parent reply	other threads:[~2019-04-21 11:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-17 19:24 Ingo Schwarze
2019-04-20 19:03 ` Jan Stary
2019-04-20 22:56   ` Anthony J. Bentley
2019-04-21 12:32     ` hyphen-minus, was: " Ingo Schwarze
2019-04-21 16:32       ` Anthony J. Bentley
2019-04-21 11:26   ` Stephen Gregoratto [this message]
2019-04-25 17:02     ` Ingo Schwarze
2019-04-21 15:29   ` Ingo Schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190421112632.z7fawjteacah4ypt@BlackBox \
    --to=dev@sgregoratto.me \
    --cc=discuss@mandoc.bsd.lv \
    --subject='Re: docbook2mdoc-1.0.0 released' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).