guile-user
[Top][All Lists]
Advanced

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

Re: skribilo readers


From: Ludovic Courtès
Subject: Re: skribilo readers
Date: Mon, 26 May 2008 10:15:51 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi Klaus,

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

Klaus Schilling <address@hidden> 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.





reply via email to

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