[NTG-context] context on miktex problem: databases are not generated

2011-08-04 Thread Ulrike Fischer
The context installation on miktex is (again) broken. The problem
seems to be that for all trees the databases are not generated:

resolving | not saving runtime tree ...

And so context and also the format generation breaks on  machines
where old databases don't exists with
! I can't find file `catc-ini.mkiv'. 


I made some test on my context-minimals installation and found out
that I can recreate in a context-minimal installation the message 
resolvers | resolving | not saving runtime tree 'XYZ'
I only have to remove the !! before variables in the definition of
TEXMF. E.g  !!$TEXMFMAIN - cache is created, $TEXMFMAIN - cache is
not created.

So it could be that a wrong Syntax of TEXMF is the problem in
miktex. But as I have no idea how in miktex context gets the TEXMF,
is there a way to *force* the generation of caches for all trees
with mtxrun?


-- 
Ulrike Fischer 

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


Re: [NTG-context] Problem with table of contents? (Mark IV)

2011-08-04 Thread Wolfgang Schuster

Am 04.08.2011 um 12:13 schrieb Verhaag, G.C.H.M.:

 Dear ConTeXt User's:
 
 I tried the following very simple example which yields exactly the same 
 result:
 
 \setupinteraction
  [state=start,
  color=green,
  style=bold]
 
 \setupcombinedlist
  [content]
  [level=section,width=\textwidth,alternative=a]
 
 \starttext
 \completecontent[level=section]
 \chapter[one]{One}
 \page[yes]
 \chapter[two]{One}
 \stoptext
 
 I tried to set interaction=all within the \setupcombinedlist, but no 
 interaction possible from the table of contents within the generated pdf !

Works for me!

 By the way alternatives, e and f give the same problem.

There is something wrong with e, f and g because i get a link when i add 
“interaction=no”.

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


Re: [NTG-context] A couple of setupcaptions questions

2011-08-04 Thread Wolfgang Schuster

Am 04.08.2011 um 08:16 schrieb Jean Magnan de Bornier:

 After lots of checking on my project I came to this, which looks like a
 bug:
 
 Project is eg:
 ..
 \startproduct Test
 \environment env_test
 \startfrontmatter
 \component bla   
 \stopfrontmatter
 
 \startbodymatter
 
 \component test1
 \component test2
 \stopbodymatter
 
 
 \stopproduct
 .
 If files test1.tex and  test2.tex begin with \starttext and end with
 \stoptext: \setupcaptions works as expected regarding prefix
 
 
 If files test1.tex and  test2.tex begin with \startcomponent and end with
 \stopcomponent: \setupcaptions does not work as expected regarding prefix
 (no prefix at all)

Provide a *minimal working*, otherwise there is no way to tell what’s wrong.

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


Re: [NTG-context] A couple of setupcaptions questions

2011-08-04 Thread Wolfgang Schuster

Am 04.08.2011 um 17:10 schrieb Jean Magnan de Bornier:

 Le 04 août à 15:38:11 Wolfgang Schuster schuster.wolfg...@googlemail.com 
 écrit notamment:
 
 | Provide a *minimal working*, otherwise there is no way to tell what’s wrong.
 
 test1.tex:
 ..
 \startcomponent

\startcomponent test1

 test2.tex:
 ..
 
 \startcomponent

\startcomponent test2

 context TEst produces a different result in the caption with these files
 and when replacing (start-stop)component by (start-stop)text (files test1
 and test2).

It’s no surprise that you don’t get a chapter prefix because there is
no in your document. You forgot the title after \startcomponent and 
ConTeXt took “\chapter{…}” as argument for the component title.

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


Re: [NTG-context] A couple of setupcaptions questions

2011-08-04 Thread Jean Magnan de Bornier
Le 04 août à 19:24:20 Wolfgang Schuster schuster.wolfg...@googlemail.com 
écrit notamment:

| Am 04.08.2011 um 19:17 schrieb Jean Magnan de Bornier:

|  Le 04 août à 18:14:45 Wolfgang Schuster schuster.wolfg...@googlemail.com 
écrit notamment:
|  
|  | It’s no surprise that you don’t get a chapter prefix because there is
|  | no in your document. You forgot the title after \startcomponent and 
|  | ConTeXt took “\chapter{…}” as argument for the component title.
|  
|  Right, my mistake!
|  
|  However, with such mistake we have a prefix for formulas anyway!

| \setupcaptions[way=bysection,prefixsegments=chapter]
| \setupformulae[way=bysection,prefixsegments=section] 

| You use for the formula the section number as prefix while floats use 
chapters.

| In your example there had been section but no chapter and therefore
| you get a prefix for formulas but none for floats.

Wolfgang, thank you for your patience, I do need rest!

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