OOo question re my novel...
Roland Smith
rsmith at xs4all.nl
Mon May 25 22:21:34 UTC 2009
On Mon, May 25, 2009 at 02:46:07PM -0700, Gary Kline wrote:
>
> guys,
>
> one thing i need to do before i submit my 600+ page tell-all "novel"
> is fihure out howto turn *this* into italics in Ooo-3.01. i don't
> think any regular publisher world rish this so it;s a roll-you-own.
> what i submit in doc [or odt] is what gets published. i can turn
> *this* into /this/, but still can't figure out how to have openoffice
> turn all the words i want italicized into actual italics.
>
> anybody know offhand?
Maybe you can write a macro to do that, assuming you know the
OpenOffice.org macro language.
Otherwise, an opendocument file is actually a zip-file containing several
files. See http://en.wikipedia.org/wiki/OpenDocument_technical_specification
What you can do is unpack this zipfile, and use your favorite text
processing language to replace the '*' with the appropriate XML tags in
the 'content.xml' file. I don't know what the tags for italics
are. So make a small example file and have a peek inside.
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090525/eef89cce/attachment-0001.pgp
More information about the freebsd-questions
mailing list