From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Changes to Texinfo DTD Date: Mon, 24 Nov 2003 09:57:22 +0200 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <871xryqjvh.fsf@mail.jurta.org> References: <200310280126.h9S1Q9N16202@f7.net> <20031028105102.GA7330@dirtyweb.penguinpowered.com> <20031030104238.GA11503@dirtyweb.penguinpowered.com> <87vfps2x9r.fsf@ID-87814.user.dfncis.de> <878ymfdsx9.fsf@mail.jurta.org> <8765heixvu.fsf@kanga.tapsellferrier.co.uk> <87u14ygnmq.fsf@kanga.tapsellferrier.co.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069661295 18508 80.91.224.253 (24 Nov 2003 08:08:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2003 08:08:15 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Nov 24 09:08:13 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOBlV-0003iC-00 for ; Mon, 24 Nov 2003 09:08:13 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOBlU-0007FO-00 for ; Mon, 24 Nov 2003 09:08:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOCg7-0007nw-Ow for emacs-devel@quimby.gnus.org; Mon, 24 Nov 2003 04:06:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AOCfW-0007jM-8R for emacs-devel@gnu.org; Mon, 24 Nov 2003 04:06:06 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AOCZm-0006gp-AG for emacs-devel@gnu.org; Mon, 24 Nov 2003 04:00:41 -0500 Original-Received: from [64.246.52.22] (helo=ns5.tangramltd.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AOCZl-0006gP-Mp for emacs-devel@gnu.org; Mon, 24 Nov 2003 04:00:09 -0500 Original-Received: from 80-235-43-250-dsl.mus.estpak.ee ([80.235.43.250] helo=mail.jurta.org) by ns5.tangramltd.com with esmtp (Exim 4.20) id 1AOBcH-00021n-2B; Mon, 24 Nov 2003 09:58:41 +0200 Original-To: Nic Ferrier In-Reply-To: <87u14ygnmq.fsf@kanga.tapsellferrier.co.uk> (Nic Ferrier's message of "21 Nov 2003 07:57:17 +0000") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns5.tangramltd.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jurta.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18070 Nic Ferrier writes: > "Robert J. Chassell" writes: >> Nic Ferrier wrote >> Method 2. >> a) use a command line XSLT tool such as xsltproc (from the GNOME >> libxml2 project: http://www.xmlsoft.org) to chunk AND style to HTML >> the output of makeinfo --xml. >> The styling would be as method 1, part c. >> >> How is this different from the existing `makeinfo --html' which also >> does chunking and styling to HTML? >> >> Without knowing much about `xsltproc', the method scares me. Does >> this method enable me to use keybindings in Mozilla to navigate via >> regexp searching within a document that is spread over multiple files? >> If so, good and I stop being scared. Indeed, then the suggestion >> becomes very attractive. But if not, it is a distraction. > > It's different because now one can attach javascript to elements on > the page whevever one needs it. The existing HTML doesn't do that, > nor should it because it has an existing purpose. BTW, do you know that HTML files generated from Texinfo files already have keys for navigation? The tag has an attribute "accesskey" which assigns keys to "u" (up), "n" (next), "p" (prev), "[1-5]" (menu). These keys can be pressed e.g. in Mozilla as M-u, M-n, M-p, M-[1-5] to navigate to the corresponding HTML node. There is another useful scheme for navigation in HTML by specifying a "link" tag in meta section, e.g. , but currently this is not generated in info HTML files. > The XSLT solution isn't the end. To support regex searches some sort > of webapplication IS needed as well. But XSLT is exactly the best > choice for turning the Texinfo XML into something that would work with > a webapp. Some indexing programs like swish++ is needed here. BTW, this was recently suggested to me, when I asked about searching a mail archive. I don't know what indexing programs can index info files. -- http://www.jurta.org/emacs/