From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: Re: Changes to Texinfo DTD Date: Sun, 23 Nov 2003 15:16:06 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: 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> <87ptfkdqss.fsf@kanga.tapsellferrier.co.uk> <87he0wdk5s.fsf@kanga.tapsellferrier.co.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1069597305 5307 80.91.224.253 (23 Nov 2003 14:21:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2003 14:21:45 +0000 (UTC) Cc: bob@rattlesnake.com, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Nov 23 15:21:42 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 1ANv7O-0003SM-00 for ; Sun, 23 Nov 2003 15:21:42 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ANv7N-0007zI-00 for ; Sun, 23 Nov 2003 15:21:42 +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 1ANw3P-0007wu-10 for emacs-devel@quimby.gnus.org; Sun, 23 Nov 2003 10:21:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ANw1z-0007ZZ-Vz for emacs-devel@gnu.org; Sun, 23 Nov 2003 10:20:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ANw19-0005ex-QE for emacs-devel@gnu.org; Sun, 23 Nov 2003 10:19:50 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.24) id 1ANw19-0005bi-50 for emacs-devel@gnu.org; Sun, 23 Nov 2003 10:19:19 -0500 Original-Received: (qmail 13591 invoked by uid 65534); 23 Nov 2003 14:17:52 -0000 Original-Received: from dialin-145-254-193-088.arcor-ip.net (EHLO HERMES) (145.254.193.88) by mail.gmx.net (mp021) with SMTP; 23 Nov 2003 15:17:52 +0100 X-Authenticated: #1497658 Original-To: Nic Ferrier In-Reply-To: <87he0wdk5s.fsf@kanga.tapsellferrier.co.uk> (Nic Ferrier's message of "23 Nov 2003 00:05:03 +0000") X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6; Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt) 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:18052 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18052 Nic Ferrier writes: > Stefan Monnier writes: > >> > 1. use a command line XSLT processor (such as xsltproc, part of >> > GNOME's libxsl project) to turn the XML into plain text (or >> > specifically marked up text). >> >> The original reason for discussing such things is that the Info format >> has serious limitations w.r.t. additional markup. >> >> "Markup" in this context in the Emacs viewer means "text-properties" >> or "overlays", neither of which can be provided directly from a process's >> output, so it would just bring us back to square one: which text >> representation top use for the markup (either HTML-like or >> ANSI-escape-sequences-like, or something else). >> >> I'm not necessarily opposed to using an external tool, but it won't solve >> the problem at hand. > > I thought I remembered that you could generate saved files with > embedded text properties (they're lisp expressions aren't they?) Well, the canonical way to save embedded text properties is with M-x enriched-mode. Or otherwise with the framework provided by format.el or with (info "(elisp)Saving Properties"). This is technically what I proposed for Emacs. But yes, there is a print and read syntax for strings with text properties: (let ((str "#(\"Lirum larum.\" 0 12 (fontified t font-lock-face (variable-pitch :foreground \"Blue\")))")) (insert (car (read-from-string str)))) So if it is possible to generate this with XSLT it could be done with XSLT only. Mostly, at least. [I'd just like to point out that improving the info file format and serving info files over the web are two orthogonal issues. It might be good two use two different approaches to these different goals. However, if it is feasible to have the same technical solution for both, then this is fine for me and I'll shut up.] Oliver -- Oliver Scholz 3 Frimaire an 212 de la Révolution Taunusstr. 25 Liberté, Egalité, Fraternité! 60329 Frankfurt a. M. http://www.jungdemokratenhessen.de Tel. (069) 97 40 99 42 http://www.jdjl.org