From nobody@digitalkingdom.org Mon Oct 27 14:18:04 2008 Received: with ECARTIS (v1.0.0; list lojban-beginners); Mon, 27 Oct 2008 14:18:04 -0700 (PDT) Received: from nobody by chain.digitalkingdom.org with local (Exim 4.69) (envelope-from ) id 1KuZTP-0001og-Pj for lojban-beginners-real@lojban.org; Mon, 27 Oct 2008 14:18:04 -0700 Received: from yw-out-1718.google.com ([74.125.46.152]) by chain.digitalkingdom.org with esmtp (Exim 4.69) (envelope-from ) id 1KuZTM-0001oY-QE for lojban-beginners@lojban.org; Mon, 27 Oct 2008 14:18:03 -0700 Received: by yw-out-1718.google.com with SMTP id 5so630904ywm.46 for ; Mon, 27 Oct 2008 14:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=64NENwm8sUeZEEv9Y7IBAQ+x9Z84nv/zjH9b9qiIeG4=; b=U6bKCmV79bqpNHHKtIphe1cMp88tWgq0+8EP2mJkdBG49DOa/2xIHxWk/tdO/1DFU1 HvyxCJsP0/Bi3b+qXPk2jxBoR3Xd7D2OFCEARsV3d9ZbwNtNC9HbVj2OI9IaqMcqNwKl x0FCoCM0wfRuFtD8yZTu4hSE264N4pcMhQipI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=Sl78/0IIxmQBqr3U+MfNN/abn/S+Lw85xNZ2n8skkepuW9v4W+j782C0S7znePQG1+ 1FRcIhMOgyVnXIpx+YrSzPWIkVW02fCEZ4JN6Z6g+ETA/KX7T8yIdMuQlx1eMHGYss6U Hr+Yth27yT62MtvW1entd59Mafb4SKEMsGeHo= Received: by 10.151.46.17 with SMTP id y17mr12922578ybj.115.1225142279224; Mon, 27 Oct 2008 14:17:59 -0700 (PDT) Received: by 10.150.192.1 with HTTP; Mon, 27 Oct 2008 14:17:59 -0700 (PDT) Message-ID: <71550650810271417h6536bcb1u855624222a78c242@mail.gmail.com> Date: Mon, 27 Oct 2008 23:17:59 +0200 From: "Yoav Nir" To: lojban-beginners@lojban.org Subject: [lojban-beginners] Re: New jbovlaste-based dictionary In-Reply-To: <324fccf0810270736j334495bas6d7dc07796e7d190@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_49606_551316.1225142279196" References: <71550650810241328td3388e5te35a316a5a32adfe@mail.gmail.com> <71550650810270439q52fa6697qc19fc8e093115c64@mail.gmail.com> <5715b9300810270700l2342cf3m51bc7fe64b9a1abb@mail.gmail.com> <71550650810270715o23a932c6n765fb3224717702d@mail.gmail.com> <324fccf0810270736j334495bas6d7dc07796e7d190@mail.gmail.com> X-Spam-Score: 0.0 X-Spam-Score-Int: 0 X-Spam-Bar: / X-archive-position: 946 X-ecartis-version: Ecartis v1.0.0 Sender: lojban-beginners-bounce@lojban.org Errors-to: lojban-beginners-bounce@lojban.org X-original-sender: yoav.nir@gmail.com Precedence: bulk Reply-to: lojban-beginners@lojban.org X-list: lojban-beginners ------=_Part_49606_551316.1225142279196 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline OK, I've posted it to the following address (I hate posting clickable links, so I'm embedding some spaces) http://idisk.me.com / yoavetali / Public / ld.odt The process? 1. I created an ODT file with the first page, one definition and a table of contents 2. I unzipped the ODT, and got the "insides" 3. I viewed contents.xml inside and figured out the format of text. 4. I then wrote a C program to read in the XML dump and write out XML in the format that OO likes. 5. I replaced the contents.xml file with my generated version, and re-zipped the file. 6. opened in OO, updated the table of contents, saved and exported as PDF. I guess I could make the C program nicer, of make it use an XML library rather than parsing on my own. Probably could be more efficiently done in PERL. Still, I only plan to run it every other month, so who cares. I would like some help in translating the front page. Maybe I should also write some dual-language foreward. mi'e ioav. On Mon, Oct 27, 2008 at 4:36 PM, John Osborne wrote: > I'd be all over the ODT file version of this. Plus the process you > used to convert the XML dump into the ODT file. > > ------=_Part_49606_551316.1225142279196 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
OK, I've posted it to the following address (I hate posting clickable links, so I'm embedding some spaces)
  http://idisk.me.com / yoavetali / Public / ld.odt

The process?
  1. I created an ODT file with the first page, one definition and a table of contents
  2. I unzipped the ODT, and got the "insides"
  3. I viewed contents.xml inside and figured out the format of text.
  4. I then wrote a C program to read in the XML dump and write out XML in the format that OO likes.
  5. I replaced the contents.xml file with my generated version, and re-zipped the file.
  6. opened in OO, updated the table of contents, saved and exported as PDF.
I guess I could make the C program nicer, of make it use an XML library rather than parsing on my own. Probably could be more efficiently done in PERL. Still, I only plan to run it every other month, so who cares.

I would like some help in translating the front page. Maybe I should also write some dual-language foreward.

mi'e ioav.


On Mon, Oct 27, 2008 at 4:36 PM, John Osborne <osborne6@gmail.com> wrote:
I'd be all over the ODT file version of this.  Plus the process you
used to convert the XML dump into the ODT file.

------=_Part_49606_551316.1225142279196--