[NTG-context] m-math

2004-03-04 Thread Nikolai Weibull
does the m-math module still exist?  has core-math changed too much for
m-math to catch up, or does a version exist somewhere that works with
the latest release of CONTEXT?
nikolai

--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Problem with \startitemize

2004-03-04 Thread Nikolai Weibull
I'm having a problem with \startitemize.  My code is

\startitemize[n,columns,four]
\item $ S \rightarrow ACaB$
\item $Ca \rightarrow aaC$
\item $CB \rightarrow DB$
\item $CB \rightarrow E$
\item $aD \rightarrow Da$
\item $AD \rightarrow AC$
\item $aE \rightarrow Ea$
\item $AE \rightarrow \epsilon$
\stopitemize

and for some reason the rest of the section and the next section
continues of the page that the above list is rendered upon.  It syncs up
on the following section, but it's kind of unacceptable as you may
have figured.

I have not tried to find a small example that reproduces this as I
figured I'd ask if this has happend anyone else before delving into a
debugging session (I really don't have the time necessary),
nikolai

P.S.
My first guess was that the math was messing it up somhow, but it fails
for simple A, B, C replacements for the above \item's.
D.S.

--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] another question about itemize

2004-03-04 Thread R. Ermers



HiContex'ers,

As we are considering itemize, does anyone by any 
chance know how to tackle this problem?

Kind regards,

Robert Ermers

As you know, the itemize blok can be stopped and 
resumed by means of [continue]:

\startitemize[n]
\item abc
\item def
\stopitemize

bla bla

\startitemize[continue]
\item ghijk
\item klmnop
\stopitemize

I wonder if it is possible to have an itemize block 
resumed,and have the numbers continue,if another set of items 
precedes the continuation. Like this:

\starttext

\section{Personalia}

\startitemize[n,packed,joinedup]\item 
name\item surname\item place of birth\stopitemize

\section{Fruits}

\startitemize[A]\item appel / apple\item 
peer / pear\item mango\item kersen / 
cherries\stopitemize

\section{Personalia cont.}

\startitemize[n,packed,joinedup]\item 
Sofi-nummer / social sec. number\item Huwelijksdatum /date of 
marriage\item Meisjesnaam moeder / maiden name 
mother\stopitemize

\stoptext


Re: [NTG-context] color in pdfTeX

2004-03-04 Thread pawcoo
On Wed, 3 Mar 2004, pawcoo wrote:


please, consider the following simple example of pdftex code:

\pdfliteral{0 1 0 0 k} % Magenta (ugly)
\hrule height 1pt
\hrule height 1.1pt
\end
The upper hairline remains black. What should I do to colorize thin
lines also?


Lines with width = 1 bp are stroked by pdftex, lines wider than that
are filled (procedure pdf_set_rule). Stroking CMYK color is set by K,
nonstroking by k, so you need both:
\pdfliteral{0 1 0 0 k}
\pdfliteral{0 1 0 0 K}
Thanks! That works. I'll dare to ask one more question. How to use 
colors in (some kind of) groups, meaning localy? In example, how to set 
some nice color for given object only (word, letter or rule)? Or should 
I always say something like

\pdfliteral{0 1 0 0 k}
 colorized text
\pdfliteral{0 0 0 1 k} % come back to black
Any clues?

Regards, Pawe/l
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] yet another question about itemize

2004-03-04 Thread Gary Pajer
I'll take this chance to point out a long-standing problem/misunderstanding
that's causing me some grief:


It seems to me that the 'before' and 'after' keywords used in the third
argument of \setupitemize are operative only if 'columns' are also
specified.  In the example below, the hairlines disappear if the 'columns'
keyword is eliminated.  [columns, one] almost does it, but the indentation
is
not as expected.

Feature, bug, or misunderstanding?

BTW:   can the lengths of the two hairlines in this example be made to be
the same length?  What's causing the indentation of the first hairline?

Regards,
Gary




\setupitemize[2][a,packed,columns][before={\hairline},after={\hairline}]
\setupitemize[1][n]

\starttext
\startitemize
%
\item Level One
%
\startitemize
\item first
\item second
\item third
\stopitemize
%
\item Forgot a level
%
\startitemize
\item one
\item two
\item three
\stopitemize
%
\item Level two
%
\startitemize
\item here's one
\item here's another
\item finally this
\stopitemize
%
\stopitemize
%
\stoptext


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] color in pdfTeX

2004-03-04 Thread Hartmut Henkel
On Thu, 4 Mar 2004, pawcoo wrote:

  Lines with width = 1 bp are stroked by pdftex, lines wider than that
  are filled (procedure pdf_set_rule). Stroking CMYK color is set by K,
  nonstroking by k, so you need both:

Note, forgot this: This only affects the \hrule and \vrule primitives.
When you do lines by literals, you are on your own...

  \pdfliteral{0 1 0 0 k}
  \pdfliteral{0 1 0 0 K}

 Thanks! That works. I'll dare to ask one more question. How to use
 colors in (some kind of) groups, meaning localy? In example, how to
 set some nice color for given object only (word, letter or rule)? Or
 should I always say something like

 \pdfliteral{0 1 0 0 k}
   colorized text
 \pdfliteral{0 0 0 1 k} % come back to black

Seems to be currently the only way. The \pdfliteral{} primitives are
done between two x/y transformations, so you can't use q/Q grouping.
And the \pdfliteral direct{} variant doesn't help either, as it comes
before BT, but also _before_ ET, so grouping would be broken also.
Probably something to consider for a change...

Regards, Hartmut
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] color in pdfTeX

2004-03-04 Thread pawcoo

\pdfliteral{0 1 0 0 k}
\pdfliteral{0 1 0 0 K}
Thanks! That works. I'll dare to ask one more question. How to use
colors in (some kind of) groups, meaning localy? In example, how to
set some nice color for given object only (word, letter or rule)? Or
should I always say something like
\pdfliteral{0 1 0 0 k}
 colorized text
\pdfliteral{0 0 0 1 k} % come back to black


Seems to be currently the only way. The \pdfliteral{} primitives are
done between two x/y transformations, so you can't use q/Q grouping.
And the \pdfliteral direct{} variant doesn't help either, as it comes
before BT, but also _before_ ET, so grouping would be broken also.
Probably something to consider for a change...
Regards, Hartmut
Ok. That doesn't hurt since I know, that there is no smarter way :-P
Thank You for help.
Pawe/l
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context