From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: Re: HTML-Info design Date: Mon, 22 Dec 2014 10:36:11 +0000 Message-ID: <87ioh4nf8k.fsf@ferrier.me.uk> References: <87388bnzha.fsf@newcastle.ac.uk> <87k31mdbhe.fsf@uwakimon.sk.tsukuba.ac.jp> <87tx0qiv45.fsf@fencepost.gnu.org> <87h9wqd3i5.fsf@uwakimon.sk.tsukuba.ac.jp> <87h9wqimf0.fsf@fencepost.gnu.org> <87y4q1fekv.fsf@fencepost.gnu.org> <87fvc858c6.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419244608 23740 80.91.229.3 (22 Dec 2014 10:36:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Dec 2014 10:36:48 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 22 11:36:41 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y30Lu-00039C-Lv for ged-emacs-devel@m.gmane.org; Mon, 22 Dec 2014 11:36:38 +0100 Original-Received: from localhost ([::1]:39965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y30Lt-0000X4-Pu for ged-emacs-devel@m.gmane.org; Mon, 22 Dec 2014 05:36:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y30Lc-0000Wc-0d for emacs-devel@gnu.org; Mon, 22 Dec 2014 05:36:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y30LW-0005Jv-Lx for emacs-devel@gnu.org; Mon, 22 Dec 2014 05:36:19 -0500 Original-Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:44563 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y30LW-0005Ji-FF; Mon, 22 Dec 2014 05:36:14 -0500 Original-Received: from nicferrier-dell-xps (unknown [193.108.76.86]) by po1.ferrier.me.uk (Postfix) with ESMTPA id 6CE4EAC0A9A; Mon, 22 Dec 2014 11:57:06 +0100 (CET) Original-Received: from nicferrier-XPS13-9333 (localhost [127.0.0.1]) by nicferrier-dell-xps (Postfix) with ESMTPS id D234A608A4; Mon, 22 Dec 2014 10:36:11 +0000 (GMT) In-Reply-To: <87fvc858c6.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Mon, 22 Dec 2014 18:42:33 +0900") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.46.66.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180478 Archived-At: "Stephen J. Turnbull" writes: > Richard Stallman writes: > > > An Info file is read into Emacs all at once, but it is subdivided > > into nodes, and Info displays only one node at any time. > > > > Would it be possible, using a Javascript extension to the browser, to > > get similar behavior from a file of HTML? That is, load a whole > > manual as a single file, then display just one subdivision of it, and > > change to a different subdivision in accord with user commands? > > Yes. There are several browser+Javascript-based presentation packages > (for example, S5) that do exactly that. It's easy to do with simple > HTML and a tiny bit of CSS, and only a few lines of Javascript per > "primitive" navigation function (eg, "next" and "last"). Whether you > could get acceptable appearance and performance, and how much effort > that would take, I don't know. I would guess it's not that hard. This is what my app does: http://gnudoc.ferrier.me.uk it implements indexing (press i) and toc and all of that. Yes, it's based on JS but the JS is free. Nic