From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6487f59679c615d8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.223.40 with SMTP id qr8mr1354812pbc.0.1336818976829; Sat, 12 May 2012 03:36:16 -0700 (PDT) Path: pr3ni17024pbb.0!nntp.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Ada Reference Manual 2012 in info format References: <82aa1ud0l3.fsf@stephe-leake.org> <20120509131736.63c924c8@vostro> <82lil0gxbm.fsf@stephe-leake.org> <20120511040710.52bbc3fd@vostro> Date: Sat, 12 May 2012 06:37:18 -0400 Message-ID: <82pqa9u1lt.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:AUTT5pVVcj3y52aPGbEbjlYy/dk= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: a0cd04fae3d20e029e66126151 X-Received-Bytes: 2042 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2012-05-12T06:37:18-04:00 List-Id: "Yannick Duchêne (Hibou57)" writes: > In Randy's defense too, the anchor matter is more a browser matter > than an Ada‑RM source matter. Even in DocBook and others, you don't > give everything an identifier or name. You give one for some context, > and then access more specific components of that context with XPath > and its expressions. Ex. if browser would support it, you could > access the nth paragraph of a given chapter. Unfortunately, browsers > don't. To give anchors to everything would be too much. What is the metric for "too much"? If we were writing the source by hand, then inserting anchors everywhere would be tedious, and thus "too much". But adding a few lines of code to arm_html.adb so it outputs more anchors in appropriate places doesn't feel like "too much" to me. I suppose it might slow down the page load time; would that actually be significant? Or it might slow down going to an anchor (a browser might do a linear search); would that be noticable? -- -- Stephe