ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Typesetting LibreOffice (ODT) documents with ConTeXt
Date: Wed, 30 Jan 2013 22:21:03 +0100	[thread overview]
Message-ID: <1AA2276E-57DF-449B-B8CB-B009C0F03F9A@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1301301608140.14761@ybpnyubfg.ybpnyqbznva>


Am 30.01.2013 um 22:12 schrieb Aditya Mahajan <adityam@umich.edu>:

> On Wed, 30 Jan 2013, Bill Meahan wrote:
> 
>> An XSLT stylesheet would allow direct export of a document from LO-W which could then be be tweaked if necessary.
> 
> Another option is to uncompress the odt file (IIUC, it is just a zip), and process it directly in ConTeXt (http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf).

ConTeXt is able to read from zip files.

> This approach is more flexible than XSLT stylesheets, but it ties you to ConTeXt (with XSLT, in principle, you can switch to other formats relatively easily).
> 
> In essence it boils down to understanding the ODT XML Schema and figuring out the mapping to context commands.

Hans posted a simple example to process odt files a few years ago.

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-01-30 21:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-30 19:31 Bill Meahan
2013-01-30 19:45 ` Idris Samawi Hamid ادريس   سماوي حامد
2013-01-30 20:08   ` Bill Meahan
2013-01-30 21:12     ` Aditya Mahajan
2013-01-30 21:21       ` Wolfgang Schuster [this message]
2013-01-30 22:07         ` Bill Meahan
2013-01-30 21:48       ` Thomas A. Schmitz
2013-01-30 22:13         ` [***SPAM***] " Idris Samawi Hamid ادريس   سماوي حامد
2013-01-30 23:54           ` Aditya Mahajan
2013-01-30 23:54           ` Bill Meahan
2013-01-31  8:51             ` Alan BRASLAU
2013-01-31 10:02             ` Henning Hraban Ramm
2013-01-30 20:59   ` Pablo Rodríguez
2013-01-31  9:19 ` Keith J. Schultz
2013-01-31 21:03   ` Bill Meahan
2013-02-09 16:51 ` Facepalm (was Typesetting LibreOffice (ODT) documents with ConTeXt) Bill Meahan
2013-02-09 23:44   ` Aditya Mahajan
2013-02-10 15:38     ` Bill Meahan
2013-02-10 17:07   ` Idris Samawi Hamid ادريس   سماوي حامد
2013-02-10 18:47     ` Bill Meahan
2013-02-10 19:21       ` Idris Samawi Hamid ادريس   سماوي حامد

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1AA2276E-57DF-449B-B8CB-B009C0F03F9A@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).