Am 06.05.2013 um 15:55 schrieb H. Özoguz <h.oezo...@mmnetz.de>:

>> > Hi,
>> > 
>> > I use a vertical line (realized as a layer) for a bilingual project. My 
>> > question is:
>> > 1. How can I set this line on all pages?
>> 
>> When this is the text where you place both columns with a table you can just 
>> enable the rule between both columns.
> 
> Thanks Wolfgang!
> 
> The reason for the use of the layer is the following: If I use frames of the 
> natural table, then I have this:
> 
> \def\arde[#1][#2]{%
> \bTABLE
> \setupTABLE[frame=off]
> \setupTABLE[c][1][rightframe=on]
> \bTR 
> \bTD #1 \eTD
> \bTD #2 \eTD 
> \eTR
> \eTABLE}
> \setuptolerance[tolerant,stretch]
> \starttext
> \arde[\input knuth][\input knuth]
> \arde[\input knuth][\input knuth]
> \stoptext
> 
> There you can see the problem, you have to zoom into the pdf: Between the two 
> tables, there is a tiny tiny (!) space betweeen the vertical lines. Its not a 
> big issue, but it is there.

The space is inserted by TeX when characters in different lines are touching.

You can avoid this when you put everything in a single table. You should also 
avoid
to use brackets as delimiters for text, use normal braced arguments why can be
grouped without problems.

\startsetups[arde]
  \setupTABLE[c][1][rightframe=on]
\stopsetups

\def\startarde
  {\bTABLE[frame=off,width=.5\textwidth,setups=arde,split=yes]}

\def\stoparde
  {\eTABLE}

\define[2]\arde
  {\bTR
     \bTD#1\eTD
     \bTD#2\eTD 
   \eTR}

\setuptolerance[tolerant,stretch]

\starttext
\startarde
\arde{\input knuth }{\input knuth }
\arde{\input knuth }{\input knuth }
\stoparde
\stoptext

Wolfgang
___________________________________________________________________________________
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 via email to