Re: Writing Macros/Shared Libraries?

From: Dom Lachowicz (doml@appligent.com)
Date: Wed Sep 11 2002 - 12:14:42 EDT

  • Next message: Dom Lachowicz: "Re: latex support in abiword"

    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
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Wed Sep 11 2002 - 12:18:18 EDT