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 11:58:06 +0200
User-agent: Mutt/1.5.9i

Hi Bas,

On Wed, Aug 03, 2005 at 05:20:16PM +0200, Bas Spitters wrote:
> #!/bin/sh
> #==============================================================================
> # MODULE     : tm_gentex
...

Thanks for the plug-in.

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.

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. 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.

Best wishes, Joris




reply via email to

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