[NTG-context] Footnote mark gap

2014-02-27 Thread Jan Tosovsky
Dear All,

when footnotes are placed after certain accented characters, the
corresponding footnote marks are rendered too close to them:

\starttext
í\footnote{í}
T\footnote{T}
ľ\footnote{ľ}
ě\footnote{ě}
ď\footnote{ď}
\stoptext

Is there any option for making this distance a bit larger?

On the other hand this gap may produce too much white space when placed
after characters like period or comma...

Ideally it could be positioned 'optically' ;-)

Regards, Jan

___
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] \asciimode not working when in \footnote

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 08:24 PM, Wolfgang Schuster wrote:
> Am 19.02.2014 um 20:18 schrieb Pablo Rodriguez :
>> [...]
>> I’m afraid \asciimode cannot be included within a footnote.
>>
>> Is this a bug or am I missing something?
> 
> You have to enable ascii mode before you write the footnote.

Many thanks for the tip, Wolfgang.

It solves the issue.


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] \asciimode not working when in \footnote

2014-02-19 Thread Wolfgang Schuster

Am 19.02.2014 um 20:18 schrieb Pablo Rodriguez :

> Dear list,
> 
> I have the following sample:
> 
> \starttext
> {\asciimode It works in body%.}\footnote{But not in footnotes
> {\asciimode %}.}
> \stoptext
> 
> I’m afraid \asciimode cannot be included within a footnote.
> 
> Is this a bug or am I missing something?

You have to enable ascii mode before you write the footnote.

\asciimode
\starttext
It works in body%.
\footnote{But not in footnotes %.}
\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
___


[NTG-context] \asciimode not working when in \footnote

2014-02-19 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\starttext
{\asciimode It works in body%.}\footnote{But not in footnotes
{\asciimode %}.}
\stoptext

I’m afraid \asciimode cannot be included within a footnote.

Is this a bug or am I missing something?

Many 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] [***SPAM***] RE: Footnote line position

2014-02-08 Thread Jan Tosovsky
On 2013-12-01 Jan Tosovsky wrote:
> On 2013-11-22 Jan Tosovsky wrote:
> >
> > when a single line footnote is used, the footnote divider is
> > rendered in larger distance than for footnotes with two or
> > more lines (I mean a gap between the line and the footnote text).
> >
> > It can be tested easily:
> >
> > \chapter{Chapter}Foo\footnote{Bar}.
> > \chapter{Chapter}Foo\footnote{Bar
> >
> > Bar}.
> >
> 
> This behaviour seems to be driven by this code in strc-not.mkvi:
> 
> \unexpanded\def\normalnoterule
>   {\ifvmode
>  \dontleavehmode \blackrule
>[\c!color=\noteparameter\c!rulecolor,
> \c!width=.2\hsize,
> \c!height=\noteparameter\c!rulethickness,
> \c!depth=\zeropoint]%
>  \endgraf
>  \kern\strutdepth
>\fi}
> 
> When e.g. \endgraf or \kern\strutdepth lines are commented, the gap is
> smaller, but still different.
> 
> Changing the depth from \zeropoint to a bigger value (1cm) makes the
> gap same, but it leads to extreme thick rule.
> 

After couple of weeks I've updated my Beta and I cannot reproduce the
original behaviour any more!

Thanks for fixing, 

Jan

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


[NTG-context] [***SPAM***] RE: Footnote line position

2013-12-01 Thread Jan Tosovsky
On 2013-11-22 Jan Tosovsky wrote:
> 
> when a single line footnote is used, the footnote divider is 
> rendered in larger distance than for footnotes with two or 
> more lines (I mean a gap between the line and the footnote text).
>
> It can be tested easily:
> 
> \chapter{Chapter}Foo\footnote{Bar}.
> \chapter{Chapter}Foo\footnote{Bar
> 
> Bar}.
> 

This behaviour seems to be driven by this code in strc-not.mkvi:

\unexpanded\def\normalnoterule
  {\ifvmode
 \dontleavehmode \blackrule
   [\c!color=\noteparameter\c!rulecolor,
\c!width=.2\hsize,
\c!height=\noteparameter\c!rulethickness,
\c!depth=\zeropoint]%
 \endgraf
 \kern\strutdepth
   \fi}

When e.g. \endgraf or \kern\strutdepth lines are commented, the gap is
smaller, but still different.

Changing the depth from \zeropoint to a bigger value (1cm) makes the gap
same, but it leads to extreme thick rule.

What else could be tweaked here?

Thnaks, Jan

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


[NTG-context] Footnote line position

2013-11-22 Thread Jan Tosovsky
Dear All,

when a single line footnote is used, the footnote divider is rendered in
larger distance than for footnotes with two or more lines (I mean a gap
between the line and the footnote text). Initially I though there must be an
'empty' paragraph in my footnote but looking into the source it turned out
to be a false alarm as it seems to be consistent. It can be tested easily: 

\chapter{Chapter}Foo\footnote{Bar}.
\chapter{Chapter}Foo\footnote{Bar

Bar}.

Is this behaviour deliberate?

Thanks, Jan

ConTeXt 2013.11.14 & Win 7

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


[NTG-context] Footnote number in different font?

2013-09-04 Thread J. R. Schmid
Hello List,

this is a nitpick, but it's an itch that's been itching me for a couple of
days now. When you put a footnote to Arabic text, the little number (like
this one: ²) appears in the font the Arabic text is in, which makes it look
distinct from the other footnote numbers in the text and thus difficult to
identify for the eye.

I'm using \setupnotation[footnote][before=\lefttoright] to keep the
footnotes from appearing completely mirrored, but haven't been able to find
out a way what else to put there (perhaps next to the \lefttoright) to
affect the font of the little number. Is there a way to do that?

Cheers,
  J. R.
___
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] Multiple footnote-numbers referring only to one footnote

2013-06-05 Thread H. Özoguz

\starttext

First note.\footnote[fnt:one]{First footnote}

Second note.\footnote[fnt:two]{Second footnote}

Third note.\note[fnt:one]

\stoptext

Wolfgang


Perfect, thanks again 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] Multiple footnote-numbers referring only to one footnote

2013-06-05 Thread Wolfgang Schuster

Am 05.06.2013 um 17:47 schrieb "H. Özoguz" :

> No way? I am sure, there is some :)
> 
> Another solution, which would work equally would be to have two 
> footnote-numbers with the same number, which refer to the same footnote. This 
> way:
> 
> Text [Footnote number 1] text [Footnote number 1]
> 
> Footer: 1 Some Footnote.
> 
> Is that possible?

\starttext

First note.\footnote[fnt:one]{First footnote}

Second note.\footnote[fnt:two]{Second footnote}

Third note.\note[fnt:one]

\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] Multiple footnote-numbers referring only to one footnote

2013-06-05 Thread Mica Semrick
Have you had a look at
http://wiki.contextgarden.net/Footnotes#Footnote_Numbering ?

Can you post some code of what you've already tried?


On Wed, Jun 5, 2013 at 8:47 AM, "H. Özoguz"  wrote:

> No way? I am sure, there is some :)
>
> Another solution, which would work equally would be to have two
> footnote-numbers with the same number, which refer to the same footnote.
> This way:
>
> Text [Footnote number 1] text [Footnote number 1]
>
> Footer: 1 Some Footnote.
>
> Is that possible?
> Thanks
>
> Huseyin
> __**__**
> ___
> 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 <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/<http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Multiple footnote-numbers referring only to one footnote

2013-06-05 Thread H. Özoguz

No way? I am sure, there is some :)

Another solution, which would work equally would be to have two 
footnote-numbers with the same number, which refer to the same footnote. 
This way:


Text [Footnote number 1] text [Footnote number 1]

Footer: 1 Some Footnote.

Is that possible?
Thanks
Huseyin
___
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
___


[NTG-context] Multiple footnote-numbers referring only to one footnote

2013-06-04 Thread H. Özoguz

Hello,

how to achieve this: I want more than one footenote-number, which refer 
to the very same footnote. The footnote should than enumerate the 
numbers like:


Text (Footnote 1) Text (Footnote 2)
-
1,2 Very explenating information.

Thanks for help.
Huseyin
___
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] footnote rollover message in PDFs (with interaction)

2013-05-19 Thread Alan Bowen
Thanks, Hans. Sounds good. I will experiment with this!

A.


On Wed, May 15, 2013 at 10:37 AM, Hans Hagen  wrote:

> On 5/15/2013 4:13 PM, Alan Bowen wrote:
>
>> Yes, two-way coupling for footnotes works (though as you say, it goes
>> unnoticed if everything is no the same page. But what of other hyperlink
>> links, say, a reference to a chapter or a section?
>>
>
> when setting up a section head you can say
>
> interaction=list
>
>
> --**--**-
>   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
> __**__**
> ___
>
___
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] footnote rollover message in PDFs (with interaction)

2013-05-15 Thread Hans Hagen

On 5/15/2013 4:13 PM, Alan Bowen wrote:

Yes, two-way coupling for footnotes works (though as you say, it goes
unnoticed if everything is no the same page. But what of other hyperlink
links, say, a reference to a chapter or a section?


when setting up a section head you can say

interaction=list

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


Re: [NTG-context] footnote rollover message in PDFs (with interaction)

2013-05-15 Thread Alan Bowen
Yes, two-way coupling for footnotes works (though as you say, it goes
unnoticed if everything is no the same page. But what of other hyperlink
links, say, a reference to a chapter or a section?


On Wed, May 15, 2013 at 9:14 AM, Hans Hagen  wrote:

> On 5/15/2013 2:20 PM, Alan Bowen wrote:
>
>> Thanks, Hans. I expect that there will be more interest from publishers
>> now as ebooks become more common, move to diverse platforms, and cease
>> from being digital shadows of printed volumes.
>>
>> Also of interest would be support that would allow one to recover from
>> taking an internal hyperlink (i.e., returning to the original location
>> after taking an internal link to another location/page).
>>
>
> afaik that's already the case (two way coupling) but it goes unnoticed if
> one's on the same page
>
>
> --**--**-
>   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
> __**__**
> ___
>
___
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] footnote rollover message in PDFs (with interaction)

2013-05-15 Thread Hans Hagen

On 5/15/2013 2:20 PM, Alan Bowen wrote:

Thanks, Hans. I expect that there will be more interest from publishers
now as ebooks become more common, move to diverse platforms, and cease
from being digital shadows of printed volumes.

Also of interest would be support that would allow one to recover from
taking an internal hyperlink (i.e., returning to the original location
after taking an internal link to another location/page).


afaik that's already the case (two way coupling) but it goes unnoticed 
if one's on the same page


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


Re: [NTG-context] footnote rollover message in PDFs (with interaction)

2013-05-15 Thread Alan Bowen
Thanks, Hans. I expect that there will be more interest from publishers now
as ebooks become more common, move to diverse platforms, and cease from
being digital shadows of printed volumes.

Also of interest would be support that would allow one to recover from
taking an internal hyperlink (i.e., returning to the original location
after taking an internal link to another location/page).

Alan


On Tue, May 14, 2013 at 1:59 PM, Hans Hagen  wrote:

> On 5/14/2013 1:46 PM, Alan Bowen wrote:
>
>> The PDFs that I produce are now being read on a number different
>> platforms, some with very small screens. So, in the case of footnotes at
>> least, I was wondering if there was a way to  produce PDFs such that
>> when the cursor passes over the footnote call, the popup message
>> includes the entire footnote and not just “Go to page xx”.
>>
>
> i'm thinking of cooking up some support like that for ebook like
> applications but i'll wait till i run into a proper device (also, it needs
> support from the viewer; there are several solutions possible) ... i did a
> lot of that stuff over a decade ago but there waas never much interest in
> it (from publishers)
>
> Hans
>
> --**--**-
>   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 <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/<http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] footnote rollover message in PDFs (with interaction)

2013-05-14 Thread Hans Hagen

On 5/14/2013 1:46 PM, Alan Bowen wrote:

The PDFs that I produce are now being read on a number different
platforms, some with very small screens. So, in the case of footnotes at
least, I was wondering if there was a way to  produce PDFs such that
when the cursor passes over the footnote call, the popup message
includes the entire footnote and not just “Go to page xx”.


i'm thinking of cooking up some support like that for ebook like 
applications but i'll wait till i run into a proper device (also, it 
needs support from the viewer; there are several solutions possible) ... 
i did a lot of that stuff over a decade ago but there waas never much 
interest in it (from publishers)


Hans

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


[NTG-context] footnote rollover message in PDFs (with interaction)

2013-05-14 Thread Alan Bowen
The PDFs that I produce are now being read on a number different platforms,
some with very small screens. So, in the case of footnotes at least, I was
wondering if there was a way to  produce PDFs such that when the cursor
passes over the footnote call, the popup message includes the entire
footnote and not just “Go to page xx”.

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

Re: [NTG-context] Can't use \type{\} in a footnote

2013-05-07 Thread Wolfgang Schuster

Am 07.05.2013 um 12:35 schrieb Tim Li :

> Thanks, Huseyin. My codes in context is reasonable, so I want to know why 
> this is wrong.

Catcodes can’t be changed in footnotes which is necessary to make \ a normal 
character for the \type command. For TeX command you can use \tex{mycommand} 
which adds a \ at the begin of the argument.

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] Can't use \type{\} in a footnote

2013-05-07 Thread Tim Li
Thanks, Huseyin. My codes in context is reasonable, so I want to know why this 
is wrong.

Tim


> Date: Tue, 7 May 2013 09:13:58 +0200
> From: h.oezo...@mmnetz.de
> To: ntg-context@ntg.nl
> Subject: Re: [NTG-context] Can't use \type{\} in a footnote
> 
> You could use this:
> 
> \starttext
> aa\footnote{I can get a backslash\textbackslash in footnote!}
> \stoptext
> 
> Huseyin
> 
> 
> 
> 
> 
> 
> ___
> 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
> ___
  ___
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] Can't use \type{\} in a footnote

2013-05-07 Thread H. Özoguz

You could use this:

\starttext
aa\footnote{I can get a backslash\textbackslash in footnote!}
\stoptext

Huseyin






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


[NTG-context] Can't use \type{\} in a footnote

2013-05-06 Thread Tim Li
Hi, 

I think these codes is normal in context,

\starttext
aa\footnote{I can't get a backslash \type{\} in footnote!} 
\stoptext

Since I have changed the catcode of `\` using `\type`, why can I not still use 
\type{\} in a footnote?

Tim   ___
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] Footnote disappear in "placeongrid"

2013-05-02 Thread Wolfgang Schuster

Am 02.05.2013 um 11:20 schrieb Sietse Brouwer :

> Wolfgang wrote:
>> Add the \automigrateinserts command to your
>> document, it is necessary when you have
>> footnotes in a box, e.g. \framed or \placeongrid.
> 
> Would it make sense for \setupalign[grid] to automatically call
> \automigrateinserts, or
> are there situations when
> (a) one typesets on a grid, and
> (b) one does not want \automigrateinserts in the document?

The whole thing has nothing to do with the grid, you need the command
when a footnote appear and a \hbox or a \vbox which is used by \framed,
\bTABLE or \placeongrid.

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] Footnote disappear in "placeongrid"

2013-05-02 Thread Sietse Brouwer
Wolfgang wrote:
> Add the \automigrateinserts command to your
> document, it is necessary when you have
> footnotes in a box, e.g. \framed or \placeongrid.

Would it make sense for \setupalign[grid] to automatically call
\automigrateinserts, or
are there situations when
(a) one typesets on a grid, and
(b) one does not want \automigrateinserts in the document?

Kind regards,
Sietse
___
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] Footnote disappear in "placeongrid"

2013-05-02 Thread Wolfgang Schuster

Am 02.05.2013 um 10:01 schrieb Alan BRASLAU :

> On Thu, 2 May 2013 08:20:54 +0200
> Wolfgang Schuster  wrote:
> 
>> Add the \atomigrateinserts command to your document, it is necessary when 
>> you have
>> footnotes in a box, e.g. \framed or \placeongrid.
> 
> Added to
> http://wiki.contextgarden.net/Footnotes
> although further explanation would eventually be useful.
> 
> I have noticed this bug before (using local footnotes within 
> \startframedtext\stopframedtext).

http://www.ntg.nl/pipermail/ntg-context/2012/070241.html

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] Footnote disappear in "placeongrid"

2013-05-02 Thread Alan BRASLAU
On Thu, 2 May 2013 08:20:54 +0200
Wolfgang Schuster  wrote:

> Add the \atomigrateinserts command to your document, it is necessary when you 
> have
> footnotes in a box, e.g. \framed or \placeongrid.

Added to
http://wiki.contextgarden.net/Footnotes
although further explanation would eventually be useful.

I have noticed this bug before (using local footnotes within 
\startframedtext\stopframedtext).

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


Re: [NTG-context] Footnote disappear in "placeongrid"

2013-05-01 Thread Wolfgang Schuster

Am 02.05.2013 um 08:01 schrieb H. Özoguz :

> Is this a bug, or has anybody an idea for a workaround?


Add the \atomigrateinserts command to your document, it is necessary when you 
have
footnotes in a box, e.g. \framed or \placeongrid.

\setuplayout[grid=yes]

\automigrateinserts

\starttext

First\footnote{One} note.

\placeongrid{Second note.\footnote{Two}}

Third\footnote{Three} note.

\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] Footnote disappear in "placeongrid"

2013-05-01 Thread H. Özoguz

Is this a bug, or has anybody an idea for a workaround?

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


[NTG-context] [***SPAM***] Footnote disappear in "placeongrid"

2013-04-30 Thread H. Özoguz

Hi there,

in the interior of "placeongrid" footnotes disappear (not shown at the 
buttom). I think this is a bug?


\setuplayout[grid=yes]
\starttext
A footnote.\footnote{Foo.}
\placeongrid[bottom]{Footnote in placeongrid.\footnote{Foo.}}
\stoptext

Huseyin
___
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] How to change the color of numbers just before the footnote text?

2013-04-15 Thread Wolfgang Schuster

Am 15.04.2013 um 10:44 schrieb Tim Li :

> Now I have to change the color of numbers just before the footnote text so 
> that it can match the color of text area.  I try to do it like this:
>  
> \def\myfootnotecolor#1{%
> \startcolor[red]#1\stopcolor}
>  
> \setupfootnotes
>[numbercommand={\myfootnotecolor}]
>  
> or
>  
> \setupfootnotes
>[foregroundcolor=red]
>  
> either method has no effect.

For the number in the running text you have to use

  \setupnote[footnote][textcolor=red]

while for the number in the footnote block you have to use

  \setupnotation[footnote][headcolor=red]

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
___

[NTG-context] How to change the color of numbers just before the footnote text?

2013-04-15 Thread Tim Li
Now I have to change the color of numbers just before the footnote text so that 
it can match the color of text area.  I try to do it like this: 
\def\myfootnotecolor#1{%\startcolor[red]#1\stopcolor} \setupfootnotes   
[numbercommand={\myfootnotecolor}] or \setupfootnotes   [foregroundcolor=red] 
either method has no effect.___
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] Footnote rule colour

2013-02-15 Thread Kumar Appaiah
On Fri, Feb 15, 2013 at 04:43:21PM -0600, Kumar Appaiah wrote:
> On Fri, Feb 15, 2013 at 04:31:37PM -0600, Kumar Appaiah wrote:
> > Dear ConTeXt list,
> > 
> > I am trying to use footnotes in a presentation, and the text colour I
> > am using is white. Now, I've managed to set up the frame I want, and
> > the footnote appears in white, but the line rule above the footnotes
> > still appears black. Could you please let me know how I can make that
> > line white as well?
> 
> On the flip side, I can't get the footnote colour right either. How do
> I get white footnotes with white rule lines?

I got it. rulecolor is the option to setupfootnotes that did the
trick!

I'll try looking and the source code more often to figure out what
options are used for various commands, since the documentation doesn't
seem to cover all options.

Thanks.

Kumar
-- 
Kumar Appaiah
___
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] Footnote rule colour

2013-02-15 Thread Kumar Appaiah
On Fri, Feb 15, 2013 at 04:31:37PM -0600, Kumar Appaiah wrote:
> Dear ConTeXt list,
> 
> I am trying to use footnotes in a presentation, and the text colour I
> am using is white. Now, I've managed to set up the frame I want, and
> the footnote appears in white, but the line rule above the footnotes
> still appears black. Could you please let me know how I can make that
> line white as well?

On the flip side, I can't get the footnote colour right either. How do
I get white footnotes with white rule lines?

Thanks!

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


[NTG-context] Footnote rule colour

2013-02-15 Thread Kumar Appaiah
Dear ConTeXt list,

I am trying to use footnotes in a presentation, and the text colour I
am using is white. Now, I've managed to set up the frame I want, and
the footnote appears in white, but the line rule above the footnotes
still appears black. Could you please let me know how I can make that
line white as well?

Thanks.

Kumar
-- 
Kumar Appaiah
___
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] Broken footnote-numbering in the latest beta

2012-12-19 Thread Jannik Voges
Hello,


as you might have noticed (thanks Robert), I misspelled footnote in 
\setupnotation[footnote]…, so my example works perfectly fine. But I found the 
real bug in my document. I use natural tables with footnotes and 
\automigrateinserts in my document. Everything works fine, when the first 
footnote on a page doesn't appear in a natural table. When it does, the 
footnote counter isn't reseted.

Minimal example:

\setupnotation[footnote][way=bypage]
\automigrateinserts

\starttext

Text\footnote{correct}

\bTABLE
\bTR \bTD Text\footnote{correct} \eTD \eTR
\eTABLE

\page

\bTABLE
\bTR \bTD Text\footnote{incorrect} \eTD \eTR
\eTABLE

Text\footnote{incorrect}

\stoptext

Am 19.12.2012 um 18:14 schrieb Jannik Voges :

> Hello,
> 
> 
> 
> When I use \setupnotation[footnote][way=bypage] in the latest beta to reset 
> the footnote counter on each page, that doesn't work anymore.
> 
> Minimal example:
> 
> \setupnotation[foonote][way=bypage]
> 
> \starttext
> 
> Text\footnote{a footnote}, Text\footnote{another footnote}
> 
> \page
> 
> Text\footnote{a footnote with wrong number}, Text\footnote{another footnote 
> with wrong number}
> 
> \stoptext
> 
> 
> Jannik
> ___
> 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
> ___

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


[NTG-context] Broken footnote-numbering in the latest beta

2012-12-19 Thread Jannik Voges
Hello,



When I use \setupnotation[footnote][way=bypage] in the latest beta to reset the 
footnote counter on each page, that doesn't work anymore.

Minimal example:

\setupnotation[foonote][way=bypage]

\starttext

Text\footnote{a footnote}, Text\footnote{another footnote}

\page

Text\footnote{a footnote with wrong number}, Text\footnote{another footnote 
with wrong number}

\stoptext


Jannik
___
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] no footnote printed

2012-11-14 Thread Wolfgang Schuster

Am 14.11.2012 um 12:26 schrieb Philipp Gesang 
:

> ·
> 
>> Am 13.11.12 13:36, schrieb Hans Hagen:
>>> On 11/13/2012 11:05 AM, Bernd Militzer wrote:
>>>> Hello,
>>>> 
>>>> using midaligned no footnote is printed.
>>>> 
>>>> \starttext
>>>> %
>>>> \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
>>>> \crlf
>>>> Text bla bla bla
>>>> %
>>>> \blank
>>>> \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
>>>> \crlf
>>>> Text bla bla bla
>>> you can try with
>>> 
>>> \automigrateinserts
>>> 
>> Thanks Hans, but it does not work.
> 
> This works with the beta as of two weeks ago:
> 
> ·····
> \automigrateinserts
> \starttext
> \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
> \stoptext
> ·
> 
> Maybe your use-case differs?


The footnote disappears when you add \crlf after \midaligned.

\automigrateinserts
\starttext
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
\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] no footnote printed

2012-11-14 Thread Herbert Voss

Am 14.11.2012 12:18, schrieb Bernd Militzer:

Am 13.11.12 13:36, schrieb Hans Hagen:

On 11/13/2012 11:05 AM, Bernd Militzer wrote:

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla

you can try with

\automigrateinserts


Thanks Hans, but it does not work.


it works with current versions of minimal and also TeXLive

Herbert

___
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] no footnote printed

2012-11-14 Thread Philipp Gesang
·

> Am 13.11.12 13:36, schrieb Hans Hagen:
> >On 11/13/2012 11:05 AM, Bernd Militzer wrote:
> >>Hello,
> >>
> >>using midaligned no footnote is printed.
> >>
> >>\starttext
> >>%
> >>\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
> >>\crlf
> >>Text bla bla bla
> >>%
> >>\blank
> >>\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
> >>\crlf
> >>Text bla bla bla
> >you can try with
> >
> >\automigrateinserts
> >
> Thanks Hans, but it does not work.

This works with the beta as of two weeks ago:

·
\automigrateinserts
\starttext
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\stoptext
·····

Maybe your use-case differs?

Regards, Philipp



> 
> I use now in instead:
> 
> \def\mySchopf#1{\strut\hfill{~{#1}\hfill~}}
> %
> \mySchopf{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
> and all is OK for me.
> 
> Best wishes,
> Bernd
> 
> 
> ___
> 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
> ___

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpnkHYW38qiy.pgp
Description: PGP signature
___
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] no footnote printed

2012-11-14 Thread Bernd Militzer

Am 13.11.12 13:36, schrieb Hans Hagen:

On 11/13/2012 11:05 AM, Bernd Militzer wrote:

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla

you can try with

\automigrateinserts


Thanks Hans, but it does not work.

I use now in instead:

\def\mySchopf#1{\strut\hfill{~{#1}\hfill~}}
%
\mySchopf{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
and all is OK for me.

Best wishes,
Bernd


___
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] no footnote printed

2012-11-13 Thread Hans Hagen

On 11/13/2012 11:05 AM, Bernd Militzer wrote:

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla
%
\stoptext

tested with:
ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.9  int: english/english
LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
and
ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.24  int: english/english
luatex, version beta-0.70.2-2012052309 (tex live 2012)


you can try with

\automigrateinserts

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


[NTG-context] no footnote printed

2012-11-13 Thread Bernd Militzer

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla
%
\stoptext

tested with:
ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.9  int: english/english
LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
and
ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.24  int: english/english
luatex, version beta-0.70.2-2012052309 (tex live 2012)


thanks for help

Bernd




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


[NTG-context] no footnote printed

2012-11-12 Thread Bernd Militzer

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla
%
\stoptext

tested with:
ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.9  int: english/english
LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
and
ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.24  int: english/english
luatex, version beta-0.70.2-2012052309 (tex live 2012)


thanks for help

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


[NTG-context] no footnote printed

2012-11-12 Thread Bernd Militzer

Hello,

using midaligned no footnote is printed.

\starttext
%
\midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}}
\crlf
Text bla bla bla
%
\blank
\midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}}
\crlf
Text bla bla bla
%
\stoptext

tested with:
ConTeXt  ver: 2011.10.08 11:42 MKIV  fmt: 2011.10.9  int: english/english
LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
and
ConTeXt  ver: 2012.10.22 23:51 MKIV  fmt: 2012.10.24  int: english/english
luatex, version beta-0.70.2-2012052309 (tex live 2012)


thanks for help

Bernd
___
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] Bug in footnote conversion?

2012-11-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Wed, 31 Oct 2012 17:17:06 +0100, Aditya Mahajan  wrote:


On Wed, 31 Oct 2012, Wolfgang Schuster wrote:

You can look if you find something in the manuals or the wiki.


If not, then add the information to the wiki.

Aditya


I added some snippets to existing wiki-pages:

http://wiki.contextgarden.net/Command/convertnumber
http://wiki.contextgarden.net/Command/defineconversion

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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] Bug in footnote conversion?

2012-10-31 Thread Aditya Mahajan

On Wed, 31 Oct 2012, Wolfgang Schuster wrote:

You can look if you find something in the manuals or the wiki.


If not, then add the information to the wiki.

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


Re: [NTG-context] Bug in footnote conversion?

2012-10-31 Thread Wolfgang Schuster

Am 31.10.2012 um 16:43 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
:

> On Wed, 31 Oct 2012 16:19:53 +0100, Wolfgang Schuster 
>  wrote:
> 
>> \setupnotation[footnote][numberconversion=set 1]
>> 
>> Wolfgang
> 
> Thanks, it works.
> 
> Question: "set 1" is a built-in number conversion?
> 
> - If so, what are other built-in [number] conversion sets?

Predefined are “set 0” till “set 3”.

\starttext
\dorecurse {8}{\convertnumber{set 0}{#1}\quad}\par
\dorecurse {9}{\convertnumber{set 1}{#1}\quad}\par
\dorecurse{12}{\convertnumber{set 2}{#1}\quad}\par
\dorecurse{15}{\convertnumber{set 3}{#1}\quad}\par
\stoptext

You can write your own symbol lists with (I use math mode because the spacing 
between the asterisks is better):

\defineconversion[starred][\m{*},\m{**},\m{***}]

> - - Are they documented anywhere?

You can look if you find something in the manuals or the wiki.

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] Bug in footnote conversion?

2012-10-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Wed, 31 Oct 2012 16:19:53 +0100, Wolfgang Schuster 
 wrote:


\setupnotation[footnote][numberconversion=set 1]

Wolfgang


Thanks, it works.

Question: "set 1" is a built-in number conversion?

- If so, what are other built-in [number] conversion sets?

- - Are they documented anywhere?

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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] Bug in footnote conversion?

2012-10-31 Thread Wolfgang Schuster

Am 31.10.2012 um 16:16 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
:

> Hello,
> 
> the following example is copied from 
> http://wiki.contextgarden.net/Command/setupfootnotes:
> 
> 
> \defineconversion[starred][\starredconv]
> \def\starredconv#1{\ifcase#1\or*\or**\or***\fi}
> 
> \setupfootnotes[conversion=starred,color=blue,frame=on]
> 
> \starttext
>  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a 
> \quote{best Czech person} poll.}
> 
>  \it
>  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a 
> \quote{best Czech person} poll.}
> 
>  \tt
>  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a 
> \quote{best Czech person} poll.}
> \stoptext
> 
> 
> The problem is that - contrary to wiki - no conversion from numbers to stars 
> is performed.
> 
> Any fix needed? Or a new calling convention?

\setupnotation[footnote][numberconversion=set 1]

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
___


[NTG-context] Bug in footnote conversion?

2012-10-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

the following example is copied from 
http://wiki.contextgarden.net/Command/setupfootnotes:


\defineconversion[starred][\starredconv]
\def\starredconv#1{\ifcase#1\or*\or**\or***\fi}

\setupfootnotes[conversion=starred,color=blue,frame=on]

\starttext
  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a 
\quote{best Czech person} poll.}

  \it
  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a 
\quote{best Czech person} poll.}

  \tt
  Charles IV\footnote{Best Czech king (14th cent.) and the winner of a 
\quote{best Czech person} poll.}
\stoptext


The problem is that - contrary to wiki - no conversion from numbers to stars is 
performed.

Any fix needed? Or a new calling convention?

TIA.

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t-FN2.mkiv
Description: Binary data


t-FN2.pdf
Description: Adobe PDF document
___
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] Bug with setupinteraction and footnote

2012-08-05 Thread Sietse Brouwer
Hi Otared,

This is the same error as in the "Luatex error in latest beta
(standalone)" thread.

In line 317 of strc-not.lua, change this:
 function notes.deltapage(tag,n)
into this:
 local function getdeltapage(tag,n)

Cheers,
Sietse
___
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
___


[NTG-context] Bug with setupinteraction and footnote

2012-08-04 Thread Otared Kavian
Hi Hans,

With the latest beta (ConTeXt  ver: 2012.08.04 14:00 MKIV  fmt: 2012.8.5) the 
following use of \setupinteraction[state=start] and \footnote causes a luatex 
error:

%%
\setupinteraction[state=start]
\starttext
While testing footnotes\footnote{This is a footnote.} we encounter a bug with 
\type{\setupinteraction}.
\stoptext
%%

The error message starts with:
> ! LuaTeX error ...imal/tex/texmf-context/tex/context/base/strc-not.lua:351: 
> attempt to call global 'getdeltapage' (a nil value)
> stack traceback:
>   ...imal/tex/texmf-context/tex/context/base/strc-not.lua:351: in 
> function 'notedeltapage'
>   :1: in main chunk.

and finishes with:

> \ctxcommand ...\directlua \zerocount {commands.#1}
>   
> \strc_notes_set_style_color_special ...tenumber )}
>   \relax 
> \setlocationcolorsp...
> \strc_notes_set_style_color_inline ...lor_special 
>   \fi 
> \strc_notes_inject_symbol ...xtstyle \c!textcolor 
>   \hbox 
> \strc_notes_get_refe...
> \195>notation:note ...l \strc_notes_inject_symbol 
>   \else \unskip \unskip 
> \glo...
> \strc_notations_command_nop ...handler \endcsname 
>       
> \strc_constructions_finali...
> l.6 ...ing footnotes\footnote{This is a footnote.}
>we encounter a bug with 
> \...
> ? 
> Process aborted
> 


By the way just before line 351 of strc-not.lua, on lines 345--347 are the 
equalities written in this way on purpose?
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnote numbers turn red

2012-07-31 Thread Martin Althoff
OK, was using: 2012.07.21 16:50 MKIV.

Ran an update (now 2012.07.27 16:41 MKIV). Problem was in another place though 
(working on several docs at the moment).

A module had the line:

\setupfootnotes[textcolor=black]

Then adding this what you gave at a later point:

\setupinteraction
  [state=start,
  color=darkblue,
  contrastcolor=green]

only changed the footnote at the bottom of the page to green, not in the text 
body. That remained black. This cross dependence had confused me. 

Is that the intent contrastcolor as given on?

http://wiki.contextgarden.net/Command/setupinteraction

Martin


> Not here with 2012.07.27 16:41. Which context version are you

> running?
> 
___
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] footnote numbers turn red

2012-07-31 Thread Marco Patzer
On 2012-07-31 Martin Althoff  wrote:

> With the definition, as you give it, the footnote numbers at the
> bottom of the page turn green, but the ones in the text remain
> black.

Not here with 2012.07.27 16:41. Which context version are you
running?


Marco

___
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] footnote numbers turn red

2012-07-31 Thread Martin Althoff
Hi Marco,
Thanks for that. Though it seems that is only part of the situation. With the 
definition, as you give it, the footnote numbers at the bottom of the page turn 
green, but the ones in the text remain black. I deleted all generated files 
just to be sure.

Martin

>>  The footnote numbers turn red(ish) as soon as \setupinteraction is 

> present.
>> 
>>  Is that intended?
> 
> Yes, it is. There is a special setting, when the link appears on the
> same page, it's contrastcolor.
> 
> \setupinteraction
>   [state=start,
>    color=darkblue,
>    contrastcolor=green]
___
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] footnote numbers turn red

2012-07-31 Thread Marco Patzer
On 2012-07-31 Martin  wrote:

Hi Martin,

> The footnote numbers turn red(ish) as soon as \setupinteraction is present.
> 
> Is that intended?

Yes, it is. There is a special setting, when the link appears on the
same page, it's contrastcolor.

\setupinteraction
  [state=start,
   color=darkblue,
   contrastcolor=green]


Marco

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


[NTG-context] footnote numbers turn red

2012-07-31 Thread Martin

The footnote numbers turn red(ish) as soon as \setupinteraction is present.

Is that intended?

thanks for replies!

Martin

with
ConTeXt  ver: 2012.07.21 16:50 MKIV  fmt: 2012.7.21


example:

\setupinteraction[state=start,color=darkblue,style=\tf]

\starttext
some text\footnote{a footnote}
\stoptext
___
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] ancient greek module and footnote fontsize problem

2012-07-16 Thread Alan Bowen
Thanks, Thomas. That’s got it nicely.

Best, Alan

On Mon, Jul 16, 2012 at 2:56 PM, Thomas A. Schmitz <
thomas.schm...@uni-bonn.de> wrote:

> On 07/16/2012 03:05 PM, Alan Bowen wrote:
>
>> The following code fails to produce greek in the footnotes.
>>
>> \usemodule[ancientgreek]
>> [font=GreekOldStandard,scale=**1.00,altfont=GreekLibertine,**scale=0.95]
>>
>> \def\grk{\localgreek}
>>
>> \setupnote[footnote][way=**bypage,conversion=numbers]
>>
>> \setupnote[footnote][location=**page,
>> rule=on,
>> bodyfont=9.5pt,
>> style=normal
>> ]
>>
>> \starttext
>> \grk{ἄλφα} lorem ipsum\footnote{lorem ipsm dolor \grk{βῆτα}}
>> \stoptext
>>
>> The problem seems to be “bodyfont=9.5pt”. If this line is commented out,
>> the greek appears as it should.
>>
>> Is this a bug or is there another way to set the fontsize in footnotes
>> to 9.5 pts?
>>
>> Alan
>>
>
> Add this to your file:
>
> \starttypescript [serif] [default] [size]
> \definebodyfont [9.5pt] [rm] [default]
> \stoptypescript
>
> \definebodyfontenvironment[9.**5pt]
>
> 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 <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/<http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] ancient greek module and footnote fontsize problem

2012-07-16 Thread Thomas A. Schmitz

On 07/16/2012 03:05 PM, Alan Bowen wrote:

The following code fails to produce greek in the footnote.

\usemodule[ancientgreek]
[font=GreekOldStandard,scale=1.00,altfont=GreekLibertine,scale=0.95]

\def\grk{\localgreek}

\setupnote[footnote][way=bypage,conversion=numbers]

\setupnote[footnote][location=page,
rule=on,
bodyfont=9.5pt,
style=normal
]

\starttext
\grk{ἄλφα} lorem ipsum\footnote{lorem ipsm dolor \grk{βῆτα}}
\stoptext

The problem seems to be “bodyfont=9.5pt”. If this line is commented out,
the greek appears as it should.

Is this a bug or is there another way to set the fontsize in footnotes
to 9.5 pts?

Alan


Add this to your file:

\starttypescript [serif] [default] [size]
\definebodyfont [9.5pt] [rm] [default]
\stoptypescript

\definebodyfontenvironment[9.5pt]

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

[NTG-context] ancient greek module and footnote fontsize problem

2012-07-16 Thread Alan Bowen
The following code fails to produce greek in the footnote.

\usemodule[ancientgreek]
[font=GreekOldStandard,scale=1.00,altfont=GreekLibertine,scale=0.95]

\def\grk{\localgreek}

\setupnote[footnote][way=bypage,conversion=numbers]

\setupnote[footnote][location=page,
rule=on,
bodyfont=9.5pt,
style=normal
]

\starttext
\grk{ἄλφα} lorem ipsum\footnote{lorem ipsm dolor \grk{βῆτα}}
\stoptext

The problem seems to be “bodyfont=9.5pt”. If this line is commented out,
the greek appears as it should.

Is this a bug or is there another way to set the fontsize in footnotes to
9.5 pts?

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

Re: [NTG-context] how to change footnote body number

2012-06-22 Thread Pablo Rodríguez
On 21/06/12 22:46, Wolfgang Schuster wrote:
> Am 21.06.2012 um 21:00 schrieb Pablo Rodríguez:
>> Hi there,
>>
>> I'm trying to change the format of the footnote numbers in the body (not
>> in the lower area for footnotes) and I don't know how to do this.
>>[...]
> 
> \setupbodyfont[calluna] % replace this with your own font which has the 
> “sups” feature
> 
> \definefontfeature[sups][sups=yes]
> 
> \setupnote[footnote][textstyle=\setff{sups},textcommand=]
> 
> \starttext
> Note\footnote{Not here, but above.}
> \stoptext

Many thanks for your replies, Marco and Wolfgang.

Wolfgang, what is the difference between \addfs{} and \setff{}?

Many thanks again,


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] how to change footnote body number

2012-06-21 Thread Wolfgang Schuster

Am 21.06.2012 um 21:00 schrieb Pablo Rodríguez:

> Hi there,
> 
> I'm trying to change the format of the footnote numbers in the body (not
> in the lower area for footnotes) and I don't know how to do this.
> 
> Here you have a sample:
> 
> \definefontfeature[oldnumb][onum=yes]
> \setupnotation[footnote][numberstyle=\tf,numbercommand=\addfs{oldnumb}]
> \starttext
> Note\footnote{Not here, but above.}
> \stoptext
> 
> Just in case you wonder, the OT feature is actually sups=yes, but that
> feature only works with Sorts Mill Goudy
> (http://www.theleagueofmoveabletype.com/sorts-mill-goudy).
> 
> How is the proper way to do this?

For oldstyle numerals you can use the “oldstyle” feature:

\setupnote[footnote][textstyle=\setff{oldstyle}]

\starttext
Note\footnote{Not here, but above.}
\stoptext

To use the superscript feature you have define first a fontfeature with 
“sups=yes” which can now be applied to textstyle, it’s also important to 
disable the \high command which is used to raise the footnote number.

\setupbodyfont[calluna] % replace this with your own font which has the “sups” 
feature

\definefontfeature[sups][sups=yes]

\setupnote[footnote][textstyle=\setff{sups},textcommand=]

\starttext
Note\footnote{Not here, but above.}
\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] how to change footnote body number

2012-06-21 Thread Marco
On 2012-06-21 Pablo Rodríguez  wrote:

> I'm trying to change the format of the footnote numbers in the body (not
> in the lower area for footnotes) and I don't know how to do this.

\setupfootnotes [textcommand=\high]

There you can hook in your font feature command.


Marco


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

[NTG-context] how to change footnote body number

2012-06-21 Thread Pablo Rodríguez
Hi there,

I'm trying to change the format of the footnote numbers in the body (not
in the lower area for footnotes) and I don't know how to do this.

Here you have a sample:

\definefontfeature[oldnumb][onum=yes]
\setupnotation[footnote][numberstyle=\tf,numbercommand=\addfs{oldnumb}]
\starttext
Note\footnote{Not here, but above.}
\stoptext

Just in case you wonder, the OT feature is actually sups=yes, but that
feature only works with Sorts Mill Goudy
(http://www.theleagueofmoveabletype.com/sorts-mill-goudy).

How is the proper way to do this?

Many 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] \footnote numbering starting with 3

2012-05-28 Thread Marco Pessotto
Wolfgang Schuster  writes:

> Am 28.05.2012 um 19:36 schrieb Marco Pessotto:
>
>> 
>> Ok, here we are:
>> 
>> \starttext
>> 
>> \placelist[chapter,section]
>> 
>> hello\footnote{ciao}
>> 
>> \chapter{Hello\footnote{weird!}}
>> 
>> \section{Hello\footnote{another fn}}
>> 
>> hello\footnote{ciao}
>> 
>> \stoptext
>> 
>> The first footnote will start at 3 by itself.
>> 
>> There is some weird interference between the placelist and the
>> footnote, as removing the \placelist the numbering starts correctly.
>> 
>> Found in both the latest minimals and in the TeXlive pretest.
>
> I sent a fix to the dev list.
>
> Wolfgang

Thanks!

-- 
Marco

___
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] \footnote numbering starting with 3 [Was: ConTeXt MKIV 2012.05.22 and \footnote]

2012-05-28 Thread Wolfgang Schuster

Am 28.05.2012 um 19:36 schrieb Marco Pessotto:

> 
> Ok, here we are:
> 
> \starttext
> 
> \placelist[chapter,section]
> 
> hello\footnote{ciao}
> 
> \chapter{Hello\footnote{weird!}}
> 
> \section{Hello\footnote{another fn}}
> 
> hello\footnote{ciao}
> 
> \stoptext
> 
> The first footnote will start at 3 by itself.
> 
> There is some weird interference between the placelist and the
> footnote, as removing the \placelist the numbering starts correctly.
> 
> Found in both the latest minimals and in the TeXlive pretest.

I sent a fix to the dev list.

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
___


[NTG-context] \footnote numbering starting with 3 [Was: ConTeXt MKIV 2012.05.22 and \footnote]

2012-05-28 Thread Marco Pessotto

Ok, here we are:

\starttext

\placelist[chapter,section]

hello\footnote{ciao}

\chapter{Hello\footnote{weird!}}

\section{Hello\footnote{another fn}}

hello\footnote{ciao}

\stoptext

The first footnote will start at 3 by itself.

There is some weird interference between the placelist and the
footnote, as removing the \placelist the numbering starts correctly.

Found in both the latest minimals and in the TeXlive pretest.

Best wishes


-- 
Marco

___
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] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-28 Thread Marco Pessotto
Wolfgang Schuster  writes:

> Am 28.05.2012 um 19:05 schrieb Marco Pessotto:
>
>> 
>> Hello there
>> 
>> Some further testing shows problems with footnotes:
>> 
>> %% start minimal
>> \setupfootnotes[way=bychapter]
>
> \setupnotation[footnote][way=bychapter,start=2]

Ok, thanks, that works for the bychapter thing. (Apologies, I didn't
keep track of this setup change).

But the "3" numbering is another problem. It starts at "3" by itself. As
I said, I'm trying to figure out what it triggers it, as the document is
long and will take a while to strip it down.

-- 
Marco

___
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] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-28 Thread Wolfgang Schuster

Am 28.05.2012 um 19:05 schrieb Marco Pessotto:

> 
> Hello there
> 
> Some further testing shows problems with footnotes:
> 
> %% start minimal
> \setupfootnotes[way=bychapter]

\setupnotation[footnote][way=bychapter,start=2]

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] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-28 Thread Marco Pessotto

Hello there

Some further testing shows problems with footnotes:

%% start minimal
\setupfootnotes[way=bychapter]

\starttext

\chapter{chap}

hello\footnote{ciao}

\chapter{chap}

hello\footnote{ciao}

\stoptext
%%% stop

The numbering is not by chapter any more.

(from TeXlive pretest)
mtx-context | current version: 2012.05.25 18:21 

also happens with the Minimals
mtx-context | current version: 2012.05.26 16:40


Further problems are found on a document of mine, which once compiled
with these versions, have the first footnote starting with the number 3.

I'm bisecting and I'll let you know once I've found what it triggers
it (because it's longish and doesn't really help as it is now).

Best wishes.

-- 
Marco

___
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] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-23 Thread Mojca Miklavec
On Wed, May 23, 2012 at 11:59 AM, Marco Pessotto wrote:
>
> In the beta seems fixed. I'll do some further testing once it's
> propagated to the TeXlive pretest (tomorrow, I think).

I imported the latest beta into TL and also defined this_is_texlive
(but maybe there will be more changes related to texmfcnf.lua).

So yes, please test.

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


Re: [NTG-context] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-23 Thread Marco Pessotto
Hans Hagen  writes:

> On 23-5-2012 09:12, Marco Pessotto wrote:
>> Alan Bowen  writes:
>>
>>> The latest ConTeXt MKIV (standalone) does not produce footnotes.
>>>
>>> \startcomponent
>>> Stuff\footnote{a note.}
>>> \stopcomponent
>>>
>>
>> Confirmed on the latest pretest TeXlive too.
>>
>> \starttext
>> \input knuth
>> \footnote{a note}
>> \stoptext
>
> new beta (needs testing ... it has to do with initializing notes at
> several places and that has to be done efficiently)

In the beta seems fixed. I'll do some further testing once it's
propagated to the TeXlive pretest (tomorrow, I think).

Best wishes

-- 
Marco

___
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] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-23 Thread Hans Hagen

On 23-5-2012 09:12, Marco Pessotto wrote:

Alan Bowen  writes:


The latest ConTeXt MKIV (standalone) does not produce footnotes.

\startcomponent
Stuff\footnote{a note.}
\stopcomponent



Confirmed on the latest pretest TeXlive too.

\starttext
\input knuth
\footnote{a note}
\stoptext


new beta (needs testing ... it has to do with initializing notes at 
several places and that has to be done efficiently)



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


Re: [NTG-context] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-23 Thread Marco Pessotto
Alan Bowen  writes:

> The latest ConTeXt MKIV (standalone) does not produce footnotes.
>
> \startcomponent
> Stuff\footnote{a note.}
> \stopcomponent
>

Confirmed on the latest pretest TeXlive too.

\starttext
\input knuth
\footnote{a note}
\stoptext

Best wishes

-- 
Marco

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


[NTG-context] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-22 Thread Alan Bowen
The latest ConTeXt MKIV (standalone) does not produce footnotes.

\startcomponent
Stuff\footnote{a note.}
\stopcomponent

This will show “Stuff” with a footnote call but no footnote appears at the
bottom of the page.

All is as it should be with MKII.

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

Re: [NTG-context] wrong footnote number in beta from today

2012-05-09 Thread Pablo Rodríguez
On 08/05/12 23:03, Hans Hagen wrote:
> On 8-5-2012 16:25, Pablo Rodríguez wrote:
>> Hi there,
>>
>> I'm afraid that footnote numbering in body text is wrong in latest beta
>> (the bug was also in the two previous betas).
>>
>> Here you have a sample that shows the bug:
>>
>> \setupnotation[footnote][number=no]
>> \setuphead[chapter][number=no]
>> \starttext
>> \chapter{First chapter}
>> one\footnote{two}
>> \section{First section}
>> three\footnote{four}
>> \stoptext
>>
>> There should be no note footnote numbering, but the body text takes the
>> sectioning command number for the footnote references (which is
>> obviously wrong).
>>
>> Many thanks for your help,
> 
> fixed in next beta

Many thanks for the fix, Hans.


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] wrong footnote number in beta from today

2012-05-08 Thread Hans Hagen

On 8-5-2012 16:25, Pablo Rodríguez wrote:

Hi there,

I'm afraid that footnote numbering in body text is wrong in latest beta
(the bug was also in the two previous betas).

Here you have a sample that shows the bug:

\setupnotation[footnote][number=no]
\setuphead[chapter][number=no]
\starttext
\chapter{First chapter}
one\footnote{two}
\section{First section}
three\footnote{four}
\stoptext

There should be no note footnote numbering, but the body text takes the
sectioning command number for the footnote references (which is
obviously wrong).

Many thanks for your help,


fixed in next beta

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


[NTG-context] wrong footnote number in beta from today

2012-05-08 Thread Pablo Rodríguez
Hi there,

I'm afraid that footnote numbering in body text is wrong in latest beta
(the bug was also in the two previous betas).

Here you have a sample that shows the bug:

\setupnotation[footnote][number=no]
\setuphead[chapter][number=no]
\starttext
\chapter{First chapter}
one\footnote{two}
\section{First section}
three\footnote{four}
\stoptext

There should be no note footnote numbering, but the body text takes the
sectioning command number for the footnote references (which is
obviously wrong).

Many 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] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Marco Pessotto
Philipp Gesang  writes:

> On 2012-04-22 19:38, Marco Pessotto wrote:
>> Thanks! Still there is the problem of the footnote. I can live with some
>> random space (expecially if there is the workaround!), but the footnotes
>> are quite an issue.
>
> Took some code digging but finally:

And indeed it works like a charm. Thanks a lot.

> 
> \startsetups get_back_my_spacing
>   \activatespacehandler{off}
> \stopsetups
>
> \setupnote[footnote][setups=get_back_my_spacing]
>
> \starttext
>
> \startlines[space=on]
>
>  this is a {\em test} with a long long long long
>  line\footnote{this is a test with a long long long long line this is a test 
> with a long long long long line this is a test with a long long long long 
> line this is a test with a long long long long line}
>  another line, obeying spaces once more
>  this is no haiku
>
> \stoplines
>
> \stoptext
> 
>
> (NB the “setups” parameter is declared “experimental” in
> strc-not.mkvi; it might misbehave some time in the future ...)
>
> Regards
> Philipp

-- 
Marco

___
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] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Philipp Gesang
On 2012-04-22 19:38, Marco Pessotto wrote:
> Philipp Gesang  writes:
> 
> > On 2012-04-22 17:16, Marco Pessotto wrote:
> >
> n> I remember I brought this up a while ago:
> >   http://archive.contextgarden.net/message/20100916.124413.0e12af0e.en.html
> > Seems like one can avoid the spaces through grouping (or with
> > “\gobbleoneargument”; or by using a single-argument wrapper
> > instead of a font switch; or by using an active character for
> > termination of the macro name; refer to spac-lin.mkiv, lines
> > 18--31, for the official options).
> 
> Thanks! Still there is the problem of the footnote. I can live with some
> random space (expecially if there is the workaround!), but the footnotes
> are quite an issue.

Took some code digging but finally:


\startsetups get_back_my_spacing
  \activatespacehandler{off}
\stopsetups

\setupnote[footnote][setups=get_back_my_spacing]

\starttext

\startlines[space=on]

 this is a {\em test} with a long long long long
 line\footnote{this is a test with a long long long long line this is a test 
with a long long long long line this is a test with a long long long long line 
this is a test with a long long long long line}
 another line, obeying spaces once more
 this is no haiku

\stoplines

\stoptext


(NB the “setups” parameter is declared “experimental” in
strc-not.mkvi; it might misbehave some time in the future ...)

Regards
Philipp



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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgp7Y3XU7r0bp.pgp
Description: PGP signature
___
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] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Marco Pessotto
Philipp Gesang  writes:

> On 2012-04-22 17:16, Marco Pessotto wrote:
>
n> I remember I brought this up a while ago:
>   http://archive.contextgarden.net/message/20100916.124413.0e12af0e.en.html
> Seems like one can avoid the spaces through grouping (or with
> “\gobbleoneargument”; or by using a single-argument wrapper
> instead of a font switch; or by using an active character for
> termination of the macro name; refer to spac-lin.mkiv, lines
> 18--31, for the official options).

Thanks! Still there is the problem of the footnote. I can live with some
random space (expecially if there is the workaround!), but the footnotes
are quite an issue.

-- 
Marco

___
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] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Philipp Gesang
On 2012-04-22 17:16, Marco Pessotto wrote:
> 
> Dear list,
> 
> I use \(start|stop)lines[spaces=on] to typeset poetry, which seems the
> right thing to do to preserve eventual initial whitespace.
> 
> Anyway, I encounter the following issues:
> 
> = cut here = %
> \starttext
> 
> this is normal text.
> 
> \startlines[space=on]
> 
>  this is a {\em test} with a long long long long line\footnote{this is
>a test with a long long long long line this is a test with a long
>long long long line this is a test with a long long long long line
>this is a test with a long long long long line}
> 
> \stoplines
> 
> Normal text again.
> 
> \stoptext
> = cut here = %
> 
> First, the {\em test} consumes a whitespace, even if after a command the
> space is supposed to be eaten.

Hi Marco,

I remember I brought this up a while ago:
  http://archive.contextgarden.net/message/20100916.124413.0e12af0e.en.html
Seems like one can avoid the spaces through grouping (or with
“\gobbleoneargument”; or by using a single-argument wrapper
instead of a font switch; or by using an active character for
termination of the macro name; refer to spac-lin.mkiv, lines
18--31, for the official options).

Hth
Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpgp0fX3GS1M.pgp
Description: PGP signature
___
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
___

[NTG-context] \footnote in \startlines[space=on] overflows

2012-04-22 Thread Marco Pessotto

Dear list,

I use \(start|stop)lines[spaces=on] to typeset poetry, which seems the
right thing to do to preserve eventual initial whitespace.

Anyway, I encounter the following issues:

= cut here = %
\starttext

this is normal text.

\startlines[space=on]

 this is a {\em test} with a long long long long line\footnote{this is
   a test with a long long long long line this is a test with a long
   long long long line this is a test with a long long long long line
   this is a test with a long long long long line}

\stoplines

Normal text again.

\stoptext
= cut here = %

First, the {\em test} consumes a whitespace, even if after a command the
space is supposed to be eaten.

Second, the footnote overflows. (Tested with the latest beta).

Thanks in advance.
Best regards

-- 
Marco

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


[NTG-context] xml export with footnote

2012-04-03 Thread Matthew Claus
Greetings all,

The document element exported by this small example appears to be prematurely 
closed.

Removing either the footnote or the second chapter will hide the problem.

Do I have something wrong here?

Thanks,
Matt


\setupbackend[export=yes]

\starttext
\startchapter
  \startsection
\startparagraph
  \footnote{a footnote}
\stopparagraph
  \stopsection
\stopchapter

\startchapter
\stopchapter

\stoptext

mtx-context | current version: 2012.04.02 12:51

http://www.w3.org/1998/Math/MathML";>
  
1

  
1.1

  1
  
1 
    a footnote
  

  

  


  2



___
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] how to \setnumber[footnote]

2012-03-20 Thread Steffen Wolfrum

Am 20.03.2012 um 17:01 schrieb Wolfgang Schuster:

> 
> Am 20.03.2012 um 09:16 schrieb Steffen Wolfrum:
> 
>> 
>> ... and what is the new syntax for \setnumber[footnote]?
>> 
>> (the old notation \setnumber[footnote]{123} now results in printing the 
>> figures "123")
> 
> You need brackets for both arguments (i.e. \setnumber[footnote][123]), this 
> was changed because
> braces are used for arguments which are printed (e.g. \startdescription{…}).

yes, great decision to change this. this way context gets more and more 
stringent.

thank you! st.
___
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] how to \setnumber[footnote]

2012-03-20 Thread Wolfgang Schuster

Am 20.03.2012 um 09:16 schrieb Steffen Wolfrum:

> 
> ... and what is the new syntax for \setnumber[footnote]?
> 
> (the old notation \setnumber[footnote]{123} now results in printing the 
> figures "123")

You need brackets for both arguments (i.e. \setnumber[footnote][123]), this was 
changed because
braces are used for arguments which are printed (e.g. \startdescription{…}).

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
___


[NTG-context] how to \setnumber[footnote]

2012-03-20 Thread Steffen Wolfrum

... and what is the new syntax for \setnumber[footnote]?

(the old notation \setnumber[footnote]{123} now results in printing the figures 
"123")


Steffen
___
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] wrong footnote number with latest beta

2012-02-10 Thread Pablo Rodríguez
On 02/10/2012 08:10 PM, Wolfgang Schuster wrote:
> Am 10.02.2012 um 20:06 schrieb Pablo Rodríguez:
>> On 02/10/2012 07:50 PM, Wolfgang Schuster wrote:
>>> [...]
>>> You have to set the numbercommand value with the \setupnotation command.
>>
>> Many thanks for your help, Wolfgang.
>>
>> Is there a document where this command is described? (I suspect that
>> this command is what will enable line note numbers in footnotes with
>> latest beta.)
> 
> As the command is about 1 week and was introduced with the rewrite
> of the internals for the description, enumeration and note mechanism
> the answer is no.

Sorry, I didn't know that. Many thanks for your help.


Pablo
-- 
http://www.oudeis.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] wrong footnote number with latest beta

2012-02-10 Thread Wolfgang Schuster

Am 10.02.2012 um 20:06 schrieb Pablo Rodríguez:

> On 02/10/2012 07:50 PM, Wolfgang Schuster wrote:
>> 
>> Am 10.02.2012 um 18:55 schrieb Pablo Rodríguez:
>> 
>>> Hi there,
>>> 
>>> I like to have footnote numbers with normal text (no superscript) in the
>>> footnote itself.
>>> 
>>> \setupnote[footnote][rule=off,numberstyle=\tf,numbercommand=]
>>> \starttext
>>> a\footnote{b}
>>> \stoptext
>>> 
>>> The sample above works right with ConTeXt stable, but not with latest beta.
>> 
>> You have to set the numbercommand value with the \setupnotation command.
> 
> Many thanks for your help, Wolfgang.
> 
> Is there a document where this command is described? (I suspect that
> this command is what will enable line note numbers in footnotes with
> latest beta.)

As the command is about 1 week and was introduced with the rewrite
of the internals for the description, enumeration and note mechanism
the answer is 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] wrong footnote number with latest beta

2012-02-10 Thread Pablo Rodríguez
On 02/10/2012 07:50 PM, Wolfgang Schuster wrote:
> 
> Am 10.02.2012 um 18:55 schrieb Pablo Rodríguez:
> 
>> Hi there,
>>
>> I like to have footnote numbers with normal text (no superscript) in the
>> footnote itself.
>>
>> \setupnote[footnote][rule=off,numberstyle=\tf,numbercommand=]
>> \starttext
>> a\footnote{b}
>> \stoptext
>>
>> The sample above works right with ConTeXt stable, but not with latest beta.
> 
> You have to set the numbercommand value with the \setupnotation command.

Many thanks for your help, Wolfgang.

Is there a document where this command is described? (I suspect that
this command is what will enable line note numbers in footnotes with
latest beta.)

Thanks for your help again,


Pablo
-- 
http://www.oudeis.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] wrong footnote number with latest beta

2012-02-10 Thread Wolfgang Schuster

Am 10.02.2012 um 18:55 schrieb Pablo Rodríguez:

> Hi there,
> 
> I like to have footnote numbers with normal text (no superscript) in the
> footnote itself.
> 
> \setupnote[footnote][rule=off,numberstyle=\tf,numbercommand=]
> \starttext
> a\footnote{b}
> \stoptext
> 
> The sample above works right with ConTeXt stable, but not with latest beta.


You have to set the numbercommand value with the \setupnotation command.

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
___


[NTG-context] wrong footnote number with latest beta

2012-02-10 Thread Pablo Rodríguez
Hi there,

I like to have footnote numbers with normal text (no superscript) in the
footnote itself.

\setupnote[footnote][rule=off,numberstyle=\tf,numbercommand=]
\starttext
a\footnote{b}
\stoptext

The sample above works right with ConTeXt stable, but not with latest beta.

Am I doing something wrong or is this a bug?

Thanks for your help,


Pablo
-- 
http://www.oudeis.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
___


[NTG-context] \footnote and \chapter

2012-02-08 Thread Otared Kavian
Hi Hans,

For your information, I just tested the latest beta (ConTeXt  ver: 2012.02.08 
21:58 MKIV  fmt: 2012.2.8) with my usual test suite and found that the 
following gives an error message:

% begin
\starttext

\chapter{Testing a chapter\footnote{Actually for testing footnotes in a chapter 
header\dots}}

\stoptext
%% end

Hitting « r » the file typesets, but there is no number in the footnote, and 
the footnote number in the text is strangely very small.

Best regards: OK
PS: The error message is:
\handlenoteinsert ...enoteitself {#1}{#2}}\egroup 
  \the \everyafternoteinsert...
l.7 }
 
\flushnotes ...{structures.notes.flushpostponed()}
  \global \setfalse \postpon...
\endheadplacement ...tionheadbox }\fi \flushnotes 
  \endgraf \ifvmode \ifnum \...
\dohandlehead ...mber \placecurrentheadnumbertext 
  \else \placecurrentheadtex...
l.5 ...esting footnotes in a chapter header\dots}}
___
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] Footnote marker inside custom list environment - font problem

2012-01-23 Thread Peter Park Nelson
On Mon, Jan 23, 2012 at 3:56 PM, Wolfgang Schuster
 wrote:
>
> Am 23.01.2012 um 22:47 schrieb Peter Park Nelson:
>
>> Hello,
>>
>> Maybe this is related to the problems with \definenote posted
>> recently...I have played with setups but have been unable to figure
>> this one out.
>
> It was \setupnote and this problem is fixed.
>
>> I have a custom enumeration environment to display the names of
>> journal authors in a paragraph format, with local footnotes for their
>> affiliations. Since updating, it no longer works as expected; the
>> footnote markers after author names use the document roman font
>> instead of the sans font.
>
> You have to use the textstyle key, the value of the style is only used
> when nothing is set for the headstyle or textstyle keys but textstyle
> already has a different value.
>
>> Also, if I use this inside a \startnarrower...\stopnarrower block, the
>> environment extends past where it should stop, which didn't happen
>> before.
>
> Can you show a example.
>
> Wolfgang

Thank you, that textcommand parameter was the missing piece.

I will try to put together a minimal example of the width thing, but
this document setup is getting complicated now so I should see if it
can be refactored first to be simpler.

I have another related command that is not working now -- I defined
this little macro for convenience so that I could reuse the a single
affiliation for multiple authors after I had used it once.

\def\useaffiliation#1{\high{\note[#1]}}

Now, it inserts the numbers correctly but they are in the wrong font
-- everything else is in sans, they are in document roman. Oddly, if I
just use \note[] without the \high{}, the note numbers are in the
correct font.

-- 
Peter Park Nelson
peter.park.nel...@gmail.com
___
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] Footnote marker inside custom list environment - font problem

2012-01-23 Thread Wolfgang Schuster

Am 23.01.2012 um 22:47 schrieb Peter Park Nelson:

> Hello,
> 
> Maybe this is related to the problems with \definenote posted
> recently...I have played with setups but have been unable to figure
> this one out.

It was \setupnote and this problem is fixed.

> I have a custom enumeration environment to display the names of
> journal authors in a paragraph format, with local footnotes for their
> affiliations. Since updating, it no longer works as expected; the
> footnote markers after author names use the document roman font
> instead of the sans font.

You have to use the textstyle key, the value of the style is only used
when nothing is set for the headstyle or textstyle keys but textstyle
already has a different value.

> Also, if I use this inside a \startnarrower...\stopnarrower block, the
> environment extends past where it should stop, which didn't happen
> before.

Can you show a example.

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
___


[NTG-context] Footnote marker inside custom list environment - font problem

2012-01-23 Thread Peter Park Nelson
Hello,

Maybe this is related to the problems with \definenote posted
recently...I have played with setups but have been unable to figure
this one out.

I have a custom enumeration environment to display the names of
journal authors in a paragraph format, with local footnotes for their
affiliations. Since updating, it no longer works as expected; the
footnote markers after author names use the document roman font
instead of the sans font.

Also, if I use this inside a \startnarrower...\stopnarrower block, the
environment extends past where it should stop, which didn't happen
before.


\defineitemgroup[Authorlist]

\setupitemgroup[Authorlist]
   [each]
   [text]
   [symbol=0,
margin=no,
align=normal,
width=-10pt,
distance=0pt,
leftmargin=no,
location=top,
textdistance=big]

\definenote[affiliation]
  [numberconversion=Characters,
   style=\tfa\ss\bf,
   numbercommand=,
   paragraph=yes]

\setupnotedefinition[affiliation]
   [location=serried,
distance=.2em,
display=no,
style=\tfa\ss]

\starttext

\startAuthorlist
\item Doris Doe\affiliation[misk]{Miskatonic University, Dept. of
Allopatric Studies}
\stopAuthorlist

\stopAuthorlist

\stoptext
-- 
Peter Park Nelson
peter.park.nel...@gmail.com
___
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] footnote mechanism broken (3)

2012-01-14 Thread Wolfgang Schuster

Am 13.01.2012 um 12:17 schrieb Steffen Wolfrum:

> 
> Am 13.01.2012 um 11:38 schrieb luigi scarso:
> 
>> On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum  
>> wrote:
>> 
>> This one is even more disturbing:
>> 
>> Just by setting the note's color to green, each footnote is set on a single 
>> page!!!
>> 
>> \setupnote[footnote][textcolor=green]% <- without this line the notes are 
>> set right
>> 
>> \starttext
>> \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one 
>> line. a test footnote.}}
>> \stoptext
>> 
>> I don't use footnotes at all, so I can say if it's a bug or not, but this is 
>> ok
>> \setupnotes[textcolor=green]
>> 
>> \starttext
>> \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one 
>> line. a test footnote.}}
>> \stoptext
> 
> I assumed "\setupnote[footnote][textcolor=green]" is the recommended and 
> correct way to do,
> as I found it in an example from Wolfgang (December 2011):

\setupnotes changes the values of all note (footnote, endnote etc.) while 
\setupnote changes
only the values of the given note type.

I sent a fix for the bug with the wrong placement of the footnote to the dev 
list.

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] footnote mechanism broken (3)

2012-01-13 Thread Wolfgang Schuster

Am 13.01.2012 um 11:01 schrieb Steffen Wolfrum:

> 
> This one is even more disturbing:
> 
> Just by setting the note's color to green, each footnote is set on a single 
> page!!!

It doesn't what value you change, the problem is the \setupnote call.

> \setupnote[footnote][textcolor=green]% <- without this line the notes are set 
> right
> 
> \starttext
> \dorecurse{10}{\input ward\footnote{just one line. a test footnote. just one 
> line. a test footnote.}}
> \stoptext

You can get a correct output by adding \setuppapersize or \setuplayout before 
\setupnote
or you move the \setupnote below \starttext.

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
___


<    1   2   3   4   5   6   7   8   9   >