Re: [NTG-context] Columnspan in tabulate

2008-09-08 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 12:01 PM, Wolfgang Schuster
<[EMAIL PROTECTED]> wrote:
> On Mon, Sep 8, 2008 at 11:50 AM, Hans Hagen <[EMAIL PROTECTED]> wrote:
>> Wolfgang Schuster wrote:
>>> Hi,
>>>
>>> is it possible to support columnspan in tabulate.
>>>
>>> \def\tabulateuse#1%
>>>   {\dorecurse{\numexpr2*#1-1\relax}{\span}}
>>>
>>> \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands]
>>>
>>> \starttext
>>>
>>> \starttable[|l|l|l|l|]
>>> \NC a \NC b \NC c \NC d \AR
>>> \NC 1 \NC \TWO 2  \NC 4 \AR
>>> \stoptable
>>>
>>> \starttabulate[|l|Bl|l|l|]
>>> \NC a \NC b \NC c \NC d \NR
>>> \NC 1 \NC 2 \TWO  \NC 4 \NR
>>> \stoptabulate
>>>
>>> \stoptext
>>
>> them more something like ...
>>
>> \def\tabulateuse#1{\dorecurse{\numexpr2*#1-1\relax}{\span\omit}}
>>
>> \appendtoks
>> \let\use\tabulateuse
>> \defineTABLEshorthands
>> \to \everytabulate
>>
>> \starttext
>>
>> \starttabulate[|l|Br|l|l|]
>> \NC a \NC b \NC c \NC d \NR
>> \NC 1 \NC 2 \TWO  \NC 4 \NR
>> \stoptabulate
>>
>> i have no problem with adding such a feature, but you have to write down
>> a 'limited use' entry in the wiki then since it will not work with p entries
>
> No problem for me, I need it only in single row entries.

Could we say I never wrote this, I saw yesterday I need p columns in my tables
and the current tabulause command did not work but the following solution did
what I want.

\def\tabulateuse#1%
  {\dorecurse{\numexpr2*#1-1\relax}{\span\omit}\raggedright\ignorespaces}

\appendtoks
\let\use\tabulateuse
\defineTABLEshorthands
\to \everytabulate

\starttext

\starttabulate[|p(4cm)|p(4cm)|p(6cm)|]
\NC \dorecurse{10}{text } \NC \dorecurse{8}{text } \NC
\dorecurse{18}{text } \NC\NR
\NC \TWO Short text spanning two tabulate paragraphs. \NC
\dorecurse{22}{text } \NC\NR
\stoptabulate

\stoptext

I have to set the width for each colum but I could now use p columns.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \bTABLE and \chemical

2008-09-08 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 6:38 PM, Alan BRASLAU <[EMAIL PROTECTED]> wrote:
> I have not understood how tables and \chemical interact.
> The second case in the minimal example below
> demonstrates unexpected/incorrect centering
> when using \chemical and \bTABLE.
> Am I missing something?
>
> Thanks.
>
> Alan
>
> \starttext
> \usemodule[chemic]
> \setupchemical[size=small,scale=200,width=fit,frame=off]
>
> \starttable[|c|]
>\HL
>\VL chemical formula \VL\AR
>\HL
>\VL
>\startchemical
>\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
>\stopchemical
>\VL\LR
>\HL
> \stoptable
> \blank[line]
>
> \setupTABLE[c][1][align={middle,lohi}]
> \bTABLE
> \bTR
>\bTD
>chemical formula
>\eTD
> \eTR
> \bTR
>\bTD
>\startchemical

\dontleavehmode\startchemical

>\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
>\stopchemical
>\eTD
> \eTR
> \eTABLE
>
> \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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \language[de] ?

2008-09-08 Thread Henning Hraban Ramm
Am 2008-09-08 um 15:32 schrieb Wolfgang Schuster:
> How old is your TeX installation, the name of the binary is now pdftex
> and no longer pdfetex
>
>> \language[de]
>
> Use \mainlanguage[de], \language is just for local switches.

And please read http://wiki.contextgarden.net/Second_Step

>> I'm using ConTeXt version 2003.9.25 (fmt 2004.8.31) -
>> rather old, I know, but I don't believe that this might
>> be the source of my problem since the manual is
>> older ...

You won't get far with that oldtimer.


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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lilypond module

2008-09-08 Thread Henning Hraban Ramm
Am 2008-09-07 um 17:41 schrieb Mojca Miklavec:
>> Temporary solution:
> Can you please update the module on the garden? (All my mails used to
> bounce from you, and you have the rights to update the module.) It
> then automatically propagates to TeX Live.


I removed the last anti-spam setting of my mail server that could  
cause bouncing, as far as I understand.

New version of the LilyPond module is in the garden:
http://modules.contextgarden.net/module/detail?name=t-lilypond

I even finally managed to compile the documentation, that seems to  
depend from exactly right copyright lines...

BTW "context --module" still doesn't work.

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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] sometxt in mkiv

2008-09-08 Thread Thomas A. Schmitz

On Sep 8, 2008, at 11:26 AM, Hans Hagen wrote:

> indeed; this is a side effect of xetex being opentype and mp only able
> to deal with 8 bit fonts; in mkiv mp never sees any text (not een the
> btex .. etex which is replaced by by textext before the mp code is
> passed to mp); that's why in mkiv your text is a matter of the current
> run (inlcuding fotn settings and such, i.e. no need to pass anything  
> to
> MPenvironment either)
>

Ah OK, thanks for the explanation. This will make it quite hard to  
support XeTeX. I'll have to look for a sane way to default to lm, then.

> concerning your module ... you can have a mymodule.mkiv alongside
> mymodule.tex if needed

At least for the font setup, I have long runs of \beginXETEX,  
\beginLUATEX and \beginOLDTEX, that was enough for now.

Best

Thomas
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \bTABLE and \chemical

2008-09-08 Thread Alan BRASLAU
I have not understood how tables and \chemical interact.
The second case in the minimal example below
demonstrates unexpected/incorrect centering
when using \chemical and \bTABLE.
Am I missing something?

Thanks.

Alan

\starttext
\usemodule[chemic]
\setupchemical[size=small,scale=200,width=fit,frame=off]

\starttable[|c|]
\HL
\VL chemical formula \VL\AR
\HL
\VL
\startchemical
\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
\stopchemical
\VL\LR
\HL
\stoptable
\blank[line]

\setupTABLE[c][1][align={middle,lohi}]
\bTABLE
\bTR
\bTD
chemical formula
\eTD
\eTR
\bTR
\bTD
\startchemical
\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
\stopchemical
\eTD
\eTR
\eTABLE

\stoptext
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rows and columns in TABLE

2008-09-08 Thread Peter Münster
Now I would like to adjust the height of each row. But I manage to get the
desired result only with a seventh fake column. Consider this example with
and without the mode "seven":

%\enablemode[seven]
\starttext
\setupTABLE[r][2,3,4,5,6,7][height=6ex]
\bTABLE[width=0.125\textwidth]
\bTR
\bTH 1. col\eTH
\bTH 2. col\eTH
\bTH 3. col\eTH
\bTH 4. col\eTH
\bTH 5. col\eTH
\bTH 6. col\eTH
\doifmode{seven}{\bTH 7. col\eTH}
\eTR
\bTR
\bTD[nr=6]6 rows in 1. col\eTD
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=6]6 rows in 3. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD 1 row in 5. col\eTD
\bTD[nr=2]2 rows in 6. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD[nr=2] 2 rows in 5. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD[nr=4]4 rows in 6. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD[nr=2] 2 rows in 5. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\bTR
\bTD 1 row in 5. col\eTD
\doifmode{seven}{\bTD\eTD}
\eTR
\eTABLE
\stoptext

Any hints, you to adjust the heights without fake column?

TIA for any help!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rows and columns in TABLE

2008-09-08 Thread Peter Münster
On Mon, Sep 08 2008, Wolfgang Schuster wrote:

> You should use pen and paper to contruct the table, it helps.

In fact, that's what I did. But now I understand better the logic how the
rows must be defined. Thanks for your help!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rows and columns in TABLE

2008-09-08 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 4:10 PM, Peter Münster <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Could you help me please? I don't get the desired result, 3 columns are
> added:
>
> \starttext
> \setupTABLE[width=\dimexpr \textwidth / 8 \relax]
> \bTABLE
> \bTR
> \bTH 1. col\eTH
> \bTH 2. col\eTH
> \bTH 3. col\eTH
> \bTH 4. col\eTH
> \bTH 5. col\eTH
> \bTH 6. col\eTH
> \eTR
> \bTR
> \bTD[nr=6]6 rows in 1. col\eTD
> \bTD[nr=2]2 rows in 2. col\eTD
> \bTD[nr=6]6 rows in 3. col\eTD
> \bTD[nr=2]2 rows in 4. col\eTD
> \bTD 1 row in 5. col\eTD
> \bTD[nr=2]2 rows in 6. col\eTD
> \eTR
> \bTR
> \bTD[nr=2]2 rows in 2. col\eTD
> \bTD[nr=2]2 rows in 4. col\eTD
> \bTD[nr=2]2 rows in 5. col\eTD
> \bTD[nr=4]4 rows in 6. col\eTD
> \eTR
> \bTR
> \bTD[nr=2]2 rows in 2. col\eTD
> \bTD[nr=2]2 rows in 4. col\eTD
> \bTD[nr=2]2 rows in 5. col\eTD
> \eTR
> \bTR
> \bTD 1 row in 5. col\eTD
> \eTR
> \eTABLE
> \stoptext
>
> Thanks in advance for any advice!
> Cheers, Peter

You should use pen and paper to contruct the table, it helps.

\starttext
\bTABLE[width=0.125\textwidth]
\bTR
\bTH 1. col\eTH
\bTH 2. col\eTH
\bTH 3. col\eTH
\bTH 4. col\eTH
\bTH 5. col\eTH
\bTH 6. col\eTH
\eTR
\bTR
\bTD[nr=6]6 rows in 1. col\eTD
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=6]6 rows in 3. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD 1 row in 5. col\eTD
\bTD[nr=2]2 rows in 6. col\eTD
\eTR
\bTR
\bTD[nr=2] 2 rows in 5. col\eTD
\eTR
\bTR
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD[nr=4]4 rows in 6. col\eTD
\eTR
\bTR
\bTD[nr=2] 2 rows in 5. col\eTD
\eTR
\bTR
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\eTR
\bTR
\bTD 1 row in 5. col\eTD
\eTR
\eTABLE
\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] rows and columns in TABLE

2008-09-08 Thread Peter Münster
Hello,

Could you help me please? I don't get the desired result, 3 columns are
added:

\starttext
\setupTABLE[width=\dimexpr \textwidth / 8 \relax]
\bTABLE
\bTR
\bTH 1. col\eTH
\bTH 2. col\eTH
\bTH 3. col\eTH
\bTH 4. col\eTH
\bTH 5. col\eTH
\bTH 6. col\eTH
\eTR
\bTR
\bTD[nr=6]6 rows in 1. col\eTD
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=6]6 rows in 3. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD 1 row in 5. col\eTD
\bTD[nr=2]2 rows in 6. col\eTD
\eTR
\bTR
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD[nr=2]2 rows in 5. col\eTD
\bTD[nr=4]4 rows in 6. col\eTD
\eTR
\bTR
\bTD[nr=2]2 rows in 2. col\eTD
\bTD[nr=2]2 rows in 4. col\eTD
\bTD[nr=2]2 rows in 5. col\eTD
\eTR
\bTR
\bTD 1 row in 5. col\eTD
\eTR
\eTABLE
\stoptext

Thanks in advance for any advice!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \language[de] ?

2008-09-08 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 2:04 PM, Goebel, Juergen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Doing my first steps with ConTeXt (after about ten years
> experience with LaTeX) I was running into the following
> problem.
>
> Running the enclosed example I got still the english
> version (as can be seen in the 'Contents'-title of the
> TOC).
>
> % language=de tex=pdfetex output=pdftex

How old is your TeX installation, the name of the binary is now pdftex
and no longer pdfetex

> \language[de]

Use \mainlanguage[de], \language is just for local switches.

> \starttext
> \completecontent
> Test äöü
> \stoptext
>
> I'm using ConTeXt version 2003.9.25 (fmt 2004.8.31) -
> rather old, I know, but I don't believe that this might
> be the source of my problem since the manual is
> older ...

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] button question

2008-09-08 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 2:39 PM, Alan Stone
<[EMAIL PROTECTED]> wrote:
> >From setup-en.pdf ...
>
> What is \nextSECTION ?

Nothing for users, use \setupheadnumber instead.

\starttext
\section{One}
\getvalue{nextsection-3}
\section{Three}
\stoptext

\starttext
\section{One}
\setupheadnumber[section][+1]
\section{Three}
\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] button question

2008-09-08 Thread Alan Stone
>From setup-en.pdf ...

What is \nextSECTION ?

Best,
Alan

On Mon, Sep 8, 2008 at 2:06 PM, Alan Stone
<[EMAIL PROTECTED]> wrote:
>> not available currently
>
> Another feature request.
>
> Best,
> Alan
>
> On Mon, Sep 8, 2008 at 1:37 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:
>> Alan Stone wrote:
>>> On Fri, Sep 5, 2008 at 9:20 AM, Alan Stone
>>> <[EMAIL PROTECTED]> wrote:
 Which ref in \button{text}[ref,ref,...] ( or \interactionbuttons )
 allows to jump to the previous/next chapter ?
>>>
>>> Is this (currently) possible ?
>>
>> not available currently
>



-- 
Best,
Alan

* using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int:
english/english (on Windows XP)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Greek letters in math with XeTeX

2008-09-08 Thread Hans Hagen
Flavien Lambert wrote:
> Just to understand a bit more : signs like equal are printed inside math
> environment with GFS Didot thanks to \definetypeface[myface][rm][Xserif][GFS
> Didot]. Since GFS Didot ,as a greek font has greek letters, why are these
> glyphs not used ? I suppose that when greek people are using directly alpha
> as a letter (not \alpha), it should take into account the GFS Didot font,
> shouldn' it ?

it's more complex than that ... tex organizes math characters in 
families and = and alpha are in different slots there

greek alpha letter is (in mkiv) directly accessing the right glyph in 
the font; in mkiv mode it cna be either direct access, or fallback on 
math or ...

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] button question

2008-09-08 Thread Alan Stone
> not available currently

Another feature request.

Best,
Alan

On Mon, Sep 8, 2008 at 1:37 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Alan Stone wrote:
>> On Fri, Sep 5, 2008 at 9:20 AM, Alan Stone
>> <[EMAIL PROTECTED]> wrote:
>>> Which ref in \button{text}[ref,ref,...] ( or \interactionbuttons )
>>> allows to jump to the previous/next chapter ?
>>
>> Is this (currently) possible ?
>
> not available currently
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \language[de] ?

2008-09-08 Thread Goebel, Juergen
Hi,

Doing my first steps with ConTeXt (after about ten years
experience with LaTeX) I was running into the following
problem.

Running the enclosed example I got still the english
version (as can be seen in the 'Contents'-title of the
TOC).

% language=de tex=pdfetex output=pdftex
\language[de]
\starttext
\completecontent
Test äöü
\stoptext

I'm using ConTeXt version 2003.9.25 (fmt 2004.8.31) - 
rather old, I know, but I don't believe that this might
be the source of my problem since the manual is
older ...

Regards,

Jürgen
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] colors questions

2008-09-08 Thread Alan Stone
> indeed, just a compare of the reference page with the current page; no
> spans

That's a feature request then. Samewise for interaction buttons.

Thanks,
Alan

On Mon, Sep 8, 2008 at 1:37 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Alan Stone wrote:
>> Thanks Hans.
>>
>> Still about setupinteraction's "contrastcolor".
>>
>> In an interactionmenu, how do you maintain an item's color to
>> "contrastcolor" when the corresponding section spans over more than
>> one screen/page ? It switches back to "color" after the first
>> screen/page.
>
> indeed, just a compare of the reference page with the current page; no
> spans
>
> Hans
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] button question

2008-09-08 Thread Hans Hagen
Alan Stone wrote:
> On Fri, Sep 5, 2008 at 9:20 AM, Alan Stone
> <[EMAIL PROTECTED]> wrote:
>> Which ref in \button{text}[ref,ref,...] ( or \interactionbuttons )
>> allows to jump to the previous/next chapter ?
> 
> Is this (currently) possible ?

not available currently

-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] colors questions

2008-09-08 Thread Hans Hagen
Alan Stone wrote:
> Thanks Hans.
> 
> Still about setupinteraction's "contrastcolor".
> 
> In an interactionmenu, how do you maintain an item's color to
> "contrastcolor" when the corresponding section spans over more than
> one screen/page ? It switches back to "color" after the first
> screen/page.

indeed, just a compare of the reference page with the current page; no 
spans

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Greek letters in math with XeTeX

2008-09-08 Thread Flavien Lambert
Just to understand a bit more : signs like equal are printed inside math
environment with GFS Didot thanks to \definetypeface[myface][rm][Xserif][GFS
Didot]. Since GFS Didot ,as a greek font has greek letters, why are these
glyphs not used ? I suppose that when greek people are using directly alpha
as a letter (not \alpha), it should take into account the GFS Didot font,
shouldn' it ?


>
> No time for complete answer, but you need to define the whole
> [math][GFS Didot] repertoaire first. This has no effect until you
> define one.
>
> Someone needs to write "Unicode math support" for mkii, or you need to
> make your own virtual font.
>
> See this file for example:
>http://source.contextgarden.net/math-lbr.tex
> in a similar way that would need to be done for general typefaces without
> math.
>
> You might then be able to say something like
>\definetypeface[myface][mm][Xmath][GFS Didot], though I'm 100%
> sure that people would then start complaining very soon that they
> either:
> - want other math characters in their favorite font as well (like
> plus, minus, brackets, ...), not only Greek letters
> - complain that they don't get any symbol (no font has them all)
>
> Mojca
>
> ___
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>



-- 
Flavien.

"Quantum objects are completely crazy but, at least, they are all crazy in
the same way." R.P. Feynman.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Columnspan in tabulate

2008-09-08 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 11:50 AM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Wolfgang Schuster wrote:
>> Hi,
>>
>> is it possible to support columnspan in tabulate.
>>
>> \def\tabulateuse#1%
>>   {\dorecurse{\numexpr2*#1-1\relax}{\span}}
>>
>> \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands]
>>
>> \starttext
>>
>> \starttable[|l|l|l|l|]
>> \NC a \NC b \NC c \NC d \AR
>> \NC 1 \NC \TWO 2  \NC 4 \AR
>> \stoptable
>>
>> \starttabulate[|l|Bl|l|l|]
>> \NC a \NC b \NC c \NC d \NR
>> \NC 1 \NC 2 \TWO  \NC 4 \NR
>> \stoptabulate
>>
>> \stoptext
>
> them more something like ...
>
> \def\tabulateuse#1{\dorecurse{\numexpr2*#1-1\relax}{\span\omit}}
>
> \appendtoks
> \let\use\tabulateuse
> \defineTABLEshorthands
> \to \everytabulate
>
> \starttext
>
> \starttabulate[|l|Br|l|l|]
> \NC a \NC b \NC c \NC d \NR
> \NC 1 \NC 2 \TWO  \NC 4 \NR
> \stoptabulate
>
> i have no problem with adding such a feature, but you have to write down
> a 'limited use' entry in the wiki then since it will not work with p entries

No problem for me, I need it only in single row entries.

> has to be tested anyway

I will do this.

Thanks and regards,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] button question

2008-09-08 Thread Alan Stone
On Fri, Sep 5, 2008 at 9:20 AM, Alan Stone
<[EMAIL PROTECTED]> wrote:
> Which ref in \button{text}[ref,ref,...] ( or \interactionbuttons )
> allows to jump to the previous/next chapter ?

Is this (currently) possible ?

-- 
Best,
Alan

* using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int:
english/english (on Windows XP)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] colors questions

2008-09-08 Thread Alan Stone
Thanks Hans.

Still about setupinteraction's "contrastcolor".

In an interactionmenu, how do you maintain an item's color to
"contrastcolor" when the corresponding section spans over more than
one screen/page ? It switches back to "color" after the first
screen/page.


On Mon, Sep 8, 2008 at 11:30 AM, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Alan Stone wrote:
>> Source: texshow
>>
>> (1) \setupinteraction
>> color  name
>> contrastcolor  name
>>
>> How do you set the setupinteraction contrastcolor background color ?
>
> hm, there is no interactionbackgroundcolor (maybe some day in mkiv when
> i've redone hyperlinks)
>
>> (2) \defineinteractionmenu, \setupinteractionmenu, \interactionbuttons
>>
>> color   name
>> background screen color none foreground name
>> backgroundcolor  name
>> foregroundcolorname
>>
>> (2.1) What is "background="
>>
>> - screen ?
>
> grayscale
>
>> - color ?
>
> color
>
>> - foreground ?
>
> color of content (like text)
>
>> (2.2) What's the difference between
>>
>> - "color" and "foregroundcolor" ?
>
> foregroundcolor is somewhat special in the sense that it applies to the
> 'framed' content; in mkiv we use whatsits to track color and using
> colors around your boxed content might interfere so therefore we have
> this special less interfering foregroundcolor; in mkiv this interference
> is gone (by design)
>
>> - background=name and backgroundcolor=name ?
>
> background={somecolorname,somebackgroundthing,somemore)
>
> i.e. can be a sequence of things to be applied (just grep for
> background= in the s-*.tex files)
>
> Hans
>
> (keep in mind that tex itself has no concept of color, nor of backgrounds)




-- 
Best,
Alan

* using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int:
english/english (on Windows XP)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Feature request for itemize

2008-09-08 Thread Hans Hagen
Wolfgang Schuster wrote:
> Hi,
> 
> I want to use subitems without entries in the first level
> (only the number should be incremented).

ok, added but slightly different implementation


-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Columnspan in tabulate

2008-09-08 Thread Hans Hagen
Wolfgang Schuster wrote:
> Hi,
> 
> is it possible to support columnspan in tabulate.
> 
> \def\tabulateuse#1%
>   {\dorecurse{\numexpr2*#1-1\relax}{\span}}
> 
> \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands]
> 
> \starttext
> 
> \starttable[|l|l|l|l|]
> \NC a \NC b \NC c \NC d \AR
> \NC 1 \NC \TWO 2  \NC 4 \AR
> \stoptable
> 
> \starttabulate[|l|Bl|l|l|]
> \NC a \NC b \NC c \NC d \NR
> \NC 1 \NC 2 \TWO  \NC 4 \NR
> \stoptabulate
> 
> \stoptext

them more something like ...

\def\tabulateuse#1{\dorecurse{\numexpr2*#1-1\relax}{\span\omit}}

\appendtoks
 \let\use\tabulateuse
 \defineTABLEshorthands
\to \everytabulate

\starttext

\starttabulate[|l|Br|l|l|]
\NC a \NC b \NC c \NC d \NR
\NC 1 \NC 2 \TWO  \NC 4 \NR
\stoptabulate

i have no problem with adding such a feature, but you have to write down 
a 'limited use' entry in the wiki then since it will not work with p entries

has to be tested anyway


-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lucida again

2008-09-08 Thread Yue Wang
Hi Hans:

>
> mkiv automatically uses the afm files (only uses tfm for fonts that have
> no afm or are seen as kind of special)
>

Well, I aware.. but my question is:
can we use the definition in type-buy.tex directly without any manual
verbose typescript definition if we use afms instead of tfms? how?

Yue Wang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] The windows minimal exe installer

2008-09-08 Thread Hans Hagen
Taco Hoekwater wrote:
> 
> Yue Wang wrote:
>> This is MetaPost, version 1.091 (kpathsea version 3.5.7)
>> (./a-mpgraph.mp
 a-mpgraph.mp
 a-mpgraph.mpx
>> ! Unable to make mpx file.
> 
> The question is: how much of mpware is needed by texexec --mptex.
> I assume that just dvitomp is enough, but I am not sure?

i should cook up a mkiv based mechanism ... just create a tex wrapper 
and then run mkiv on it ... remind me after a week or so

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] colors questions

2008-09-08 Thread Hans Hagen
Alan Stone wrote:
> Source: texshow
> 
> (1) \setupinteraction
> color  name
> contrastcolor  name
> 
> How do you set the setupinteraction contrastcolor background color ?

hm, there is no interactionbackgroundcolor (maybe some day in mkiv when 
i've redone hyperlinks)

> (2) \defineinteractionmenu, \setupinteractionmenu, \interactionbuttons
> 
> color   name
> background screen color none foreground name
> backgroundcolor  name
> foregroundcolorname
> 
> (2.1) What is "background="
> 
> - screen ?

grayscale

> - color ?

color

> - foreground ?

color of content (like text)

> (2.2) What's the difference between
> 
> - "color" and "foregroundcolor" ?

foregroundcolor is somewhat special in the sense that it applies to the 
'framed' content; in mkiv we use whatsits to track color and using 
colors around your boxed content might interfere so therefore we have 
this special less interfering foregroundcolor; in mkiv this interference 
is gone (by design)

> - background=name and backgroundcolor=name ?

background={somecolorname,somebackgroundthing,somemore)

i.e. can be a sequence of things to be applied (just grep for 
background= in the s-*.tex files)

Hans

(keep in mind that tex itself has no concept of color, nor of backgrounds)


-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] The windows minimal exe installer

2008-09-08 Thread Taco Hoekwater


Yue Wang wrote:
> This is MetaPost, version 1.091 (kpathsea version 3.5.7)
> (./a-mpgraph.mp
>>> a-mpgraph.mp
>>> a-mpgraph.mpx
> ! Unable to make mpx file.

The question is: how much of mpware is needed by texexec --mptex.
I assume that just dvitomp is enough, but I am not sure?

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] sometxt in mkiv

2008-09-08 Thread Hans Hagen
Thomas A. Schmitz wrote:

> thanks for your responses. I was aware that you can use textext  
> (that's what I do right now), but was under the impression that  
> sometxt was the way to go (faster and more flexible). Now I'm  
> confused :-)  I was asking because I was working on my presentation  

both mkiv and sometxt use some box trickery which keeps the tex 
processing completely inside the tex engine (only refs and dimensions 
are passed); in order to deal with loopt, we introduced the TeXtext 
trick but it' sno longer needed

there is still \sometxt but it's just a shortcut to a predefined 
commando (e.g. framed) which can be handy sometimes

> module. One of the metapost graphics for picture inclusion seems to  
> give problems when run under XeTeX, so I was wondering if I could  
> replace it with the clever sometxt mechanism Mojca mentions in her  
> MyWay. But then I saw that this doesn't work in mkiv... I find XeTeX  
> very hard to support in my module. I don't use it myself, I find fonts  

then just don't support it and assume mkiv usage

> deeply baffling (I still got the darned "mktextfm lmtypewriter- 
> blablabla" message a zillion times, and there is no way to stop a  
> XeTeX run; I still had to explicitly disable MKTEXTFM in texmf.cnf in  
> TeXLive 2008), so I'm considering just giving it up and tell people to  
> use mkiv instead.

indeed; this is a side effect of xetex being opentype and mp only able 
to deal with 8 bit fonts; in mkiv mp never sees any text (not een the 
btex .. etex which is replaced by by textext before the mp code is 
passed to mp); that's why in mkiv your text is a matter of the current 
run (inlcuding fotn settings and such, i.e. no need to pass anything to 
MPenvironment either)

concerning your module ... you can have a mymodule.mkiv alongside 
mymodule.tex if needed

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] The windows minimal exe installer

2008-09-08 Thread Patrick Gundlach
Hi,

> btw, I mailed a bug report to [EMAIL PROTECTED] one week
> ago, but it seems that no one received it:(

This is true, at that time there was almost nobody from the
distribution team on the list.

http://lists.launchpad.net/context/msg0.html

My reply didn't reach you since you were also not subscribed (which I
didn't realize at that time).

So: http://lists.launchpad.net/context/msg1.html

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] The windows minimal exe installer

2008-09-08 Thread Yue Wang
Hi, Taco:

>
> That is probably the new MPlib based metapost that no longer needs
> the external helper programs. The metapost version should be higher
> than 1.005 if this is the case.

I know that in your tug presentation.
However:

systems : system commands are enabled
systems : begin file a-mpgraph-temp at line 42
fonts   : resetting map file list
fonts   : using map file: original-base
fonts   : using map file: original-ams-base
fonts   : using map file: original-public-lm
fonts   : using map file: lm-ec
fonts   : using map file: lm-math
fonts   : using map file: lm-rm
fonts   : using map file: 8r-base
fonts   : using map file: ec-base
fonts   : using map file: t5-base
fonts   : using map file: original-ams-euler
[1.1]
systems : end file a-mpgraph-temp at line 52
 )
Output written on a-mpgraph-temp.dvi (1 page, 268 bytes).
Transcript written on a-mpgraph-temp.log.
TeXExec | runtime: 0.14878
This is MetaPost, version 1.091 (kpathsea version 3.5.7)
(./a-mpgraph.mp
>> a-mpgraph.mp
>> a-mpgraph.mpx
! Unable to make mpx file.
l.146 draw btex
 this string will become a sequence of glyphs (\TeX ) etex
Transcript written on a-mpgraph.log.
TeXExec | runtime: 0.192842
TeXUtil | parsing file a.tui
TeXUtil | shortcuts : 169
TeXUtil | expansions: 308
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 20
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.451409

[EMAIL PROTECTED]:~$ cat a.tex
\starttext
\startuseMPgraphic{dummy}
%simple sample from metafun manual
draw btex this string will become a sequence of glyphs (\TeX) etex ;
\stopuseMPgraphic
\useMPgraphic{dummy}
\stoptext


[EMAIL PROTECTED]:~$ mpost --version

MetaPost 1.091
Copyright 2008 AT&T Bell Laboratories.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the MetaPost copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the MetaPost source.
Primary author of MetaPost: John Hobby.
Current maintainer of MetaPost: Taco Hoekwater.

I updated my context minimals an hour ago.

Yue Wang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] colors questions

2008-09-08 Thread Alan Stone
Source: texshow

(1) \setupinteraction
color  name
contrastcolor  name

How do you set the setupinteraction contrastcolor background color ?

(2) \defineinteractionmenu, \setupinteractionmenu, \interactionbuttons

color   name
background screen color none foreground name
backgroundcolor  name
foregroundcolorname

(2.1) What is "background="

- screen ?

- color ?

- foreground ?

(2.2) What's the difference between

- "color" and "foregroundcolor" ?

- background=name and backgroundcolor=name ?

- how do you set a, or override (1)'s, selected item background color ?

-- 
Best,
Alan

* using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int:
english/english (on Windows XP)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] sometxt in mkiv

2008-09-08 Thread Thomas A. Schmitz

On Sep 7, 2008, at 9:42 PM, Mojca Miklavec wrote:

> Honestly, I don't think that we need this exact functionality. In mkiv
> textext works perfectly well to achieve the same goal, you don't
> really need \sometxt or \TeXtext. The only question is: do we care
> about backward compatibility? I can also remove the example from MyWay
> or write that it's a bit obscure. It really is an obscure application.
>
> OK, I just neglected the fact that I do use that in the gnuplot module
> (which is not mkiv ready for two tiny and obscure reasons that could
> be fixed long ago). In case that I won't be drawing the graphs for
> thesis in excell, I'll try to fix the module. I don't think that any
> other sane person uses \TeXtext. (I don't, and module should be fixed
> anyway.)
>
> Mojca

Mojca, Aditya,

thanks for your responses. I was aware that you can use textext  
(that's what I do right now), but was under the impression that  
sometxt was the way to go (faster and more flexible). Now I'm  
confused :-)  I was asking because I was working on my presentation  
module. One of the metapost graphics for picture inclusion seems to  
give problems when run under XeTeX, so I was wondering if I could  
replace it with the clever sometxt mechanism Mojca mentions in her  
MyWay. But then I saw that this doesn't work in mkiv... I find XeTeX  
very hard to support in my module. I don't use it myself, I find fonts  
deeply baffling (I still got the darned "mktextfm lmtypewriter- 
blablabla" message a zillion times, and there is no way to stop a  
XeTeX run; I still had to explicitly disable MKTEXTFM in texmf.cnf in  
TeXLive 2008), so I'm considering just giving it up and tell people to  
use mkiv instead.

Mojca: I appreciate you write "any other sane person" and not "any  
sane person" :-)

All best

Thomas
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] sometxt in mkiv

2008-09-08 Thread Hans Hagen
Mojca Miklavec wrote:
> On Sat, Sep 6, 2008 at 1:15 PM, Thomas A. Schmitz wrote:
>> Hi all,
>>
>> I was just wondering if this is a bug or if it's something that still
>> needs to be implemented: the example on p. 10 of Mojca's sometxt MyWay
>> works in mkii, yet in mkiv, it doesn't:
>>
>> \starttext
>> \startTeXtexts
>> \dorecurse{12}{\TeXtext{\recurselevel}{\recurselevel}}
>> \stopTeXtexts
>>
>> \startMPcode
>> numeric r; r = 1.5cm;
>> draw fullcircle scaled 2r;
>> for i=1 upto 12:
>> draw (origin--down) scaled 4pt shifted (0,r) rotated -30i;
>> label(sometxt(i), up scaled .75r rotated -30i);
>> endfor;
>> \stopMPcode
>> \stoptext
>>
>> in mkiv, I get no labels and the somewhat cryptic sentence "[do we
>> need TeXtexts in MkIV]" on my pdf. Anybody able to answer this or my
>> question?
> 
> Honestly, I don't think that we need this exact functionality. In mkiv
> textext works perfectly well to achieve the same goal, you don't
> really need \sometxt or \TeXtext. The only question is: do we care
> about backward compatibility? I can also remove the example from MyWay
> or write that it's a bit obscure. It really is an obscure application.
> 
> OK, I just neglected the fact that I do use that in the gnuplot module
> (which is not mkiv ready for two tiny and obscure reasons that could
> be fixed long ago). In case that I won't be drawing the graphs for
> thesis in excell, I'll try to fix the module. I don't think that any
> other sane person uses \TeXtext. (I don't, and module should be fixed
> anyway.)

i didn't implement TeXtext in mkiv because it was an kind of hack needed 
to deal with many labels (either or not in loops) in a fast and 
efficient way (as needed by gnuplot); as mojca mentioned, this is no 
longer an issue, so i'd rather avoid introducing this hack again

-
   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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lucida again

2008-09-08 Thread Hans Hagen
Yue Wang wrote:
> I  already mailed the tfms to the mailing list month ago~ but I dont
> know how to upload it to the garden:( pls tell me how.
> 
> (In fact, the tfms works in both MKIV and MKII, however, I think in
> MKIV we can use the afms and pfbs shipped by TUG directly.
> Maybe Hans can modify the type-buy.tex so that there will be no tfms
> and map files needed.)

mkiv automatically uses the afm files (only uses tfm for fonts that have 
no afm or are seen as kind of special)

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt and TeXlive 2008

2008-09-08 Thread Matija Šuklje
Dne ponedeljek 8. septembra 2008 je Taco Hoekwater napisal(a):
> Matija Šuklje wrote:
> > So, which ConTeXt version *is* in TeXLive 2008 then?
>
> Version 2008.05.21

Thank you. :)


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje
GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278


signature.asc
Description: This is a digitally signed message part.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Greek letters in math with XeTeX

2008-09-08 Thread Hans Hagen
Aditya Mahajan wrote:
> On Mon, 8 Sep 2008, Mojca Miklavec wrote:
> 
>> Someone needs to write "Unicode math support" for mkii, or you need to
>> make your own virtual font.
> 
> Well...someone also needs to write "Unicode math support" for mkiv and I 
> would work on that in the hope that there is some chance that I may 
> actually understand how mkiv (will) handle math fonts. With MKII, math 
> fonts is black magic for me.

in mkii math characters (symbols) are taken from many fonts (and we can 
even have several combinations of math fonts active at the same time)

in mkiv we will use unicode exclusively (as soon as the math subproject 
of luatex is finished)

i don't think that mkii will have unicode math support

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
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[cleveland.jobs.com] (Job) Senior UI Dev - Costa Mesa, CA

2008-09-08 Thread BeyondTek IT Jobs

This is my direct client opening for Senior UI Dev - Costa Mesa, CA.
This is a 6+ Months contract position. The Hourly rate is DOE.
Candidates need to interview in person after the phone screen and should
be in the CA area. Relocation assistance will not be provided for this
opening.
This position will consist of:
*   Participate in dynamic development / testing team to create
high-quality, highly interactive user experience applications based on
the .NET 2.0 platform 
*   Develop and contribute to a security monitoring application
providing video streaming, device control and management capabilities 
*   Development of user-interfaces in accordance with supplied
wire-frames
*   Usage of purchased library .NET 2.0 components
*   Development on new .NET 2.0 components when existing elements
are insufficient 
Experience / Skills 
Candidates MUST have key experience in each category, not just
peripheral roles on a team)
*   Strong understanding of OOD / OOP (5 years minimum)
*   Strong .NET 2.0 or higher development experience (5 years
minimum)
*   Strong C# coding experience (5 years minimum)
*   Strong and diverse UI Development Experience 
*   Strong experience with GDI / GDI+ technologies (experience with
advanced UI techniqueofollow" href="http://tex.aanhet.net">http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt and TeXlive 2008

2008-09-08 Thread Taco Hoekwater


Matija Šuklje wrote:
> So, which ConTeXt version *is* in TeXLive 2008 then?

Version 2008.05.21

Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt and TeXlive 2008

2008-09-08 Thread Matija Šuklje
So, which ConTeXt version *is* in TeXLive 2008 then?


Cheers,
Matija Šuklje

-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje
GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278


signature.asc
Description: This is a digitally signed message part.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Feature request for itemize

2008-09-08 Thread Wolfgang Schuster
Hi,

I want to use subitems without entries in the first level
(only the number should be incremented).

\unprotect

\def\newdolistitem % reduced \dolistitem
  {\increment\noflistelements
   \setbox8\hbox
 {\doitemattributes\currentitemlevel\c!style\c!color{\listitem}}%
   \checkforrepeatedlistitem
   \ignorespaces}

\def\noitem{\doadvanceitem\newdolistitem}

\protect

\starttext

\startitemize[n,repeat]

\noitem

\startitemize[a]
\item Item 1.a.
\item Item 1.b.
\stopitemize

\noitem

\startitemize[a]
\item Item 2.a.
\item Item 2.b.
\stopitemize

\stopitemize

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] The windows minimal exe installer

2008-09-08 Thread Taco Hoekwater


Yue Wang wrote:
> 
> no mp related binaries except mpost.

That is probably the new MPlib based metapost that no longer needs
the external helper programs. The metapost version should be higher
than 1.005 if this is the case.

Best wishes,
Taco

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Columnspan in tabulate

2008-09-08 Thread Wolfgang Schuster
Hi,

is it possible to support columnspan in tabulate.

\def\tabulateuse#1%
  {\dorecurse{\numexpr2*#1-1\relax}{\span}}

\setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands]

\starttext

\starttable[|l|l|l|l|]
\NC a \NC b \NC c \NC d \AR
\NC 1 \NC \TWO 2  \NC 4 \AR
\stoptable

\starttabulate[|l|Bl|l|l|]
\NC a \NC b \NC c \NC d \NR
\NC 1 \NC 2 \TWO  \NC 4 \NR
\stoptabulate

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] The windows minimal exe installer

2008-09-08 Thread Yue Wang
OK, I update the minimals and get the following:

sent 348 bytes  received 101193 bytes  15621.69 bytes/sec
total size is 73454574  speedup is 723.40
mtx update | running command: rsync -rpztlv --stats
contextgarden.net::'minimals/current/bin/common/linux/
minimals/current/bin/context/linux/
minimals/current/bin/metapost/linux/ minimals/current/bin/xetex/linux/
minimals/current/bin/man/ minimals/current/bin/common/linux/
minimals/current/bin/context/linux/
minimals/current/bin/metapost/linux/
minimals/current/bin/luatex/linux/ minimals/current/bin/man/
minimals/current/bin/common/linux/ minimals/current/bin/context/linux/
minimals/current/bin/metapost/linux/
minimals/current/bin/pdftex/linux/ minimals/current/bin/man/'
'/home/yue/context/tex/texmf-linux'
run | rsync -rpztlv --stats
contextgarden.net::'minimals/current/bin/common/linux/
minimals/current/bin/context/linux/
minimals/current/bin/metapost/linux/ minimals/current/bin/xetex/linux/
minimals/current/bin/man/ minimals/current/bin/common/linux/
minimals/current/bin/context/linux/
minimals/current/bin/metapost/linux/
minimals/current/bin/luatex/linux/ minimals/current/bin/man/
minimals/current/bin/common/linux/ minimals/current/bin/context/linux/
minimals/current/bin/metapost/linux/
minimals/current/bin/pdftex/linux/ minimals/current/bin/man/'
'/home/yue/context/tex/texmf-linux'
receiving file list ... done
./
bin/
bin/afm2pl
bin/afm2tfm
bin/bibtex
bin/context
bin/ctxtools
bin/dvipdfmx
bin/dvipos
bin/dvips
bin/exatools
bin/kpseaccess
bin/kpsestat
bin/kpsewhich
bin/luatex
bin/luatools
bin/makempy
bin/mktexlsr
bin/mpost
bin/mpstools
bin/mptopdf
bin/mtxrun
bin/pdftex
bin/pdftools
bin/pdftosrc
bin/pdftrimwhite
bin/pltotf
bin/pstopdf
bin/rlxtools
bin/runtools
bin/texexec
bin/texfind
bin/texfont
bin/texlua -> luatex
bin/texluac -> luatex
bin/texmfstart
bin/texshow
bin/textools
bin/texutil
bin/tftopl
bin/tmftools
bin/ttf2afm
bin/vftovp
bin/vptovf
bin/xdvipdfmx
bin/xetex
bin/xmltools


no mp related binaries except mpost.

The machine I am using for testing is Ubuntu Linux 32bit

[EMAIL PROTECTED]:~$ uname -a
Linux yuewang 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008
i686 GNU/Linux
[EMAIL PROTECTED]:~$



On Mon, Sep 8, 2008 at 1:49 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> On Mon, 8 Sep 2008, Yue Wang wrote:
>
>>> That's already working (should be at least).
>> I mean the GUI installer. Windows users seldom do command line job:)
>>
>> btw, I mailed a bug report to [EMAIL PROTECTED] one week
>> ago, but it seems that no one received it:(
>> When I use minimals in Linux, in MKII, anything that have something to
>> do with "btex... etex" wont work because texexec cannot find other mp
>> software. so it always reports it failed to process the mpx files.
>> Windows minimals seemed to have mpto/makempx/... binaries, however,
>> Linux Minimals did not have them.
>
> Linux minimals for 64 bit has mpto and makempx and a simple file with btex
> and etex works fine with mkii.
>
> Aditya
> ___
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
>
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___