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


_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to