Re: [NTG-context] how to produce text with facing translation?

2006-03-05 Thread Thomas A. Schmitz
Hraban,

sounds excellent! OK, what I would dream of for the time being would  
be: ConTeXt treats a pair of even/odd pages like a unity. It would be  
ideal to have two input streams, maybe as \start ... \stop environments.

\startevenpage

text

\stopevenpage

\startoddpage

text

\stopoddpage

It would be important to have commands like \breakevenpage and  
\breakoddpage that would insert a pagebreak without breaking the  
paragraph.* Both even and odd have their own set of footnotes. Both  
even and odd can have their own dimensions:

\setupevenpage[. . .]

\setupoddpage[. . .]

see \setuplayout.

Would that be possible? How hard would it be in ConTeXt? And is there  
anything in the source that I could look at to get things going?

Best

Thomas

* I'm not sure if this is clear enough. What I want is

X   X
X   X
X   X
X

PAGEBREAK

and not

X   X
X   X
X   
X


On Mar 3, 2006, at 9:25 PM, Henning Hraban Ramm wrote:

 Friendly as ever, Hans suggests that you write a sample/spec how
 you'd like to use this feature, so that he can think about some
 implementation himself.

 E.g., would such help?:

 \setupsynced[setup name][mode=pages, after=pagebreak, n=2]
 % n = (number of synced columns, think of more language versions to
 compare...; default=2)
 % mode = pages, columns (default=columns; pages only with n=2)
 % after = pagebreak, space, continue...? (what should we do with
 remaining space in column?)
 % footnotes = local, ...? (synced text needs its own set of footnote
 counters...)
 % frame, background etc.?

 \startsynced[mysetup]%
 { greek text }%
 { german text }
 \stopsynced

 This would be analogous to combinations, but could handle only single
 paragraphs, I guess.
 I don't think I need this feature, so it's your turn to propose a
 syntax!

 Greetlings from Lake Constance!
 Hraban

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to produce text with facing translation?

2006-03-05 Thread Hans Hagen
Hi,

indeed specs is what we need; also think about how to deal with graphics;

an odd-even pages is doable ; remind me in a week (due to family 
circumstances i'll be sparsely online)

Hans




Thomas A. Schmitz wrote:

 Hraban,

 sounds excellent! OK, what I would dream of for the time being would  
 be: ConTeXt treats a pair of even/odd pages like a unity. It would be  
 ideal to have two input streams, maybe as \start ... \stop environments.

 \startevenpage

 text

 \stopevenpage

 \startoddpage

 text

 \stopoddpage

 It would be important to have commands like \breakevenpage and  
 \breakoddpage that would insert a pagebreak without breaking the  
 paragraph.* Both even and odd have their own set of footnotes. Both  
 even and odd can have their own dimensions:

 \setupevenpage[. . .]

 \setupoddpage[. . .]

 see \setuplayout.

 Would that be possible? How hard would it be in ConTeXt? And is there  
 anything in the source that I could look at to get things going?

 Best

 Thomas

 * I'm not sure if this is clear enough. What I want is

 X   X
 X   X
 X   X
 X

 PAGEBREAK

 and not

 X   X
 X   X
 X   
 X


 On Mar 3, 2006, at 9:25 PM, Henning Hraban Ramm wrote:

   
 Friendly as ever, Hans suggests that you write a sample/spec how
 you'd like to use this feature, so that he can think about some
 implementation himself.

 E.g., would such help?:

 \setupsynced[setup name][mode=pages, after=pagebreak, n=2]
 % n = (number of synced columns, think of more language versions to
 compare...; default=2)
 % mode = pages, columns (default=columns; pages only with n=2)
 % after = pagebreak, space, continue...? (what should we do with
 remaining space in column?)
 % footnotes = local, ...? (synced text needs its own set of footnote
 counters...)
 % frame, background etc.?

 \startsynced[mysetup]%
 { greek text }%
 { german text }
 \stopsynced

 This would be analogous to combinations, but could handle only single
 paragraphs, I guess.
 I don't think I need this feature, so it's your turn to propose a
 syntax!

 Greetlings from Lake Constance!
 Hraban
 

 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
   


-- 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] how to produce text with facing translation?

2006-03-05 Thread Thomas A. Schmitz
Great Hans, I'll remind you in a week. And I do hope your family  
business is a pleasant one...

Best

Thomas

On Mar 5, 2006, at 1:11 PM, Hans Hagen wrote:

 Hi,

 indeed specs is what we need; also think about how to deal with  
 graphics;

 an odd-even pages is doable ; remind me in a week (due to family
 circumstances i'll be sparsely online)

 Hans




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] French punctuation spacing not working anymore (2006.02.15)

2006-03-05 Thread Gilles PĂ©rez-Lambert
Hello,

On 3/3/06, Renaud AUBIN [EMAIL PROTECTED] wrote:
 \def\activateSomeCharacters{%
   \defineactivecharacter ! {\,\string!}%
   \defineactivecharacter ? {\,\string?}%
   \defineactivecharacter : {\,\string:}%
   \defineactivecharacter ; {\,\string;}}
 \activateSomeCharacters
 \appendtoks\activateSomeCharacters\to\everystarttext

Thanks. I'll use that for now!

Gilles.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Unexpected behaviour of setuptyping

2006-03-05 Thread Aditya Mahajan
Conisder
\setupcolors[state=start]
\setuptyping[option=anything] %Any value that is not a valid option
  % none, color, normal, commands, slanted
\starttext

\startbuffer
   $\sum_{i=1}^n \frac{1}{2} n \cdot (n+1)$
\stopbuffer
\typebuffer

\stoptext

The text is typed in color. I gave an invalid option and expected it 
to have no effect, but was pleasantly surprised that it gives color 
output. There is nothing in the definition of \setupcommonverbatim in 
core-ver.tex to suggest such a behaviour. Is this a bug or a feature?

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] enattab example

2006-03-05 Thread Willi Egger
Hi Patrick,

Your example gives here the same narrow table. I  inserted
\setupTABLE[c][each][width=1cm]
so then I get a better table

Sorry for the second post, I found out the solution with the topframe in 
the second row, but saw then that others hav given this already. -- Too 
late.

Kind regards

Willi

Patrick Gundlach wrote:

Hello,

I tried the first example from the natrural tables pdf (enattab.pdf),
and my output looks very compressed. Same on live.contextgarden.net.
Is this the way it should look like? In contrast to the output of the
enattab.pdf file.

\starttext
\bTABLE
\bTR \bTD[nr=3] 1 \eTD \bTD[nc=2] 2/3 \eTD \bTD[nr=3] 4 \eTD \eTR 
\bTR \bTD 2 \eTD \bTD 3 \eTD \eTR 
\bTR \bTD 2 \eTD \bTD 3 \eTD \eTR 
\bTR \bTD[nc=3] 1/2/3 \eTD \bTD 4 \eTD \eTR 
\bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR 
\eTABLE
\stoptext


Patrick
  

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Natural tables, rulethickness

2006-03-05 Thread Berend de Boer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrick Gundlach [EMAIL PROTECTED] writes:

 but I wish (feature request) something like

 \toprule
 \bTR  \eTR 
 \midrule
 \bTR  \eTR 
 \bTR  \eTR 
 \bTR  \eTR 
 \bottomrule

 or together with \setupTABLE.

Something like:

\def\midrule{% assume we're in a bTABLE
  \bTR[rulethickness=0.8pt,height=\rulethickness,bottomframe=on]\eTR}

might work.

Basically the idea is to insert a very small row with only the rule.

- -- 
Live long and prosper,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFEC4oEIyuuaiRyjTYRAtSsAKDSUM9jwXojPSonpg3gK+9C1BcJAgCgoKsz
8Y7zTK8OsACPDlDYict/VYc=
=rdDU
-END PGP SIGNATURE-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context