ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Martin Hasoň" <martin.hason@gmail.com>
To: ntg-context@ntg.nl
Subject: The best command for parallel texts
Date: Sun, 1 Jul 2018 12:18:48 +0200	[thread overview]
Message-ID: <CAMQDGF_-eS01eO3jqrXOvS0MG-iU1EsQLL5T-V3hL6ZeAMo=Rw@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 856 bytes --]

Hi all,

I need to type parallel text on double columns. I've tried paragraphs,
tabulate, table and column environments. The best result of these options
gives the tabulate. Unfortunately, it does not respect alignment - many
\hbox errors in all environments except columns :(. What should I use and
set up?

\setuppapersize[A6][A6]
\defineparagraphs[TwoLang][n=2]
\setuptabulate[split=yes]
\setupalign[verytolerant,stretch]

\starttext

\startTwoLang
\input lorem
\nextTwoLang
\input davis
\stopTwoLang

\starttabulate[|p|p|]
\NC\input lorem
\NC\input davis
\NC\NR
\stoptabulate

\bTABLE[frame=off,align=yes,split=yes]
\bTR
\bTD[roffset=2mm]\input lorem\eTD
\bTD[loffset=2mm]\input davis\eTD
\eTR
\eTABLE

\startcolumns[n=2]
\input lorem
\column
\input davis
\stopcolumns

\stoptext

Best regards
Martin Hasoň

[-- Attachment #1.2: Type: text/html, Size: 1480 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2018-07-01 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-01 10:18 Martin Hasoň [this message]
2018-07-02 20:41 ` Wolfgang Schuster
2018-07-03 21:30   ` Idris Samawi Hamid ادريس سماوي حامد
2018-07-04  1:01     ` Idris Samawi Hamid ادريس سماوي حامد
2018-07-04  7:30     ` Hans Hagen

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='CAMQDGF_-eS01eO3jqrXOvS0MG-iU1EsQLL5T-V3hL6ZeAMo=Rw@mail.gmail.com' \
    --to=martin.hason@gmail.com \
    --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).