Re: [NTG-context] beta release

2009-03-02 Thread Hans Hagen

Yanrui Li wrote:

2009/3/2 Hans Hagen pra...@wxs.nl:

Yanrui Li wrote:

2009/2/25 Hans Hagen pra...@wxs.nl:

Hi,

As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context
beta that matches this version. The most important move is that we now
have
a new math subsystem. (Specially for Mojca: iwona seems to work ok).
Apart
from bringin unicode math this also gives a better performance. (Some
info
about what is involved can be found in mk.pdf on the website).

There might be ommisions so when you run into one, just let us know.


Hi,

Maybe there are some bugs in scrp-ini.lua and scrp-cjk.lua as follows:

1. In scrp-ini.lua, some flags of punctuations in the definition of
hash are replaced by
chinese flags, for example:

local hash = {
   ... ...
   [0xFF0C] = full_width_close, -- ,
   ... ...
}
... ...
for i=0x0FF00,0x0FFEF do hash[i] = chinese end
... ...

2. In scrp-cjk.lua, it seems that insert_node_before in some break 
shrink  stretch functions
should be insert_node_after, for example:

local function nobreak_stretch(head,current)
   insert_node_before(head,current,make_penalty_node(1))
   insert_node_before(head,current,make_glue_node(0,inter_char_stretch,0))
end

we only insert nodes before, so in that case you need to look at another
combination; so, like

class_a [insert] class_b

is triggered only once, by the table entry

[class a] = { class_b = ... }



Thanks for your explanation,  I see.

There are some Chinese punctuations,
such as “, (fullwidth comma), ! (fullwidth exclamation mark) and so on,
which are considered to be chinese but not full_width_close by
scrp-cjk.lua.
Is this deliberately doing?


we have different vectors for chinese and korean and each of them can be 
optimized, of there can be several for each script


keep in mind that when korean uses chinese, it does not use the chinese 
rules


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] beta release

2009-03-02 Thread Hans Hagen
Dohyun Kim wrote:
 2009/3/2 Hans Hagen pra...@wxs.nl:
 Yanrui Li wrote:
 There are some Chinese punctuations,
 such as “, (fullwidth comma), ! (fullwidth exclamation mark) and so on,
 which are considered to be chinese but not full_width_close by
 scrp-cjk.lua.
 Is this deliberately doing?
 we have different vectors for chinese and korean and each of them can be
 optimized, of there can be several for each script

 keep in mind that when korean uses chinese, it does not use the chinese
 rules

 
 Those Chinese punctuations we Koreans seldom use.
 Nor we normally use characters from U+FF00 .. U+ area.
 So it's OK to delete this line in scip-ini.lua :
 
 for i=0x0FF00,0x0FFEF do hash[i] = chinese end
 
 as requested by Chinese people.
 
 Or it would be better if the order is reversed, that is to say,
 if the line mentioned above and other adjacent lines comes before
 the hash table of individual characters.

then we'd need to do each assignment individually; so instead i now have

for i=0x0FF00,0x0FFEF do if not hash[i] then hash[i] = chinese
end end

i.e. a test before an assigment so that the first table takes precedence.

-
  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] beta release

2009-03-02 Thread Dohyun Kim
2009년 3월 2일 (월) 오후 7:02, Hans Hagen pra...@wxs.nl님의 말:
 Dohyun Kim wrote:
 Or it would be better if the order is reversed, that is to say,
 if the line mentioned above and other adjacent lines comes before
 the hash table of individual characters.

 then we'd need to do each assignment individually; so instead i now have

 for i=0x0FF00,0x0FFEF do if not hash[i] then hash[i] = chinese
 end end

 i.e. a test before an assigment so that the first table takes precedence.


ok.
Then, why don't you do the same for other assignments to chinese?
because, for instance, non-starters too are currently overridden by chinese.

Dohyun Kim
___
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] rulethickness in columns

2009-03-02 Thread Wolfgang Schuster
On Sun, Mar 1, 2009 at 7:26 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:

 I have a question regarding natural tables: Would it be able to set the
 rulethickness parameter for one (e.g. the right) side of selected columns
 separately (e.g. rulethickness_right=2pt)?

 Not directly. One can misuse an empty column or use metafun to draw
 the background separately.

 See
    http://www.vim.org/sponsor/vote_results.php

 If there was something similar for ConTeXt, I would vote for this
 feature immediately :)

I would set offset parameters for all four margins before rule values
but will us Hans ever grant this wish, it's been on the list from a lot
of us for years.

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] Cyrrilic fonts

2009-03-02 Thread Wolfgang Schuster
On Fri, Feb 20, 2009 at 12:00 AM, Vyatcheslav Yatskovsky
yatskov...@gmail.com wrote:

 The only thing that works for me is
 \usetypescriptfile[type-otf]
 \usetypescript[times]
 \setupbodyfont[times,16pt]

 which gives me Termes, but i cannot make use of other gyre fonts (schola,
 etc) using typescrips provided. What commands should I write?

All gyre fonts should now usable in MkIV, can you test them
and add a note the wiki?

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] Cyrrilic fonts

2009-03-02 Thread Marcin Borkowski
Dnia Mon, Mar 02, 2009 at 11:27:42AM +0100, Wolfgang Schuster napisa#322;(a):
 On Fri, Feb 20, 2009 at 12:00 AM, Vyatcheslav Yatskovsky
 yatskov...@gmail.com wrote:
 
  The only thing that works for me is
  \usetypescriptfile[type-otf]
  \usetypescript[times]
  \setupbodyfont[times,16pt]
 
  which gives me Termes, but i cannot make use of other gyre fonts (schola,
  etc) using typescrips provided. What commands should I write?
 
 All gyre fonts should now usable in MkIV, can you test them
 and add a note the wiki?

What does it mean to be usable in this context?  How do I enable them?

 
 Wolfgang

Regards

-- 
Marcin Borkowski (http://mbork.pl)

If Microsoft ever makes anything which doesn't suck,
it will be a vacuum cleaner.
___
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] Cyrrilic fonts

2009-03-02 Thread Wolfgang Schuster
On Mon, Mar 2, 2009 at 11:33 AM, Marcin Borkowski
mb...@atos.wmid.amu.edu.pl wrote:

 All gyre fonts should now usable in MkIV, can you test them
 and add a note the wiki?

 What does it mean to be usable in this context?  How do I enable them?

\usetypescript[termes]
\setupbodyfont[termes]

\starttext
...
\stoptext

and the same for all other TeX Gyre fonts.

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] rulethickness in columns

2009-03-02 Thread Hans Hagen

Wolfgang Schuster wrote:

On Sun, Mar 1, 2009 at 7:26 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:


I have a question regarding natural tables: Would it be able to set the
rulethickness parameter for one (e.g. the right) side of selected columns
separately (e.g. rulethickness_right=2pt)?

Not directly. One can misuse an empty column or use metafun to draw
the background separately.

See
   http://www.vim.org/sponsor/vote_results.php

If there was something similar for ConTeXt, I would vote for this
feature immediately :)


I would set offset parameters for all four margins before rule values
but will us Hans ever grant this wish, it's been on the list from a lot
of us for years.


indeed, but only because it has a speed penalty; maybe some day in mkiv 
only



-
  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] beta release

2009-03-02 Thread Hans Hagen
Dohyun Kim wrote:
 2009년 3월 2일 (월) 오후 7:02, Hans Hagen pra...@wxs.nl님의 말:
 Dohyun Kim wrote:
 Or it would be better if the order is reversed, that is to say,
 if the line mentioned above and other adjacent lines comes before
 the hash table of individual characters.
 then we'd need to do each assignment individually; so instead i now have

 for i=0x0FF00,0x0FFEF do if not hash[i] then hash[i] = chinese
 end end

 i.e. a test before an assigment so that the first table takes precedence.

 
 ok.
 Then, why don't you do the same for other assignments to chinese?
 because, for instance, non-starters too are currently overridden by 
 chinese.

i do it for all


-
  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
___


[NTG-context] t-lettrine question

2009-03-02 Thread Alan Stone
Hi,

Thanks a lot to Taco for the very handy lettrine module.

How do you make it automatically drop cap the first word of each chapter ?

-- 
Alan
___
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] t-lettrine question

2009-03-02 Thread Taco Hoekwater


Alan Stone wrote:
 Hi,
 
 Thanks a lot to Taco for the very handy lettrine module.
 
 How do you make it automatically drop cap the first word of each chapter ?

I don't think you can.

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] t-lettrine question

2009-03-02 Thread Alan Stone
On Mon, Mar 2, 2009 at 12:13 PM, Taco Hoekwater t...@elvenkind.com wrote:


 Alan Stone wrote:
 Hi,

 Thanks a lot to Taco for the very handy lettrine module.

 How do you make it automatically drop cap the first word of each chapter ?

 I don't think you can.

How about cooking up something with \setuphead[chapter][after=...] to
apply \lettrine to the first word or letter of the first paragraph ?

So far for the idea.

For the implementation I'm clueless...

Alan

 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] \intertext{\ccaron} fails

2009-03-02 Thread Mojca Miklavec
On Sun, Mar 1, 2009 at 19:43, Hans Hagen wrote:
 Mojca Miklavec wrote:

 Hans, may I request applying Wolfgang's patch?

 you may, but only for mkii ... i'v eremoved that code for mkic as we have no
 encodings there any longer

Sure. In mkiv it already works OK.

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


Re: [NTG-context] rulethickness in columns

2009-03-02 Thread Mojca Miklavec
On Thu, Feb 26, 2009 at 20:28, Albrecht Kauffmann wrote:
 Hi all,

 I have a question regarding natural tables: Would it be able to set the
 rulethickness parameter for one (e.g. the right) side of selected columns
 separately (e.g. rulethickness_right=2pt)?

You may try the attachment. It's a bit suboptimal, but kind-of-works.
I don't know why the borders are not finished properly on edges.

Mojca


thick-border.tex
Description: TeX document
___
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] rulethickness in columns

2009-03-02 Thread Peter Rolf

Mojca Miklavec schrieb:

On Thu, Feb 26, 2009 at 20:28, Albrecht Kauffmann wrote:
  

Hi all,

I have a question regarding natural tables: Would it be able to set the
rulethickness parameter for one (e.g. the right) side of selected columns
separately (e.g. rulethickness_right=2pt)?



You may try the attachment. It's a bit suboptimal, but kind-of-works.
I don't know why the borders are not finished properly on edges.

  

Just give the TABLE macro a chance to calculate the right total sizes :)

\setupTABLE[c][1,6][width=2pt,offset=overlay,rulethickness=2pt]
\setupTABLE[r][1,3,6][height=2pt,offset=overlay,rulethickness=2pt]

Best wishes,

Peter


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
___
  


___
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] basic luatex/minimals problem

2009-03-02 Thread Alan BRASLAU
Please let us know (through an announcement on the mailing with a new, 
descriptive title) when the minimal distribution stabilizes, that is, when we 
should dare to update our way too old versions (with a reasonable hope of 
getting a working new version). Thanks!

On Wednesday 25 February 2009 15:57:18 Thomas A. Schmitz wrote:
 A. As you have seen this morning, the minimals, betas, and luatex  
 betas are in a flux this week. If you don't have access to the most  
 recent luatex binary, just wait for a couple of days till things have  
 settled down.
___
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] beta / cjk

2009-03-02 Thread Hans Hagen

Hi,

I added lang-cjk (replaces lang-chi and lang-jap for mkiv) wich still 
lacks korean labels. The conversion code from font-chi has been 
integrated in mkiv.


\starttext

\definefontfeature
  [chinese-traditional]
  [mode=node,script=hang,lang=zht]

\mainlanguage[cn]

\definedfont[adobesongstd-light*chinese-traditional]

\startitemize[cn]
\item 兡也包因沘氓侷柵苗孫孫財崧淫設弼琶跑愍窟榜蒸奭稽
\item 霄瓢館縲擻鼕〈孃魔釁〉佉沎岠狋垚柛胅娭涘罞偟惈牻荺
\item 傒焱菏酡廅滘絺赩塴榗箂踃嬁澕蓴醊獧螗餟燱螬駸礑鎞
\item 瀧鄿瀯騬醹躕鱕
\stopitemize

\currentdate

\stoptext

(some files have been changed/renamed so luatools --generate (for mkiv) 
and mktexlsr (for mkii) are 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] beta / cjk

2009-03-02 Thread Wolfgang Schuster
2009/3/2 Hans Hagen pra...@wxs.nl:

 I added lang-cjk (replaces lang-chi and lang-jap for mkiv) wich still lacks
 korean labels. The conversion code from font-chi has been integrated in
 mkiv.

lang-cjk is not included in the zip.

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] beta / cjk

2009-03-02 Thread Hans Hagen

Wolfgang Schuster wrote:

2009/3/2 Hans Hagen pra...@wxs.nl:


I added lang-cjk (replaces lang-chi and lang-jap for mkiv) wich still lacks
korean labels. The conversion code from font-chi has been integrated in
mkiv.


lang-cjk is not included in the zip.


hm, i hope i fixed it

-
  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] latest beta - Math error

2009-03-02 Thread Thomas A. Schmitz


On Mar 2, 2009, at 11:32 PM, Hans Hagen wrote:


does this work at your end?

\starttext

$\approx$

\stoptext


Yes, unfortunately it does...

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] t-lettrine question

2009-03-02 Thread Yue Wang
maybe we can let chapter into mychap, and define chapter as mychap+lettrine.

On Tue, Mar 3, 2009 at 12:52 AM, Gerben Wierda gerben.wie...@rna.nl wrote:
 In sofar as lay out is concerned, I use:

 \lettrine{T}{\kap{\bf here is no}} such thing as `digital technology'.

 This smoothes the gap between the first character and the normal type.
 Automatiing that in terms of \setup will be even harder, I guess. But then
 again, if your book has 20 chapters, you only need to do it 20 times ;-)

 G

 On 2 Mar 2009, at 12:42, Alan Stone wrote:

 On Mon, Mar 2, 2009 at 12:13 PM, Taco Hoekwater t...@elvenkind.com
 wrote:


 Alan Stone wrote:

 Hi,

 Thanks a lot to Taco for the very handy lettrine module.

 How do you make it automatically drop cap the first word of each chapter
 ?

 I don't think you can.

 How about cooking up something with \setuphead[chapter][after=...] to
 apply \lettrine to the first word or letter of the first paragraph ?

 So far for the idea.

 For the implementation I'm clueless...

 Alan

 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

 ___


 ___
 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
___


[NTG-context] problem with defineitemgroup command

2009-03-02 Thread Curious Learn
I am trying to define an itemgroup to list the answers for multiple choice
questions. When I try to change the stopper using the option stopper=), the list
changes from an alphabetical one to a bulleted list. Please see the difference
between choices and options below. 

\defineitemgroup[choices][levels=1] 
\setupitemgroup[choices][1][a,packed] 

\defineitemgroup[options][levels=1] 
\setupitemgroup[options][1][a,packed,stopper=)]



\starttext
  
 \startchoices
 \startitem This is choice 1. \stopitem   
 \startitem This is choice 2. \stopitem
 \stopchoices 

 \startoptions
 \startitem This is option 1. \stopitem   
 \startitem This is option 2. \stopitem
 \stopoptions


\stoptext
   
Q. How can I change the stopper in this itemgroup.

___
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] beta / cjk

2009-03-02 Thread Yue Wang
beta is not working. failed when generating the format for mkii

C:\contexttexexec --make --all
TeXExec | using search method 'kpsefast'
TeXExec | updating file database
Cannot open C:/context/tex/texmf-project/ls-R to write.
mktexlsr: Updating C:/context/tex/texmf-fonts/ls-R...
mktexlsr: Updated C:/context/tex/texmf-fonts/ls-R.
Cannot open C:/context/tex/texmf-local/ls-R to write.
mktexlsr: Updating C:/context/tex/texmf-mswin/ls-R...
mktexlsr: Updated C:/context/tex/texmf-mswin/ls-R.
mktexlsr: Updating C:/context/tex/texmf-context/ls-R...
mktexlsr: Updated C:/context/tex/texmf-context/ls-R.
Cannot open C:/context/tex/texmf-extra/ls-R to write.
mktexlsr: Updating C:/context/tex/texmf/ls-R...
mktexlsr: Updated C:/context/tex/texmf/ls-R.
mktexlsr: Done.
TeXExec | using tex engine pdftex
TeXExec | using tex format path ./pdftex
TeXExec | unable to make format due to lack of permissions
TeXExec | using mp engine mpost
TeXExec | using mps format path .
TeXExec | generating mps format metafun
warning: mpost: unimplemented option -translate-file=natural.tcx
This is MetaPost, version 1.102 (kpathsea version 3.5.7) (INIMP)
(c:/context/tex/texmf-context/metapost/context/base/metafun.mp (c:/context/tex/t
exmf-context/metapost/context/base/mp-base.mp
Preloading the plain mem file, version 0.63) (c:/context/tex/texmf-context/metap
ost/context/base/mp-tool.mp) (c:/context/tex/texmf-context/metapost/context/base
/mp-spec.mp) (c:/context/tex/texmf-context/metapost/context/base/mp-core.mp)
(c:/context/tex/texmf-context/metapost/context/base/mp-page.mp) (c:/context/tex/
texmf-context/metapost/context/base/mp-text.mp) (c:/context/tex/texmf-context/me
tapost/context/base/mp-txts.mp) (c:/context/tex/texmf-context/metapost/context/b
ase/mp-shap.mp)
(c:/context/tex/texmf-context/metapost/context/base/mp-butt.mp) (c:/context/tex/
texmf-context/metapost/context/base/mp-char.mp) (c:/context/tex/texmf-context/me
tapost/context/base/mp-step.mp) (c:/context/tex/texmf-context/metapost/context/b
ase/mp-grph.mp)
(c:/context/tex/texmf-context/metapost/context/base/mp-figs.mp) (c:/context/tex/
texmf-context/metapost/context/base/mp-mlib.mp) (c:/context/tex/texmf-context/me
tapost/context/base/mp-grid.mp (c:/context/tex/texmf-context/metapost/context/ba
se/mp-form.mp
(c:/context/tex/texmf/metapost/base/string.mp) (c:/context/tex/texmf/metapost/ba
se/marith.mp (c:/context/tex/texmf/metapost/base/string.mp (c:/context/tex/t
exmf-context/metapost/context/base/mp-func.mp) )
Beginning to dump on file metafun.mem
 (mem=metafun 2009.03.03)
at most 2189 strings of total length 17786
49468 memory locations dumped; current usage is 1283136510
1792 symbolic tokens
Transcript written on metafun.log.
TeXExec |
TeXExec | mps engine path: .
TeXExec |
TeXExec | mps: 03/03/2009 14:39:19  C:/context/metafun.mem (483328)
TeXExec | mps: 03/03/2009 14:36:46  C:/context/plain.mem (49887)
TeXExec | mps: 03/03/2009 14:39:19  C:/context/metafun.mem (483328)
TeXExec | mps: 03/03/2009 14:36:46  C:/context/plain.mem (49887)
TeXExec |
TeXExec | runtime: 0.329

C:\context

On Tue, Mar 3, 2009 at 6:32 AM, Hans Hagen pra...@wxs.nl wrote:
 Wolfgang Schuster wrote:

 2009/3/2 Hans Hagen pra...@wxs.nl:

 I added lang-cjk (replaces lang-chi and lang-jap for mkiv) wich still
 lacks
 korean labels. The conversion code from font-chi has been integrated in
 mkiv.

 lang-cjk is not included in the zip.

 hm, i hope i fixed it

 -
                                          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
 ___

___
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] beta release

2009-03-02 Thread Yue Wang
HZ feature is still not working in the latest beta.
(Wolfgang's example is a good test for that)

2009/3/2 Wolfgang Schuster schuster.wolfg...@googlemail.com:

 Am 01.03.2009 um 18:19 schrieb Hans Hagen:

 Yue Wang wrote:

 Hi, Hans:
 Are HZ features still working? I test the beta with one of my
 documents, and it gives very bad line break:(

 it should work ok ... what testfile do you use?

 He's is right, here is a example.

 \definefontfeature[default][default][script=latn,mode=node,expansion=quality,protrusion=quality]

 \usetypescript[palatino]
 \setupbodyfont[palatino]

 \mainlanguage[de]

 \starttext

 Ein König von Baßrah besaß große Reichtümer. Seine Untertanen liebten ihn,
 aber er hatte keine Kinder, und das betrübte ihn über die Maßen. Indes
 veranlaßte er alle heiligen Männer in seinen Staaten durch namhafte
 Geschenke,
 den Himmel für ihn um einen Sohn zu bitten, und ihre Gebete waren nicht
 erfolglos: die Königin wurde schwanger und genas glücklich eines Sohnes.
 welcher
 den Namen Zeyn Alasnam, d\,h~Zierde der Bildsäulen, erhielt.

 Der König ließ alle Sterndeuter seines Reiches zusammenrufen und befahl
 ihnen, dem Kind das Horoskop zu stellen. Sie entdeckten durch ihre
 Beobachtungen, daß er lange leben und viel Mut besitzen würde, daß er dieses
 Mutes aber auch bedürfe, um das vielfache Unglück, das ihn bedrohe, mannhaft
 zu
 ertragen. Der König erschrak nicht über diese Weissagung, »Wenn mein Sohn
 Mut
 hat«, sagte er, »so ist er nicht zu beklagen. Es ist gut, wenn die Prinzen
 manchmal in ein Unglück kommen; Widerwärtigkeiten läutern ihre Tugend, sie
 lernen dadurch nur um so besser regieren.«

 \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
 ___

___
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
___