Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2009 00:21:32 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: OOo question re my novel...
Message-ID:  <20090525222131.GB45395@slackbox.xs4all.nl>
In-Reply-To: <20090525214604.GA28439@thought.org>
References:  <20090525214604.GA28439@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--eJnRUKwClWJh1Khz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 25, 2009 at 02:46:07PM -0700, Gary Kline wrote:
>=20
> guys,
>=20

> 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
--=20
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)

--eJnRUKwClWJh1Khz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkobGesACgkQEnfvsMMhpyV4dACdErfwtty4PRdYuVDjeepRvLgW
xbUAoI5vQWzAcDj+TRRjjkskvWxvlYef
=eyXL
-----END PGP SIGNATURE-----

--eJnRUKwClWJh1Khz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090525222131.GB45395>