[NTG-context] Parallel texts

luigi scarso luigi.scarso at gmail.com
Tue Nov 20 21:05:13 CET 2007


On Nov 20, 2007 8:32 PM, Idris Samawi Hamid <ishamid at colostate.edu> wrote:

> Hi,
>
> On Tue, 20 Nov 2007 12:24:50 -0700, Steffen Wolfrum
> <context at st.estfiles.de> wrote:
>
> >
> > Am 20.11.2007 um 19:38 schrieb luigi scarso:
> >
> >> I am looking for a way to typeset bilingual text as parallel text,
> >> keeping each paragraph opposite the corresponding paragraph (left/
> >> right page).
> >>
> >> The ledpar package from the ledmac bundle does this (I was told).
> >>
> >>
> >> How can this be done with ConTeXt?
> >> maybe streams?
> >
> >
> > Maybe streams.
> >
> > Right! Idris started a thread on parallel texts called "Streams" in
> > March, 7th.
> > But this thread never received any answer ... o(
>
> True, but there is a m-streams module in the distribution. Hans was
> experimenting with these once upon a time and you can check them out. I
> think luigi was referring to that.
>

It's not mine!
search for thomas.schmitz at uni-bonn.de

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usemodule[streams]

\def\StartCouple{\page\SwitchToNormal}
\def\StopCouple {\SwitchToNormal \SynchronizeLeftAndRight
\FlushLeftAndRight}
\def\Original   {\SwitchToNormal\SynchronizeLeftAndRight\SwitchToLeft}
\def\Translation{\SwitchToRight}

%%So you put the part of your document where synchronization should
%%take place between \StartCouple and \StopCouple. After that ,
%%\Original and \Translation switches between even and odd pages.
\starttext

\scale[width=\textwidth,height=\textheight,factor=fit]{\ss m-streams}
\page
\StartCouple
\Original
this is an original text \crlf
\input knuth
\blank[1cm]
\Translation
THIS IS THE TRANSLATION \crlf
\input tufte
\Original
\ss this is an original text \crlf
\input knuth
\Translation
\tt THIS IS THE TRANSLATION \crlf
\input tufte
\StopCouple
\stoptext






>
> Best wishes
> Idris
>
> --
> Professor Idris Samawi Hamid, Editor-in-Chief
> International Journal of Shi`i Studies
> Department of Philosophy
> Colorado State University
> Fort Collins, CO 80523
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at 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
>
> ___________________________________________________________________________________
>



-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20071120/872f4ec0/attachment.html 


More information about the ntg-context mailing list