On Wednesday, September 11, 2002, at 12:09 PM, Dr. M wrote:

>
> Hello!
>
> I am hoping to convert some PALM DOC documents into xhtml for a class.
>
> ABI word does this nicely, but I can only do it one document at a time.
> Are there any macros which expedite this?  I can code OK--is there
> somewhere which describes how we can write our own macros, or leverage 
> the
> functionality of Abiword for formatting text files, say from programs
> written in perl, php, python, or C?

 From the command line, you can do something like this:

AbiWord --to=xhtml foo.pdb

to produce foo.xhtml

Now, if you're good with bash or perl or something, you can figure out 
how to put this into a loop:

#!/bin/sh

for file in $@; do
        AbiWord --to=xhtml $file
done

Dom

-----------------------------------------------
To unsubscribe from this list, send a message to
[EMAIL PROTECTED] with the word
unsubscribe in the message body.

Reply via email to