unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Cc: skribilo-users@nongnu.org
Subject: Re: skribilo readers
Date: Mon, 26 May 2008 10:15:51 +0200	[thread overview]
Message-ID: <87mymdv5u0.fsf@gnu.org> (raw)
In-Reply-To: 20080524.191331.74751167.schilling.klaus@web.de

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.





      reply	other threads:[~2008-05-26  8:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-24 17:13 skribilo readers Klaus Schilling
2008-05-26  8:15 ` Ludovic Courtès [this message]

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

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mymdv5u0.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=skribilo-users@nongnu.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.
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).