Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Please help me to create a Scheme script

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Please help me to create a Scheme script


Chronological Thread 
  • From: Victor Porton <address@hidden>
  • To: François Poulain <address@hidden>, "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] Please help me to create a Scheme script
  • Date: Thu, 31 Oct 2013 16:15:32 +0200
  • Envelope-from: address@hidden

31.10.2013, 14:49, "François Poulain" <address@hidden>:
> Le Thu, 31 Oct 2013 14:43:12 +0200,
> Victor Porton <address@hidden> a écrit :
>
>>  What's wrong?
>
> s/my-refresh-buffer/(my-refresh-buffer)
>
> Moreover you may have to load modules with something like.
>
> (use-modules (generic document-edit)
>              (generic generic-menu)
>              (texmacs menus file-menu))

(use-modules (generic document-edit)
(generic generic-menu)
(texmacs menus file-menu))

(define (my-refresh-buffer)
(begin
(init-page-medium "paper")

(generate-all-aux)
(inclusions-gc)
(wait-update-current-buffer))

(generate-all-aux)
(inclusions-gc)
(wait-update-current-buffer))

(generate-all-aux)
(inclusions-gc)
(wait-update-current-buffer))

(generate-all-aux)
(inclusions-gc)
(wait-update-current-buffer))

(generate-all-aux)
(inclusions-gc)
(wait-update-current-buffer))

(generate-all-aux)
(inclusions-gc)
(wait-update-current-buffer)

(init-page-medium "papyrus"))
)

On start of TeXmacs:

$ command texmacs
TeXmacs] Loading corktounicode
TeXmacs] Loading cork-unicode-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading symbol-unicode-oneway
TeXmacs] Loading symbol-unicode-math

TeXmacs] Fatal error, no active view

TeXmacs] Fatal unrecoverable error, no active view

--
Victor Porton - http://portonvictor.org



Archive powered by MHonArc 2.6.19.

Top of Page