Hi,

Roger Mason <[email protected]> skribis:

> (engine-custom-set! context-engine document-style "manuscript")
>
> (document :title [Hello World!]
>    :html-title [Hello World Example]
>
>    [This is a very simple text.])
>
> Attempting to compile I get:
>
> $ skribilo -t context -o hello.tex hello.skb
> Backtrace:
> In unknown file:
>    ?: 0* [#<procedure #f ()>]
>    ?: 1* [eval # #]
> In hello.skb:
>    1: 2* (engine-custom-set! context-engine document-style "manuscript")
>
> hello.skb:1:1: In expression (engine-custom-set! context-engine
> document-style ...):
> hello.skb:1:1: Unbound variable: engine-custom-set!

The document needs to start with:

  (use-modules (skribilo engine))

This pulls in bindings for all the engine-related functions.

Then, you would rather write:

  (engine-custom-set! (find-engine 'context) 'document-style "manuscript")

However, note that the ConTeXT engine hasn’t been tested in a while...

Thanks,
Ludo’.

_______________________________________________
Skribilo-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/skribilo-users

Reply via email to