From: Oliver Scholz <epameinondas@gmx.de>
Cc: bob@rattlesnake.com, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Changes to Texinfo DTD
Date: Sun, 23 Nov 2003 15:16:06 +0100 [thread overview]
Message-ID: <u3ccf41cp.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: <87he0wdk5s.fsf@kanga.tapsellferrier.co.uk> (Nic Ferrier's message of "23 Nov 2003 00:05:03 +0000")
Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:
> Stefan Monnier <monnier@IRO.UMontreal.CA> 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
next prev parent reply other threads:[~2003-11-23 14:16 UTC|newest]
Thread overview: 143+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-28 1:26 terminal escapes in Info files? Karl Berry
2003-10-28 10:51 ` Alper Ersoy
2003-10-28 13:48 ` Oliver Scholz
2003-10-30 10:42 ` Alper Ersoy
2003-11-10 13:01 ` HTML as info format (was: terminal escapes in Info files?) Oliver Scholz
2003-11-17 13:29 ` HTML as info format Juri Linkov
2003-11-18 7:01 ` Richard Stallman
2003-11-18 14:54 ` Changes to Texinfo DTD [Was: Re: HTML as info format] Robert J. Chassell
2003-11-18 15:59 ` Changes to Texinfo DTD Oliver Scholz
2003-11-18 21:03 ` Robert J. Chassell
2003-11-18 21:18 ` Nic Ferrier
2003-11-19 12:38 ` Robert J. Chassell
2003-11-19 13:18 ` Nic Ferrier
2003-11-20 10:37 ` Oliver Scholz
2003-11-20 16:55 ` Robert J. Chassell
2003-11-20 18:19 ` Oliver Scholz
2003-11-20 20:32 ` Nic Ferrier
2003-11-20 22:05 ` Oliver Scholz
2003-11-20 22:51 ` Nic Ferrier
2003-11-21 2:13 ` Robert J. Chassell
2003-11-21 8:49 ` Nic Ferrier
2003-11-21 2:10 ` Robert J. Chassell
2003-11-21 7:57 ` Nic Ferrier
2003-11-24 7:57 ` Juri Linkov
2003-11-24 9:32 ` Nic Ferrier
2003-11-22 21:19 ` Richard Stallman
2003-11-22 21:41 ` Nic Ferrier
2003-11-22 21:42 ` Miles Bader
2003-11-22 21:56 ` Nic Ferrier
2003-11-24 7:55 ` Juri Linkov
2003-11-24 9:25 ` Why XSLT in Emacs Lisp? (was Re: Changes to Texinfo DTD) Nic Ferrier
2003-11-24 13:04 ` Why XSLT in Emacs Lisp? Alex Schroeder
2003-11-23 17:14 ` Changes to Texinfo DTD Robert J. Chassell
2003-11-24 7:54 ` Juri Linkov
2003-11-24 16:19 ` Luc Teirlinck
2003-11-24 22:32 ` Robert J. Chassell
2003-11-24 22:31 ` Miles Bader
2003-11-25 5:22 ` Juri Linkov
2003-11-25 16:48 ` Luc Teirlinck
2003-11-25 21:59 ` Juri Linkov
2003-11-25 23:32 ` Luc Teirlinck
2003-11-25 19:54 ` Luc Teirlinck
2003-11-25 21:48 ` Juri Linkov
2003-11-26 1:08 ` Luc Teirlinck
2003-12-02 6:42 ` Eli Zaretskii
2003-12-03 1:47 ` Luc Teirlinck
2003-12-03 16:18 ` Eli Zaretskii
2003-12-04 2:53 ` Luc Teirlinck
2003-12-04 7:58 ` Eli Zaretskii
2003-12-04 2:54 ` Luc Teirlinck
2003-12-04 8:04 ` Eli Zaretskii
2003-12-04 9:39 ` Oliver Scholz
2003-12-04 11:48 ` Oliver Scholz
2003-12-04 15:35 ` Eli Zaretskii
2003-12-04 8:19 ` Oliver Scholz
2003-12-04 13:49 ` Robert J. Chassell
2003-12-05 0:11 ` Richard Stallman
2003-12-05 9:49 ` Kim F. Storm
2003-12-06 16:11 ` Alfred M. Szmidt
2003-12-06 17:11 ` Eli Zaretskii
2003-12-09 16:47 ` Alfred M. Szmidt
2003-12-10 7:25 ` Eli Zaretskii
2003-12-04 3:35 ` Luc Teirlinck
2003-12-04 8:12 ` Eli Zaretskii
2003-11-22 23:59 ` Stefan Monnier
2003-11-23 0:05 ` Nic Ferrier
2003-11-23 14:16 ` Oliver Scholz [this message]
2003-11-23 15:11 ` Nic Ferrier
2003-11-24 16:22 ` Richard Stallman
2003-11-20 18:24 ` Karl Eichwalder
2003-11-24 16:23 ` Richard Stallman
2003-12-02 7:08 ` HTML as info format Eli Zaretskii
2003-12-01 10:38 ` Info enhancements Juri Linkov
2003-12-02 3:34 ` Luc Teirlinck
2003-12-02 10:54 ` Juri Linkov
2003-12-02 4:43 ` Luc Teirlinck
2003-12-02 10:18 ` Info enhancements (was: Re: HTML as info format) Juri Linkov
2003-12-02 17:27 ` Eli Zaretskii
2003-12-02 19:26 ` Karl Berry
2003-12-03 5:38 ` Info enhancements Juri Linkov
2003-12-03 13:27 ` Karl Berry
2003-12-03 15:46 ` Robert J. Chassell
2003-12-20 5:34 ` Juri Linkov
2003-12-20 14:57 ` Karl Berry
2003-12-03 17:16 ` Info enhancements (was: Re: HTML as info format) Richard Stallman
2003-12-02 21:22 ` Info enhancements Reiner Steib
2003-12-03 3:54 ` `s' (regex) search [was Re: Info enhancements] Harry Putnam
2003-12-03 5:47 ` Eli Zaretskii
2003-12-03 9:42 ` Harry Putnam
2003-12-03 11:31 ` Eli Zaretskii
2003-12-03 11:56 ` Harry Putnam
2003-12-03 16:27 ` Eli Zaretskii
2003-12-03 19:13 ` Harry Putnam
2003-12-04 8:34 ` Eli Zaretskii
2003-12-03 5:04 ` Info enhancements Juri Linkov
2004-09-01 16:42 ` Reiner Steib
2004-09-01 20:55 ` Juri Linkov
2004-09-02 19:02 ` Richard Stallman
2003-12-03 0:33 ` Kim F. Storm
2003-12-03 6:43 ` Juri Linkov
2003-12-12 2:08 ` Juri Linkov
2003-12-12 14:24 ` Karl Berry
2003-12-12 17:14 ` Eli Zaretskii
2003-12-12 19:23 ` Stefan Monnier
2003-12-13 10:12 ` Eli Zaretskii
2003-12-13 23:15 ` Richard Stallman
2003-12-12 21:38 ` Juri Linkov
2003-12-13 15:17 ` Richard Stallman
2003-12-16 2:14 ` Juri Linkov
2003-12-17 3:28 ` Richard Stallman
2003-12-18 3:03 ` Juri Linkov
2003-12-18 16:59 ` Richard Stallman
2003-12-19 14:03 ` Luc Teirlinck
2003-12-20 5:27 ` Juri Linkov
2003-12-13 15:48 ` Eli Zaretskii
2003-12-15 2:35 ` Richard Stallman
2003-12-15 6:01 ` Eli Zaretskii
2003-12-15 20:06 ` Richard Stallman
2003-12-16 3:00 ` Juri Linkov
2003-12-16 12:12 ` Kim F. Storm
2003-12-17 3:28 ` Richard Stallman
2003-12-17 3:28 ` Richard Stallman
2004-07-01 21:07 ` non-blocking socket io: data limit on read? Nic Ferrier
2003-10-28 16:19 ` terminal escapes in Info files? Stefan Monnier
2003-10-29 19:02 ` Richard Stallman
2003-10-29 19:47 ` David Kastrup
2003-10-29 21:43 ` Eli Zaretskii
2003-10-29 22:39 ` David Kastrup
2003-10-30 6:03 ` Eli Zaretskii
2003-10-30 18:00 ` Richard Stallman
2003-10-29 19:01 ` Richard Stallman
2003-10-29 19:45 ` Alper Ersoy
2003-10-29 19:42 ` Eli Zaretskii
2003-10-30 18:00 ` Richard Stallman
2003-10-29 19:02 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2003-12-04 16:06 Changes to Texinfo DTD Karl Berry
2003-12-13 11:13 ` Alper Ersoy
2003-12-04 16:44 Karl Berry
2003-12-04 16:44 Karl Berry
2003-12-04 17:38 Karl Berry
2003-12-05 17:31 Karl Berry
2003-12-05 23:08 ` Kim F. Storm
2003-12-06 0:15 Karl Berry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u3ccf41cp.fsf@ID-87814.user.dfncis.de \
--to=epameinondas@gmx.de \
--cc=bob@rattlesnake.com \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.