in reply to Perl invoking abiword

I think something more like this instead of system():

qx(abiword -to html $file);

My abiword docs (abiword --help, v. 1.0.4) tell me that -to is the modifier for getting conversion output from the command line.

Update: I found this link... http://www.crazy-wormhole.com/AlinaMeridon/AbiWord/abidocs/howto/howtoexporthtml.html (This post was supposed to be a reply to another node, but I messed up.)

--
Allolex

Replies are listed 'Best First'.
Re: Re: Perl invoking abiword
by matthewb (Curate) on Dec 05, 2003 at 16:16 UTC
    Previous posters fail to note that this is a question about neither Abiword nor Perl but the latest in a series of anonymous posts concerning the conversion of MS Office files to HTML. Specifically, the poster is referring to this post made by chromatic a couple of days ago.

    While Abiword is capable of converting simple .docs to HTML its handling of embedded images is imperfect, hence the question.

    Since MS Office applications are in many cases incompatible with different versions of themselves, automating the required procedure in a way that does not involve using MS tools is likely to be tricky. The W3 maintain a list of word processor filters and, while I cannot personally attest to the quality of any of them, it seems the obvious place to continue this enquiry.

    MB