[NTG-context] updated manuals

2009-09-10 Thread M.guravage
Hi,

I have looked in the usual places, but could not find the manuals recently
updated for mkiv, e.g. MetaFun, XML and Details.  A pointer to where I can
find them would be much appreciated.

Cheers,

Michael Guravage


___
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] singlesided/doublesided

2009-09-10 Thread Otared Kavian


On 9 sept. 09, at 19:02, Wolfgang Schuster wrote:


Hi Hans,

[…]
I think the following quote from Steffen Wolfrum answers my question:

   Sometimes ConTeXt's syntax looks kind of female to me:


and this expalins why those who happen to know ConTeXt fall in love  
with her… passionately.


Best regards: OK
___
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] updated manuals

2009-09-10 Thread luigi scarso
On Thu, Sep 10, 2009 at 8:58 AM, M.guravagem.gurav...@pragma-cts.com wrote:
 Hi,

 I have looked in the usual places, but could not find the manuals recently
 updated for mkiv, e.g. MetaFun, XML and Details.  A pointer to where I can
 find them would be much appreciated.

hm
I think most update are mk.pdf, luatexref-t.pdf (and another one that
I don't remember now)
Looking into the code is the safety way, actually -- but I'm working
on modules documentation



-- 
luigi
___
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] \page[blank]

2009-09-10 Thread Xan

Hi,

I use MKII. \page[yes] and \page[left] works but \page[blank] does not. 
Why? How can I get blank pages?


Xan.
___
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] \page[blank]

2009-09-10 Thread Wolfgang Schuster


Am 10.09.2009 um 15:38 schrieb Xan:


Hi,

I use MKII. \page[yes] and \page[left] works but \page[blank] does  
not. Why? How can I get blank pages?


\page[empty]

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] \page[blank]

2009-09-10 Thread Xan

Wolfgang,

\page[empty] puts number of page.
___
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] Urgent: Strange index problems

2009-09-10 Thread Xan

Thank VERY much,
Taco.

Do you recomand to substitute any $$ i \index with \mathematics?

Regards,
Xan.
___
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] Urgent: Strange index problems

2009-09-10 Thread Xan

En/na Xan ha escrit:

Thank VERY much,
Taco.

Do you recomand to substitute any $$ i \index with \mathematics?

Regards,
Xan.


Sorry Taco, Bad news. It does not work: the same problem

Xan.

___
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] Urgent: Strange index problems

2009-09-10 Thread Xan

En/na Xan ha escrit:

En/na Xan ha escrit:

Thank VERY much,
Taco.

Do you recomand to substitute any $$ i \index with \mathematics?

Regards,
Xan.


Sorry Taco, Bad news. It does not work: the same problem

Xan.



Even with no math I get the same error:

\startmydefinition Siguin $G$ un grup, $X$ un conjunt finit de 
generadors de $G$, $\sigma \colon G \to {(X \cup X^{-1})}^*$ una secció 
i $k \geq 0$. La {\em amplada mitjana $k$-èssima de 
\sigma}\index[amplada+mitjana respecte de k+1 valors]{amplada+mitjan 
respecte de \mathematics k+1 valors}, o {\em amplada mitjana de $k+1$ 
valors de $\sigma$}\index[amplada+mitjana respecte de k+1 
valors]{amplada+mitjan respecte de k+1 valors}, és la funció 
$\varphi_{\sigma, k} \colon \naturalnumbers \to 
\naturalnumbers$\mysymbol{$\varphi_{\sigma}$} definida per 
$\varphi_{\sigma, k} (0) = 0$ i, per a tot $n  0$,

\startformula
\varphi_{\sigma, k} (n)=  \max \{\frac{1}{k+1} \sum_{i=0}^k D_{\sigma, 
g, h} (t+i) \mid t \in \naturalnumbers, (g, h) \in K_{G, X} (n) \}.

\stopformula
Quan $\sigma$ sigui clara pel context o sigui una secció genèrica, 
escriurem simplement $\varphi_k (n)$\mysymbol{$\varphi_k$}. De forma 
trivial, $\varphi_0 = \varphi$ i $\varphi_1 = \lambda_{0,1}$.

\stopmydefinition

If I comment this code, then all is ok.

Can you see all the code and take a sight if you detect the error?

Xan.
___
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] \page[blank]

2009-09-10 Thread Wolfgang Schuster


Am 10.09.2009 um 16:27 schrieb Xan:


\page[empty] puts number of page.


Then try \page[yes,header,footer], maybe in combination with empty.

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] Urgent: Strange index problems

2009-09-10 Thread Taco Hoekwater


Xan wrote:
 
 If I comment this code, then all is ok.

 Can you see all the code and take a sight if you detect the error?

Perhaps an older run is interfering (stuff still in the .tuc file).
After all, if there is no math, there should not be a math error either.
Can you delete the .tuc file and try again?

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] verbosity of context

2009-09-10 Thread Xan

Hi,

Is there any option for setting the verbosity of context?
In LaTeX, if someone passes an optional argument to command, it stops. 
In ConTeXt, if you put \somecommand[optional-non-existent-option] it 
runs and you then, when see pdf, know that it does not run.


Any option for stopping in that case?

Xan.
___
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] \page[blank]

2009-09-10 Thread Peter Rolf

Xan schrieb:

Wolfgang,

\page[empty] puts number of page.

try

\page[empty,blank]

___ 

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] verbosity of context

2009-09-10 Thread Wolfgang Schuster


Am 10.09.2009 um 17:01 schrieb Xan:


Is there any option for setting the verbosity of context?
In LaTeX, if someone passes an optional argument to command, it stops.


Sorry but this sentence makes no sense, when this would be true LaTeX  
people
can't pass any optional arguments because they will never get a  
document :)


In ConTeXt, if you put \somecommand[optional-non-existent-option] it  
runs and you then, when see pdf, know that it does not run.



That's another sentence useless sentence.

MkIV has a feature to report unknown 'keys' for command on the command  
line
(e.g. key 'x' for 'y' is not defined) but the core macros are not  
adapted to this

and only the letter module supports this (without guarantee).

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] \page[blank]

2009-09-10 Thread Xan

En/na Xan ha escrit:

Wolfgang,

\page[empty] puts number of page.


\page[empty,blank] -- two pageS: empty and blank
\page[yes,header,footer] -- empty
\page[yes,header,footer,empty] -- two pages: one with numbers and other 
blank

___
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] Pagenumbering of appendices

2009-09-10 Thread olafm+context
Hello,

I've been trying to turn off the conversion of page numbers to roman
numerals in my appendix without any luck. Here is a minimal example:

  \setuppagenumbering[way=bytext,location={bottom, right}]
  \startsectionblockenvironment[bodypart]
\setuppagenumber[number=1, state=start]
  \stopsectionblockenvironment
  \startsectionblockenvironment[appendix]
\setuppagenumbering[conversion=,location=bottom,left={--~},right={~--}]
  \stopsectionblockenvironment

  \starttext
  \startbodymatter
  \chapter{Body 1}
  \input knuth
  \chapter{Body 2}
  \input knuth
  \stopbodymatter

  \startappendices
  \chapter{App 1}
  \input knuth

  \chapter{App 2}
  \input knuth
  \stopappendices
  \stoptext

What am I missing? All other settings I set in \setuppagenumbering
seem to take effect.

Cheers,
Olaf
___
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] status of minimals

2009-09-10 Thread Mohamed Bana
can someone please confirm if
...
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all --context=beta --texroot=$PWD/tex
--extras=*t-simplesides*,t-tikz
$@

in first-setup.sh fetches the latest module?

2009/9/8 Aditya Mahajan adit...@umich.edu

 On Tue, 8 Sep 2009, Mohamed Bana wrote:

  i think this is a bug.

 system  : module HorizontalStripes loaded

 (/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex
 simpleslides: loading HorizontalStripes style


 The log has some lines like this:

 mplib   : initializing instance 'metafun' using format 'metafun'
 mplib   : making 'metafun.mp' into

 '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun
 .mem'
 mplib   : problems with 'metafun.mp' from

 '/home/mbana/context.beta/tex/texmf-cache/luatex-cache/context/d8cd2a1ce6fae081c3517d1b1e100ec3/formats/cont-en-metafun
 .mem'


 Does a simple example with mplib work at your end?

 \starttext
 \startMPpage
 draw fullcircle scaled 3cm ;
 \stopMPpage
 \stoptext

 You can try to regenerate the metafun format.


 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
___


Re: [NTG-context] \page[blank]

2009-09-10 Thread Xan

En/na Xan ha escrit:

En/na Xan ha escrit:

Wolfgang,

\page[empty] puts number of page.


\page[empty,blank] -- two pageS: empty and blank
\page[yes,header,footer] -- empty
\page[yes,header,footer,empty] -- two pages: one with numbers and 
other blank



Could it be because I do \page[blank] after \input file ?

\input file
\page[blank] {\ }

\chapter

Xan.
___
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] Urgent: Strange index problems

2009-09-10 Thread Xan
Yes, Taco. With all files except source file deleted, and \mathematics 
instead of $$ \index works.


Is it any know bug or so? Why is the reason of that?. Just curious.

Xan.
___
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 framedcontent not working

2009-09-10 Thread Wolfgang Schuster


Am 09.09.2009 um 22:38 schrieb Hans Hagen:


start with making a small example that shows the problem


easy to fix, change (why \ifcsname here?)

\def\startframedcontent[#1]%
  {\bgroup
   \doifelse{#1}\v!off
 {\let\stopframedcontent\egroup}
 {\ifcsname\??fc#1\c!frame\endcsname
\dostartframedcontent{#1}%
  \fi}}

to

\def\startframedcontent[#1]%
  {\bgroup
   \doifelse{#1}\v!off
 {\let\stopframedcontent\egroup}
 {\dostartframedcontent{#1}}}


there is another problem with the code in \stoplocalframedcontent

   \doifvalue{\??fc#1\c!width}\v!fit
 {\letvalue{\??fc#1\c!width}\v!fixed}% no shapebox

width has no default value for framedcontent and after this test it  
has the value \relax
which causes a problem in \framed, there are two solutions a) set a  
default value with

\defineframedcontent or change the \doifvalue definition

\def\dodefineframedcontent[#1][#2]%
  {\presetlocalframed[\??fc#1]%
   \getparameters[\??fc#1]
 [\c!leftoffset=\zeropoint,
  \c!rightoffset=\getvalue{\??fc#1\c!leftoffset},
  \c!topoffset=\zeropoint,
  \c!bottomoffset=\getvalue{\??fc#1\c!topoffset},
  \c!width=\v!fit, % default value for \framed
  \c!strut=\v!no,
  \c!offset=\v!overlay,
  \c!linecorrection=\v!no,
  \c!left=,
  \c!right=,
  #2]}

or

\long\def\doifvalue#1#2%
  {\begingroup
   \edef\!!stringa{\csname#1\endcsname}\edef\!!stringb{#2}%
   \ifx\!!stringa\!!stringb
 \aftergroup\firstofoneargument % \expandafter\endgroup 
\expandafter\firstofoneargument

   \else
 \aftergroup\gobbleoneargument % \expandafter\endgroup\expandafter 
\gobbleoneargument

   \fi\endgroup}

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] status of minimals

2009-09-10 Thread Mojca Miklavec
On Thu, Sep 10, 2009 at 17:44, Mohamed Bana wrote:
 can someone please confirm if
 ...
 mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
 --engine=all --context=beta --texroot=$PWD/tex
 --extras=t-simplesides,t-tikz $@
 in first-setup.sh fetches the latest module?

It's supposed to fetch the following version:

http://minimals.contextgarden.net/current/modules/t-simpleslides/tex/context/third/simpleslides/
(around end of June)

Did we miss any version?

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] Urgent: Strange index problems

2009-09-10 Thread Hans Hagen

Xan wrote:
Yes, Taco. With all files except source file deleted, and \mathematics 
instead of $$ \index works.


Is it any know bug or so? Why is the reason of that?. Just curious.


there will no new tuc file made when you have a 'fatal' error; normally 
that works out ok, unless there is a fatal error in the tuc file itself 
in which case you're kind of stuck (this only happens when there is a 
bug in the context code or something that context cannot recover from)


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] Urgent: Strange index problems

2009-09-10 Thread Xan

Xan wrote:
/ Yes, Taco. With all files except source file deleted, and \mathematics 

// instead of $$ \index works.
// 
// Is it any know bug or so? Why is the reason of that?. Just curious.

/
there will no new tuc file made when you have a 'fatal' error; normally 
that works out ok, unless there is a fatal error in the tuc file itself 
in which case you're kind of stuck (this only happens when there is a 
bug in the context code or something that context cannot recover from)



Hans


I was refering to what \mathematics works and $$ does not.

Thanks,
Xan.

___
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] Urgent: Strange index problems

2009-09-10 Thread Hans Hagen

Xan wrote:

Xan wrote:
/ Yes, Taco. With all files except source file deleted, and \mathematics 

// instead of $$ \index works.
// // Is it any know bug or so? Why is the reason of that?. Just 
curious.

/
there will no new tuc file made when you have a 'fatal' error; 
normally that works out ok, unless there is a fatal error in the tuc 
file itself in which case you're kind of stuck (this only happens when 
there is a bug in the context code or something that context cannot 
recover from)



Hans


I was refering to what \mathematics works and $$ does not.


there are only a few cases where $$ (in the sense of empty inline math) 
works ok so best use $ $ then; \mathematics does this automatically


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] Urgent: Strange index problems

2009-09-10 Thread Taco Hoekwater


Hi Hans,
Hans Hagen wrote:


I was refering to what \mathematics works and $$ does not.


there are only a few cases where $$ (in the sense of empty inline math) 
works ok so best use $ $ then; \mathematics does this automatically


You should go back in the thread a bit. It looks like Xan's \index
entry (containing the simple math formula $k$) got cut off just
before the closing $ for some reason that I can't figure out.

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] mkIV framedcontent not working

2009-09-10 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 09.09.2009 um 22:38 schrieb Hans Hagen:


start with making a small example that shows the problem


easy to fix, change (why \ifcsname here?)


ok, i fixed it (although a bit different)

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] Urgent: Strange index problems

2009-09-10 Thread Hans Hagen

Taco Hoekwater wrote:


Hi Hans,
Hans Hagen wrote:


I was refering to what \mathematics works and $$ does not.


there are only a few cases where $$ (in the sense of empty inline 
math) works ok so best use $ $ then; \mathematics does this automatically


You should go back in the thread a bit. It looks like Xan's \index
entry (containing the simple math formula $k$) got cut off just
before the closing $ for some reason that I can't figure out.


btw, i noticed in one of the examples ...

{amplada+mitjan respecte de \mathematics k+1 valors}

so, that's then $k$ and not $k+1$

anyhow, what is the smallest example showing the problem? I can get $x$ 
in an index here


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
___


[NTG-context] calibri font

2009-09-10 Thread Mohamed Bana

hey all,

I've started using the Calibri font (in Linux), and I must say it feels 
pretty nice.  Anyone else with similar experience.

___
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] Pagenumbering of appendices

2009-09-10 Thread Derek CORDEIRO
On Thu, Sep 10, 2009 at 9:10 PM,
olafm+cont...@kimberly.tako.deolafm%2bcont...@kimberly.tako.de
 wrote:

 Hello,

 I've been trying to turn off the conversion of page numbers to roman
 numerals in my appendix without any luck. Here is a minimal example:

  \setuppagenumbering[way=bytext,location={bottom, right}]
  \startsectionblockenvironment[bodypart]
\setuppagenumber[number=1, state=start]
  \stopsectionblockenvironment
  \startsectionblockenvironment[appendix]


\setupuserpagenumber[numberconversion=numbers]

\setuppagenumbering is still used for the other parameters below.


\setuppagenumbering[conversion=,location=bottom,left={--~},right={~--}]
  \stopsectionblockenvironment

  \starttext
  \startbodymatter
  \chapter{Body 1}
  \input knuth
  \chapter{Body 2}
  \input knuth
  \stopbodymatter

  \startappendices
  \chapter{App 1}
  \input knuth

  \chapter{App 2}
  \input knuth
  \stopappendices
  \stoptext

 What am I missing? All other settings I set in \setuppagenumbering
 seem to take effect.


Please refer to this thread:
http://www.ntg.nl/pipermail/ntg-context/2009/043284.html for a related
discussion.

-- 
A few minutes of yours can give many minutes of education to someone less
priviledged. Go to my blog(http://teachmetowrite.blogspot.com/) and click on
the social vibe badge to make a difference.
___
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
___