[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IXIN 1.0 available

From: Ludovic Courtès
Subject: Re: IXIN 1.0 available
Date: Thu, 29 Nov 2012 12:06:17 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)


Thien-Thi Nguyen <address@hidden> skribis:

>   Will there ever be a successor to the venerable .info format produced
>   by makeinfo (GNU Texinfo)?  Will address@hidden ever be a runtime
>   tweakable slider?  Well, maybe if we kick some ideas around, backed by
>   some experience, prospects will improve.

Sounds like good news!  I think it would be nice to discuss the goals of
IXIN, and detail its current status on bug-texinfo and
gnu-system-discuss, as people have shown interest in designing an Info

>   Guile 2 lovers, please see in particular a1-nf3-guile2.

Here’s what I did in ~1.5 minute:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (use-modules (sxml simple))
scheme@(guile-user)> (call-with-input-file "hello.xml" xml->sxml )
sxml/upstream/SSAX.scm:2846:12: In procedure loop:
sxml/upstream/SSAX.scm:2846:12: Throw to key `parser-error' with args 
`(#<input: hello.xml 9> "[wf-entdeclared] broken for " copyright)'.

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,frame
In sxml/upstream/SSAX.scm:
  2846:12  0 (loop #<input: hello.xml 9> () #f ())
scheme@(guile-user) [1]> ,proc
$1 = #<procedure loop (port entities expect-eof? seed)>
scheme@(guile-user) [1]> ,locals
  Local variables:
  $2 = port = #<input: hello.xml 9>
  $3 = entities = ()
  $4 = expect-eof? = #f
  $5 = seed = ()
  $6 = seed = ("Copyright ")
  $7 = term-token = (ENTITY-REF . copyright)
  $8 = key = ENTITY-REF
  $9 = seed = #<undefined>
scheme@(guile-user) [1]> (port-line $2)
$10 = 14
--8<---------------cut here---------------end--------------->8---

Then I look at line 15, and see &copyright;.  So, I go to
and see that there’s no predefined ‘copyright’ entity in XML (and the
one in HTML is called ‘copy’.)  Same for &ldquo; and probably others.

And, as Guile 2 lovers know, the good thing is that you can instead use
the Unicode © and “ signs directly in the XML file.  Neat, no?  :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]