[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] problem with macro using an external Scheme function
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] problem with macro using an external Scheme function |
Date: |
Fri, 17 Apr 2009 16:19:00 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi Kostas,
On Wed, Feb 25, 2009 at 05:22:24PM -0500, Kostas Oikonomou wrote:
> I am experimenting with adding page numbers to the seminar style.
> As part of what I'm doing, I re-define page-the-page by
>
> <assign|page-the-page|<extern|(switch-index)>>
>
> where switch-index is a Scheme routine in progs/dynamic/fold-edit.scm.
> This definition is in my personal header-seminar.ts file.
>
> Now when I load a document using seminar style, I get the error
>
> <quote|<error|insecure script>>
>
> even though I have set Preferences -> Security -> Accept all scripts.
> This is TeXmacs 1.0.7.
>
> Perhaps my
>
> <assign|page-the-page|<extern|(switch-index)>>
>
> needs to be modified?
You should make sure that
1) switch-index is publicly available
2) it returns a tree (or stree)
3) the scripts are secure (your preference setting, maybe reboot)
Try first with a simpler macro, such as identity, in order to experiment.
Best wishes, Joris
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Texmacs-dev] problem with macro using an external Scheme function,
Joris van der Hoeven <=