texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Generic Latex plugin


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] Generic Latex plugin
Date: Mon, 8 Aug 2005 14:55:47 +0200
User-agent: Mutt/1.5.9i

On Mon, Aug 08, 2005 at 02:22:41PM +0200, Bas Spitters wrote:
> On Monday 08 August 2005 11:58, Joris van der Hoeven wrote:
> > However, as I told Nicolas Ratier too, there is a much simpler and
> > better way to add this kind of functionality now: just design
> > a command-line method which converts a given data-format to postscript and
> > it *automatically* becomes possible to include documents of this format
> > as images. See init-images.scm for how to declare image formats.
> 
> That's nice. This far it is clear.
> 
> > Moreover, recent versions come with a tag "converter-input" (see
> > scripts.ts). This tag allows you to switch (C-*) between text in a given
> > format and the result when converting it to TeXmacs.
> 
> I not see how to use converter-input, yet.
> Do you have an example. Say html -> texmacs ?
> ( I understand that this is already supported)

        \ converter-input return
        html return
        Enter some Html code
        C-*

> > It would suffice to 
> > hack
> >
> > (tm-define (hidden-variant)
> >   (:inside converter-input)
> >   ...)
> >
> > inside scripts-edit.scm to also recognize image formats.
> > Alternatively, one might add tags image-input/image-output for doing this.
> 
> I don't see how to do this either, but maybe it will become clear when I see 
> the example.

Well, you should try to understand the code and hack a bit ;^)




reply via email to

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