From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751000AbcBMDUX (ORCPT ); Fri, 12 Feb 2016 22:20:23 -0500 Received: from home.keithp.com ([63.227.221.253]:55123 "EHLO elaine.keithp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750823AbcBMDUV (ORCPT ); Fri, 12 Feb 2016 22:20:21 -0500 From: Keith Packard To: Jonathan Corbet , Jani Nikula Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Vetter Subject: Re: [RFC] A first shot at asciidoc-based formatted docs In-Reply-To: <861t8k2mro.fsf@hiro.keithp.com> References: <1453764522-29030-1-git-send-email-corbet@lwn.net> <20160209170938.3a4b9fb1@lwn.net> <861t8k2mro.fsf@hiro.keithp.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 12 Feb 2016 19:20:18 -0800 Message-ID: <86oablcn4d.fsf@hiro.keithp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Keith Packard writes: > The goal would be to create an html document which could be used without > javascript, and that would work without css as well. I've managed to hack up asciidoc to generate the TOC within the document, rather than requiring javascript. The changes are fairly minor, and seem to add a nice generalization to the asciidoc environment which should be useful in other contexts. The changes consist of two bits -- the first is to allow the diversion of some text from .conf file sections, the second is to postpone some attribute processing to a second pass over the document so that the TOC can be inserted in the desired location, instead of requiring that it be placed at the bottom. I've sent these changes upstream, and also pushed them to a personal asciidoc git repository at : git clone git://keithp.com/git/asciidoc =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBVr6g8tsiGmkAAAARAQgmqg/9HnLfz/o5nG2EOoy1iM4jZ52YZFGYUoG1 tKv0+iySDXYe7nq4sOmi47hVm5ZDkF4H9yeur8hlnzHz9IZTbbauGbnVFwy3JpnL 76GaSpkhV2dbgINQnQEj9oNJeu9Nyxz4vnEel+kfgq4BYUCoBFp/GJOYwpzm1fEZ TfJ7wns33ftl20p+QDpQV0vbJD5oRwhFQEZ4OwXpzWbNaf0YyirKMFb9laqwiBVZ slBake+m5KgaOlkS1cbgGCcaYszGbfr4iP8evzNkXvj/b/zNWzkMCQzkSnci6S4/ jWk8HmmLF9qogKdadsZh5bkNR58JIF3RuG5nDLRJr+tfD8+fULH2JP48gVGA+Q6K Y9ZWQ7DPTVHNw8FuLlHCCxhU/b1Jk40TGo/Q+yYLIYBH0NnK3hVlxGQ/TPeg/HQU QIUb7zT4LPetKP7Zb3wjOqD8nMNXoKU52PQxt0hxdm9/ja9bF6TnGFByDvbh0cEl 9Ar8CSJdr7y5BvOF9HsUg71eCuE2GWJDWQC8QNBLjYiC0flJHNVL89VjjIPX+2MO ac3L/dk3Hn0+lF4zilPyZB9SmstdSEnCAXE6eMTZ+roCIWH0UQO9fLD3Ec/pFDsP Xd5sX4RQon8gd89n/2TyNlPRijq97VIGCBQJAbAGY09e6IgaAlHxLyRNTgLwHtIr yxmN+1n1VCc= =Kb0H -----END PGP SIGNATURE----- --=-=-=--