From: "Pablo Rodríguez" <oinos@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: (again) issues with streams
Date: Tue, 03 Jan 2012 20:25:59 +0100 [thread overview]
Message-ID: <4F035647.70002@web.de> (raw)
Hi there,
playing with an example posted by Wolfgang to the list, I'm trying to
generate a bilingual poetry edition (original and facing translation).
If anyone could help, I'd really appreciate (this is the second time I
post the message to the list
http://www.ntg.nl/pipermail/ntg-context/2011/064184.html).
This is a minimal sample:
\enabletrackers[streams.flushing]
\def\itit#1{{\language[it]\em#1}}
\starttext
\completecontent
\startoutputstream[agr]
\dorecurse{4}{\chapter{Knuth}\input knuth\par}
\enableoutputstream[es]
\dorecurse{4}{\chapter{Ward}\input ward\par \input tufte\par}
\disableoutputstream
\stopoutputstream
\synchronizestreams[agr,es]
\page \flushoutputstream[agr]
\page \flushoutputstream[es]
\stoptext
My first question is how can I make that ConTeXt synchronizes
automatically titles and paragraphs. I mean, I want to type the original
first and the translation after the original and that ConTeXt typesets
everything right (original with facing translation).
My second question is how can I do that numbering on both sides is
really independent. I mean that chapter and similar titles have the same
number that its facing translations (and the same for footnotes).
My third question is how can I number lines there, since I get the
following error when using \starlinenumbering ... \stoplinenumbering
(this is all Greek to me):
!LuaTeX error: There should have been a lua <node> here, not an object
with type nil!
==> Fatal error occurred, no output PDF file produced!
Compilation failed.
mtx-context | fatal error: return code: 70
Thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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:[~2012-01-03 19:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4F035647.70002@web.de \
--to=oinos@web.de \
--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).