From: Henning Hraban Ramm <hraban@fiee.net>
To: ConTeXt ML <ntg-context@ntg.nl>
Subject: Streams in two columns
Date: Sat, 5 Apr 2008 15:59:39 +0200 [thread overview]
Message-ID: <FA9C4774-B5C9-4632-8AD8-B675424D43BB@fiee.net> (raw)
I'm trying to typeset English and German texts in two columns.
With the following example every bilingual section goes on a new
page. How can I avoid that?
(Using only "columns" instead of "columnsets" I get single-section
pages with alternating languages.)
%% setup
\definecolumnset[twocol][n=2]
\setuphead[chapter][page=no, number=no, align=right]
\usemodule[streams]
% example from the streams module
% only enhanced by columnset
\def\StartCouple{\page\startcolumnset[twocol]\SwitchToNormal}
\def\StopCouple {\SwitchToNormal \SynchronizeLeftAndRight
\FlushLeftAndRight\stopcolumnset}
\def\Original {\SwitchToNormal\SynchronizeLeftAndRight\SwitchToLeft}
\def\Translation{\SwitchToRight}
%% text snippet
\StartCouple
\Original\de
\chapter{Ein säkulares Europa -- der Weg zur europäischen
Staatsbürgerlichkeit}
\Translation\en
\chapter{A Secular Europe -- the Road to European Citizenship}
\Original\de
Zum 50. Jahrestag der Unterzeichnung der Römischen Verträge der
Europäischen Union hat die European Humanist Federation am 25. März
2007 die Brüsseler Erklärung veröffentlicht. Hierin wird nochmals
bekräftigt, dass Europa auf einer Vielzahl von Kulturen und
Traditionen beruht, und seine Bürger der Geschichtsklitterung vom
christlichen Abendland entgegenwirken müssen.
\Translation\en
At the 50th anniversary of the signing of the Rome treaties which
established the European Union the European Humanist Federation
published the Brussels declaration. It affirms once more Europe’s
foundation to consist of many cultures and traditions and reminds its
citizens to work against the biased historical account of the
Christian occident.
\StopCouple
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2008-04-05 13:59 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=FA9C4774-B5C9-4632-8AD8-B675424D43BB@fiee.net \
--to=hraban@fiee.net \
--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).