Re: [NTG-context] bugs in beta (footnotes)

2009-05-14 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 12.05.2009 um 19:07 schrieb Henning Hraban Ramm:


Only footnotes in section titles don't work - should they?

[...]

I couldn't construct a minimal failing example - any hints?



No solution but here is a test file:

\setupinteraction[state=start]
\starttext
\section{foo\footnote{bar}}
\stoptext


repaired


-
  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] bugs in beta (footnotes)

2009-05-13 Thread Wolfgang Schuster


Am 12.05.2009 um 19:07 schrieb Henning Hraban Ramm:


Only footnotes in section titles don't work - should they?

[...]

I couldn't construct a minimal failing example - any hints?



No solution but here is a test file:

\setupinteraction[state=start]
\starttext
\section{foo\footnote{bar}}
\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] bugs in beta (footnotes)

2009-05-12 Thread Henning Hraban Ramm

Am 2009-05-10 um 18:44 schrieb Henning Hraban Ramm:

But it doesn't work, it's always bytext, i.e. numbering runs  
through from start to end.

And the marks still don't show up in the text!

(Latest minimals beta, 2009-05-10 18.30 MESZ)


I find this is fixed now (Beta 2009.05.12 17:37). Great, thanks!

Only footnotes in section titles don't work - should they?


\chapter{My chapter\footnote{Note: might be also a section or  
subsection}}


Shows the note mark, but eats the footnote text.


I can work around that like so:

\footnotetext[chap]{blah}
\subsection{My chapter\note[chap]}


It works in a minimal example, but in my actual project I get this  
error:


! Argument of \dostructurecomponent has an extra }.
inserted text
\par
to be read again
   }
\dostructurecomponent ...ctureparameter \c!title }
  }}\endgroup \fi \fi  
\fi \g...

\doregisterstructurehead ... \c!command =, #2][#3]
   
\reportcurrentstructure

\dohandlestructurehead ...ructurehead {#1}{#2}{#3}
  \let  
\getstructureheadsync...

l.76 \subsection{The European Dream\note[dream]}


I couldn't construct a minimal failing example - any hints?


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] bugs in beta

2009-05-08 Thread Hans Hagen

Yanrui Li wrote:

On Fri, May 8, 2009 at 5:17 AM, Hans Hagen pra...@wxs.nl wrote:

Alan BRASLAU wrote:

I still get a major sectioning bug using the new beta mkiv
1. minimals from the garden
2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip

Am I alone in seeing this?

i'm still strugling with defaults (it's not so much a matter of not working
but more of how to set up the defaults with reasonable inheritance) so it
will take a while before things stabelize

i uploaded a beta with a (temp) fix



I failed to update the latest beta and got the following error message:


ok, will be fixed in 10 min

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] bugs in beta

2009-05-08 Thread Yanrui Li
On Fri, May 8, 2009 at 3:22 PM, Hans Hagen pra...@wxs.nl wrote:
 Yanrui Li wrote:

 On Fri, May 8, 2009 at 5:17 AM, Hans Hagen pra...@wxs.nl wrote:

 Alan BRASLAU wrote:

 I still get a major sectioning bug using the new beta mkiv
 1. minimals from the garden
 2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip

 Am I alone in seeing this?

 i'm still strugling with defaults (it's not so much a matter of not
 working
 but more of how to set up the defaults with reasonable inheritance) so it
 will take a while before things stabelize

 i uploaded a beta with a (temp) fix


 I failed to update the latest beta and got the following error message:

 ok, will be fixed in 10 min


Recently I have found some environment variables in setuptex script
are commented out sometimes, such as TEXMFLOCAL, TEXMFCONTEXT and so
on. Is this be done deliberately?

-- 
Best wishes,
Li Yanrui
___
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] bugs in beta

2009-05-08 Thread Alan BRASLAU
On Thursday 07 May 2009 23:17:38 Hans Hagen wrote:
 Alan BRASLAU wrote:
  I still get a major sectioning bug using the new beta mkiv
  1. minimals from the garden
  2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip
 
  Am I alone in seeing this?

 i'm still strugling with defaults (it's not so much a matter of not
 working but more of how to set up the defaults with reasonable
 inheritance) so it will take a while before things stabelize

 i uploaded a beta with a (temp) fix

OK, it sort-of works. I get:

1 first section
1.1 first subsection of first section
1.1.1 subsubsection
1.2 second subsection of first section
2 second section
2.1 first subsection of second section
2.2 second subsection of second section

But now I am being difficult:

\setupsection[section-3][bodypartconversion=Character]
\setupsection[section-4][previousnumber=no,bodypartconversion=number]
\setupsection[section-5][previousnumber=no,bodypartconversion=character]
\starttext
\section{first section}
\subsection{first subsection of first section}
\subsubsection{subsubsection}
\subsection{second subsection of first section}
\section{second section}
\subsection{first subsection of second section}
\subsection{second subsection of second section}
\stoptext

which yields (in mkii):

A first section
1 first subsection of first section
a subsubsection
2 second subsection of first section
B second section
1 first subsection of second section
2 second subsection of second section

but not in mkiv...

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] bugs in beta

2009-05-08 Thread Hans Hagen

Alan BRASLAU wrote:

On Thursday 07 May 2009 23:17:38 Hans Hagen wrote:

Alan BRASLAU wrote:

I still get a major sectioning bug using the new beta mkiv
1. minimals from the garden
2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip

Am I alone in seeing this?

i'm still strugling with defaults (it's not so much a matter of not
working but more of how to set up the defaults with reasonable
inheritance) so it will take a while before things stabelize

i uploaded a beta with a (temp) fix


OK, it sort-of works. I get:

1 first section
1.1 first subsection of first section
1.1.1 subsubsection
1.2 second subsection of first section
2 second section
2.1 first subsection of second section
2.2 second subsection of second section

But now I am being difficult:

\setupsection[section-3][bodypartconversion=Character]
\setupsection[section-4][previousnumber=no,bodypartconversion=number]
\setupsection[section-5][previousnumber=no,bodypartconversion=character]


see top of strc-def.tex ... you need to define sets

no documentation yet

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] bugs in beta

2009-05-07 Thread Henning Hraban Ramm

Am 2009-05-06 um 21:58 schrieb Thomas A. Schmitz:


Hi Hans,
so you're back from Bachotek and ready to attack the bugs? The beta  
you uploaded today is still badly broken. Most of this has been  
reported before; I just collect it here for your convenience :-)


Sorry Thomas, but you forgot one:

5. Footnotes
- footnote marks are missing in the text
- footnote numbering is strange (e.g. jumps from 3 to 24 and from 29  
to 210 in my project - that was 2.4, 2.9 and 2.10 before, I guess, but  
these aren't even the right part or chapter numbers; in my minimal  
example the numbers are chapternumber footnotenumber)


Can I motivate you (Hans etc.) to fix this anyhow? Swiss Chocolate?  
Money? Prayers?



My minimal example shows some more problems, but these are probably  
because \recurselevel isn't expanded at the right time...



\setuphead[chapter][page=no]

\setupheadertexts[text][chapter][pagenumber]
\setupheader[text][state=start]

\setupregister[index]%
	[n=2, balance=no, align=yes, alternative=A, indicator=yes,  
pagestyle=normal, location=right, style=type]


\starttext

\dorecurse{20}{%
\chapter{My chapter \recurselevel}
\index{Index entry \recurselevel}
\input zapf\footnote{Zapf \recurselevel}
\input tufte\footnote{Tufte \recurselevel}
}

\completeindex

\completecontent[criterium=all]

\stoptext



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] bugs in beta

2009-05-07 Thread Thomas A. Schmitz


On May 7, 2009, at 10:31 AM, Henning Hraban Ramm wrote:


Am 2009-05-06 um 21:58 schrieb Thomas A. Schmitz:


Hi Hans,
so you're back from Bachotek and ready to attack the bugs? The beta  
you uploaded today is still badly broken. Most of this has been  
reported before; I just collect it here for your convenience :-)


Sorry Thomas, but you forgot one:


We'd be incredibly lucky if there's only one that I missed :-)

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] bugs in beta

2009-05-07 Thread Henning Hraban Ramm

Am 2009-05-07 um 10:41 schrieb Thomas A. Schmitz:


Sorry Thomas, but you forgot one:

We'd be incredibly lucky if there's only one that I missed :-)


Well, ATM I've some problems with headers and ToC, but I guess that's  
only in my setup; couldn't reproduce it in my minimal example.



BTW (1) font problems:

I'm using TeX Gyre and some Type1 fonts with MkIV nearly without  
problems; didn't need to copy any files like you.


Only \sc with TeX Gyre serif fonts (Pagella, Schola, Termes, Bonum)  
gives really ugly spacing - maybe a problem of the fonts' internal  
kerning. Sans serif fonts (Heros, Adventor) look ok in small caps.


Strangely this wrong spacing sometimes bleeds into the whole non- 
smallcaps text, but I couldn't reproduce that in a minimal example.


Additionally, cursor doesn't work, only courier.


\starttypescript[gyr-mix]
	\definetypeface	[gyr-mix]	[rm]	[serif]	[schola] % pagella, bonum,  
termes

\definetypeface [gyr-mix]   [ss][sans]  [heros] % adventor
\definetypeface [gyr-mix]   [tt][mono]  [cursor] % courier!
\stoptypescript

\usetypescript  [gyr-mix]
\setupbodyfont  [gyr-mix,rm,18pt]

\starttext

{\ss\sc Kerning Problem With Small Caps}

{\sc Kerning Problem With Small Caps}

{\tt\sc Kerning Problem With Small Caps}

\input tufte

\stoptext



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] bugs in beta

2009-05-07 Thread Hans Hagen

Henning Hraban Ramm wrote:


BTW (1) font problems:

I'm using TeX Gyre and some Type1 fonts with MkIV nearly without 
problems; didn't need to copy any files like you.


looks like an engine problem; we'll look into 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] bugs in beta

2009-05-07 Thread Wolfgang Schuster


Am 07.05.2009 um 10:31 schrieb Henning Hraban Ramm:

My minimal example shows some more problems, but these are probably  
because \recurselevel isn't expanded at the right time...


\dorecurse{1000}{Use \type{\expanded{...}}\par}

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] bugs in beta

2009-05-07 Thread Hans Hagen

Henning Hraban Ramm wrote:

Am 2009-05-07 um 10:41 schrieb Thomas A. Schmitz:


Sorry Thomas, but you forgot one:

We'd be incredibly lucky if there's only one that I missed :-)


Well, ATM I've some problems with headers and ToC, but I guess that's 
only in my setup; couldn't reproduce it in my minimal example.



BTW (1) font problems:


can you test the mkiv beta? the problem has to do with merging fonts in 
basemode and such so we have some safeguards for it now


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] bugs in beta

2009-05-07 Thread Henning Hraban Ramm

Am 2009-05-07 um 13:38 schrieb Wolfgang Schuster:

My minimal example shows some more problems, but these are probably  
because \recurselevel isn't expanded at the right time...

\dorecurse{1000}{Use \type{\expanded{...}}\par}


Hä? Was soll das?
I don't want to \type some command, but just to expand \recurselevel  
before processing.

Of course I tried \expanded before, but I only get an error:

! Argument of \rawprocesscommalist has an extra }.
inserted text
\par
to be read again
   }
\@@ddfootnotetitle ...{\expanded {\recurselevel }}
  \par
\doif #1#2-\edef \!!stringa {#1
}\edef \!!stringb {#2}\ifx \!!stringa  
\!!str...

\dododescriptioncomponent ...er \c!title }\v!none
  {\global  
\nodescriptioncap...

\@@notemakedescription ... ={#3},\c!bookmark =,][]
  \edef  
\currentnotenumber {...

...
l.17 }




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] bugs in beta

2009-05-07 Thread Henning Hraban Ramm

Am 2009-05-07 um 14:44 schrieb Hans Hagen:


Henning Hraban Ramm wrote:

Am 2009-05-07 um 10:41 schrieb Thomas A. Schmitz:

Sorry Thomas, but you forgot one:

We'd be incredibly lucky if there's only one that I missed :-)
Well, ATM I've some problems with headers and ToC, but I guess  
that's only in my setup; couldn't reproduce it in my minimal example.

BTW (1) font problems:


can you test the mkiv beta? the problem has to do with merging fonts  
in basemode and such so we have some safeguards for it now


Just ran first-setup again; the problem with small caps stays; I  
didn't experience other font problems.



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] bugs in beta

2009-05-07 Thread Hans Hagen

Henning Hraban Ramm wrote:

Am 2009-05-07 um 14:44 schrieb Hans Hagen:


Henning Hraban Ramm wrote:

Am 2009-05-07 um 10:41 schrieb Thomas A. Schmitz:

Sorry Thomas, but you forgot one:

We'd be incredibly lucky if there's only one that I missed :-)
Well, ATM I've some problems with headers and ToC, but I guess that's 
only in my setup; couldn't reproduce it in my minimal example.

BTW (1) font problems:


can you test the mkiv beta? the problem has to do with merging fonts 
in basemode and such so we have some safeguards for it now


Just ran first-setup again; the problem with small caps stays; I 
didn't experience other font problems.


when i mention beta, i mean the one on the website ... the minimals lag 
upto an hour behind



-
  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] bugs in beta

2009-05-07 Thread Wolfgang Schuster


Am 07.05.2009 um 15:08 schrieb Henning Hraban Ramm:


Am 2009-05-07 um 13:38 schrieb Wolfgang Schuster:

My minimal example shows some more problems, but these are  
probably because \recurselevel isn't expanded at the right time...

\dorecurse{1000}{Use \type{\expanded{...}}\par}


Use \expanded{...}
Use \expanded{...}
...


Hä? Was soll das?
I don't want to \type some command, but just to expand \recurselevel  
before processing.


Brett + Kopf = ?

\dorecurse{20}{%
\expanded{\chapter{My chapter \recurselevel}}
\expanded{\index{Index entry \recurselevel}}
\input zapf\expanded{\footnote{Zapf \recurselevel}}
\input tufte\expanded{\footnote{Tufte \recurselevel}}
}

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] bugs in beta

2009-05-07 Thread Wolfgang Schuster


Am 07.05.2009 um 15:51 schrieb Alan BRASLAU:


On Thursday 07 May 2009 15:27:35 Hans Hagen wrote:
when i mention beta, i mean the one on the website ... the minimals  
lag

upto an hour behind


Please, I am confused: which one on which website?

http://www.pragma-ade.nl/download-1.htm
contains files from october 2008


http://pragma-ade.nl/download-2.htm ;-)

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] bugs in beta

2009-05-07 Thread Alan BRASLAU
On Thursday 07 May 2009 15:56:19 Wolfgang Schuster wrote:
 Am 07.05.2009 um 15:51 schrieb Alan BRASLAU:
  On Thursday 07 May 2009 15:27:35 Hans Hagen wrote:
  when i mention beta, i mean the one on the website ... the minimals
  lag
  upto an hour behind
 
  Please, I am confused: which one on which website?
 
  http://www.pragma-ade.nl/download-1.htm
  contains files from october 2008

 http://pragma-ade.nl/download-2.htm ;-)

 Wolfgang

Yes, I figured out
http://pragma-ade.nl/context/beta/cont-tmf.zip

However, I have been unable to test ANY recent version as the installations on 
my test machine are hopelessly broken. In producing real work using context, I 
have reverted to an ancient (several week-old) installation on a backup 
(stable) machine.

Maybe I should just wait another hour until the minimals on the garden get 
updated before asking any more questions ;-)

___
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] bugs in beta

2009-05-07 Thread Henning Hraban Ramm

Am 2009-05-07 um 15:28 schrieb Wolfgang Schuster:

My minimal example shows some more problems, but these are  
probably because \recurselevel isn't expanded at the right time...

\dorecurse{1000}{Use \type{\expanded{...}}\par}


Use \expanded{...}
Use \expanded{...}
...


Hä? Was soll das?
I don't want to \type some command, but just to expand  
\recurselevel before processing.


Brett + Kopf = ?

\dorecurse{20}{%
\expanded{\chapter{My chapter \recurselevel}}
\expanded{\index{Index entry \recurselevel}}
\input zapf\expanded{\footnote{Zapf \recurselevel}}
\input tufte\expanded{\footnote{Tufte \recurselevel}}
}



Ja, Blockhaus vorm Kopf, sorry.

Unfortunately it is critical, where to put \expanded, and I tend to  
take always the wrong place...
Therefore the minimal example is fixed; header and toc handlings seems  
right, as I presumed.



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] bugs in beta

2009-05-07 Thread Wolfgang Schuster


Am 07.05.2009 um 16:32 schrieb Henning Hraban Ramm:

Unfortunately it is critical, where to put \expanded, and I tend to  
take always the wrong place...
Therefore the minimal example is fixed; header and toc handlings  
seems right, as I presumed.


http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-the-present-and-the-future/

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] bugs in beta

2009-05-07 Thread Hans Hagen

Henning Hraban Ramm wrote:

Am 2009-05-06 um 21:58 schrieb Thomas A. Schmitz:


Hi Hans,
so you're back from Bachotek and ready to attack the bugs? The beta 
you uploaded today is still badly broken. Most of this has been 
reported before; I just collect it here for your convenience :-)


Sorry Thomas, but you forgot one:

5. Footnotes
- footnote marks are missing in the text
- footnote numbering is strange (e.g. jumps from 3 to 24 and from 29 to 
210 in my project - that was 2.4, 2.9 and 2.10 before, I guess, but 
these aren't even the right part or chapter numbers; in my minimal 
example the numbers are chapternumber footnotenumber)


Can I motivate you (Hans etc.) to fix this anyhow? Swiss Chocolate? 
Money? Prayers?


let me think about that ...

anyhow, a new beta with some footnote fixes ... keep in mind that we're 
moving towards more control and some settings have changed:


\setupnote[footnote][numberconversion=set 1]

there are a lot of new keys (see top of strc-ini.tex) depending on what 
number is used; the settings travel with the number


also, footnotes are now enumerations and can have subnotes which is 
handy for users like Idris and Thomas who normally have more notes than 
text in their documents so any additional structure helps


one: \footnote{Note One}
sub one: \subfootnote{Sub Note One}
sub two: \subfootnote{Sub Note Two}
sub sub one: \subsubfootnote{Sub Sub Note One}

but it needs documentation

-
  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] bugs in beta

2009-05-07 Thread Hans Hagen

Alan BRASLAU wrote:

I still get a major sectioning bug using the new beta mkiv
1. minimals from the garden
2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip

Am I alone in seeing this?


i'm still strugling with defaults (it's not so much a matter of not 
working but more of how to set up the defaults with reasonable 
inheritance) so it will take a while before things stabelize


i uploaded a beta with a (temp) fix


-
  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] bugs in beta

2009-05-07 Thread Yanrui Li
On Fri, May 8, 2009 at 7:06 AM, Yanrui Li liyanrui...@gmail.com wrote:
 On Fri, May 8, 2009 at 5:17 AM, Hans Hagen pra...@wxs.nl wrote:
 Alan BRASLAU wrote:

 I still get a major sectioning bug using the new beta mkiv
 1. minimals from the garden
 2. beta from http://pragma-ade.nl/context/beta/cont-tmf.zip

 Am I alone in seeing this?

 i'm still strugling with defaults (it's not so much a matter of not working
 but more of how to set up the defaults with reasonable inheritance) so it
 will take a while before things stabelize

 i uploaded a beta with a (temp) fix


 I failed to update the latest beta and got the following error message:

 ... ...
 ) (/opt/context/tex/texmf-context/tex/context/base/core-fil.tex
 loading         : ConTeXt Core Macros / File Support
 )
 ! I can't find file `core-con.tex'.
 to be read again
                   \relax
 l.103 \loadcorefile{core-con.tex}

 (Press Enter to retry, or Control-D to exit)
 Please type another input file name:
 ... ...


Inputing core-con.mkii can resolve the problem.

-- 
Best wishes,
Li Yanrui
___
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] bugs in beta

2009-05-06 Thread Wolfgang Schuster


Am 06.05.2009 um 21:58 schrieb Thomas A. Schmitz:

2. The new structure code doesn't expand xmlflushes in sections.  
Here's an example:


\setuphead[section][expansion=yes]

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] bugs in beta

2009-05-06 Thread Thomas A. Schmitz


On May 6, 2009, at 10:12 PM, Wolfgang Schuster wrote:

2. The new structure code doesn't expand xmlflushes in sections.  
Here's an example:


\setuphead[section][expansion=yes]

Wolfgang


Thank you, that works! This is new, right?

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] bugs in beta

2009-05-06 Thread Wolfgang Schuster


Am 06.05.2009 um 22:25 schrieb Thomas A. Schmitz:


On May 6, 2009, at 10:12 PM, Wolfgang Schuster wrote:

2. The new structure code doesn't expand xmlflushes in sections.  
Here's an example:


\setuphead[section][expansion=yes]


Thank you, that works! This is new, right?


Yes it is.

Another way is to use \expanded (without 'expansion=yes'), e.g.

\startxmlsetups xml:title
   \expanded{\section{\xmlflush{#1}}}
\stopxmlsetups

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
___