unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* skribilo readers
@ 2008-05-24 17:13 Klaus Schilling
  2008-05-26  8:15 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Schilling @ 2008-05-24 17:13 UTC (permalink / raw
  To: guile-user

Is there a simple way to implement a custom reader for skribilo? The
user-manual only mentions custom target engines.

Klaus Schilling




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: skribilo readers
  2008-05-24 17:13 skribilo readers Klaus Schilling
@ 2008-05-26  8:15 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2008-05-26  8:15 UTC (permalink / raw
  To: guile-user; +Cc: skribilo-users

Hi Klaus,

[This discussion belongs to `skribilo-users',
aka. `gmane.comp.type-setting.skribilo.user', so better followup there.]

Klaus Schilling <schilling.klaus@web.de> writes:

> Is there a simple way to implement a custom reader for skribilo? The
> user-manual only mentions custom target engines.

Right, the manual doesn't tell anything about it.

It's easy to implement a custom reader for Skribilo.  I suggest that you
look at the bottom of `skribilo/reader/outline.scm' to get an idea.
Roughly, it defines `make-outline-reader' which returns a `read'-like
function, and then it has that `define-reader' form that provides the
reader specification (the `define-reader' macro is provided by the
`(skribilo reader)' module); furthermore, reader FOO must be located in
`(skribilo reader FOO)' to be found (see `lookup-reader' in
`reader.scm').

Hope this helps,
Ludovic.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-26  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-24 17:13 skribilo readers Klaus Schilling
2008-05-26  8:15 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).