[NTG-context] columnar footnotes

2012-03-31 Thread Pablo Rodríguez
I'm trying to get a particular footnote series in columns. The body and
other footnotes and line notes have no columns.

Consulting the wiki, I thought this is the right code for it:

\setupcolumns[n=2]
\definenote[dict]
\setupnote[dict][before=\stopcolumns, after=\startcolumns]
\starttext
\dorecurse{10}{a\footnote{b}\dict{c}}
\stoptext

But I get an error and the document doesn't compile.

I don't know what is wrong here (although I realize that my mistake may
be basic).

Could anyone tell me what I am doing wrong here?

Thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] Strange errors on using setupheader

2012-03-31 Thread Wolfgang Schuster

Am 31.03.2012 um 14:20 schrieb Malte Stien:

> Hi all, Hi Hans,
> 
> Thank you for the fix. Okay, so now I am on
> 
>  ConTeXt  ver: 2012.03.30 16:16 MKIV  fmt: 2012.3.31  int: english/english
> 
> which does indeed fix the little problem I posted yesterday. However, I still 
> have one more issue. Again, I condensed it down to something very close to a 
> minimal example:
> 
> 
> \color[darkgray]\blank[small]
> Commercial in Confidence \hfill Version #4

You have to change this to:

\blank[small]
\color[darkgray]{Commercial Confidence \hfill Version #4}

A cleaner way to set the values for the title page is \setvariables:

\startsetups titlepage

  \startstandardmakeup[style=sans]

  \blank[50mm]

  \rightaligned{\bfd\getvariable{titlepage}{company}}

  \textrule

  \rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title}}}

  \blank[170mm]

   \starttabulate[|plf{\tfa}|prf{\tfa}|]
   \NC \tfa © Some Company Pty Ltd\NC  
\getvariable{titlepage}{author}   \NC\NR
   \TB[small]
   \NC \color[darkgray]{Commercial in Confidence} \NC \color[darkgray]{Version 
\getvariable{titlepage}{version}} \NC\NR
   \stoptabulate

  \stopstandardmakeup

\stopsetups

\starttext

\startfrontmatter

\setvariables
  [titlepage]
  [ set=\texsetup{titlepage},
company={Company Name},
 title={The Plan},
author={Dr Who, et al.},
   version={0.1}]

\stopfrontmatter

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


Re: [NTG-context] Strange errors on using setupheader

2012-03-31 Thread Malte Stien
Hi all, Hi Hans,

Thank you for the fix. Okay, so now I am on

  ConTeXt  ver: 2012.03.30 16:16 MKIV  fmt: 2012.3.31  int: english/english

which does indeed fix the little problem I posted yesterday. However, I still 
have one more issue. Again, I condensed it down to something very close to a 
minimal example:


% Select A4 as the paper size
\setuppapersize[A4]

% A macro for the title page
\def\titlepage[#1][#2][#3][#4]{
\startstandardmakeup
\blank[50mm]
\rightaligned{\ss\tfd\bf\nohyphens{#1}}
\blank[2mm]\textrule[bottom]
\rightaligned{\ss{\tfc{\color[darkgray] {#2
\blank[170mm]

\ss\tfa\copyright\thinspace Some Company Pty Ltd \hfill #3 \par
\color[darkgray]\blank[small]
Commercial in Confidence \hfill Version #4
\stopstandardmakeup
}

\starttext
\startfrontmatter

\titlepage[Company Name][The Plan][Dr Who, et al.][0.1]
\completecontent

\page \chapter{Purpose and Scope}
\section[]{Purpose}
This document should be read in conjunction with bla bla bla...

\stopfrontmatter
\stoptext


This results in

29 >>  \stopfrontmatter
30 \stoptext
31 

 
}
 
   \endgroup 
l.29 \stopfrontmatter


If I remove the line

  \color[darkgray]\blank[small]

from the \titlepage macro all works, which I find somewhat unexpected.

Could you please have a look at this?
Thank you.
Malte.


On 31/03/2012, at 1:17, Hans Hagen wrote:

> On 30-3-2012 11:47, Malte Stien wrote:
>> Hans,
>> 
>> No, everything works in the "(by now ancient) current" but is broken in the 
>> beta. I am trying to switch to the beta as you suggested, but am being held 
>> up by some errors, the first one of which is this
> 
> Ah, I forgot to rename a macro ... new beta in an hour ...
> 
> (btw, no need for utf directive in mkiv and english is default anyway)
> 
> 
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___