From: Jon Crump <jjcrump@uw.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: TEI - conTeXt - pdf
Date: Wed, 24 Nov 2010 14:47:55 -0800 [thread overview]
Message-ID: <AANLkTikgWpWrf-z=Fmvg2y4GZarshbN8AcEqj+-AD5on@mail.gmail.com> (raw)
All,
Having abandoned apache's FOP, I've now been trying to get my arms
around XML typesetting with conTeXt with the help of Thomas's
excellent tutorial at http://wiki.contextgarden.net/TEI_xml. With some
difficulty I got the philostratus.xml/lorem ipsum example to work,
save for errors like this from the \definemargins command:
! You can't use `\dimexpr' in restricted horizontal mode.
(The marginal notations are typeset, but so are the distance arguments)
What I really need help with, however, is Arabic. Can anyone point me
to a 'hello world' example of how to typeset TEIxml in Arabic using
conTeXt? My TeX skills are very out of date and were never much to
begin with, and I'm having a devil of a time getting my head around
the welter of available documentation. I haven't even yet worked out
how to point context at suitable fonts, or how to invoke them in the
--environment .tex file.
[I'm using the MacTeX-2010 Distribution on OSX 10.5.8. It took me some
time do discover that I had to do:
$ luatools --generate
before I could run context at the command line thus:
$ context --environment=tei-style philostratus.xml]
Any hints, examples, or pointers to the relevant documentation would
be gratefully received.
Thanks,
Jon
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2010-11-24 22:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-24 22:47 Jon Crump [this message]
2010-11-25 9:23 ` Thomas A. Schmitz
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='AANLkTikgWpWrf-z=Fmvg2y4GZarshbN8AcEqj+-AD5on@mail.gmail.com' \
--to=jjcrump@uw.edu \
--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).