texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] Re: texmacs styles, and sessions


From: Joris van der Hoeven
Subject: [Texmacs-dev] Re: texmacs styles, and sessions
Date: Thu, 11 Jul 2002 13:19:57 +0200 (MET DST)

On Tue, 9 Jul 2002 address@hidden wrote:

> I've been working on a session mode to use the graphviz tools (especially
> dot) from within texmacs. At the moment i have a very crude but working
> version (see http://die.die.ms/avoozl/ld/dotty.png ).

The screenshot seems very nice.

> I have yet to clean up the source a bit, since right now im using
> temporary files while i should be using pipes to communicate with dot.
> 
> I ran into a few small problems, one of them is related to style files,
> since i would like to hide the input and the prompt for a dotty session
> when printing (but not always). I guess i should just load a different
> style and replace the macro for input and prompt so that it no longer
> outputs anything, but I'm not sure wether this is the right way of doing
> this.

Yes; I assume that you currently use the mycas technique?
When you have a working interface, then I can add the necessary support
to the main TeXmacs distribution. After that, you may write your
own style file and scheme commands.

> The second problem is that i could not get multi-line inputs to work in a
> session. I've tried to just use shift-enter and in that way enter multiple
> lines, and then terminate with enter, but when i look at the data my
> client process gets sent, I don't see any difference between a shift-enter
> and a normal enter, so i have to guess where the data ends, which is a bit
> of a kludge.

Hmm, I see... I have to think a bit about this.
I either have to modify the verbatim format slightly or
add a new format.

Andrey: what do you think about this.

> Do you have any tips or advice on these problems?
> 
> btw, i also made a small printer script, so one can do .tm to .ps
> conversion from the commandline, without the need to type anything. I
> think i already passed the script to stefp (from OPN #texmacs), but if
> needed i can just put it online somewhere as well.

Yes, please put this online or send it as an attached file to me.

In fact, we have the plan to add more command line tools for conversions.
One good TeXmacs command line option would be to let it execute a scheme
file and die. The new tendency is also to write as much of the converters
as possible in scheme; this will allow you to do certain types of
conversions (independent from the typesetter) without launching TeXmacs.
However, we did not find time yet to implement all this.

Veel groeten en bedankt voor de hulp,

Joris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]