From: "Pablo Rodríguez" <oinos@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: three issues with streams
Date: Fri, 30 Dec 2011 07:38:21 +0100 [thread overview]
Message-ID: <4EFD5C5D.5050909@web.de> (raw)
Hi there,
after tweaking with the example provided by Wolfgang
(http://www.ntg.nl/pipermail/ntg-context/2011/063353.html), I tried to
generate a bilingual poetry document with original Greek text and facing
Spanish translation (using ConTeXt stable as provided by TL2011).
Here is the basic structure:
\enabletrackers[streams.flushing]
\def\itit#1{{\language[it]\em#1}}
\starttext
\completecontent
\startoutputstream[agr]
Spanish poems including many chapters
\enableoutputstream[es]
Spanish poems including many chapters
\disableoutputstream
\stopoutputstream
\synchronizestreams[agr,es]
\page \flushoutputstream[agr]
\page \flushoutputstream[es]
\stoptext
My questions are:
I include the whole Greek text and the Spanish text after it. I expect
ConTeXt to synchonize both streams in titles and paragraphs, but all I
get is the Greek stream typeset before the Spanish stream. Is there no
way to get ConTeXt synchronizing both streams automatically?
How can I enable \startlinenumbering ... \stoplinenumbering in the poems
themselves? It doesn't seem to work, since it gives an error
(\startlines ... \stoplines works fine).
How can I get that elements on the left page (or outputstream[agr]) are
independent from the right page [or outputstream[es])? I mean that
sectioning numbers and footnote numbers are independent in each stream,
i.e, chapter 1 on left page has a chapter 1 on facing page.
Many 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:[~2011-12-30 6:38 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=4EFD5C5D.5050909@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).