Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Introductory help: navigating several switches at the same time.

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Introductory help: navigating several switches at the same time.


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] Introductory help: navigating several switches at the same time.
  • Date: Sun, 23 Jun 2013 11:59:49 +0200

Hi,

  I think some of my comments to your more recent question should help you here. For this particular problem, I suggest you go for the scheme approach: define a set of tags to display your content, then write a function to toggle all of them simultaneously. 

The scheme function dynamic-traverse-buffer might be a good source for inspiration. Actually the whole file fold-edit.scm. Just open a scheme session, type the first few letters and auto-complete, then hit meta+f1 or right click->scheme->definition of "..." to get to the file.

It won't exactly be a piece of cake... 

Best,

--
Miguel de  Benito.


On Tue, Jun 11, 2013 at 3:40 PM, Peeter Tinits <address@hidden> wrote:
Hi,

I thought I would also post a more concise question on the topic for readability.

1) I'm looking to navigate within several switches at the same time, so that you could have
the following:


switch-content-1/switch-content-2/switch-content-3/switch-content-4

body text

switch-content-1/switch-content-2/switch-content-3/switch-content-4


So that the switches could be tied to each other, that is you could switch between
contents on both lines simultaneously.


2) The most powerful way to do this, would be if you could tag each member within a switch,
e.g. main/comment/review/changed, and then make switches for the entire document that
would manipulate the visibility of all sections bearing the same tag simultaneously.

* This would then even allow you to put several tags under the same visibility status, such
as switch( main / main+comments / main+comments+review / changed) for example.


Many thanks if you are able to help me,

Peeter




Archive powered by MHonArc 2.6.19.

Top of Page