[NTG-context] Frontmatter setup

2006-03-26 Thread nico
Hello,

Is there a \setup... command to configure the frontmatter section block? I  
haven't found a clear information about this.

I would like to set the page numbers to roman, but I would like to do this  
at an early setup stage, and not within the frontmatter with  
\setuplinenumbering. Is it possible?

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


Re: [NTG-context] core-bar in latest ConTeXt?

2006-03-26 Thread Hans Hagen
Gerben Wierda wrote:
 The automatic updated ConTeXt updater i-Package installs the new  
 ConTeXt on Mac OS X but while rebuilding the formats, complains:

 ! I can't find file `core-bar.tex'.
 l.299 \input core-bar.tex

 Please type another input file name:
 ! Emergency stop.
 l.299 \input core-bar.tex
   
i uploaded a zip with the missing file

Hans 

-
  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


[NTG-context] \setupmarginrules (was: Re: \page inside a block)

2006-03-26 Thread frantisek holop
hmm, on Fri, Mar 17, 2006 at 07:49:57PM +0100, Willi Egger said that
 Hi Frantisek
 
 The correct command is \setupmarginrules[rulethickness=2pt]. The option 
 is rulethickness and it takes a dimension.

i have tried this and it doesn't seem to work.

\defineparagraphs   [poem][n=2]
\setupparagraphs[poem][1][width=.25\textwidth]
\setupparagraphs[poem][2][rule=on]

\setupmarginrules   [rulethickness=5pt]

the rule in front of the 2nd column (poem[2]) still
has the default thickness.

-f
-- 
strength of mind: person who can eat one salted peanut.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setupmarginrules

2006-03-26 Thread Vit Zyka
frantisek holop wrote:
 hmm, on Fri, Mar 17, 2006 at 07:49:57PM +0100, Willi Egger said that
 
Hi Frantisek

The correct command is \setupmarginrules[rulethickness=2pt]. The option 
is rulethickness and it takes a dimension.
 
 
 i have tried this and it doesn't seem to work.
 
 \defineparagraphs   [poem][n=2]
 \setupparagraphs[poem][1][width=.25\textwidth]
 \setupparagraphs[poem][2][rule=on]
 
 \setupmarginrules   [rulethickness=5pt]

Hi,

this sets rules for margins. I guess the solution

\setupparagraphs[poem][2][rule=on,rulethickness=5pt]

Vit

 the rule in front of the 2nd column (poem[2]) still
 has the default thickness.
 
 -f
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] List of builtin TeX commands

2006-03-26 Thread Henning Hraban Ramm

Am 2006-03-25 um 14:36 schrieb Thomas A. Schmitz:
 Does that do what you want: http://www.tug.org/utilities/plain/ 
 cseq.html

Great! Perhaps not what the OP was looking for, but what I wanted for  
a long while!


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] Rows or columns on top in TABLE

2006-03-26 Thread Peter Rolf
Hi Johan,

Johan Sandblom wrote:
 Hello,
 
 the following creates a table with the even rows gray, but the lines
 between columns is only visible on the rows with no background. Is
 there a way to influence whether the row or column layouts are on top?
 
None that I know of.

The lines are part of the table cell, which means that a vertical line
between two columns is made of many small line segments. So the line is
printed, when the cell is printed (left to right, top to bottom).
Also when a cell is printed, it overlaps their left and top neighboar
cell a bit. I could imagine some reasons (printing/buggy viewer) for
this, but you better ask Hans.

An easy solution: use leftframe in the next column instead (as they are
not overdrawn) and use rightframe only for the last column.

Greets, Peter


 Regards, Johan
 
 \bTABLE
 \setupTABLE[frame=off]
 \setupTABLE[c][1,2][rightframe=on]
 \setupTABLE[row][even][background=color, backgroundcolor=gray]
 \bTR\bTD test\eTD\bTD test\eTD\eTR
 \bTR\bTD test\eTD\bTD test\eTD\eTR
 \bTR\bTD test\eTD\bTD test\eTD\eTR
 \eTABLE
 
 --
 Johan Sandblom  N8, MRC, Karolinska sjh
 t +46851776108  17176 Stockholm
 m +46735521477  Sweden
 What is wanted is not the will to believe, but the
 will to find out, which is the exact opposite
 - Bertrand Russell
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 
 

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


Re: [NTG-context] \setupmarginrules

2006-03-26 Thread frantisek holop
hmm, on Sun, Mar 26, 2006 at 10:12:01PM +0200, Vit Zyka said that
  \defineparagraphs   [poem][n=2]
  \setupparagraphs[poem][1][width=.25\textwidth]
  \setupparagraphs[poem][2][rule=on]
  
  \setupmarginrules   [rulethickness=5pt]
 
 this sets rules for margins. I guess the solution
 
 \setupparagraphs[poem][2][rule=on,rulethickness=5pt]

sorry, i forgot to add, that i tried this one also :)
seemed logical, but the result is the same.

-f
-- 
it is better to be hated than to be ignored.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Rows or columns on top in TABLE

2006-03-26 Thread Johan Sandblom
Perfect! I was sure I had tried that. I was locked into a vague
hypothesis concerning drawfill and filldraw operations, when I really
ought to have looked at the source.

Thank you, Johan

2006/3/26, Peter Rolf [EMAIL PROTECTED]:
 Hi Johan,

 Johan Sandblom wrote:
  Hello,
 
  the following creates a table with the even rows gray, but the lines
  between columns is only visible on the rows with no background. Is
  there a way to influence whether the row or column layouts are on top?
 
 None that I know of.

 The lines are part of the table cell, which means that a vertical line
 between two columns is made of many small line segments. So the line is
 printed, when the cell is printed (left to right, top to bottom).
 Also when a cell is printed, it overlaps their left and top neighboar
 cell a bit. I could imagine some reasons (printing/buggy viewer) for
 this, but you better ask Hans.

 An easy solution: use leftframe in the next column instead (as they are
 not overdrawn) and use rightframe only for the last column.

 Greets, Peter


  Regards, Johan
 
  \bTABLE
  \setupTABLE[frame=off]
  \setupTABLE[c][1,2][rightframe=on]
  \setupTABLE[row][even][background=color, backgroundcolor=gray]
  \bTR\bTD test\eTD\bTD test\eTD\eTR
  \bTR\bTD test\eTD\bTD test\eTD\eTR
  \bTR\bTD test\eTD\bTD test\eTD\eTR
  \eTABLE
 
  --
  Johan Sandblom  N8, MRC, Karolinska sjh
  t +46851776108  17176 Stockholm
  m +46735521477  Sweden
  What is wanted is not the will to believe, but the
  will to find out, which is the exact opposite
  - Bertrand Russell
  ___
  ntg-context mailing list
  ntg-context@ntg.nl
  http://www.ntg.nl/mailman/listinfo/ntg-context
 
 




--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] RFC: 'What would you like in an Text Editor?'

2006-03-26 Thread Jeffrey Drake
If you were going to use an editor for context usage (potentially
integrated into a Context suite), what features would you like from
it?

Especially interested in what features in regular editors are quite
useless to have around all the time. I tried the scite in the context
mswindows distro, and didn't find it the most visually appealing and
slightly cumbersome in configuration.

Regards,
Jeffrey Drake
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] RFC: 'What would you like in an Text Editor?'

2006-03-26 Thread John R. Culleton
On Sunday 26 March 2006 19:24, Jeffrey Drake wrote:
 If you were going to use an editor for context usage (potentially
 integrated into a Context suite), what features would you like from
 it?

 Especially interested in what features in regular editors are quite
 useless to have around all the time. I tried the scite in the context
 mswindows distro, and didn't find it the most visually appealing and
 slightly cumbersome in configuration.

 Regards,
 Jeffrey Drake
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context


Well basically I like the feature set of Gvim. For newbies I
recommend eVim, which is Gvim jammed in first gear.
-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf

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


Re: [NTG-context] RFC: 'What would you like in an Text Editor?'

2006-03-26 Thread Jeffrey Drake
I am talking about specific features for an editor I am thinking of
making. I have tried gvim before and am not very happy while using it.

On 3/26/06, John R. Culleton [EMAIL PROTECTED] wrote:
 On Sunday 26 March 2006 19:24, Jeffrey Drake wrote:
  If you were going to use an editor for context usage (potentially
  integrated into a Context suite), what features would you like from
  it?
 
  Especially interested in what features in regular editors are quite
  useless to have around all the time. I tried the scite in the context
  mswindows distro, and didn't find it the most visually appealing and
  slightly cumbersome in configuration.
 
  Regards,
  Jeffrey Drake
  ___
  ntg-context mailing list
  ntg-context@ntg.nl
  http://www.ntg.nl/mailman/listinfo/ntg-context


 Well basically I like the feature set of Gvim. For newbies I
 recommend eVim, which is Gvim jammed in first gear.
 --
 John Culleton
 Books with answers to marketing and publishing questions:
 http://wexfordpress.com/tex/shortlist.pdf

 Book coaches, consultants and packagers:
 http://wexfordpress.com/tex/packagers.pdf

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

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


[NTG-context] intertext for aligned equations

2006-03-26 Thread Aditya Mahajan
Hi,
  I was looking at trying to implement something similar to 
amsmath's intertext command. I can get the basic functionality working 
as follows.

\def\startintertext#1\stopintertext{%
 \noalign{#1}\NR}

\startformula \startalign
   \NC A_1 \NC= \left| \int_0^1 (x^2 - 3x)\, dx \right|
 + \left| \int_1^2 (x^2 -5x + 6)\, dx \right| \NR
   \startintertext
 Take limis of both integrals %\input tufte
   \stopintertext
   \NC \NC = \left| \frac{x^3}{3} - \frac{3}{2} x^2 \right|_0^1
 + \left| \frac {x ^3}{3} - 7 \frac{5}{2} x^2 + 6x \right|_1^2 \NR
 \NC \NC = \left| - \frac{7}{6} \right| + \left|\frac{14}{3} -
 \frac{23}{6}\right| = \frac{7}{6} + \frac{5}{6} = 2 \NR
\stopalign \stopformula

This seems to be working fine. However, \intertext defined in 
amsmath.sty seems to be doing  a lot more (I just can't figure out 
what it is doing?) Can someone suggest how to make the above command 
more robust on the lines of \intertext?

%- from amsmath.sty -
[EMAIL PROTECTED]
   \def\intertext##1{%
 [EMAIL PROTECTED]
 \noalign{%
   \penalty\postdisplaypenalty\vskip\belowdisplayskip
   \vbox{\normalbaselines
 \ifdim\linewidth=\columnwidth
 \else [EMAIL PROTECTED] [EMAIL PROTECTED] \linewidth
 \fi
 \noindent##1\par}%
   \penalty\predisplaypenalty\vskip\abovedisplayskip%
 }%
}}

Thanks,
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