mailing-list for TeXmacs Users

Text archives Help


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 14:23:04 +0200
  • Envelope-from: address@hidden

31.10.2013, 10:07, "François Poulain" <address@hidden>:
> Hi,
>
> See TeXmacs/progs/generic/document-menu.scm for details.
>
> Le Thu, 31 Oct 2013 00:16:25 +0200,
> Victor Porton <address@hidden> a écrit :
>
>>  - switch page type to "Paper"
>
> This is done with : (init-page-medium "paper")
>
>>  - call "Update All" 6 times (or how many is enough?)
>
> This is done with :
> (begin
>   (generate-all-aux)
>   (inclusions-gc)
>   (wait-update-current-buffer))

Should (begin ...) be repeated 6 times? (or what number of times do you
recommend?)

>>  - switch page type back
>
> This is done with : (init-page-medium "papyrus")
>
>>  Also help to attach this script to the user's toolbar.
>
> I don't advise you to to this. You can very simply add a shortcut with
> something like : (kbd-map ("C-U" (my-refresh-buffer)))

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



Archive powered by MHonArc 2.6.19.

Top of page