From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s7A4Xumo026536 for ; Sun, 10 Aug 2014 00:33:57 -0400 (EDT) Received: by mail-ig0-f175.google.com with SMTP id uq10so2792947igb.14 for ; Sat, 09 Aug 2014 21:33:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references:comments :mime-version:content-type:content-id:date:message-id; bh=D38Yy5NL4LgeTWau122lrhiJ3LU6on5mYK2RQYKW7LY=; b=ONsF61MtY7kDUtUB34ou8370deMiCTlP/sexvrHi0vgqChzl33iEMkZT8hIXnBm7Wn qUQ7VPoTD7VSeQ7xMkxVz7sPgnXBHKaX6l0a5yCZOTkfVwR9e+XuoPCeYDktLe0Wu1+L TXwUf3KHExup52+KfFr/167eXX0AGMZ0OcfQj43SEziSLpAt55SZqWHBqPcmxdsz9yjv ozuYHjHgA1yNF7mmcXf/O5CPZuFOp8cBfjumo3UKme2QuDPRE4kBx4fjWSQv49sn5D4e XZh/27y8djie5RGvbVDtWReWYsynleDfuFMQrNrOipwEHHZh871TmMk9pYC6L1gufxG4 jBBA== X-Gm-Message-State: ALoCoQm0yAhwSzN0iALFIcYi+R25vZ2WbNPQczVCElnvKG2tgTNK7meU5/9tBWsVHlv/3wHaPsar X-Received: by 10.42.216.148 with SMTP id hi20mr22591324icb.12.1407645230340; Sat, 09 Aug 2014 21:33:50 -0700 (PDT) Received: from cathet.us. (97-123-213-212.albq.qwest.net. [97.123.213.212]) by mx.google.com with ESMTPSA id it3sm30464833igb.1.2014.08.09.21.33.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Aug 2014 21:33:49 -0700 (PDT) Received: from cathet.us (localhost [127.0.0.1]); by cathet.us. (OpenSMTPD) with ESMTP id dae2026d; for ; Sat, 9 Aug 2014 22:33:48 -0600 (MDT) From: "Anthony J. Bentley" To: discuss@mdocml.bsd.lv Subject: Re: HTML5 In-reply-to: <53E6AFDD.8010001@bsd.lv> References: <53E6AFDD.8010001@bsd.lv> Comments: In-reply-to Kristaps Dzonsons message dated "Sun, 10 Aug 2014 01:33:49 +0200." X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5290.1407645228.1@cathet.us> Date: Sat, 09 Aug 2014 22:33:48 -0600 Message-ID: <8860.1407645228@cathet.us> Kristaps Dzonsons writes: > Hi, > > Most everybody supports HTML5 these days. Do we really need to knock > around with XHTML and HTML-4.01? Does anybody have a pressing need to > use one or the other? I actively use HTML 4.01. I don't have a real objection against emitting a HTML5 doctype, but I do think that it's a good idea for HTML output of mandoc to validate against both HTML 4.01 and HTML5. And if we do that, is there any point to switching doctypes? > The enclosed ten-minute patch adds HTML5 support and makes it the > default for both modes. It also adds a default CSS style (if one isn't > passed on the command line) identical to OpenBSD's man.cgi CSS. I don't > like this--I think online manpages should take more advantage of > online-ness--but I'm just putting up the bikeshed so it's ready to > paint. IMO, the status quo makes more sense here. We already separate content and presentation by only making use of external stylesheets. Since the output of mandoc -Thtml is something people are likely to try to parse, we shouldn't emit CSS in the default case. If people do ask for CSS, emitting a link tag instead of embedding it is the right thing to do. I did talk to Ingo recently about man.cgi stylesheets. The stylesheet visible on mdocml.bsd.lv is a lot more representative of mandoc's abilities and I would like to push to remove the pseudo-man.cgi style completely... -- Anthony J. Bentley -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv