Re: [NTG-context] luatools bug?

2008-09-13 Thread luoyi
Hans:

[EMAIL PROTECTED]:~/context$ luatools zhfonts.tex*
/home/luoyi/context/tex/texmf-context/context/zhfonts/zhfonts.tex

[EMAIL PROTECTED]:~/context$ luatools zhfonts.tex


and because of this, after put the zhfonts.tex in my texmf-tree and
`luatools --generate` I still  can't use zhfonts.tex  file.

I've tried this on 2 slackware-linux box. does this mean a bug in
luatools ? could we solved this ?

2008/9/13 luoyi <[EMAIL PROTECTED]>:
> in my slackware-current box, Minimals installed:
>
> [EMAIL PROTECTED]:~/context/tex/texmf-context/context$ luatools --find-file
> zhfont.tex
>
> [EMAIL PROTECTED]:~/context/tex/texmf-context/context$ luatools --find-file
> zhfont.tex*
> /home/luoyi/context/tex/texmf-context/context/zzz/zhfont.tex
>
>
> how could I make the luatools find out the correct file 
>
___
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] color test not working

2008-09-13 Thread Alan Stone
Hi,

\setupcolors[state=start]

\setupcolor[rgb]
\setupcolor[xwi]
\setupcolor[ema]

\starttext

\midaligned{\tfb \bf RGB colors}
\blank[3*big]
\showcolor[rgb]
\page

\midaligned{\tfb \bf XWI colors}
\blank[3*big]
\showcolor[xwi]
\page

\midaligned{\tfb \bf EMA colors}
\blank[3*big]
\showcolor[ema]

\stoptext


All give a black&white output, except the rgb (somecolor): and
(somecolor)*: ones

Qué pasa ?

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] luatools bug?

2008-09-13 Thread Hans Hagen
luoyi wrote:
> in my slackware-current box, Minimals installed:
> 
> [EMAIL PROTECTED]:~/context/tex/texmf-context/context$ luatools --find-file
> zhfont.tex
> 
> [EMAIL PROTECTED]:~/context/tex/texmf-context/context$ luatools --find-file
> zhfont.tex*
> /home/luoyi/context/tex/texmf-context/context/zzz/zhfont.tex
> 
> 
> how could I make the luatools find out the correct file 

hm, interesting; normally the first method should be ok (given that 
you've done luatools --generate first); often the following is the most 
safe (esp when using * and such) because it does not interfere with any 
shell expansion

   luatools --verbose --findfile --pattern="zhfont.tex"

actually

   luatools zhfont.tex

should be ok too for locating the file that tex itself will use

-
   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] 'See also' entries in register

2008-09-13 Thread Hans Hagen
Willi Egger wrote:
> Dear Duncan,
> 
> its a long time since you posted this ... After the fun in Bohinj, I  
> try to catch up ...
> 
> I do not know which version of Context you use.
> 
> With ConTeXt  ver: 2008.08.11 11:45 MKIV  fmt: 2008.8.11  int:  
> english/english I get the desired result i.e. the page-number behind  
> ConTeXt.
> 
> However also here with ConTeXt  ver: 2008.08.11 11:45 MKII  fmt:  
> 2008.8.11  int: english/english, the pagenumber is assigned to the  
> "see" entry.

this has been fixed a while ago

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] ifdim ... or ... else ...

2008-09-13 Thread Hans Hagen
Wolfgang Schuster wrote:
> Am 10.09.2008 um 17:15 schrieb Hans Hagen:
> 
>> newspeak would be using an attribute and postprocessing the node  
>> list -)
> 
> How could I write this in newspeak:
> 
> \newsignal\yesnosignal
> 
> \def\yesno{\scratchdimen\lastskip\ifdim\scratchdimen=\yesnosignal YES 
> \else NO\fi}
> 

in traditional speak:

\def\YesNo{\relax\ifdim\lastskip=\yesnosignal YES\else NO\fi}

> \starttext
> 
> text \hskip\yesnosignal \yesno\ text \hskip\yesnosignal text \yesno\  
> text
> 
> \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
> ___


-- 

-
   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] 'See also' entries in register

2008-09-13 Thread Willi Egger
Dear Duncan,

its a long time since you posted this ... After the fun in Bohinj, I  
try to catch up ...

I do not know which version of Context you use.

With ConTeXt  ver: 2008.08.11 11:45 MKIV  fmt: 2008.8.11  int:  
english/english I get the desired result i.e. the page-number behind  
ConTeXt.

However also here with ConTeXt  ver: 2008.08.11 11:45 MKII  fmt:  
2008.8.11  int: english/english, the pagenumber is assigned to the  
"see" entry.

Willli


On Aug 18, 2008, at 5:41 PM, Duncan Hothersall wrote:

> \starttext
> I wish I was going to the ConTeXt\index{ConTeXt} meeting this year to
> enjoy all the fun\seeindex{ConTeXt}{also fun}.
> \placeindex
> \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] XY-arranging

2008-09-13 Thread Wolfgang Schuster

Am 13.09.2008 um 20:20 schrieb Willi Egger:

> Hallo Wolfgang,
>
> Thanks a lot for your immediate reply. - It works indeed. Just out of
> curiositiy: is there a reason why you suggest standardmakeup, it
> works also with \placelayer[Etiket]\page?
>

I prefer makeups in this situation but page is also possible, it's just
a matter of style and you could use what you prefer.

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] XY-arranging

2008-09-13 Thread Willi Egger
Hallo Wolfgang,

Thanks a lot for your immediate reply. - It works indeed. Just out of  
curiositiy: is there a reason why you suggest standardmakeup, it  
works also with \placelayer[Etiket]\page?


Willi

On Sep 13, 2008, at 7:27 PM, Wolfgang Schuster wrote:

> \startstandardmakeup
> \placelayer[Etiket]
> \stopstandardmakeup

___
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] XY-arranging

2008-09-13 Thread Wolfgang Schuster

Am 13.09.2008 um 18:53 schrieb Willi Egger:

> Hi Guru's
>
> In the pdftex environment the enclosed file will result in an  
> address-label on position 8 from the top on a sheet with 14 labels.
>
> When compiling this file with LuaTeX, then the label is placed  
> somewhere down left and the dimensions are messed up.
>
> I am stummied...
>
> Currently I am using : ConTeXt  ver: 2008.08.11 11:45 MKIV  fmt:  
> 2008.8.11  int: english/english
>

You should force a shipout for every page, to do this replace  
placelayer[...] with

\startstandardmakeup
\placelayer[Etiket]
\stopstandardmakeup

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] XY-arranging

2008-09-13 Thread Willi Egger

Hi Guru's

In the pdftex environment the enclosed file will result in an address- 
label on position 8 from the top on a sheet with 14 labels.


When compiling this file with LuaTeX, then the label is placed  
somewhere down left and the dimensions are messed up.


I am stummied...

Currently I am using : ConTeXt  ver: 2008.08.11 11:45 MKIV  fmt:  
2008.8.11  int: english/english



Kind regards

Willi


XY-arrange-test.tex
Description: Binary data




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

2008-09-13 Thread Gour
> "Hans" == Hans Hagen <[EMAIL PROTECTED]> writes:

Hans> you can define your own sort order (in mkiv this is somewhat
Hans> easier because there we're in unicode space)

Well, Xindy works with utf-8, but it 's nice to hear about mkiv's
features.

Hans> personally i have no plans for using xindy (i looked into it real
Hans> long ago but at that time it was rather latex oriented and could
Hans> not carry enough info around which i want in context)

Hmm, iirc, (it was long ago when I read Xindy's docs), Xindy is quite
markup agnostic. The very web site says:

"xindy is an index processor that can be used to generate book-like
indexes for arbitrary document-preparation systems. This includes
systems such as TeX and LaTeX, the roff-family, SGML/XML-based systems
(e.g., HTML) that process some kind of text and generate indexing
information. The kernel system is not fixed to any specific system, but
can be configured to work together with such systems."

You can also read http://xindy.sourceforge.net/features.html page...

Can ConTeXt process e.g. indexes like Bible's example mentioned under
"Manage Non-Standard Locations" section in the above page?

Hans> of course, if someone wants to write a m-xindy, i can provide
Hans> additional interfaces/hooks if needed

I'll be definitely interested to have it. However, probably not enough
time before the end of the year.

m-xindy is tsupposed to be written in TeX macro or Lua?


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



pgpSM7DpIiPbg.pgp
Description: PGP signature
___
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] luatools bug?

2008-09-13 Thread luoyi
in my slackware-current box, Minimals installed:

[EMAIL PROTECTED]:~/context/tex/texmf-context/context$ luatools --find-file
zhfont.tex

[EMAIL PROTECTED]:~/context/tex/texmf-context/context$ luatools --find-file
zhfont.tex*
/home/luoyi/context/tex/texmf-context/context/zzz/zhfont.tex


how could I make the luatools find out the correct file 
___
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] ifdim ... or ... else ...

2008-09-13 Thread Wolfgang Schuster

Am 10.09.2008 um 17:15 schrieb Hans Hagen:

> newspeak would be using an attribute and postprocessing the node  
> list -)

How could I write this in newspeak:

\newsignal\yesnosignal

\def\yesno{\scratchdimen\lastskip\ifdim\scratchdimen=\yesnosignal YES 
\else NO\fi}

\starttext

text \hskip\yesnosignal \yesno\ text \hskip\yesnosignal text \yesno\  
text

\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] Mkiv Colour issue and more

2008-09-13 Thread Hans Hagen
Mohamed Bana wrote:
> Looks like this thread is going to die :(

it's such a big list ... often it helps if you split up your problem, 
since now you force us to respond to a lengthy mail (which takes quite 
some time)

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] Xindy

2008-09-13 Thread Hans Hagen
Gour wrote:
>> "Mojca" == Mojca Miklavec <[EMAIL PROTECTED]> writes:
> 
> Mojca> Hello Gour, This is not a question for this mailing list, but
> Mojca> rather for Hans himself.
> 
> OK.
> 
> Mojca> ConTeXt doesn't use makeindex, so I don't really understand your
> Mojca> complaints about makeindex.
> 
> Well, I mentioned 'makeindex' in the context of the tool which cannot
> properly handle Unicode, afaik.
> 
> Mojca> What features exactly do you miss? 
> 
> I'm not sure if indexing-feature in ConTeXt allow me to use English,
> Croatian and Sanskrit diacritics (not Devanagari) all in one document and 
> define that I
> want e.g. that \'{s}, \d{s} has to be sorted under 'Š' ?
> 
> In short, xindy allows one to define his own sort-rules.

you can define your own sort order (in mkiv this is somewhat easier 
because there we're in unicode space)

> Mojca> It makes no sense to discuss distributing something before it can
> Mojca> be used with ConTeXt.)
> 
> Right, that's why also asked "Now I'm interested how is support for
> Xindy in ConTeXt" hoping that the context-distribution list has enough
> knowledgeable people able to answer it.
> 
> Excuse me for the noise...redirecting to other list...

personally i have no plans for using xindy (i looked into it real long 
ago but at that time it was rather latex oriented and could not carry 
enough info around which i want in context)

currently the index mechanism in mkiv still uses the same tex interface 
when typesetting the index itself, but i will provide a more extensive 
mechanism (first i redo the sectioning and list); at that point we will 
also have one-pass index handling

of course, if someone wants to write a m-xindy, i can provide additional 
interfaces/hooks 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] Can we make font loading much faster?

2008-09-13 Thread Hans Hagen
Yue Wang wrote:

> (Of course, 15.854s runtime is still a bit too long, but that's tolerable)

you should not take a one page document as benchmark, since then there's
always the dominant overhead of loading fonts and writing resources to
the pdf file


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