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 _______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
