Re: [NTG-context] a way to implement \testcolumn in mixedcolumns

2013-12-05 Thread Lars Huttar (SIL gmail)
On 12/3/2013 4:40 PM, Hans Hagen wrote:
 On 12/3/2013 3:10 PM, Lars Huttar wrote:
 ...
 Thanks again for your work on this.
 We're continually reevaluating whether we can use the beta or need to
 stick with the stable version. At the moment, it looks like we'll be
 sticking with the stable version. But we'd like to use the beta, if the
 problems can be ironed out.

 fyi: i'll not patch the stable version

 new beta


Thanks for the fixes.
When I said the stable version, I wasn't very specific, but I was
referring to the one on the TeX Live 2013 CD.

But after you said the above I realized you were talking about this
(http://wiki.contextgarden.net/ConTeXt_Standalone#Single_user_installation):

 By default, the suite installs ConTeXt beta. If you want the stable
 version of ConTeXt, you can use

 sh ./first-setup.sh --context=current

I'm making a note of it here in hope that it will help me remember next
time what the stable version refers to.

Regards,
Lars

___
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] footer page number on first page of section: doesn't appear

2013-12-05 Thread Lars Huttar
On 12/4/2013 4:00 PM, Aditya Mahajan wrote:
 On Wed, 4 Dec 2013, Lars Huttar wrote:

 On Dec 4, 2013 12:16:12 pm Wolfgang Schuster wrote:
 ...
 This works only when your heading forces a page break with the
 “page=yes”
 setting in \setuphead.

 Thanks for this response.
 Actually, we were able to get it to work as follows.

 First, we used
 \definehead[section][chapter]
 to get section to inherit some settings from chapter.
 This included the page=yes setting you mentioned (which we don't want,
 because we handle page breaks with some separate special logic); but it
 also apparently includes some unknown magic that enables page numbers in
 footers.

 Then we add page=no to the \setuphead[section] command, to override
 the inherited page=yes.
 Apparently, it works:

 \definetext[footerpagenumber][footer][pagenumber]

 \definehead[section][chapter]

 \setuphead[section][page=no,header=empty,footer=footerpagenumber,number=no,align={middle,nothyphenated,verytolerant},style=ssbf]


 \starttext

 \section{My Own Section}

 \dorecurse{15}{ \input knuth \par }

 \stoptext


 I would love to know what the default properties of the \chapter head
 are, so we could know what we're inheriting, or how to set up section to
 do what we want without inheriting unknown properties from chapter.

 (Untested): Looking at the code, it looks that any value other than
 page=, (i.e, page=empty) should work. Did you try the above example
 without the \definehead[section][chapter] line?

 Aditya

Uggh... I just tried it without the \definehead[section][chapter] line,
and it works! (I.e. there is a page number in the footer, only on the
first page of the section.) It wasn't working yesterday ... which makes
me wonder what else I changed since then.

Thanks,
Lars

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