From owner-freebsd-questions@FreeBSD.ORG Mon May 25 22:21:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2B64106564A for ; Mon, 25 May 2009 22:21:34 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 1E0058FC0A for ; Mon, 25 May 2009 22:21:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id n4PMLWQZ026343; Tue, 26 May 2009 00:21:32 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 126DBBA9C; Tue, 26 May 2009 00:21:32 +0200 (CEST) Date: Tue, 26 May 2009 00:21:32 +0200 From: Roland Smith To: Gary Kline Message-ID: <20090525222131.GB45395@slackbox.xs4all.nl> References: <20090525214604.GA28439@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <20090525214604.GA28439@thought.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: OOo question re my novel... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 22:21:34 -0000 --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--