From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 4F7821F5AE for ; Sat, 8 May 2021 03:10:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230411AbhEHDLy (ORCPT ); Fri, 7 May 2021 23:11:54 -0400 Received: from cloud.peff.net ([104.130.231.41]:47942 "EHLO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbhEHDLx (ORCPT ); Fri, 7 May 2021 23:11:53 -0400 Received: (qmail 5308 invoked by uid 109); 8 May 2021 03:10:51 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Sat, 08 May 2021 03:10:51 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 7941 invoked by uid 111); 8 May 2021 03:10:52 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Fri, 07 May 2021 23:10:52 -0400 Authentication-Results: peff.net; auth=none Date: Fri, 7 May 2021 23:10:50 -0400 From: Jeff King To: "brian m. carlson" Cc: Felipe Contreras , Bagas Sanjaya , Git Users Subject: Re: [RFC suggestion] Generate manpage directly with Asciidoctor Message-ID: References: <3461c7b0-594d-989e-3048-2fc6583084ad@gmail.com> <6095ceb984401_cfc7208b9@natae.notmuch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Fri, May 07, 2021 at 11:57:32PM +0000, brian m. carlson wrote: > It's not quite that simple. It requires changes to > asciidoctor-extensions.rb and we also need to consider > NO_MAN_BOLD_LITERAL and GNU_ROFF. The latter especially is likely to be > inconvenient, since according to the Makefile, it's impossible to write > man output that works across troff versions. > > We will also want to preserve the ability to use xmlto because we > currently have doc-diff which helps us find divergences in the behavior > of AsciiDoc and Asciidoctor, many of which affect all formats, and that > will be completely useless if we use two different rendering toolchains. Speaking of doc-diff: with that patch applied, try "./doc-diff --asciidoctor HEAD^ HEAD", which shows quite a few of the complications (another one seems to be that all of the linkgit macros are broken). -Peff