ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: streams not working?
Date: Wed, 28 Dec 2011 20:41:24 +0100	[thread overview]
Message-ID: <4EFB70E4.6020800@web.de> (raw)

Hi there,

I'm trying to get some poems in a bilingual document using streams.

According to the wiki (http://wiki.contextgarden.net/Columns#Streams),
this example should work:

\usemodule[streams]
\def\StartCouple{\page\SwitchToNormal}
\def\StopCouple{\SwitchToNormal\SynchronizeLeftAndRight\FlushLeftAndRight}
\def\Original{\SwitchToNormal\SynchronizeLeftAndRight\SwitchToLeft}
\def\Translation{\SwitchToRight}
\starttext
\StartCouple
\Original\en
Are you sleeping, brother John?
\Translation\de
Bruder Jakob, schläfst du noch?
\StopCouple
\stottext

But I get this error:

l.19 \defineoutputstream
                         [\v!left]
!  ==> Fatal error occurred, no output PDF file produced!
mtx-context     | fatal error: return code: 1
Compilation failed.

The example at http://source.contextgarden.net/m-streams.tex (referenced
by the wiki page) doesn't work for me either. This is all Greek to me.

What am I missing here?

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-28 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-28 19:41 Pablo Rodríguez [this message]
2011-12-28 22:57 ` Wolfgang Schuster
2011-12-29  6:20   ` Pablo Rodríguez

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=4EFB70E4.6020800@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).