Re: Using Abiword for conversions

From: Dominic Lachowicz <domlachowicz_at_gmail.com>
Date: Fri Jan 02 2009 - 16:09:02 CET

> I've started to look at this a bit more and noticed that there are -i and -e
> options available. It says CSS string so I take it this is like CSS for
> web? I tried doing something like
> abiword -t rtf -e "* { font-family: courier }" test.txt

It's not like CSS for the web. The -i and -e options take a list of
parameters. Each parameter has a name and a value. The name is
followed by a colon and the parameters are separated by semicolons.
For instance:

-e "pages:1,2,3;color:false"

This hypothetical example tells the PDF exporter to only save pages
1-3 and convert color to black & white.

> but this didn't seem to work. I can sort of hackishly change font with sed
> but I would like to be able to change font and line spacing (double) if
> possible.
>
> Is this possible?

No. There's nothing hackish about using sed/awk/perl to post-process
this sort of thing. It's practically what UNIX was invented for.

Cheers,
Dom
-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.
Received on Fri Jan 2 16:11:49 2009

This archive was generated by hypermail 2.1.8 : Fri Jan 02 2009 - 16:11:49 CET