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
___


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
___


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 Wolfgang Schuster

Am 07.05.2013 um 12:35 schrieb Tim Li timli2...@outlook.com:

 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
___

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


Re: [NTG-context] Footnote disappear in placeongrid

2013-05-02 Thread Wolfgang Schuster

Am 02.05.2013 um 08:01 schrieb H. Özoguz h.oezo...@mmnetz.de:

 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-02 Thread Alan BRASLAU
On Thu, 2 May 2013 08:20:54 +0200
Wolfgang Schuster schuster.wolfg...@gmail.com 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-02 Thread Wolfgang Schuster

Am 02.05.2013 um 10:01 schrieb Alan BRASLAU alan.bras...@cea.fr:

 On Thu, 2 May 2013 08:20:54 +0200
 Wolfgang Schuster schuster.wolfg...@gmail.com 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 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 11:20 schrieb Sietse Brouwer sbbrou...@gmail.com:

 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
___


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


[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] 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 timli2...@outlook.com:

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


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
___


[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] 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 forumj...@icloud.com:

 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
___


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-14 Thread Philipp Gesang
···date: 2012-11-14, Wednesday···from: 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.

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 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 Wolfgang Schuster

Am 14.11.2012 um 12:26 schrieb Philipp Gesang 
philipp.ges...@alumni.uni-heidelberg.de:

 ···date: 2012-11-14, Wednesday···from: 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.
 
 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
___


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


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-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 adit...@umich.edu 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
___


[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 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. 
l...@pontex.cz:

 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
___


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 
wolfgang.schus...@gmail.com 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:43 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 On Wed, 31 Oct 2012 16:19:53 +0100, Wolfgang Schuster 
 wolfgang.schus...@gmail.com 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 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
___


[NTG-context] Bug with setupinteraction and footnote

2012-08-05 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'
   main ctx instance: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...
 \195notation: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] 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] 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] footnote numbers turn red

2012-07-31 Thread Marco Patzer
On 2012-07-31 Martin martin.alth...@yahoo.com 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
___


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 Althoff martin.alth...@yahoo.com 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
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
___


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

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


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

2012-06-21 Thread Marco
On 2012-06-21 Pablo Rodríguez oi...@web.de 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
___

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] 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-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
Wolfgang Schuster schuster.wolfg...@googlemail.com 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
___


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


Re: [NTG-context] \footnote numbering starting with 3

2012-05-28 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com 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] ConTeXt MKIV 2012.05.22 and \footnote

2012-05-23 Thread Marco Pessotto
Alan Bowen bowenala...@gmail.com 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
___


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 Bowenbowenala...@gmail.com  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
Hans Hagen pra...@wxs.nl writes:

 On 23-5-2012 09:12, Marco Pessotto wrote:
 Alan Bowenbowenala...@gmail.com  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 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
___


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


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


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
___

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

2012-04-22 Thread Marco Pessotto
Philipp Gesang ges...@stud.uni-heidelberg.de 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 19:38, Marco Pessotto wrote:
 Philipp Gesang ges...@stud.uni-heidelberg.de 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 ges...@stud.uni-heidelberg.de 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
___

[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

document language=en file=problem date=04/03/12 11:42:51 context=2012.04
.02 12:51 version=0.30 xmlns:m=http://www.w3.org/1998/Math/MathML;
  section detail=chapter location='aut:1'
sectionnumber1/sectionnumber
sectioncontent
  section detail=section location='aut:2'
sectionnumber1.1/sectionnumber
sectioncontent
  paragraphdescriptionsymbol detail=footnotesup1/sup/descript
ionsymbol/paragraph
  description detail=footnote
descriptiontagsup1/sup /descriptiontag
descriptioncontenta footnote/descriptioncontent
  /description
/sectioncontent
  /section
/sectioncontent
  /section
/document
section detail=chapter location='aut:4'
  sectionnumber2/sectionnumber
/section


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


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
___


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


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
___


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


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


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


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
schuster.wolfg...@googlemail.com 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 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 cont...@st.estfiles.de 
 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
___


[NTG-context] footnote mechanism broken

2012-01-13 Thread Steffen Wolfrum
Hi,

in vers. 20120112 this example give Undefined control sequence:


\setupnote[footnote][way=bypage]
\starttext
\input{tufte}\footnote{Note}
\stoptext


What's wrong?

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
___


[NTG-context] footnote mechanism broken (2)

2012-01-13 Thread Steffen Wolfrum
Hi,

an other strange thing related to footnotes can be seen here:



\def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % - gives small number
%\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % - gives big number


\setupnote
 [footnote]
 [textcommand=\MyNote]

\starttext
Hi there!\footnote{I’m a footnote.}
\stoptext



Please run it with 12pt and also with 13pt: 
The difference in the number's size is huge, not only 1pt!!

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
___


[NTG-context] footnote mechanism broken (3)

2012-01-13 Thread 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!!!


\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




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

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 10:55 AM, Steffen Wolfrum cont...@st.estfiles.dewrote:

 Hi,

 an other strange thing related to footnotes can be seen here:



 \def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % - gives small number
 %\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % - gives big number


 \setupnote
  [footnote]
  [textcommand=\MyNote]

 \starttext
 Hi there!\footnote{I’m a footnote.}
 \stoptext



 Please run it with 12pt and also with 13pt:
 The difference in the number's size is huge, not only 1pt!!

 for latin modern default set of points are
4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt
 (just grep the sources to see them); try one of these and see what happen.
If you use something different (13pt) than the setupnote just uses the
point you have chosen (I suppose).



-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] footnote mechanism broken (3)

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum cont...@st.estfiles.dewrote:


 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

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] footnote mechanism broken (3)

2012-01-13 Thread Steffen Wolfrum

Am 13.01.2012 um 11:38 schrieb luigi scarso:

 
 
 On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum cont...@st.estfiles.de 
 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):

Am 01.12.2011 um 22:40 schrieb Wolfgang Schuster:

 ...
 \setupnote
  [footnote]
  [textstyle=italic,
   textcolor=green,
   textcommand=\inframed] % default: \high
 
 \starttext
 Hi there!\footnote{I’m a footnote.}
 \stoptext



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

2012-01-13 Thread luigi scarso
On Fri, Jan 13, 2012 at 12:17 PM, Steffen Wolfrum cont...@st.estfiles.dewrote:


 Am 13.01.2012 um 11:38 schrieb luigi scarso:

 
 
  On Fri, Jan 13, 2012 at 11:01 AM, Steffen Wolfrum 
 cont...@st.estfiles.de 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):

 Am 01.12.2011 um 22:40 schrieb Wolfgang Schuster:

  ...
  \setupnote
   [footnote]
   [textstyle=italic,
textcolor=green,
textcommand=\inframed] % default: \high
 
  \starttext
  Hi there!\footnote{I’m a footnote.}
  \stoptext

 Yes, but at least \setupnotes works
as temporary solution --- taht to say , can be a bug.
It doesn't seem that \setupnotes is deprecated, btw.

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : 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
___


[NTG-context] footnote way=bypage

2012-01-06 Thread Vianney le Clément
Hi,

I think I've found another bug. When asking to number footnotes by
page, context says the \checkpagechange macro is undefined.

Minimal example:

\setupnote[footnote][way=bypage]
\starttext
\input{tufte}\footnote{Note}
\stoptext

Vianney
___
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] setupnote[footnote] adding extra pages

2012-01-03 Thread Chris Lott
On Mon, Jan 2, 2012 at 6:42 PM, Chris Lott ch...@chrislott.org wrote:
 Why does this document create three pages, with the footnote on the
 second and a third that is blank?

 \setuppagenumbering[state=stop]
 \setupnote[footnote][numberconversion=Romannumerals]
 \starttext
 This is a sample letter. \footnote{foo}
 \stoptext

A bit more for troubleshooting: the above code works fine with an
earlier version of ConTeXt (2011.05.18 18:04).

The problem above occurs when using version 2011.12.31 18:06 using
context file.tex ... however using texexec --pdf file.tex works
properly, so I guess this is an MKIV problem.

c
--
Chris Lott ch...@chrislott.org
___
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] setupnote[footnote] adding extra pages

2012-01-03 Thread Wolfgang Schuster

Am 03.01.2012 um 04:42 schrieb Chris Lott:

 Why does this document create three pages, with the footnote on the
 second and a third that is blank?
 
 \setuppagenumbering[state=stop]
 \setupnote[footnote][numberconversion=Romannumerals]
 \starttext
 This is a sample letter. \footnote{foo}
 \stoptext
 
 If I remove the \setupnote line, then everything is on one page, as it should 
 be.

As a intermediate solution you can add \setupapersize[A4] (or whatever paper 
you use) before \setupnote.

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] setupnote[footnote] adding extra pages

2012-01-02 Thread Chris Lott
Why does this document create three pages, with the footnote on the
second and a third that is blank?

\setuppagenumbering[state=stop]
\setupnote[footnote][numberconversion=Romannumerals]
\starttext
This is a sample letter. \footnote{foo}
\stoptext

If I remove the \setupnote line, then everything is on one page, as it
should be.

c
--
Chris Lott ch...@chrislott.org
___
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 Problem

2011-12-23 Thread Hans Hagen

On 23-12-2011 00:49, Kip Warner wrote:

On Thu, 2011-12-22 at 09:24 +0100, Hans Hagen wrote:

use just

\kindofpagetextareas\plusone

as the constant is already defined.


Thanks Hans. It works. Because I don't like to just copy and paste code
without understanding it, could you try to run an explanation by me?


Methods 0-3 treat inserts (graphics and footnotes) differently, so best 
just try all these alternatives with your example file and see if it 
works out ok.


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
___


Re: [NTG-context] Footnote Problem

2011-12-23 Thread Kip Warner
On Fri, 2011-12-23 at 12:08 +0100, Hans Hagen wrote:
 Methods 0-3 treat inserts (graphics and footnotes) differently, so
 best 
 just try all these alternatives with your example file and see if it 
 works out ok. 

Well, it works, so thanks anyways.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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 Problem

2011-12-22 Thread Hans Hagen

On 22-12-2011 02:16, Kip Warner wrote:

On Wed, 2011-12-21 at 09:39 +0100, Hans Hagen wrote:


you can play with

\setconstant\kindofpagetextareas\plusone

(some day there will be a proper setting)


Thanks Hans, but I get the following error:

! Undefined control sequence.
l.19 \setconstant
  \kindofpagetextareas\plusone

use just

\kindofpagetextareas\plusone

as the constant is already defined.

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

2011-12-22 Thread Wolfgang Schuster

Am 22.12.2011 um 02:16 schrieb Kip Warner:

 On Wed, 2011-12-21 at 09:39 +0100, Hans Hagen wrote:
 
 you can play with
 
 \setconstant\kindofpagetextareas\plusone
 
 (some day there will be a proper setting) 
 
 Thanks Hans, but I get the following error:
 
 ! Undefined control sequence.
 l.19 \setconstant
 \kindofpagetextareas\plusone
 ? 

It’s only \kindofpagetextareas\plusone without \setconstant.

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 Problem

2011-12-22 Thread Hans Hagen

On 22-12-2011 09:29, Wolfgang Schuster wrote:


Am 22.12.2011 um 02:16 schrieb Kip Warner:


On Wed, 2011-12-21 at 09:39 +0100, Hans Hagen wrote:


you can play with

\setconstant\kindofpagetextareas\plusone

(some day there will be a proper setting)


Thanks Hans, but I get the following error:

! Undefined control sequence.
l.19 \setconstant
 \kindofpagetextareas\plusone
?


It’s only \kindofpagetextareas\plusone without \setconstant.


I've added \setconstant as dummy (no checkign for being defined but it 
looks nicer in code).


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
___


Re: [NTG-context] Footnote Problem

2011-12-22 Thread Kip Warner
On Thu, 2011-12-22 at 09:24 +0100, Hans Hagen wrote:
 use just
 
 \kindofpagetextareas\plusone
 
 as the constant is already defined. 

Thanks Hans. It works. Because I don't like to just copy and paste code
without understanding it, could you try to run an explanation by me?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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 Problem

2011-12-21 Thread Hans Hagen

On 21-12-2011 06:33, Kip Warner wrote:

On Wed, 2011-11-16 at 00:09 +0100, Wolfgang Schuster wrote:

Am 15.11.2011 um 20:41 schrieb Kip Warner:


On Tue, 2011-11-15 at 09:42 +0100, Wolfgang Schuster wrote:

Am 15.11.2011 um 06:57 schrieb Kip Warner:


Hey folks,

The second \footnote doesn't show in the generated PDF. The number is
listed where it should at the end of the sentence, but the text of the
footnote is not listed at the bottom of the page.


Add \automigrateinserts to your document.

Wolfgang



Thanks Wolfgang, but should that be in the environment file or can it go
anywhere?


Put it in the preamble of your document which can be a environment file or just 
before \starttext.

Wolfgang


Hey Wolfgang. The problem now is that the footnote sits inside of
textbackground boxes at the bottom of them. I'd like them instead at
the bottom of the page with the rest of my footnotes. How is this done?
Sorry to pester you, but you and Hans seem to be the ConTeXt gurus.


you can play with

\setconstant\kindofpagetextareas\plusone

(some day there will be a proper setting)

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

2011-12-21 Thread Kip Warner
On Wed, 2011-12-21 at 09:39 +0100, Hans Hagen wrote:
 
 you can play with
 
 \setconstant\kindofpagetextareas\plusone
 
 (some day there will be a proper setting) 

Thanks Hans, but I get the following error:

! Undefined control sequence.
l.19 \setconstant
 \kindofpagetextareas\plusone
? 


Using ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.21.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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   >