ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Streams in two columns
@ 2008-04-05 13:59 Henning Hraban Ramm
  0 siblings, 0 replies; only message in thread
From: Henning Hraban Ramm @ 2008-04-05 13:59 UTC (permalink / raw)
  To: ConTeXt ML

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-05 13:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-05 13:59 Streams in two columns Henning Hraban Ramm

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).