W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2006

Re: Amaya and shell commands

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Tue, 12 Sep 2006 09:45:07 +0200
To: Michael <mpalmer@sciborg.uwaterloo.ca>
Cc: www-amaya@w3.org
Message-Id: <200609120945.07802.vatton@inrialpes.fr>

On Friday 01 September 2006 19:08, Michael wrote:
> Hello,
>
> I'm using (or abusing) Amaya as a front end to a home-cooked tool chain
> that converts XHTML to Lout to PS to PDF code. As part of this process,
> I'm doing some macro expansion,  i.e. I type
> [if[someFigure],  which when expanded inserts some custom XHTML markup
> for a figure and a legend along with some default formatting
> instructions for Lout. It currently works this way:
>
> - save file from Amaya -> triggers tool chain
> - reload file
>
> Is it feasible to add some command to Amaya that would
> - save the file
> - issue a configurable shell command on it
> - reload it
> ?

It's of course feasible. This could be a student project.

> This might also be handy for people looking to do some XSLT or whatever
> on their files while editing.
>
> BTW, I tried to start amaya 9.51 from the command line (on Windoze XP),
> but it only gives me two empty alert boxes and then dies. If I use the
> 'run' command in the start menu, it opens a folder view of amaya instead
> of starting the program. It works alright on icon clicking, though - not
> sure what's wrong here.

There is a problem with wxWidgets widgets in that case.
We'll see if we can fix it.

> Thanks for your time and consideration, Michael

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Tuesday, 12 September 2006 07:46:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:43 GMT