From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p8J8B7LS019611 for ; Mon, 19 Sep 2011 04:11:07 -0400 (EDT) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 4F1F614DC3E for ; Mon, 19 Sep 2011 10:11:02 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([130.237.32.160]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id HCqEu+naCKng for ; Mon, 19 Sep 2011 10:10:56 +0200 (CEST) X-KTH-Auth: kristaps [83.250.3.9] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from macky.local (c83-250-3-9.bredband.comhem.se [83.250.3.9]) by smtp-2.sys.kth.se (Postfix) with ESMTP id A299114D7CB for ; Mon, 19 Sep 2011 10:10:55 +0200 (CEST) Message-ID: <4E76F90F.40204@bsd.lv> Date: Mon, 19 Sep 2011 10:10:55 +0200 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.22) Gecko/20110902 Thunderbird/3.1.14 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: tech@mdocml.bsd.lv Subject: Re: 1.11.7 minor issues References: <20110918233910.GK29692@iris.usta.de> <4E7684BF.7030702@bsd.lv> <20110919075816.GA1243@iris.usta.de> In-Reply-To: <20110919075816.GA1243@iris.usta.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 19/09/2011 09:58, Ingo Schwarze wrote: > Hi Kristaps, > > Kristaps Dzonsons wrote on Mon, Sep 19, 2011 at 01:54:39AM +0200: >> On 19/09/2011 01:39, Ingo Schwarze wrote: > >>> after fixing the two larger problems, systematic comparisons >>> revealed two smaller issues that are new in 1.11.7: > >>>> @@ -52,8 +52,8 @@ >>>> -center:off >>>> -center=off >>>> -center- >>>> - Lynx recognizes "1", "+", "on" and "true" for true values, and "0", >>>> - "-", "off" and "false" for false values. Other option-values are >>>> + Lynx recognizes "1", "+", "on" and "true" for true values, and "0", "- >>>> + ", "off" and "false" for false values. Other option-values are >>>> ignored. > >>>> @@ -109,8 +109,8 @@ >>>> Many folks attempt a simple-minded regular expression approach, like >>>> "s/<.*?>//g", but that fails in many cases because the tags may >>>> continue over line breaks, they may contain quoted angle-brackets, or >>>> - HTML comment may be present. Plus, folks forget to convert >>>> - entities--like "<" for example. >>>> + HTML comment may be present. Plus, folks forget to convert entities-- >>>> + like "<" for example. >>>> >>>> Here's one "simple-minded" approach, that works for most files: > >>> I will think about those two tomorrow. > >> Around line 577 in roff.c is where mandoc_hyph ended up: the quotes >> need to be added. >> >> As for the second one, we should bring jmc@ in, no? I'd think that >> double or triple-dashes would be broken. Unicode, for one, >> >> http://www.cs.tut.fi/~jkorpela/dashes.html#linebreaks >> >> stipulates that en and em dashes break the line. >> >> Thoughts? > > I think you are right that breaking at double dashes ought to be ok. > However, groff doesn't break there, i don't consider the point of > sufficient importance to deviate from groff, and not breaking at > double hyphens keeps the code simpler. I have checked for all > non-alpha ASCII character that groff indeed doesn't break the line > if they preceed or follow a dash. > > So, here is what i have done for now - OK? Ingo, I'm fine with this. Is there some place in {mdoc,man}(7) where we should be noting this? It seems that a few words regarding hyphenation would be useful, to wit, noting that hyphens will not break within a macro in mdoc(7), but will in a regular text context, and the conditions for such breakage. Thoughts? Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv