Re: [NTG-context] footnotes by paragraph?

2023-01-28 Thread Bruce Horrocks via ntg-context
On 28 Jan 2023, at 02:14, jbf via ntg-context  wrote:
> 
> Here's a tricky one (for me) that I haven't been able to work out. I am 
> dealing with a set of constitutions that I am organizing with a paragraph 
> definition 
> \defineparagraphs[Two][n=2]
> \setupparagraphs[Two][1][width=.2\textwidth,style=\bfx,after={\blank},align=flushleft]
> \setupparagraphs[Two][2][width=.77\textwidth,style=normal,after={\blank}]
> But I need to get the footnotes (which all apply to [2] in each article of 
> the constitutions) to come beneath my defined 'Two'. I do not want them to 
> come at the bottom of the page.
> I thought I might be able to do it by placing \start...stopTwo within a 
> \start...stopsection and defining \setupnotation[way=bysection] but that is 
> not working.
> Any thought on how I could approach this?
> Julian 

Does this help?

\defineparagraphs[Two][n=2]
\setupparagraphs[Two][1][width=.2\textwidth,style=\bfx,after={\blank},align=flushleft]
\setupparagraphs[Two][2][width=.77\textwidth,style=normal,after={\blank}]

\starttext
\startTwo
The role of the Committee
\Two
The role of the Committee\endnote{See a dictionary if you want to know what a 
committee is!} is very important.
Some more text.
\stopTwo
\startTwo
The Chairman
\Two
The role of the Chairman...
\stopTwo
\startTwo
~
\Two
\placenotes[endnote]

\stopTwo
\input knuth
\stoptext


—
Bruce Horrocks
Hampshire, UK

—
Bruce Horrocks
Hampshire, UK

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread Henning Hraban Ramm via ntg-context
It’s the same with footnotes in columns – they use the local width as 
default.


Hraban

Am 16.06.22 um 11:57 schrieb Denis Maier via ntg-context:

Yes, that works. But it’s still strange, isn’t it?

Denis

*Von:*ntg-context  *Im Auftrag von *jbf via 
ntg-context

*Gesendet:* Donnerstag, 16. Juni 2022 11:49
*An:* Denis Maier via ntg-context 
*Cc:* jbf ; mailing list for ConTeXt users 

*Betreff:* Re: [NTG-context] Footnotes in captions -> "inherit" 
textwidth from floatntg


Maybe \setupnote[footnote][width=\textwidth]?

Julian

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread Denis Maier via ntg-context
Anyway, it’s possibly related to this question : 
https://www.mail-archive.com/ntg-context@ntg.nl/msg100815.html

Von: Maier, Denis Christian (UB)
Gesendet: Donnerstag, 16. Juni 2022 11:57
An: 'mailing list for ConTeXt users' 
Cc: jbf 
Betreff: AW: [NTG-context] Footnotes in captions -> "inherit" textwidth from 
floatntg

Yes, that works. But it’s still strange, isn’t it?

Denis

Von: ntg-context 
mailto:ntg-context-boun...@ntg.nl>> Im Auftrag von 
jbf via ntg-context
Gesendet: Donnerstag, 16. Juni 2022 11:49
An: Denis Maier via ntg-context mailto:ntg-context@ntg.nl>>
Cc: jbf mailto:roma83...@gmail.com>>; mailing list for 
ConTeXt users mailto:ntg-context@ntg.nl>>
Betreff: Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from 
floatntg


Maybe \setupnote[footnote][width=\textwidth]?

Julian
On 16/6/22 18:56, Denis Maier via ntg-context wrote:
Hi,
I think I’ve ran into a somewhat strange behaviour. If you have a footnote in a 
float caption, the footnote won’t use the full textwidth, but only the width of 
the corresponding caption. Is that on purpose, a context bug or a user bug?

Best,
Denis


\starttext

asdf

\startplacefigure[title={My caption with a long footnote.\footnote{\input 
ward}}]
\externalfigure[cow.pdf]
\stopplacefigure

\stoptext


___

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



maillist : ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> / 
http://www.ntg.nl/mailman/listinfo/ntg-context

webpage  : http://www.pragma-ade.nl / http://context.aanhet.net

archive  : https://bitbucket.org/phg/context-mirror/commits/

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread Denis Maier via ntg-context
Yes, that works. But it’s still strange, isn’t it?

Denis

Von: ntg-context  Im Auftrag von jbf via ntg-context
Gesendet: Donnerstag, 16. Juni 2022 11:49
An: Denis Maier via ntg-context 
Cc: jbf ; mailing list for ConTeXt users 

Betreff: Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from 
floatntg


Maybe \setupnote[footnote][width=\textwidth]?

Julian

On 16/6/22 18:56, Denis Maier via ntg-context wrote:
Hi,
I think I’ve ran into a somewhat strange behaviour. If you have a footnote in a 
float caption, the footnote won’t use the full textwidth, but only the width of 
the corresponding caption. Is that on purpose, a context bug or a user bug?

Best,
Denis


\starttext

asdf

\startplacefigure[title={My caption with a long footnote.\footnote{\input 
ward}}]
\externalfigure[cow.pdf]
\stopplacefigure

\stoptext



___

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



maillist : ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> / 
http://www.ntg.nl/mailman/listinfo/ntg-context

webpage  : http://www.pragma-ade.nl / http://context.aanhet.net

archive  : https://bitbucket.org/phg/context-mirror/commits/

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread jbf via ntg-context

Maybe \setupnote[footnote][width=\textwidth]?

Julian

On 16/6/22 18:56, Denis Maier via ntg-context wrote:


Hi,

I think I’ve ran into a somewhat strange behaviour. If you have a 
footnote in a float caption, the footnote won’t use the full 
textwidth, but only the width of the corresponding caption. Is that on 
purpose, a context bug or a user bug?


Best,

Denis

\starttext

asdf

\startplacefigure[title={My caption with a long 
footnote.\footnote{\input ward}}]


\externalfigure[cow.pdf]

\stopplacefigure

\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://context.aanhet.net
archive  :https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes not aligned if tabulate cell is centered.

2021-12-31 Thread Ajith R via ntg-context
Hi,

On Fri, 31 Dec 2021 14:35:57 +0100
Wolfgang Schuster  wrote:

> 1. Provide the correct number of columns in your table because in the 
> preamble you specify two columns but each row in your table contains 
> only a single row.
That was an error that creeped in while preparing the example. My
actual table contains two columns.

> 2. Drop the \JustLeft command which works only with the \starttable 
> environment.
> 
> 3. To change the alignment for the footnote entries add \raggedright 
> before you flush them, e.g.
> 
>      \NC \raggedright \placelocalfootnotes \NC\NR
> 

This did correct the problem I had.


Thanks a lot Wolfgang Schuster

regards,
ajith

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes not aligned if tabulate cell is centered.

2021-12-31 Thread Wolfgang Schuster via ntg-context

Ajith R via ntg-context schrieb am 31.12.2021 um 14:04:

Hi,
I am trying to prepare a moderate sized document in Malayalam using
Context. Overall I have been successful. However, there are a few rough
edges for which I need help. This is the seventh (and the last one for
now) problem I face.

When I use local footnotes within a tabulate section, the foot notes
gets placed unevenly. If I remove the "c" from
\starttabulate[|p(3cm)c|p|], then the footnotes are aligned. Is it a
bug? If not, how can I correct it?


1. Provide the correct number of columns in your table because in the 
preamble you specify two columns but each row in your table contains 
only a single row.


2. Drop the \JustLeft command which works only with the \starttable 
environment.


3. To change the alignment for the footnote entries add \raggedright 
before you flush them, e.g.


    \NC \raggedright \placelocalfootnotes \NC\NR

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in margins

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
Thank you Hraban and Taco for the help. Tricky indeed.

Regards

Marcus Vinicius

On Tue, Nov 16, 2021 at 8:57 AM Marcus Vinicius Mesquita <
marcusvinicius.mesqu...@gmail.com> wrote:

> Dear list,
>
> When running the MWE below, the first footnote does not appear.
> What am I missing?
>
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
> \stoptext
>
> ConTeXt version: 2021.11.13
>
> Regards
>
> Marcus Vinicius
> --
> Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
> corpo nem seus membros, por ser descanso da alma, primavera do coração,
> distração do aflito, entretenimento do solitário, e viático do viajante.
>
> Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
>


-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in margins

2021-11-16 Thread Taco Hoekwater via ntg-context
Hi,

Like Hraban said, inserts are generally tricky and they tend to disappear when 
used inside
other elements like floating objects / boxes / tables. However, ConTeXt has an 
easy way out
at least for your case:

\starttext
\startpostponingnotes
\inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
\stoppostponingnotes
\stoptext

Best wishes,
Taco

> On 16 Nov 2021, at 12:57, Marcus Vinicius Mesquita via ntg-context 
>  wrote:
> 
> Dear list,
> 
> When running the MWE below, the first footnote does not appear.
> What am I missing?
> 
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
> \stoptext

— 
Taco Hoekwater  E: t...@bittext.nl
genderfluid (all pronouns)



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in margins

2021-11-16 Thread Henning Hraban Ramm via ntg-context


> Am 16.11.2021 um 12:57 schrieb Marcus Vinicius Mesquita via ntg-context 
> :
> 
> Dear list,
> 
> When running the MWE below, the first footnote does not appear.
> What am I missing?
> 
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
> \stoptext

Footnotes are "inserts", and those are apparently tricky...

The other way round (marginals from footnotes) I was told to use scope=local:

\footnote{footnote\inmargin[scope=local]{margin note from footnote}}

Don’t know if that helps.

Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in columns

2021-08-13 Thread Hans Hagen via ntg-context

On 8/13/2021 8:54 AM, Henning Hraban Ramm via ntg-context wrote:




Am 13.08.2021 um 08:43 schrieb Hans Hagen :

On 8/13/2021 12:32 AM, Henning Hraban Ramm via ntg-context wrote:

Am 13.08.2021 um 00:03 schrieb Hans Hagen via ntg-context :

On 8/12/2021 10:01 PM, Jano Kula via ntg-context wrote:

Hello Hraban!
On Thu, Aug 12, 2021, 15:24 Henning Hraban Ramm via ntg-context mailto:ntg-context@ntg.nl>> wrote:
Footnotes still don’t work in columnsets (latest LMTX):
- they stay in one column (I’d prefer them over the whole width of
the text area)
- they often get overwritten by main text
Is there a workaround?
I had to switch back to mkiv. It's on Hans' agenda, but with lots of 
interferencies there will be no quick fix.



good old mkiv ... so it serves a purpose! i would be more worried when you went 
back to mkii

;D
Unfortunately I can’t go back to MkIV with the CG journal since some articles 
use LMTX features.
I’ll probably find some ugly hack to work around the issues...

A lot has to do with defaults. We have several multicolumn mechanisms an cnotes 
themselves can also come in columns and it's nto easy to have a setup that 
suits them all, so each mechanism has additional settings. I'm still not sure 
how to deal with this because there are conflicting demands. So, one ends up in 
'fix this setup' 'break that setup' situations (basically it means that we need 
to setup things on an extra axis: the kind of otr used). It's a bit the price 
we pay for configurability.


Would it be viable to use columnset areas for footnotes? Then the user could 
configure themselves where they should go, how many columns they should span 
etc.
the problem with notes is that the pagebreak depends on them so it is 
impossible to predict sizes .. it works with ratios and such in 
basically a one column operation mode (because that is what tex has)


text text text
text text text
text text text
text text text

note
note
note

tex has to split page and notes if needed and take optional distance 
into account


the lua(meta)tex engine already privides a bit more control but 
solutions always have to operate with margins


now, if users would accept limitations much is possible but in the end 
there always a 'i want this note to end up here' demand


the same with figures: if they may float we can do a good job, but 
designers / publishers (unaware of reliable floating) nearly always 
demand 'it should end up here' which then conflicts with automated 
typesetting because 'here' means that one also manually messes with the 
rest


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in columns

2021-08-13 Thread Henning Hraban Ramm via ntg-context


> Am 13.08.2021 um 08:43 schrieb Hans Hagen :
> 
> On 8/13/2021 12:32 AM, Henning Hraban Ramm via ntg-context wrote:
>>> Am 13.08.2021 um 00:03 schrieb Hans Hagen via ntg-context 
>>> :
>>> 
>>> On 8/12/2021 10:01 PM, Jano Kula via ntg-context wrote:
 Hello Hraban!
 On Thu, Aug 12, 2021, 15:24 Henning Hraban Ramm via ntg-context 
 mailto:ntg-context@ntg.nl>> wrote:
Footnotes still don’t work in columnsets (latest LMTX):
- they stay in one column (I’d prefer them over the whole width of
the text area)
- they often get overwritten by main text
Is there a workaround?
 I had to switch back to mkiv. It's on Hans' agenda, but with lots of 
 interferencies there will be no quick fix.
 
>>> 
>>> good old mkiv ... so it serves a purpose! i would be more worried when you 
>>> went back to mkii
>> ;D
>> Unfortunately I can’t go back to MkIV with the CG journal since some 
>> articles use LMTX features.
>> I’ll probably find some ugly hack to work around the issues...
> A lot has to do with defaults. We have several multicolumn mechanisms an 
> cnotes themselves can also come in columns and it's nto easy to have a setup 
> that suits them all, so each mechanism has additional settings. I'm still not 
> sure how to deal with this because there are conflicting demands. So, one 
> ends up in 'fix this setup' 'break that setup' situations (basically it means 
> that we need to setup things on an extra axis: the kind of otr used). It's a 
> bit the price we pay for configurability.

Would it be viable to use columnset areas for footnotes? Then the user could 
configure themselves where they should go, how many columns they should span 
etc.

Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in columns

2021-08-13 Thread Hans Hagen via ntg-context

On 8/13/2021 12:32 AM, Henning Hraban Ramm via ntg-context wrote:



Am 13.08.2021 um 00:03 schrieb Hans Hagen via ntg-context :

On 8/12/2021 10:01 PM, Jano Kula via ntg-context wrote:

Hello Hraban!
On Thu, Aug 12, 2021, 15:24 Henning Hraban Ramm via ntg-context mailto:ntg-context@ntg.nl>> wrote:
Footnotes still don’t work in columnsets (latest LMTX):
- they stay in one column (I’d prefer them over the whole width of
the text area)
- they often get overwritten by main text
Is there a workaround?
I had to switch back to mkiv. It's on Hans' agenda, but with lots of 
interferencies there will be no quick fix.



good old mkiv ... so it serves a purpose! i would be more worried when you went 
back to mkii


;D
Unfortunately I can’t go back to MkIV with the CG journal since some articles 
use LMTX features.

I’ll probably find some ugly hack to work around the issues...
A lot has to do with defaults. We have several multicolumn mechanisms an 
cnotes themselves can also come in columns and it's nto easy to have a 
setup that suits them all, so each mechanism has additional settings. 
I'm still not sure how to deal with this because there are conflicting 
demands. So, one ends up in 'fix this setup' 'break that setup' 
situations (basically it means that we need to setup things on an extra 
axis: the kind of otr used). It's a bit the price we pay for 
configurability.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in columns

2021-08-12 Thread Henning Hraban Ramm via ntg-context

> Am 13.08.2021 um 00:03 schrieb Hans Hagen via ntg-context 
> :
> 
> On 8/12/2021 10:01 PM, Jano Kula via ntg-context wrote:
>> Hello Hraban!
>> On Thu, Aug 12, 2021, 15:24 Henning Hraban Ramm via ntg-context 
>> mailto:ntg-context@ntg.nl>> wrote:
>>Footnotes still don’t work in columnsets (latest LMTX):
>>- they stay in one column (I’d prefer them over the whole width of
>>the text area)
>>- they often get overwritten by main text
>>Is there a workaround?
>> I had to switch back to mkiv. It's on Hans' agenda, but with lots of 
>> interferencies there will be no quick fix.
>> 
> 
> good old mkiv ... so it serves a purpose! i would be more worried when you 
> went back to mkii

;D
Unfortunately I can’t go back to MkIV with the CG journal since some articles 
use LMTX features.

I’ll probably find some ugly hack to work around the issues...


>> Coffee break at the meeting will be the right place to ask for the higher 
>> priority.
> well, for sure, it helps to get my attention when i meet you over coffee (i 
> know you look forward to real coffee)
> 
> i will pick up on footnotes once some other long pending priorities 
> (annoyances actually) are met (which i will explain at the evening beer break 
> next month)

=(

Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in columns

2021-08-12 Thread Hans Hagen via ntg-context

On 8/12/2021 10:01 PM, Jano Kula via ntg-context wrote:

Hello Hraban!

On Thu, Aug 12, 2021, 15:24 Henning Hraban Ramm via ntg-context 
mailto:ntg-context@ntg.nl>> wrote:


Footnotes still don’t work in columnsets (latest LMTX):

- they stay in one column (I’d prefer them over the whole width of
the text area)

- they often get overwritten by main text

Is there a workaround?


I had to switch back to mkiv. It's on Hans' agenda, but with lots of 
interferencies there will be no quick fix.




good old mkiv ... so it serves a purpose! i would be more worried when 
you went back to mkii


Coffee break at the meeting will be the right place to ask for the 
higher priority.
well, for sure, it helps to get my attention when i meet you over coffee 
(i know you look forward to real coffee)


i will pick up on footnotes once some other long pending priorities 
(annoyances actually) are met (which i will explain at the evening beer 
break next month)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in columns

2021-08-12 Thread Jano Kula via ntg-context
Hello Hraban!

On Thu, Aug 12, 2021, 15:24 Henning Hraban Ramm via ntg-context <
ntg-context@ntg.nl> wrote:

> Footnotes still don’t work in columnsets (latest LMTX):
>
> - they stay in one column (I’d prefer them over the whole width of the
> text area)
>
> - they often get overwritten by main text
>
> Is there a workaround?
>

I had to switch back to mkiv. It's on Hans' agenda, but with lots of
interferencies there will be no quick fix.

Coffee break at the meeting will be the right place to ask for the higher
priority.

Jano
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in columns

2021-08-12 Thread Henning Hraban Ramm via ntg-context
Footnotes still don’t work in columnsets (latest LMTX):

- they stay in one column (I’d prefer them over the whole width of the text 
area)

- they often get overwritten by main text

Is there a workaround?

Hraban


> Am 06.03.2021 um 19:18 schrieb Jano Kula :
> 
> Hello Hans,
> 
> with fresh LMTX footnotes are still missing in \startcolumns as Clyde 
> reported:
> 
> \starttext
> \startcolumns
> \input knuth\footnote{D. E. Knuth}
> \stopcolumns
> \stoptext
> 
> Tried columnsets. Footnotes are overlapping text and some text at the column 
> break disappeared:
> 
> \starttext
> \startcolumnset
> \dorecurse{10}{\input knuth\footnote{D. E. Knuth}\ }
> \stopcolumnset
> \stoptext
> 
> We are running out of options :) Could you, please, have a look at it when 
> your metafun mode is over?
> 
> Thanks,
> Jano
> ConTeXt  ver: 2021.03.05 19:14 LMTX  fmt: 2021.3.6  
> 
> 
> 
> 
> 
> On Mon, Jan 25, 2021 at 10:05 PM Clyde Johnston  wrote:
> I can no longer print the footnotes when I using columns in LTMX.  If I 
> remove the \{start|stop}columns, it works fine.  This works on my old MKIV 
> 2018.07.02 14:39 version.
> 
>  
> 
> \setupcolumns[n=2,rule=off,balance=no]
> 
>  
> 
> \starttext
> 
>   \startcolumns
> 
>   \input ward\footnote{A small footnote here}
> 
>   \stopcolumns
> 
> \stoptext
> 
>  
> 
> Context Version: 2021.01.24 16:07
> 
>  
> 
> Clyde
>  


columnsettest.tex
Description: Binary data
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in columns

2021-03-06 Thread Jano Kula
Hello Hans,

with fresh LMTX footnotes are still missing in \startcolumns as Clyde
reported:

\starttext
\startcolumns
\input knuth\footnote{D. E. Knuth}
\stopcolumns
\stoptext

Tried columnsets. Footnotes are overlapping text and some text at the
column break disappeared:

\starttext
\startcolumnset
\dorecurse{10}{\input knuth\footnote{D. E. Knuth}\ }
\stopcolumnset
\stoptext

We are running out of options :) Could you, please, have a look at it when
your metafun mode is over?

Thanks,
Jano
ConTeXt  ver: 2021.03.05 19:14 LMTX  fmt: 2021.3.6





On Mon, Jan 25, 2021 at 10:05 PM Clyde Johnston  wrote:

> I can no longer print the footnotes when I using columns in LTMX.  If I
> remove the \{start|stop}columns, it works fine.  This works on my old MKIV
> 2018.07.02 14:39 version.
>
>
>
> \setupcolumns[n=2,rule=off,balance=no]
>
>
>
> \starttext
>
>   \startcolumns
>
>   \input ward\footnote{A small footnote here}
>
>   \stopcolumns
>
> \stoptext
>
>
>
> Context Version: 2021.01.24 16:07
>
>
>
> Clyde
>
>
>
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-10-11 Thread Henning Hraban Ramm
Hi, I still would be happy about answers to the following questions:

> Am 02.10.2020 um 12:13 schrieb Henning Hraban Ramm :
> 
> - Would it be possible to do the footnote numbering after the float 
> placement, so that a footnote in a float caption keeps the reading order of 
> numbers and gets its place on the right page?
> 
> – As a workaround, how can I use \placefigure in the middle of a paragraph 
> without breaking it?


And I isolated another problem, or even two:


\usemodule[visual]
\definecolor[fakerulecolor][c=.2,m=.1,k=.2]
\useMPlibrary[dum]
\automigrateinserts % nop in LMTX
\showframe
\setupcaptions[
  headstyle={\ss\bfx},
  align={flushleft,high},
  prefixsegments=none,
  location={bottom,low},
  hang=yes,
]
\setupfootnotes[
  width=\textwidth,
]

\starttext

\startplacefigure[location=page,title={\fakewords{5}{7}\footnote{\fakewords{20}{30}}}]%
 rId128
\externalfigure[dummy][width=\textwidth,height=.66\textheight]
\stopplacefigure

\fakewords{5}{10}

\stoptext


In this example, the footnote is broken to the next page, even if there’s 
plenty of space.
How can I avoid that?
If I put it in a \vbox, the footnote number is too low.

Additionally and strangely, the float page is doubled. I experienced that 
sometimes with last pages of documents. That must be a bug.


Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-10-02 Thread Henning Hraban Ramm
Coming back to this complex:

> Am 20.09.2020 um 16:38 schrieb Henning Hraban Ramm :
> 
> Didn’t find a setup that changes the alignment, though.

The alignment problem is fixed, can’t remember in which release.


But I still struggle with those footnotes, unfortunately I can’t tell the 
author “footnotes in captions are evil, don’t do that”. And I know it’s a 
really tricky edge case.

FiCiFC work, if ...
- there’s enough space on the page where the float is placed
– page breaks don’t disturb the order of footnotes

The latter means:
If I use \placefigure[top]... in front of a paragraph full of footnotes, the 
paragraph starts on one page and the image gets placed on the next, then the 
footnote in the figure’s caption might have e.g. no.11, the paragraph uses 
footnote no.12 etc. The first footnote(s) of the paragraph find their place on 
the first page, the footnote(s) of the figure will never get placed, because 
its numbering is out of order.

If I put \placefigure in the middle of the paragraph, I can keep the order of 
footnotes and get to see the footnote of the figure, but the paragraph is split 
into two.

- Would it be possible to do the footnote numbering after the float placement, 
so that a footnote in a float keeps the reading order or numbers and gets its 
place on the right page?

– As a workaround, how can I use \placefigure in the middle of a paragraph 
without breaking it?


Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm

> Am 20.09.2020 um 16:22 schrieb Henning Hraban Ramm :
> In MkIV I get images and footnotes, but the width of the footnotes is 
> always that of the image.
> 
> In LMTX I don’t get anything.
 Current state (v. 2020.09.18 20:32):
 Some progress: Footnotes are still as wide as the image they belong to (in 
 both versions), but in LMTX some footnotes are missing.
>>> mwe missing
>> 
>> Regarding the width it’s still the same MWE (slightly adapted), apparently 
>> not related to floatcombinations but a general problem of footnotes in 
>> captions; couldn’t reproduce “some missing” in an MWE yet.

\setupfootnotes[
  width=\textwidth,
]

actually fixes that problem. Ouch.

Didn’t find a setup that changes the alignment, though.

Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm


> Am 20.09.2020 um 13:59 schrieb Henning Hraban Ramm :
 In MkIV I get images and footnotes, but the width of the footnotes is 
 always that of the image.
 
 In LMTX I don’t get anything.
>>> Current state (v. 2020.09.18 20:32):
>>> Some progress: Footnotes are still as wide as the image they belong to (in 
>>> both versions), but in LMTX some footnotes are missing.
>> mwe missing
> 
> Regarding the width it’s still the same MWE (slightly adapted), apparently 
> not related to floatcombinations but a general problem of footnotes in 
> captions; couldn’t reproduce “some missing” in an MWE yet.

I found another problem with captions in floatcombinations: They are always 
bottom-aligned to each other, so that the distance between image and caption 
differs. This is the same in current LMTX and MkIV.

Hraban


\usemodule[visual]
\definecolor[fakerulecolor][c=.2,m=.1,k=.2]
\useMPlibrary[dum]
\automigrateinserts % nop in LMTX
\showframe
\setupcaptions[
  headstyle={\ss\bfx},
  align={flushleft,high},
  hang=yes,
]

\starttext

\fakewords{10}{30}

% Footnotes, but no combination
%\startplacefigure[location=none]
%\startfloatcombination[2*1]
\startplacefigure[title={\fakewords{5}{10}\footnote[f:1]{\fakewords{10}{30}}}]
\externalfigure[001][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={\fakewords{5}{10}\footnote[f:2]{\fakewords{10}{30}}}]
\externalfigure[002][width=.62\textwidth]
\stopplacefigure
%\stopfloatcombination
%\stopplacefigure

\fakewords{20}{30}

% both
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={\fakewords{5}{10}\footnote[f:3]{\fakewords{10}{30}}}]
\externalfigure[003][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={\fakewords{5}{10}\footnote[f:4]{\fakewords{10}{30}}}]
\externalfigure[004][width=.62\textwidth]
\stopplacefigure
\stopfloatcombination
\stopplacefigure

\fakewords{10}{30}

% combination without footnotes
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={\fakewords{5}{10}}]
\externalfigure[005][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={\fakewords{5}{10}}]
\externalfigure[006][width=.62\textwidth]
\stopplacefigure
\stopfloatcombination
\stopplacefigure

\fakewords{5}{10}

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm


> Am 20.09.2020 um 13:34 schrieb Hans Hagen :
> 
> On 9/19/2020 6:36 PM, Henning Hraban Ramm wrote:
>>> Am 16.09.2020 um 13:48 schrieb Henning Hraban Ramm :
>>> 
>>> In MkIV I get images and footnotes, but the width of the footnotes is 
>>> always that of the image.
>>> 
>>> In LMTX I don’t get anything.
>> Current state (v. 2020.09.18 20:32):
>> Some progress: Footnotes are still as wide as the image they belong to (in 
>> both versions), but in LMTX some footnotes are missing.
> mwe missing

Regarding the width it’s still the same MWE (slightly adapted), apparently not 
related to floatcombinations but a general problem of footnotes in captions; 
couldn’t reproduce “some missing” in an MWE yet.

Hraban


\useMPlibrary[dum]
\automigrateinserts % nop in LMTX
\showframe

\starttext

\input knuth

% Footnotes, but no combination
%\startplacefigure[location=none]
%\startfloatcombination[2*1]
\startplacefigure[title={1 Image with footnote\footnote[f:1]{\input lorem }}]
\externalfigure[001][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={2 Another image with footnote\footnote[f:2]{\input 
tufte }}]
\externalfigure[002][width=.62\textwidth]
\stopplacefigure
%\stopfloatcombination
%\stopplacefigure

\input lorem

% both
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={3 Left Image\footnote[f:3]{\input knuth }}]
\externalfigure[003][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={4 Right Image\footnote[f:4]{\input dawkins }}]
\externalfigure[004][width=.62\textwidth]
\stopplacefigure
\stopfloatcombination
\stopplacefigure

\input lorem

% combination without footnotes
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={5 Left Image}]
\externalfigure[005][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={6 Right Image}]
\externalfigure[006][width=.62\textwidth]
\stopplacefigure
\stopfloatcombination
\stopplacefigure

\input tufte

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Hans Hagen

On 9/19/2020 6:36 PM, Henning Hraban Ramm wrote:




Am 16.09.2020 um 13:48 schrieb Henning Hraban Ramm :

In MkIV I get images and footnotes, but the width of the footnotes is always 
that of the image.

In LMTX I don’t get anything.


Current state (v. 2020.09.18 20:32):

Some progress: Footnotes are still as wide as the image they belong to (in both 
versions), but in LMTX some footnotes are missing.

mwe missing

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-19 Thread Henning Hraban Ramm


> Am 16.09.2020 um 13:48 schrieb Henning Hraban Ramm :
> 
> In MkIV I get images and footnotes, but the width of the footnotes is always 
> that of the image.
> 
> In LMTX I don’t get anything.

Current state (v. 2020.09.18 20:32):

Some progress: Footnotes are still as wide as the image they belong to (in both 
versions), but in LMTX some footnotes are missing.


Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-16 Thread Henning Hraban Ramm

> Am 16.09.2020 um 13:39 schrieb Hans Hagen :
> 
> On 9/16/2020 12:08 PM, Henning Hraban Ramm wrote:
> 
>> \automigrateinserts
> 
> that one does nothing in lmtx

At least it doesn’t interfere. ;)
But good to know it’s becoming obsolete.

>> \showframe
>> \starttext
>> \input lorem
>> \startplacefigure[location=none]
>> \startfloatcombination[2*1]
>> \startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
>> \externalfigure[003][width=.48\textwidth]
>> \stopplacefigure
>> \startplacefigure[title={Right Image\footnote[f:4]{Anything}}]
>> \externalfigure[004][width=.48\textwidth]
>> \stopplacefigure
>> \stopfloatcombination
>> \stopplacefigure
>> \input tufte
>> \stoptext
> It was kind of tricky to identify (as i first though that you meant that it 
> also happened in mkiv)

In MkIV I get images and footnotes, but the width of the footnotes is always 
that of the image.

In LMTX I don’t get anything.

> but I managed to find a solution. New bin needed so not yet uploaded.

Thank you! Looking forward to it.


Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-16 Thread Henning Hraban Ramm
Thank you, Otared!

I updated to LMTX/MkIV 2020.09.15 18:11:

The images appear if I use --luatex (i.e. MkIV vs. LMTX),
but the footnotes use the width of the image.
The old MWE can’t show that.

Without \automigrateinserts I get both images and the short footnote, but not 
the long one.


\useMPlibrary[dum]
\automigrateinserts
\showframe

\starttext

\input lorem

\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
\externalfigure[003][width=.48\textwidth]
\stopplacefigure
\startplacefigure[title={Right Image\footnote[f:4]{Anything}}]
\externalfigure[004][width=.48\textwidth]
\stopplacefigure
\stopfloatcombination
\stopplacefigure

\input tufte

\stoptext




Am 14.09.2020 um 22:43 schrieb Otared Kavian :
> 
> Hi Hraban,
> 
> Your are right, your file is typeset correctly as expected with ConTeXt mkiv 
> version 2020.06.25 10:55, but not with the current lmtx.
> (I am sending you the output with this message).
> 
> Best regards: Otared K.
> 
> 
> 
>> On 14 Sep 2020, at 21:40, Henning Hraban Ramm  wrote:
>> 
>> Hi,
>> I got a problem with current LMTX as well as with other versions – while I’m 
>> sure it used to work at some point:
>> 
>> As soon as there’s a footnote in the caption of a placefigure within a 
>> floatcombination, the figure won’t get placed. There’s no problem outside of 
>> floatcombinations or with floatcombinations without footnotes.
>> 
>> Please let there be an easy fix...
>> 
>> Hraban
>> 
>> 
>> \useMPlibrary[dum]
>> \automigrateinserts
>> \showframe
>> 
>> \starttext
>> 
>> \input knuth
>> 
>> %\startplacefigure[location=none]
>> %\startfloatcombination[2*1]
>> \startplacefigure[title={Image with footnote\footnote[f:1]{foo bar baz}}]
>> \externalfigure[001][width=.48\textwidth]
>> \stopplacefigure
>> \startplacefigure[title={Another image with 
>> footnote\footnote[f:2]{Something}}]
>> \externalfigure[002][width=.48\textwidth]
>> \stopplacefigure
>> %\stopfloatcombination
>> %\stopplacefigure
>> 
>> \input lorem
>> 
>> \startplacefigure[location=none]
>> \startfloatcombination[2*1]
>> \startplacefigure[title={Left Image\footnote[f:3]{doo be doo}}]
>> \externalfigure[003][width=.48\textwidth]
>> \stopplacefigure
>> \startplacefigure[title={Right Image%\footnote[f:4]{Anything}
>> }]
>> \externalfigure[004][width=.48\textwidth]
>> \stopplacefigure
>> \stopfloatcombination
>> \stopplacefigure
>> 
>> \startplacefigure[location=none]
>> \startfloatcombination[2*1]
>> \startplacefigure[title={Left Image}]
>> \externalfigure[005][width=.48\textwidth]
>> \stopplacefigure
>> \startplacefigure[title={Right Image}]
>> \externalfigure[006][width=.48\textwidth]
>> \stopplacefigure
>> \stopfloatcombination
>> \stopplacefigure
>> 
>> \input tufte
>> 
>> \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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Pablo Rodriguez
On 9/3/20 12:12 PM, Hans Hagen wrote:
> On 9/3/2020 7:50 AM, Pablo Rodriguez wrote:
>> Dear list,
>>
>> the following minimal sample:
>>
>>  \starttext
>>  \chapter{Chapter\footnote{Note}}
>>  \section{Section\footnote{Note}}
>>  \stoptext
>>
>> Using current latest (from 2020.09.02 20:37) doesn’t display the footnotes.
>>
>> I’m afraid this may be a bug. Could anyone confirm this?
> not so much a bug as an uncatched case (the way to deal with deeply
> nested inserts is different in lmtx than in mkiv)
>
> (btw, it's not the latest ... that bit already changed a while ago)

Many thanks for the new latest, Hans.

I noticed this some time ago, but I thought my code was wrong.

Yesterday I checked it with a minimal sample.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Hans Hagen

On 9/3/2020 7:50 AM, Pablo Rodriguez wrote:

Dear list,

the following minimal sample:

 \starttext
 \chapter{Chapter\footnote{Note}}
 \section{Section\footnote{Note}}
 \stoptext

Using current latest (from 2020.09.02 20:37) doesn’t display the footnotes.

I’m afraid this may be a bug. Could anyone confirm this?
not so much a bug as an uncatched case (the way to deal with deeply 
nested inserts is different in lmtx than in mkiv)


(btw, it's not the latest ... that bit already changed a while ago)

(there are probably more cases that need checking)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Wolfgang Schuster
Pablo Rodriguez  schrieb am Do., 3. Sept. 2020, 07:51:

> Dear list,
>
> the following minimal sample:
>
> \starttext
> \chapter{Chapter\footnote{Note}}
> \section{Section\footnote{Note}}
> \stoptext
>
> Using current latest (from 2020.09.02 20:37) doesn’t display the footnotes.
>
> I’m afraid this may be a bug. Could anyone confirm this?
>

Does ist work when you add \automigrateinserts?

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Jan U. Hasecke
Am 03.09.20 um 07:50 schrieb Pablo Rodriguez:
> Dear list,
> 
> the following minimal sample:
> 
> \starttext
> \chapter{Chapter\footnote{Note}}
> \section{Section\footnote{Note}}
> \stoptext
> 
> Using current latest (from 2020.09.02 20:37) doesn’t display the footnotes.
> 
> I’m afraid this may be a bug. Could anyone confirm this?
> 

No notes with current version: 2020.08.31 22:16

juh

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Wolfgang Schuster

Jairo A. del Rio schrieb am 28.06.2020 um 13:43:

It's "subscribe nodigest", right? Sorry for the inconveniences


Yes but the config page [1] has explanations for all options to know 
what each does.


[1] https://mailman.ntg.nl/mailman/options/ntg-context

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Jairo A. del Rio
It's "subscribe nodigest", right? Sorry for the inconveniences

Jairo :)

El dom., 28 de jun. de 2020 a la(s) 06:11, Wolfgang Schuster (
wolfgang.schuster.li...@gmail.com) escribió:

> Jairo A. del Rio schrieb am 28.06.2020 um 12:54:
> > Hi list! I want to know how to properly use footnotes in math mode. The
> > following:
> >
> > \starttext
> > \startformula
> > \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
> > x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote
> > \stopformula
> > \stoptext
> >
> > doesn't complain but it doesn't show the footnote either.
> >
> > So, I'm using the following workaround:
> >
> > \starttext
> > \startformula
> > \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d
> > x+\int_{c+h}^{b} f(x) d x\right]\note[mynote1]
> > \stopformula
> > \footnotetext[mynote1]{Cauchy s'occupe du cas...}
> > \stoptext
> >
> > However, 1) I have to create notes every time and it's kinda annoying
> > when a large amount of formulas are annotated (I've read somewhere it's
> > bad practice to (ab)use footnotes in math writing, but I see this often
> > in books from the 19th century or earlier), 2) the numbering is bold.
> > Making the numbering normal rather than bold would be fine, but I want
> > to know about a better solution. Thank you in advance
>
> You have two options:
>
> 1. Add \automigrateinserts at the begin of your document.
>
> \automigrateinserts
>
> \starttext
>
> \startformula
> x\footnote{Footnote}
> \stopformula
>
> \stoptext
>
> 2. Add a postponingnotes environment around the formula.
>
> \starttext
>
> \startpostponingnotes
> \startformula
> x\footnote{Footnote}
> \stopformula
> \stoppostponingnotes
>
> \stoptext
>
> The first option wasn't always reliable with many nested box levels and
> this is when you can use the second option.
>
> > Jairo :)
> >
> > PS: How to answer messages sent to the mailing list? I'm on Gmail and I
> > have to wait until the Digest comes. However, I can see messages in
> > mail-archive.com . It's a dumb question, but
> > when I want to thank Hans, Wolfgang or Aditya (and everyone else) for an
> > answer, or following a thread, I have to edit the whole Digest mail.
> > Sorry if I've been ungrateful by not answering back. Thank you again.
>
> Why don't you change this in the list settings or use a separate mail
> address for mailing lists.
>
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Wolfgang Schuster

Jairo A. del Rio schrieb am 28.06.2020 um 12:54:
Hi list! I want to know how to properly use footnotes in math mode. The 
following:


\starttext
\startformula
\int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d 
x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote

\stopformula
\stoptext

doesn't complain but it doesn't show the footnote either.

So, I'm using the following workaround:

\starttext
\startformula
\int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d 
x+\int_{c+h}^{b} f(x) d x\right]\note[mynote1]

\stopformula
\footnotetext[mynote1]{Cauchy s'occupe du cas...}
\stoptext

However, 1) I have to create notes every time and it's kinda annoying 
when a large amount of formulas are annotated (I've read somewhere it's 
bad practice to (ab)use footnotes in math writing, but I see this often 
in books from the 19th century or earlier), 2) the numbering is bold. 
Making the numbering normal rather than bold would be fine, but I want 
to know about a better solution. Thank you in advance


You have two options:

1. Add \automigrateinserts at the begin of your document.

\automigrateinserts

\starttext

\startformula
x\footnote{Footnote}
\stopformula

\stoptext

2. Add a postponingnotes environment around the formula.

\starttext

\startpostponingnotes
\startformula
x\footnote{Footnote}
\stopformula
\stoppostponingnotes

\stoptext

The first option wasn't always reliable with many nested box levels and 
this is when you can use the second option.



Jairo :)

PS: How to answer messages sent to the mailing list? I'm on Gmail and I 
have to wait until the Digest comes. However, I can see messages in 
mail-archive.com . It's a dumb question, but 
when I want to thank Hans, Wolfgang or Aditya (and everyone else) for an 
answer, or following a thread, I have to edit the whole Digest mail. 
Sorry if I've been ungrateful by not answering back. Thank you again.


Why don't you change this in the list settings or use a separate mail 
address for mailing lists.


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] footnotes in columns not working

2019-07-22 Thread Taco Hoekwater
Hi,

I cannot offer a proper fix, but I can testify that there are serious problems 
with footnotes in the latest betas.
The default subsystem for columns has been rewritten, but it still has some 
teething problems with regard to footnotes
and float placement.

While Hans is sorting out the problems, you can get back the old columns code 
with

  \loadmarkfile{page-mul}

somewhere in the setup section of your document.

Best wishes,
Taco


> On 18 Jul 2019, at 14:27, Charles Doherty  wrote:
> 
> 
> Dear Hans,
> 
> I have been typesetting a Newsletter using ConTeXt since 2003. I have updated 
> the programme regularly and made adjustments to my template as needed.
> 
> Following the most recent update I have problems with footnotes in columns. 
> Depending on the number and length of the footnotes I have varied between 
> placing them at the end of each column or as a list at the end of each page 
> using:
> 
> \setupnote[footnote][location=columns]
> 
> or commenting out 
> 
> %\setupnote[footnote][location=columns] 
> 
> to get what I need. In the attached image I had commented out 
> %\setupnote[footnote][location=columns] expecting to get footnotes arranged 
> one beneath the other at the bottom of the page but I get them in two columns 
> and both run off the page.
> 
> Can you help on this?
> 
> I attach an .png of the result.
> 
> Thanks,
> Charlie
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

Taco Hoekwater
Elvenkind BV




___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in xtables

2019-05-01 Thread Otared Kavian
Hi Henning

> On 1 May 2019, at 15:56, Henning Hraban Ramm  wrote:
>> […]
> 
> Is there a way to handle footnotes in tables like regular footnotes, i.e. 
> combine numbering and placement?

Hi Henning,

The answer is yes as in the following example (thanks to Wolfgang for pointing 
to \startpostponingnotes…).

%%% begin footnote-global-xtable.tex
\starttext
A silly one here\footnote{Here is a silly footnote.}
\startpostponingnotes
\startplacetable[location=middle,reference={tab:1}]
\startxtable
\startxrow
\startxcell Alpha \stopxcell
\startxcell Beta\footnote{This is a footnote in 
\in{Table}[tab:1] } \stopxcell
\stopxrow
\startxrow
\startxcell Beta \stopxcell
\startxcell Alpha\stopxcell
\stopxrow
\stopxtable
\stopplacetable
\stoppostponingnotes

Another serious one here\footnote{Here is a serious footnote.}
\stoptext
%%% end footnote-global-xtable.tex

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in xtables

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-30 um 09:45 schrieb Otared Kavian :

> Hi Clyde,
> 
> In order to use footnotes in tables, you can use localfootnotes as in the 
> following:
> 
> \startlocalfootnotes
>   \startxtable
>   \startxrow
>   \startxcell Alpha \stopxcell
>   \startxcell Beta\footnote{Footnote Here} \stopxcell
>   \stopxrow
>   \startxrow
>   \startxcell Beta \stopxcell
>   \startxcell Alpha\stopxcell
>   \stopxrow
>   \stopxtable
> \placelocalfootnotes
> \stoplocalfootnotes
> 
> Then the footnotes appear below the table.
> 
> However it seems that the localfootnotes mechanism is conflicting with 
> \startpalectable...\stoplacetable.

Is there a way to handle footnotes in tables like regular footnotes, i.e. 
combine numbering and placement?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in xtables

2019-04-30 Thread Clyde Johnston
I think I can live with this solution.  Thanks very much.

-Original Message-
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Otared Kavian
Sent: Tuesday, April 30, 2019 10:46 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Footnotes in xtables

Hi Clyde,

In order to use footnotes in tables, you can use localfootnotes as in the 
following:

\startlocalfootnotes
\startxtable
\startxrow
\startxcell Alpha \stopxcell
\startxcell Beta\footnote{Footnote Here} \stopxcell
\stopxrow
\startxrow
\startxcell Beta \stopxcell
\startxcell Alpha\stopxcell
\stopxrow
\stopxtable
\placelocalfootnotes
\stoplocalfootnotes

Then the footnotes appear below the table.

However it seems that the localfootnotes mechanism is conflicting with 
\startpalectable...\stoplacetable.

Best regards: OK

> On 30 Apr 2019, at 08:33, Clyde Johnston  wrote:
> 
> How do you get footnotes to work in xtables?  I get the superscript next to 
> the text but the footnote does not appear at the bottom of the page.
>  
> Thanks, Clyde
>  
> MWE:
>  
> \starttext
> \startxtable
> \startxrow
> \startxcell Alpha \stopxcell
> \startxcell Beta\footnote{Footnote Here} \stopxcell
> \stopxrow
> \startxrow
> \startxcell Beta \stopxcell
> \startxcell Alpha\stopxcell
> \stopxrow
> \stopxtable
> \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://context.aanhet.net 
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net archive  : 
https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in xtables

2019-04-30 Thread Otared Kavian
Hi Clyde,

In order to use footnotes in tables, you can use localfootnotes as in the 
following:

\startlocalfootnotes
\startxtable
\startxrow
\startxcell Alpha \stopxcell
\startxcell Beta\footnote{Footnote Here} \stopxcell
\stopxrow
\startxrow
\startxcell Beta \stopxcell
\startxcell Alpha\stopxcell
\stopxrow
\stopxtable
\placelocalfootnotes
\stoplocalfootnotes

Then the footnotes appear below the table.

However it seems that the localfootnotes mechanism is conflicting with 
\startpalectable...\stoplacetable.

Best regards: OK

> On 30 Apr 2019, at 08:33, Clyde Johnston  wrote:
> 
> How do you get footnotes to work in xtables?  I get the superscript next to 
> the text but the footnote does not appear at the bottom of the page.
>  
> Thanks, Clyde
>  
> MWE:
>  
> \starttext
> \startxtable
> \startxrow
> \startxcell Alpha \stopxcell
> \startxcell Beta\footnote{Footnote Here} \stopxcell
> \stopxrow
> \startxrow
> \startxcell Beta \stopxcell
> \startxcell Alpha\stopxcell
> \stopxrow
> \stopxtable
> \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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes being broken over two pages

2019-02-27 Thread Alan Braslau
On Tue, 26 Feb 2019 01:04:25 +0100
Lars  wrote:

> Hi there,
> 
> I've stumbled upon some behaviour that looks like a bug to me. Sometimes 
> longer footnotes are being broken over two pages. Please see the 
> attached picture:
> 
> As you can see the last footnote on p. 6 is being continued on p. 7. I 
> don't think it's a problem of too many footnote lines on one page as on 
> p. 17 there are more lines and the breaking is in order.
> 
> The code for all links that I create like this is:
> 
> \define\NytAsimov{
> \goto{
> \hyphenatedurl{
> https://www.nytimes.com/1992/04/12/business/technology-a-celebration-of-isaac-asimov.html}}
> [url(https://www.nytimes.com/1992/04/12/business/technology-a-celebration-of-isaac-asimov.html)]
> (Abrufdatum 12.12.2018)}
> 
> The line breaking I only did for readability. In my source all those 
> definitions are in single lines. Does anyone have an idea why this is 
> happening? If you need anything just let me know please.
> 
> Thanks in advance, Lars.
> 

Maybe try

\setupnote [footnote] [split=verystrict,scope=page]

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes being broken over two pages

2019-02-27 Thread Lars

Hi there,

Am 26/02/2019 um 16:06 schrieb Alan Braslau:

On Tue, 26 Feb 2019 01:04:25 +0100
Lars  wrote:


Hi there,

I've stumbled upon some behaviour that looks like a bug to me. Sometimes
longer footnotes are being broken over two pages. Please see the
attached picture:

As you can see the last footnote on p. 6 is being continued on p. 7. I
don't think it's a problem of too many footnote lines on one page as on
p. 17 there are more lines and the breaking is in order.

The code for all links that I create like this is:

\define\NytAsimov{
\goto{
\hyphenatedurl{
https://www.nytimes.com/1992/04/12/business/technology-a-celebration-of-isaac-asimov.html}}
[url(https://www.nytimes.com/1992/04/12/business/technology-a-celebration-of-isaac-asimov.html)]
(Abrufdatum 12.12.2018)}

The line breaking I only did for readability. In my source all those
definitions are in single lines. Does anyone have an idea why this is
happening? If you need anything just let me know please.

Thanks in advance, Lars.


Maybe try

\setupnote [footnote] [split=verystrict,scope=page]

Alan


The text shortened slightly due to correction. After that, the problem 
seems gone. But I will take your solution commented into my doc and will 
try it and report should it occur again.


Thank you!

Lars

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in float combinations missing in output

2019-01-13 Thread Wolfgang Schuster

Lars schrieb am 09.01.19 um 23:01:

Hi there, hi Hans,

I just want to let you know that footnotes insterted in 
float-combinations don't get rendered properly, i. e. only the last 
footnote is placed in the output. MWE:


\starttext
   \startplacefigure[title={OuterCap\footnote{Outer footnote}}]

     \startfloatcombination[nx=3]
\placefigure{Fnote1\footnote{Hello}}{\externalfigure[cow][width={.2\textwidth}]}
\placefigure{Fnote2\footnote{small}}{\externalfigure[cow][width={.2\textwidth}]}
\placefigure{Fnote3\footnote{world}}{\externalfigure[cow][width={.2\textwidth}]}
     \stopfloatcombination

   \stopplacefigure
\stoptext


Not very nice but the following works. You would have less problems with 
local footnotes which are placed in the float block.


\starttext

\startpostponingnotes
  \startplacefigure[title={...}]
...
  \stopplacefigure
\stoppostponingnotes

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes and endnotes

2018-11-18 Thread Axel Kielhorn

> Am 17.11.2018 um 15:43 schrieb Pablo Rodriguez :
> 
> On 11/17/18 1:51 PM, Axel Kielhorn wrote:
>> Hello,
> 
> Hi Axel,
> 
>> I want to show the translator notes in a different way. Right now I
>> have the footnote in green, but the footnote marker in the text does
>> change neither font nor color?> Shouldn’t the marker be green and
>> bold? Setting numberconversion works, but the other options seem to
>> be without effect.
> 
>\setupnote[translaternote][textstyle=\bf, textcolor=green]

With this information I found:

https://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote

The headcolor in \setupnotation is actually the color of the marker in the note
while the maker in the text is defined with \setupnote.

I guess I have to request edit rights for the garden.
DONE

> 
>> I want to include longer notes as endnotes. I can change the marker
>> shown with the notes to (1) but he marker in the text does not
>> change. Thus you can’t distinguish between a footnote and an
>> endnote.
> 
> As far as I know, left and right arent’t options in \setupnote.

The page mentioned above offers the following solution:

\definenote[commentnote][endnote]  
  \setupnotation[commentnote] [color=red,left={(},right={)}]
  \setupnote [commentnote] [textcommand=\mycommentcommand]
\define[1]\mycommentcommand{\high{\tfxx(#1)}}

Thanks for pointing me in the right direction.

Axel

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes and endnotes

2018-11-17 Thread Pablo Rodriguez
On 11/17/18 1:51 PM, Axel Kielhorn wrote:
> Hello,

Hi Axel,

> I want to show the translator notes in a different way. Right now I
> have the footnote in green, but the footnote marker in the text does
> change neither font nor color?> Shouldn’t the marker be green and
> bold? Setting numberconversion works, but the other options seem to
> be without effect.

\setupnote[translaternote][textstyle=\bf, textcolor=green]

> I want to include longer notes as endnotes. I can change the marker
> shown with the notes to (1) but he marker in the text does not
> change. Thus you can’t distinguish between a footnote and an
> endnote.

As far as I know, left and right arent’t options in \setupnote.

> I tried a footnote within a footnote, that didn’t work, should it? (I
> don’t actually need this, I was just curious.)

They don’t work (I wonder what might they be useful for). But Hans or
Wolfgang know better.

> When I define commentnote based on endnote I get the same numbering. 
> How can I either - use different counters for both kind of notes or

I guess you have to avoid defining commentnote based on endnote.

You may always do the following:

\setupnotation
[authornote, endnote, commentnote, footnote, translaterpnote]
[style=bold]

> - print both notes with the same placenotes command, in the right
> order?

Then, place the notes in the right order. But in that case, only using
one kind of notes may be less problematic.

I hope it helps,

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes in titles, 3 years old file compiles now different

2018-08-07 Thread Lutz Haseloff
Hi Huseyin,
i tried your line of code with recent ConTeXt and luatex and i think it worked 
fine.
See attached files.

Greetings Lutz

Am 7. August 2018 08:29:10 MESZ schrieb "Huseyin Özoguz" :
>I forget: I use now luatex beta 0.80.0 (and Context from 2015.04.15), 
>but the old pdf was compiled with luatex 0.77.0, is that the
>difference, 
>which deleted the footnote?
>
>(I hope this does not break the threadnever learned how to use 
>mail-lists with thunderbird)
>
>___
>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://context.aanhet.net
>archive  : https://bitbucket.org/phg/context-mirror/commits/
>wiki : http://contextgarden.net
>___


titlefootnote.pdf
Description: Adobe PDF document
\starttext
\section{title\footnote{ftn-content}}
\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes in titles, 3 years old file compiles now different

2018-08-07 Thread Huseyin Özoguz
I forget: I use now luatex beta 0.80.0 (and Context from 2015.04.15), 
but the old pdf was compiled with luatex 0.77.0, is that the difference, 
which deleted the footnote?


(I hope this does not break the threadnever learned how to use 
mail-lists with thunderbird)


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes in footnotes

2016-10-16 Thread Saša Janiška
Otared Kavian  writes:

> Indeed the example you sent does not work as expected, but as far as I
> remember for nested footnotes one can use the following construction

It’s a bit convoluted, but, well…

Otoh, it’s interesting to note that in my static-site-generator which
uses Go’s Blackfriday markdown processor which does support some
extensions, one can use nested footnotes.


Sincerely,
Gour

-- 
A person is considered still further advanced when he regards honest
well-wishers, affectionate benefactors, the neutral, mediators, the envious,
friends and enemies, the pious and the sinners all with an equal mind.

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

Re: [NTG-context] Footnotes in footnotes

2016-10-16 Thread Otared Kavian
Hi Jose Luis,

Indeed the example you sent does not work as expected, but as far as I remember 
for nested footnotes one can use the following construction (I found this 
exmaple in my archives…):

 begin nested-footnotes.tex
\starttext

This\footnote{Or that\note[footB], if you prefer.}%
\footnotetext[footB]{Or possibly even the other\note[footC].}%
\footnotetext[footC]{It could be something entirely different.}
is a sentence with nested footnotes.

\stoptext
 end nested-footnotes.tex

Best regards: OK

> On 31 Aug 2016, at 22:39, Jose Luis Arellano  wrote:
> 
> Dear list,
> I want to report a possible bug (I think), when one try to put a footnote 
> into another footnote, here is MWE (from wiki):
> 
> \starttext
> This\footnote{Or that\footnote{Or possibly even the other.}, if you prefer.} 
> is a sentence with a footnote.
> \stoptext
> 
> As you can see, the second footnote is not placed in the page.
> 
> Thanks.
> ___
> 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://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Footnotes in footnotes

2016-10-16 Thread Saša Janiška
Jose Luis Arellano  writes:

> Dear list,
> I want to report a possible bug (I think), when one try to put a
> footnote into another footnote, here is MWE (from wiki):
>
> \starttext
> This\footnote{Or that\footnote{Or possibly even the other.}, if you
> prefer.} is a sentence with a footnote.
> \stoptext
>

While testing/evaluating different options/markups, the topic of using
“footnote within footnote” has appeared and I’ve tried to test it in the
ConTeXt, but, strangely-enoug, I can confirm that it does not work here
as reported by Jose.

Here is the console output:

$ context footnotetst.tex 

mtx-context | run 1: luatex 
--fmt="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en"
 --jobname="footnotetst" 
--lua="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en.lui"
 --no-parse-first-line --c:currentrun=1 --c:fulljobname="./footnotetst.tex" 
--c:input="./footnotetst.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) 
 system commands enabled.
open source > 1 > 1 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

ConTeXt  ver: 2016.05.17 19:20 MKIV current  fmt: 2016.5.28  int: 
english/english

system  > 'cont-new.mkiv' loaded
open source > 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
close source> 2 > 2 > /usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv
system  > files > jobname 'footnotetst', input './footnotetst', result 
'footnotetst'
fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > 2 > 3 > /home/gour/prj/hugo/footnotetst.tex
fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
structure   > sectioning > section @ level 3 : 0.0.1 -> Footnote test
backend > xmp > using file 
'/usr/share/texmf/tex/context/base/mkiv/lpdf-pdx.xml'
pages   > flushing realpage 1, userpage 1
close source> 2 > 3 > /home/gour/prj/hugo/footnotetst.tex
close source> 1 > 3 > /usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv

mkiv lua stats  > used config file: 
/usr/share/texmf/web2c/texmfcnf.lua;/usr/share/texlive/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: readable: 
'/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442' | 
readable+writable: 
'/home/gour/.texlive2016/texmf-var/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442'
mkiv lua stats  > resource resolver: loadtime 0.059 seconds, 0 scans with 
scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: 
mkiv lua stats  > stored bytecode data: 387 modules (0.270 sec), 82 tables 
(0.009 sec), 469 chunks (0.279 sec)
mkiv lua stats  > traced context: maxstack: 1175, freed: 0, unreachable: 1175
mkiv lua stats  > cleaned up reserved nodes: 47 nodes, 9 lists of 444
mkiv lua stats  > node memory usage: 13 glue, 2 penalty, 41 attribute, 38 
glue_spec, 12 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances 
(re)created, 87 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 278 direct, 250 indirect, 528 total
mkiv lua stats  > randomizer: resumed with value 0.47685763401764
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > interactive elements: 0 references, 1 destinations
mkiv lua stats  > result saved in file: footnotetst.pdf, compresslevel 3, 
objectcompresslevel 3
mkiv lua stats  > loaded fonts: 5 files: latinmodern-math.otf, 
lmroman10-regular.otf, lmroman12-regular.otf, lmroman6-regular.otf, 
lmroman8-regular.otf
mkiv lua stats  > font engine: otf 3.020, afm 1.512, tfm 1.000, 11 instances, 4 
shared in backend, 0 common vectors, 4 common hashes, load time 0.239 seconds 
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: usr
mkiv lua stats  > luatex banner: this is luatex, version 0.95.0 (tex live 
2016/debian)
mkiv lua stats  > control sequences: 43857 of 65536 + 10
mkiv lua stats  > lua properties: engine: lua, used memory: 86 MB (ctx: 86 MB), 
hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.636 seconds, 1 processed pages, 1 shipped pages, 
1.572 pages/second

mtx-context | run 2: luatex 
--fmt="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en"
 --jobname="footnotetst" 
--lua="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en.lui"
 --no-parse-first-line --c:currentrun=2 --c:fulljobname="./footnotetst.tex" 
--c:input="./footnotetst.tex" --c:kindofrun=2 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 0.95.0 (TeX Live 2016/Debian) 
 system commands enabled.

Re: [NTG-context] Footnotes inside and outside a framed text

2016-10-05 Thread Jean-Pierre Delange
Hi Pablo,

I'll try very soon your trick as I'll try Massi's.
Thank you very much.

- Mail original -
De: "Pablo Rodriguez" <oi...@gmx.es>
À: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Envoyé: Mardi 4 Octobre 2016 20:44:05
Objet: Re: [NTG-context] Footnotes inside and outside a framed text

On 10/04/2016 05:36 PM, Jean-Pierre Delange wrote:
> Thank you Massi for your help !

Sorry for not having answered before, Jean-Pierre.

Last year, Hans replied to a question on the very same issue
(https://mailman.ntg.nl/pipermail/ntg-context/2015/083570.html), with
the following code:

\framed{three\postponenotes\footnote{3}}\flushnotes

I hope it helps,


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
___
___
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] Footnotes inside and outside a framed text

2016-10-04 Thread Pablo Rodriguez
On 10/04/2016 05:36 PM, Jean-Pierre Delange wrote:
> Thank you Massi for your help !

Sorry for not having answered before, Jean-Pierre.

Last year, Hans replied to a question on the very same issue
(https://mailman.ntg.nl/pipermail/ntg-context/2015/083570.html), with
the following code:

\framed{three\postponenotes\footnote{3}}\flushnotes

I hope it helps,


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] Footnotes inside and outside a framed text

2016-10-04 Thread Jean-Pierre Delange
Thank you Massi for your help !

- Mail original -
De: "mf" <mass...@fastwebnet.it>
À: ntg-context@ntg.nl
Envoyé: Lundi 3 Octobre 2016 00:47:56
Objet: Re: [NTG-context] Footnotes inside and outside a framed text

You should set the footnote text before the frame, with
\footnotetext[id]{text}.
In case you need to set more footnotes, set them in the order they will
be called in your frame (or float, like tables or formulas).

In case you define your own footnotes, use 
\setnotetext[yourfootnote][id]{text}.

\footnotetext[id]{text} is the same as
\setnotetext[footnote][id]{text}.

%% begin modified example
\defineframedtext
[MyFrame]
[before={\blank[3*big]},
 after={\blank[3*big]},
  frame=on,
  background=MyFrame,
  %width=\textwidth,
width=max,
height=fit,
style={\setupbodyfont[9pt]}]

 \starttext
 Here we place some text with a footnote\footnote{This is a first
footnote.} before the framed text in order to see how the footnotes are
printed by \ConTeXt.
 
 \input knuth

% we set the footnote text in advance
 \setnotetext[footnote][fn2]{This is a second footnote}
 \startMyFrame[Title=Attention !]
 This is a frame with no special paragraphs, 
 but a footnote\note[fn2] % we put only the footnote marker 
 inside the framed text that \ConTeXt  should print in the page footer.
 
 \input ward
 
 \stopMyFrame
 
 Here we place some text with another footnote\footnote{This is the
third footnote. Note that the second footnote in the frame is not
printed.} after the framed text in order to test how the footnotes are
printed by \ConTeXt ...
 
 \input knuth
 \stoptext
%% end modified example

Best regards,
Massi

> Dear List,
> 
> I am currently writing documents with some framed texts, sometimes
> with a few footnotes inside these framed texts. The frames are
> coloured ones using MPGraphic (but  there is no use of MPGraphic in
> the sample below). The issue is that only footnotes outside of the
> framed text are printed in the footer, using Windows 10 or Linux
> Ubuntu, with CTX current version 2016-07-01 or later. What is the way
> to print the footnote outside of the frame (alternatively, inside of
> the frame) ?
> 
> Thank you very much for your help.
> JP
> 
> See below the minimal sample :
> 
> \defineframedtext
> [MyFrame]
> [before={\blank[3*big]},
>  after={\blank[3*big]},
>   frame=on,
>   background=MyFrame,
>   %width=\textwidth,
> width=max,
> height=fit,
> style={\setupbodyfont[9pt]}]
> 
>  \starttext
>  Here we place some text with a footnote\footnote{This is a first
> footnote.} before the framed text in order to see how the footnotes
> are printed by \ConTeXt.
>  
>  \input knuth
>  \startMyFrame[Title=Attention !]
>  This is a frame with no special paragraphs, but a
> footnote\footnote{This is a second footnote} inside the framed text
> that \ConTeXt  should print in the page footer.
>  
>  \input ward
>  
>  \stopMyFrame
>  
>  Here we place some text with another footnote\footnote{This is the
> third footnote. Note that the second footnote in the frame is not
> printed.} after the framed text in order to test how the footnotes
> are printed by \ConTeXt ...
>  
>  \input knuth
>  \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/nt
> g-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
___
___
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] Footnotes inside and outside a framed text

2016-10-02 Thread mf
You should set the footnote text before the frame, with
\footnotetext[id]{text}.
In case you need to set more footnotes, set them in the order they will
be called in your frame (or float, like tables or formulas).

In case you define your own footnotes, use 
\setnotetext[yourfootnote][id]{text}.

\footnotetext[id]{text} is the same as
\setnotetext[footnote][id]{text}.

%% begin modified example
\defineframedtext
[MyFrame]
[before={\blank[3*big]},
 after={\blank[3*big]},
  frame=on,
  background=MyFrame,
  %width=\textwidth,
width=max,
height=fit,
style={\setupbodyfont[9pt]}]

 \starttext
 Here we place some text with a footnote\footnote{This is a first
footnote.} before the framed text in order to see how the footnotes are
printed by \ConTeXt.
 
 \input knuth

% we set the footnote text in advance
 \setnotetext[footnote][fn2]{This is a second footnote}
 \startMyFrame[Title=Attention !]
 This is a frame with no special paragraphs, 
 but a footnote\note[fn2] % we put only the footnote marker 
 inside the framed text that \ConTeXt  should print in the page footer.
 
 \input ward
 
 \stopMyFrame
 
 Here we place some text with another footnote\footnote{This is the
third footnote. Note that the second footnote in the frame is not
printed.} after the framed text in order to test how the footnotes are
printed by \ConTeXt ...
 
 \input knuth
 \stoptext
%% end modified example

Best regards,
Massi

> Dear List,
> 
> I am currently writing documents with some framed texts, sometimes
> with a few footnotes inside these framed texts. The frames are
> coloured ones using MPGraphic (but  there is no use of MPGraphic in
> the sample below). The issue is that only footnotes outside of the
> framed text are printed in the footer, using Windows 10 or Linux
> Ubuntu, with CTX current version 2016-07-01 or later. What is the way
> to print the footnote outside of the frame (alternatively, inside of
> the frame) ?
> 
> Thank you very much for your help.
> JP
> 
> See below the minimal sample :
> 
> \defineframedtext
> [MyFrame]
> [before={\blank[3*big]},
>  after={\blank[3*big]},
>   frame=on,
>   background=MyFrame,
>   %width=\textwidth,
> width=max,
> height=fit,
> style={\setupbodyfont[9pt]}]
> 
>  \starttext
>  Here we place some text with a footnote\footnote{This is a first
> footnote.} before the framed text in order to see how the footnotes
> are printed by \ConTeXt.
>  
>  \input knuth
>  \startMyFrame[Title=Attention !]
>  This is a frame with no special paragraphs, but a
> footnote\footnote{This is a second footnote} inside the framed text
> that \ConTeXt  should print in the page footer.
>  
>  \input ward
>  
>  \stopMyFrame
>  
>  Here we place some text with another footnote\footnote{This is the
> third footnote. Note that the second footnote in the frame is not
> printed.} after the framed text in order to test how the footnotes
> are printed by \ConTeXt ...
>  
>  \input knuth
>  \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/nt
> g-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] footnotes and links

2016-03-02 Thread Pablo Rodriguez
On 03/02/2016 01:54 PM, Hans Hagen wrote:
> On 3/2/2016 1:32 PM, Pablo Rodriguez wrote:
> 
>> My (ignorant) guess is that updating luatex from 0.89.0 to 0.89.2
>> contained the fix.
> 
> no, it doesn't relate to the engine as context doesn't use the engine 
> for links and so .. just macro magic mixed with lua code

Well, I was simply wrong.

Could we have some more magic for indices?

\setupinteraction[state=start, focus=standard]
\enabledirectives[references.border]
\starttext
This is \index{text}text.\footnote{This is a footnote.}
\title{Index}
\placeindex
\stoptext

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] footnotes and links

2016-03-02 Thread Hans Hagen

On 3/2/2016 1:32 PM, Pablo Rodriguez wrote:

> My (ignorant guess) is that updating luatex from 0.89.0 to 0.89.2

contained the fix.


no, it doesn't relate to the engine as context doesn't use the engine 
for links and so .. just macro magic mixed with lua code


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] footnotes and links

2016-03-02 Thread Pablo Rodriguez
On 02/27/2016 11:28 PM, Pablo Rodriguez wrote:
> On 02/27/2016 02:40 PM, Hans Hagen wrote:
> [...]
>> I can't check much (as I don't know what to expect, but there is no real 
>> definition of qualitative behaviour there anyway) but this is what can 
>> be done. I have no clue to what extent complex interactions between 
>> footnote splitting and their content can interfere.
> 
> I’m afraid that this modification of your sample shows an issue:
> 
> \setupnotes[location=text]
> \setupinteraction[state=start,focus=standard]
> 
> \starttext
> \chapter{Text}
> \dorecurse{10}{note #1%
> \footnote[reference:#1]{\input ward \input tufte\relax}\par}
> \par
> \goto{OEPS  3}[reference:3]
> \goto{OEPS 10}[reference:10]
> \chapter{Notes}
> \placefootnotes
> \stoptext
> 
> Links from the first page land in the next footnote than they should.
> Links that come back to the first page seem to be fine.

Many thanks for your fix, Hans.

After updating to latest beta (from yesterday), footnote links work fine
(not extensively checked yet).

My (ignorant guess) is that updating luatex from 0.89.0 to 0.89.2
contained the fix.

Also for the record, so that no good action leaves unpublished :-).

Many thanks again for this huge improvement,


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] footnotes and links

2016-02-27 Thread Pablo Rodriguez
On 02/27/2016 02:40 PM, Hans Hagen wrote:
> Hi,
> 
> The beta has a bit adapted note interactivity (rather tricky as these 
> inserts have their own weirdness)

Many thanks for the implementation, Hans.

> I can't check much (as I don't know what to expect, but there is no real 
> definition of qualitative behaviour there anyway) but this is what can 
> be done. I have no clue to what extent complex interactions between 
> footnote splitting and their content can interfere.

I’m afraid that this modification of your sample shows an issue:

\setupnotes[location=text]
\setupinteraction[state=start,focus=standard]

\starttext
\chapter{Text}
\dorecurse{10}{note #1%
\footnote[reference:#1]{\input ward \input tufte\relax}\par}
\par
\goto{OEPS  3}[reference:3]
\goto{OEPS 10}[reference:10]
\chapter{Notes}
\placefootnotes
\stoptext

Links from the first page land in the next footnote than they should.
Links that come back to the first page seem to be fine.

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] footnotes in frames

2015-11-09 Thread Wolfgang Schuster

Alan BRASLAU 
9. November 2015 um 05:49
On Sun, 8 Nov 2015 19:22:02 +0100

How does the following magic, revealed a while ago, fit into the scene?

\automigrateinserts % needed to handle footnotes within a box...
It works only when you use \hbox but not for nested boxes (which also 
applies to \framed).


%\enabletrackers[nodes.migrations]

\automigrateinserts

\starttext

First\footnote{First}

\hbox{Second\footnote{Second}}

\vbox{Third\footnote{Third}}

\hbox{\hbox{Fourth\footnote{Fourth}}}

\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] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/9/2015 5:49 AM, Alan BRASLAU wrote:

On Sun, 8 Nov 2015 19:22:02 +0100
Hans Hagen  wrote:


as you're not afraid of magic:


How does the following magic, revealed a while ago, fit into the scene?

\automigrateinserts % needed to handle footnotes within a box...


depends on how much control one wants ... automigrate can have side 
effects for other cases


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] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/8/2015 7:47 PM, Thomas A. Schmitz wrote:

On 08.11.2015 19:22, Hans Hagen wrote:

as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes


Yep, excellent, that gets the job done! Thanks a lot! Would this
description of the mechanism be correct for the wiki:

"In deeply nested boxes (such as frames or similar environments), you
need to explicitly postpone and flush notes to have them typeset with
regular notes. Thus:

\starttext

one\footnote{1}

two\footnote{2}

\framed{three\postponenotes\footnote{3}}\flushnotes

four\footnote{4}

\stoptext"

If this isn't too wrong, I'll add it to the wiki.

And, at the risk of sounding impatient: is there any ETA for the next
beta? The current one has some problems which have been announced on the
list (such as xml entities, problems with loading some fonts), so it
would be great to have a fixed one!

All best

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
___



--

-
  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] footnotes in frames

2015-11-09 Thread Hans Hagen

On 11/8/2015 7:47 PM, Thomas A. Schmitz wrote:

On 08.11.2015 19:22, Hans Hagen wrote:

as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes


Yep, excellent, that gets the job done! Thanks a lot! Would this
description of the mechanism be correct for the wiki:

"In deeply nested boxes (such as frames or similar environments), you
need to explicitly postpone and flush notes to have them typeset with
regular notes. Thus:

\starttext

one\footnote{1}

two\footnote{2}

\framed{three\postponenotes\footnote{3}}\flushnotes

four\footnote{4}

\stoptext"

If this isn't too wrong, I'll add it to the wiki.

And, at the risk of sounding impatient: is there any ETA for the next
beta? The current one has some problems which have been announced on the
list (such as xml entities, problems with loading some fonts), so it
would be great to have a fixed one!


probably this week

-
  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] footnotes in frames

2015-11-08 Thread Hans Hagen

On 11/8/2015 6:02 PM, Thomas A. Schmitz wrote:

Hi,

is it, by any kind of magic, possible to have footnotes within a frame
(no float) that will be typeset with the normal footnotes flow?
Something like

\starttext

one\footnote{1}

two\footnote{2}

\framed{three\footnote{3}}

four\footnote{4}

\stoptext

I have found some threads about similar questions, but no real solution.


as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes



-
  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] footnotes in frames

2015-11-08 Thread Thomas A. Schmitz

On 08.11.2015 19:22, Hans Hagen wrote:

as you're not afraid of magic:

\framed{three\postponenotes\footnote{3}}\flushnotes


Yep, excellent, that gets the job done! Thanks a lot! Would this 
description of the mechanism be correct for the wiki:


"In deeply nested boxes (such as frames or similar environments), you 
need to explicitly postpone and flush notes to have them typeset with 
regular notes. Thus:


\starttext

one\footnote{1}

two\footnote{2}

\framed{three\postponenotes\footnote{3}}\flushnotes

four\footnote{4}

\stoptext"

If this isn't too wrong, I'll add it to the wiki.

And, at the risk of sounding impatient: is there any ETA for the next 
beta? The current one has some problems which have been announced on the 
list (such as xml entities, problems with loading some fonts), so it 
would be great to have a fixed one!


All best

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] footnotes in frames

2015-11-08 Thread Alan BRASLAU
On Sun, 8 Nov 2015 19:22:02 +0100
Hans Hagen  wrote:

> as you're not afraid of magic:

How does the following magic, revealed a while ago, fit into the scene?

\automigrateinserts % needed to handle footnotes within a box...

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] footnotes when using RtL (Arabic)

2015-08-03 Thread tala...@fastmail.fm
In a separate thread ("r2l alignment and linenumbering conflict?"), we've gotten numerals in an Arabic RTL document to (a) display as Arabic numerals, and (b) to order their digits in the right order (e.g. 2015 instead of 5102). By defining the headstyle of linenotes, we can even get linenotes to display the digits within individual numbers in the correct order (see below).However, when there is a line range in the linenote head, it is flipping the order of the page ranges. In the example PDF attached below, where it should read ١٥-١٦ (16-15, with the fifteen on the right and the sixteen on the left, for R2L word ordering), instead the output is ١٦-١٥.This seems to be a further example of the problems arising from not being able to apply bidi to the linenote stream, due to the bug or conflict between footnotes/linenotes and R2L. In the minimal example below, I have commented out the \startsetups[note:linenote]. The lines may be toggled to see the effect it has.=\mainlanguage[arabic]	\definefontfamily [mainface] [rm] [ALM Fixed] [range=arabic,features=arabic]\setupbodyfont[mainface,12pt]\setupdirections[bidi=global,method=two]\setupalign[r2l]%% CONVERSION INTO ARABIC-HINDI NUMERALS\defineconversion[myconversion][١,٢,٣,٤,٥,٦,٧,٨,٩,١٠,١١,١٢,١٣,١٤,١٥,١٦,١٧,١٨,١٩,٢٠,]%% HEADINGS\setuppagenumber[numberconversion=myconversion]%%%	LINENUMBERING\setuplinenumbering[%	style=\tfxx,	referencing=on,	step=1,	location=outer,	method=page,	align=left,	distance=1em,	width=0.4em,	conversion=myconversion,	]\definelinenote[linenote][%	setups=note:linenote,	before={\blank[3.2em]},	align=righttoleft,	rule={on,right},	paragraph=yes,	frame=on,framecolor=red,	]\setupnotations[linenote][%	align=righttoleft,	alternative=serried,	width=broad,	distance=.5em,	display=no,	numberconversion=arabic-hindi,	headstyle=\lefttoright,	]\unexpanded\def\doVariant#1#2#3%{\startlinenote[#1]{#2[ #3}#2\stoplinenote[#1]}\newcounter\countvariants\unexpanded\def\variant{\doglobal\increment\countvariants\normalexpanded{\doVariant{Varia:\countvariants}}}%%% DOCUMENT%\startsetups[note:linenote]%	\setupdirections[bidi=on,method=default,fences=no]%\stopsetups\starttext \showframe\startlinenumbering\input ward\linenote{هذه تعليقة أولى.}\input ward\linenote{هذه تعليقة ثانية.}\input ward\linenote{هذه تعليقة ثالثة.}مرحباً بالعالم مرحباً بالعالم مرحباً بالعالم . هذا مثال على استعمال كونتكست لأجل تحقيق المخطوطات في اللغة العربية . وقد قربنا من\variant{الوصول إلى الحلول}{الحصول على الحلول}التي نحتاجها لتصميم الخطوط التي تكتب من اليمين إلى الشمال .\linenote{هذه تعليقة خامسة.}\stoplinenumbering\stoptext=

num-ar.pdf
Description: Adobe PDF document
Best,TalalOn 2 Aug 2015, at 12:11, Pablo Rodriguez oi...@gmx.es wrote:On 08/02/2015 12:47 PM, Pablo Rodriguez wrote:[...]Hi Talal,replace you bidi settings with these ones:[...]At least, they work for me.Talal,sorry for the noise, the first linenote has the problem you described.I thought it belonged to the second linenote.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-contextwebpage : http://www.pragma-ade.nl / http://tex.aanhet.netarchive : 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] footnotes when using RtL (Arabic)

2015-08-02 Thread tala...@fastmail.fm
Thank you, Pablo, for bringing method=two to my attention. I’ve read what has 
been written about in on the mailing list. However, in my case, it does not 
solve the problem. On the document I’ve attached:
- using method=default produces the error I raised yesterday;
- using method=one (or method=two) seem to do nothing — the parentheses are 
still inversed, as if I hadn’t defined \setupdirections at all. See attached:



linenotes r2l 2.tex
Description: Binary data


linenotes r2l 2.pdf
Description: Adobe PDF document



Talal

 On 2 Aug 2015, at 08:52, Pablo Rodriguez oi...@gmx.es wrote:
 
 On 08/02/2015 12:36 AM, tala...@fastmail.fm wrote:
 I’ve run into a hiccup. In the previous MWE that worked with Woflgang and
 Hans’ patch, the notes were footnotes. However, if make them into
 linenotes, we run into a strange problem: the first note is typeset
 correctly, but all the remaining linenotes in that stream are typeset on
 the bottom left corner of the page. See attached files.
 
 Hi Talal,
 
 I experienced this issue before (although r2l languages are all Greek to
 me :-().
 
 \setupdirections[bidi=global, method=two] seems to fix the problem.
 
 I hope it helps,
 
 
 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
 ___

___
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] footnotes when using RtL (Arabic)

2015-08-02 Thread Pablo Rodriguez
On 08/02/2015 12:36 AM, tala...@fastmail.fm wrote:
 I’ve run into a hiccup. In the previous MWE that worked with Woflgang and
 Hans’ patch, the notes were footnotes. However, if make them into
 linenotes, we run into a strange problem: the first note is typeset
 correctly, but all the remaining linenotes in that stream are typeset on
 the bottom left corner of the page. See attached files.

Hi Talal,

I experienced this issue before (although r2l languages are all Greek to
me :-().

\setupdirections[bidi=global, method=two] seems to fix the problem.

I hope it helps,


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] footnotes when using RtL (Arabic)

2015-08-02 Thread Pablo Rodriguez
On 08/02/2015 12:02 PM, tala...@fastmail.fm wrote:
 Apologies: While the problem remains, I realise now that using method=one
 or method=two wasn’t having any effect because I had forgotten to add
 the option align=righttoleft,” to \setupnotations[lnote]”. Having done
 so, adding the method options do have an effect. But the output is still
 flawed; the beginning of the third note is missing at the end of the
 first line of the footnote, while its last few words can be seen on the
 second line of the footnote. See my new attachment (linenotes r2l 3,tex) 
 below:

Hi Talal,

replace you bidi settings with this ones:

\setupdirections[bidi=global, method=two]

\startsetups[note:linenote]
  \setupdirections[bidi=global,method=two,fences=yes]
\stopsetups

\setupalign[r2l]

At least, they work for me.


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] footnotes when using RtL (Arabic)

2015-08-02 Thread talazem
Apologies: While the problem remains, I realise now that using method=one or 
method=two wasn’t having any effect because I had forgotten to add the option 
align=righttoleft,” to \setupnotations[lnote]”. Having done so, adding the 
method options do have an effect. But the output is still flawed; the beginning 
of the third note is missing at the end of the first line of the footnote, 
while its last few words can be seen on the second line of the footnote. See my 
new attachment (linenotes r2l 3,tex) below:



linenotes r2l 3.tex
Description: Binary data


linenotes r2l 3.pdf
Description: Adobe PDF document



 On 2 Aug 2015, at 10:20, tala...@fastmail.fm wrote:
 
 Thank you, Pablo, for bringing method=two to my attention. I’ve read what has 
 been written about in on the mailing list. However, in my case, it does not 
 solve the problem. On the document I’ve attached:
 - using method=default produces the error I raised yesterday;
 - using method=one (or method=two) seem to do nothing — the parentheses are 
 still inversed, as if I hadn’t defined \setupdirections at all. See attached:
 
 linenotes r2l 2.texlinenotes r2l 2.pdf
 
 
 Talal
 
 On 2 Aug 2015, at 08:52, Pablo Rodriguez oi...@gmx.es wrote:
 
 On 08/02/2015 12:36 AM, tala...@fastmail.fm wrote:
 I’ve run into a hiccup. In the previous MWE that worked with Woflgang and
 Hans’ patch, the notes were footnotes. However, if make them into
 linenotes, we run into a strange problem: the first note is typeset
 correctly, but all the remaining linenotes in that stream are typeset on
 the bottom left corner of the page. See attached files.
 
 Hi Talal,
 
 I experienced this issue before (although r2l languages are all Greek to
 me :-().
 
 \setupdirections[bidi=global, method=two] seems to fix the problem.
 
 I hope it helps,
 
 
 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
 ___
 

___
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] footnotes when using RtL (Arabic)

2015-08-02 Thread Pablo Rodriguez
On 08/02/2015 12:47 PM, Pablo Rodriguez wrote:
 [...]
 Hi Talal,
 
 replace you bidi settings with these ones:
 [...]
 At least, they work for me.

Talal,

sorry for the noise, the first linenote has the problem you described.

I thought it belonged to the second linenote.


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] footnotes when using RtL (Arabic)

2015-08-02 Thread tala...@fastmail.fm
Thanks for the help, Pablo, but, unfortunately, this is not solvingthe problem (at least over here): The beginning of the third footnote/linenote is still missing. It should read (at the end of line one and at the beginning of line two of the notes):0 وهذهتعليقةThe end of line one is dropped. I have put an arrow on the attached PDF to demonstrate where it should be. (Of course, it is possible that our source tex files are slightly different?)Talal

linenotes r2l 3.pdf
Description: Adobe PDF document


linenotes r2l 3.tex
Description: Binary data
On 2 Aug 2015, at 11:47, Pablo Rodriguez oi...@gmx.es wrote:On 08/02/2015 12:02 PM, tala...@fastmail.fm wrote:Apologies: While the problem remains, I realise now that using "method=one"or "method=two" wasn’t having any effect because I had forgotten to addthe option "align=righttoleft,” to "\setupnotations[lnote]”. Having doneso, adding the method options do have an effect. But the output is stillflawed; the beginning of the third note is missing at the end of thefirst line of the footnote, while its last few words can be seen on thesecond line of the footnote. See my new attachment (linenotes r2l 3,tex) below:Hi Talal,replace you bidi settings with this ones:\setupdirections[bidi=global, method=two]\startsetups[note:linenote] \setupdirections[bidi=global,method=two,fences=yes]\stopsetups\setupalign[r2l]At least, they work for me.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-contextwebpage : http://www.pragma-ade.nl / http://tex.aanhet.netarchive : 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] footnotes when using RtL (Arabic)

2015-08-01 Thread tala...@fastmail.fm
I’ve run into a hiccup. In the previous MWE that worked with Woflgang and Hans’ 
patch, the notes were footnotes. However, if make them into linenotes, we run 
into a strange problem: the first note is typeset correctly, but all the 
remaining linenotes in that stream are typeset on the bottom left corner of the 
page. See attached files.

Best wishes,
Talal



linenotes r2l.tex
Description: Binary data


linenotes r2l.pdf
Description: Adobe PDF document


 On 31 Jul 2015, at 12:07, tala...@fastmail.fm wrote:
 
 Excellent. This seems to solve the problem completely. I even tried mixing 
 Arabic and English text in the RTL footnotes, switched on the 
 “alternative=serried” option, and defined my own custom note streams — 
 everything worked very well. The only thing that didn’t work is to mix, in 
 the same stream, footnotes that are LTR with footnotes that are RTL. But I 
 did not expect this to work, and I cannot think of a real world scenario in 
 which such footnotes would/should be mixed in the same stream.
 
 Attached are both the .tex file and the PDF with a perfectly working example. 
 Many thanks to you both, Wolfgang and Hans. Hans, I assume we’ll know if the 
 patch eventually makes it into a beta? 
 
 Best,
 Talal
 
 RTL-paragraphed-footnotes.texRTL-paragraphed-footnotes.pdf
 
 On 31 Jul 2015, at 09:39, Hans Hagen pra...@wxs.nl wrote:
 
 On 7/31/2015 1:51 AM, tala...@fastmail.fm wrote:
 You’re right. The patch gets us half way to the desired behaviour
 (namely, correct ordering of the footnotes within the paragraph). But it
 seems that the ‘paragraph’ option doesn’t play well with RTL generally,
 resulting in the second note disappearing when using
 \startsetups[note:footnote] \setupdirections[bidi=global] \stopsetups.
 
 can you try
 
 \unprotect
 
 \unexpanded\def\leftorrightvbox{\ifconditional\displaylefttoright\expandafter\lefttorightvbox\else\expandafter\righttoleftvbox\fi}
 
 \def\strc_notes_flush_global
 {\begingroup
  \useinterlinespaceparameter\noteparameter
  \doifelse{\noteparameter\c!paragraph}\v!yes
{\leftorrightvbox
   {\starthboxestohbox
 \iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
\stophboxestohbox}}
 {\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
  \endgroup}
 
 \protect
 
 
 On 30 Jul 2015, at 20:04, Wolfgang Schuster
 schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote:
 
 tala...@fastmail.fm mailto:tala...@fastmail.fm
 30. Juli 2015 20:37
 I’ve come across a snag. When using parentheses in Arabic footnotes, they 
 are flipped. In any earlier email 
 (http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global),
  you had advised adding the following:
 
 \startsetups[note:footnote]
  \setupdirections[bidi=global]
 \stopsetups
 
 \setupnote[footnote][setups=note:footnote] % align=righttoleft
 However, if one does this with your patch, the second footnote gets 
 dropped. Here is the MWE:
 
 The second note disappears even without the patch, the problem this
 the paragraph option for the notes.
 
 Wolfgang
 ___
 If your question is of interest to others as well, please add an entry
 to the Wiki!
 
 maillist : ntg-context@ntg.nl mailto: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
 ___
 
 
 
 -- 
 
 -
 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] footnotes when using RtL (Arabic)

2015-07-31 Thread Hans Hagen

On 7/31/2015 1:07 PM, tala...@fastmail.fm wrote:

Excellent. This seems to solve the problem completely. I even tried mixing 
Arabic and English text in the RTL footnotes, switched on the 
“alternative=serried” option, and defined my own custom note streams — 
everything worked very well. The only thing that didn’t work is to mix, in the 
same stream, footnotes that are LTR with footnotes that are RTL. But I did not 
expect this to work, and I cannot think of a real world scenario in which such 
footnotes would/should be mixed in the same stream.

Attached are both the .tex file and the PDF with a perfectly working example. 
Many thanks to you both, Wolfgang and Hans. Hans, I assume we’ll know if the 
patch eventually makes it into a beta?


yes but no upload today (i've also added the example to the test suite)

Hans

(you can put the patch in cont-new.mkiv in the meantime)

-
  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] footnotes when using RtL (Arabic)

2015-07-31 Thread Idris Samawi Hamid ادريس سماوي حامد

Talal, Wolfgang, Hans,
Salaam.

This is beautiful progress!

Nice Arabic editing font in the sample too -)

Best wishes
Idris

On Fri, 31 Jul 2015 05:07:45 -0600, tala...@fastmail.fm  
tala...@fastmail.fm wrote:


Excellent. This seems to solve the problem completely. I even tried  
mixing Arabic and English text in the RTL footnotes, switched on the  
“alternative=serried” option, and defined my own custom note streams —  
everything worked very well. The only thing that didn’t work is to mix,  
in the same stream, footnotes that are LTR with footnotes that are RTL.  
But I did not expect this to work, and I cannot think of a real world  
scenario in which such footnotes would/should be mixed in the same  
stream.


Attached are both the .tex file and the PDF with a perfectly working  
example. Many thanks to you both, Wolfgang and Hans. Hans, I assume  
we’ll know if the patch eventually makes it into a beta?


Best,
Talal




--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] footnotes when using RtL (Arabic)

2015-07-31 Thread Hans Hagen

On 7/31/2015 1:51 AM, tala...@fastmail.fm wrote:

You’re right. The patch gets us half way to the desired behaviour
(namely, correct ordering of the footnotes within the paragraph). But it
seems that the ‘paragraph’ option doesn’t play well with RTL generally,
resulting in the second note disappearing when using
\startsetups[note:footnote] \setupdirections[bidi=global] \stopsetups.


can you try

\unprotect

\unexpanded\def\leftorrightvbox{\ifconditional\displaylefttoright\expandafter\lefttorightvbox\else\expandafter\righttoleftvbox\fi}

\def\strc_notes_flush_global
  {\begingroup
   \useinterlinespaceparameter\noteparameter
   \doifelse{\noteparameter\c!paragraph}\v!yes
 {\leftorrightvbox
{\starthboxestohbox

\iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
 \stophboxestohbox}}

{\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
   \endgroup}

\protect



On 30 Jul 2015, at 20:04, Wolfgang Schuster
schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote:


tala...@fastmail.fm mailto:tala...@fastmail.fm
30. Juli 2015 20:37
I’ve come across a snag. When using parentheses in Arabic footnotes, they are 
flipped. In any earlier email 
(http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global),
 you had advised adding the following:


\startsetups[note:footnote]
   \setupdirections[bidi=global]
\stopsetups

\setupnote[footnote][setups=note:footnote] % align=righttoleft

However, if one does this with your patch, the second footnote gets dropped. 
Here is the MWE:


The second note disappears even without the patch, the problem this
the paragraph option for the notes.

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

maillist : ntg-context@ntg.nl mailto: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
___




--

-
  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] footnotes when using RtL (Arabic)

2015-07-31 Thread tala...@fastmail.fm
Excellent. This seems to solve the problem completely. I even tried mixing 
Arabic and English text in the RTL footnotes, switched on the 
“alternative=serried” option, and defined my own custom note streams — 
everything worked very well. The only thing that didn’t work is to mix, in the 
same stream, footnotes that are LTR with footnotes that are RTL. But I did not 
expect this to work, and I cannot think of a real world scenario in which such 
footnotes would/should be mixed in the same stream.

Attached are both the .tex file and the PDF with a perfectly working example. 
Many thanks to you both, Wolfgang and Hans. Hans, I assume we’ll know if the 
patch eventually makes it into a beta? 

Best,
Talal



RTL-paragraphed-footnotes.tex
Description: Binary data


RTL-paragraphed-footnotes.pdf
Description: Adobe PDF document


 On 31 Jul 2015, at 09:39, Hans Hagen pra...@wxs.nl wrote:
 
 On 7/31/2015 1:51 AM, tala...@fastmail.fm wrote:
 You’re right. The patch gets us half way to the desired behaviour
 (namely, correct ordering of the footnotes within the paragraph). But it
 seems that the ‘paragraph’ option doesn’t play well with RTL generally,
 resulting in the second note disappearing when using
 \startsetups[note:footnote] \setupdirections[bidi=global] \stopsetups.
 
 can you try
 
 \unprotect
 
 \unexpanded\def\leftorrightvbox{\ifconditional\displaylefttoright\expandafter\lefttorightvbox\else\expandafter\righttoleftvbox\fi}
 
 \def\strc_notes_flush_global
  {\begingroup
   \useinterlinespaceparameter\noteparameter
   \doifelse{\noteparameter\c!paragraph}\v!yes
 {\leftorrightvbox
{\starthboxestohbox
 \iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
 \stophboxestohbox}}
 {\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
   \endgroup}
 
 \protect
 
 
 On 30 Jul 2015, at 20:04, Wolfgang Schuster
 schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote:
 
 tala...@fastmail.fm mailto:tala...@fastmail.fm
 30. Juli 2015 20:37
 I’ve come across a snag. When using parentheses in Arabic footnotes, they 
 are flipped. In any earlier email 
 (http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global),
  you had advised adding the following:
 
 \startsetups[note:footnote]
   \setupdirections[bidi=global]
 \stopsetups
 
 \setupnote[footnote][setups=note:footnote] % align=righttoleft
 However, if one does this with your patch, the second footnote gets 
 dropped. Here is the MWE:
 
 The second note disappears even without the patch, the problem this
 the paragraph option for the notes.
 
 Wolfgang
 ___
 If your question is of interest to others as well, please add an entry
 to the Wiki!
 
 maillist : ntg-context@ntg.nl mailto: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
 ___
 
 
 
 -- 
 
 -
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
 -
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

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

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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
I wonder whether anyone might have any thoughts about the below? Many thanks.

 On 21 Jul 2015, at 20:56, tala...@fastmail.fm wrote:
 
 I’m reviving this old thread, as the problem appears to still exist. Consider 
 the following:
 
 \starttext \showframe
 
 \definenote[afootnote][rule={on,right},paragraph=no]
 
 \startalignment[r2l]
 Testing.\afootnote{This is footnote one.}
 Testing testing.\afootnote{This is footnote two.}
 Testing testing testing.\afootnote{This is footnote three.}
 \stopalignment
 
 \stoptext
 
 r2l.pdf
 
 In the output (r2l.pdf), the text runs from right to left as it should, and 
 the footnote reference numbers are in the right margin, as they should be.
 
 However, if we switch the option “paragraph” to “yes”, the entire frame no 
 longer runs r2l (see the output in r2l-yes.pdf).
 r2l-yes.pdf
 What I want is for the text to read as follows:
 .eerht etontoof si sihT 3  .owt etontoof si sihT 2  .eno etontoof si sihT 1
 
 where the entire frame begins at the right margin, such that the first 
 footnote number (1) is in the right margin, instead of in the left margin as 
 it is in r2l-yes.pdf. To say it another way, the entire footnote frame should 
 be r2l, regardless of its contents, perhaps (as Idris wrote to me) through 
 some hard direction switch for the entire frame.
 
 Best wishes,
 Talal

___
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] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
Thank you, Pablo. This is indeed the problem: the individual elements — the 
notes — are correctly RTL, but the overall “paragraph” is ordering the elements 
LTR (with the additional caveat the footnote paragraph is not properly 
aligned/justified to the right margin either).

Best wishes,
Talal

 On 30 Jul 2015, at 15:26, Pablo Rodriguez oi...@gmx.es wrote:
 
 On 07/30/2015 03:00 PM, tala...@fastmail.fm wrote:
 I wonder whether anyone might have any thoughts about the below? Many thanks.
 
 I wonder whether there is a bug somewhere in notes, because you may have
 r2l notations, but the notes paragraph is built l2r:
 
\setuppapersize[A6]
\starttext \showframe
 
\definenote[afootnote][rule={on,right}, paragraph=yes]
\definenotation[afootnote][align=r2l]
 
\startalignment[r2l]
Testing.\afootnote{This is footnote one.}
Testing testing.\afootnote{This is footnote two.}
Testing testing testing.\afootnote{This is footnote three.}
\stopalignment
 
\stoptext
 
 Just in case it might 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
 ___

___
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] footnotes when using RtL (Arabic)

2015-07-30 Thread Pablo Rodriguez
On 07/30/2015 04:43 PM, tala...@fastmail.fm wrote:
 Thank you, Pablo. This is indeed the problem: the individual elements —
 the notes — are correctly RTL, but the overall “paragraph” is ordering
 the elements LTR (with the additional caveat the footnote paragraph is
 not properly aligned/justified to the right margin either).

Adding \definenotation[afootnote][alternative=serried, align=r2l]
makes alignment even worse.

Pablo


 On 30 Jul 2015, at 15:26, Pablo Rodriguez wrote:
 On 07/30/2015 03:00 PM, tala...@fastmail.fm wrote:
 I wonder whether anyone might have any thoughts about the below? Many 
 thanks.

 I wonder whether there is a bug somewhere in notes, because you may have
 r2l notations, but the notes paragraph is built l2r:

\setuppapersize[A6]
\starttext \showframe

\definenote[afootnote][rule={on,right}, paragraph=yes]
\definenotation[afootnote][align=r2l]

\startalignment[r2l]
Testing.\afootnote{This is footnote one.}
Testing testing.\afootnote{This is footnote two.}
Testing testing testing.\afootnote{This is footnote three.}
\stopalignment

\stoptext

 Just in case it might 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] footnotes when using RtL (Arabic)

2015-07-30 Thread Pablo Rodriguez
On 07/30/2015 03:00 PM, tala...@fastmail.fm wrote:
 I wonder whether anyone might have any thoughts about the below? Many thanks.

I wonder whether there is a bug somewhere in notes, because you may have
r2l notations, but the notes paragraph is built l2r:

\setuppapersize[A6]
\starttext \showframe

\definenote[afootnote][rule={on,right}, paragraph=yes]
\definenotation[afootnote][align=r2l]

\startalignment[r2l]
Testing.\afootnote{This is footnote one.}
Testing testing.\afootnote{This is footnote two.}
Testing testing testing.\afootnote{This is footnote three.}
\stopalignment

\stoptext

Just in case it might 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] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
You’re right. The patch gets us half way to the desired behaviour (namely, 
correct ordering of the footnotes within the paragraph). But it seems that the 
‘paragraph’ option doesn’t play well with RTL generally, resulting in the 
second note disappearing when using \startsetups[note:footnote] 
\setupdirections[bidi=global] \stopsetups.

 On 30 Jul 2015, at 20:04, Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote:
 
 tala...@fastmail.fm mailto:tala...@fastmail.fm 30. Juli 2015 20:37
 I’ve come across a snag. When using parentheses in Arabic footnotes, they 
 are flipped. In any earlier email 
 (http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global
  
 http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global),
  you had advised adding the following:
 
 \startsetups[note:footnote]
   \setupdirections[bidi=global]
 \stopsetups
 
 \setupnote[footnote][setups=note:footnote] % align=righttoleft
 However, if one does this with your patch, the second footnote gets dropped. 
 Here is the MWE:
 
 The second note disappears even without the patch, the problem this the 
 paragraph option for the notes.
 
 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
 ___

___
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] footnotes when using RtL (Arabic)

2015-07-30 Thread Wolfgang Schuster

tala...@fastmail.fm mailto:tala...@fastmail.fm
30. Juli 2015 20:37
I’ve come across a snag. When using parentheses in Arabic footnotes, they are 
flipped. In any earlier email 
(http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global),
 you had advised adding the following:


\startsetups[note:footnote]
   \setupdirections[bidi=global]
\stopsetups

\setupnote[footnote][setups=note:footnote] % align=righttoleft


However, if one does this with your patch, the second footnote gets dropped. 
Here is the MWE:

The second note disappears even without the patch, the problem this the 
paragraph option for the notes.


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] footnotes when using RtL (Arabic)

2015-07-30 Thread Idris Samawi Hamid ادريس سماوي حامد

Hi Wolfgang,

On Thu, 30 Jul 2015 11:54:55 -0600, Wolfgang Schuster  
schuster.wolfg...@gmail.com wrote:



Pablo Rodriguez mailto:oi...@gmx.es
30. Juli 2015 16:26

I wonder whether there is a bug somewhere in notes, because you may have
r2l notations, but the notes paragraph is built l2r:

\setuppapersize[A6]
\starttext \showframe

\definenote[afootnote][rule={on,right}, paragraph=yes]
\definenotation[afootnote][align=r2l]

\startalignment[r2l]
Testing.\afootnote{This is footnote one.}
Testing testing.\afootnote{This is footnote two.}
Testing testing testing.\afootnote{This is footnote three.}
\stopalignment

\stoptext

Can you test the following patch.

\unprotect

\def\strc_notes_flush_global
   {\begingroup
\useinterlinespaceparameter\noteparameter
\doifelse{\noteparameter\c!paragraph}\v!yes
  {%\vbox\starthboxestohbox
   \vbox\ifconditional\displaylefttoright \else dir TRT
\fi\starthboxestohbox
\iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
   \stophboxestohbox}
{\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
\endgroup}

\protect

%\setupalign[righttoleft]

\setupnote[footnote][paragraph=yes,align=righttoleft]
\setupnotation[footnote][align=righttoleft]

\showframe

\starttext

First note.\footnote{This is the first footnote.}
Second note.\footnote{This is the second footnote.}

\stoptext

Wolfgang


Looking good... Question:

From strc-not.mkvi===
\def\strc_notes_flush_global
  {\begingroup
   \useinterlinespaceparameter\noteparameter
   \doifelse{\noteparameter\c!paragraph}\v!yes
 {\vbox\starthboxestohbox
\iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
  \stophboxestohbox}
 
{\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
   \endgroup}
=

What was key point of attack in the original definition that was  
hardwiring the TLT in the note markers?


Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
Indeed, that seems to do the trick, Wolfgang.

 On 30 Jul 2015, at 18:54, Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote:
 
 Pablo Rodriguez mailto:oi...@gmx.es30. Juli 2015 16:26
 
 I wonder whether there is a bug somewhere in notes, because you may have
 r2l notations, but the notes paragraph is built l2r:
 
 \setuppapersize[A6]
 \starttext \showframe
 
 \definenote[afootnote][rule={on,right}, paragraph=yes]
 \definenotation[afootnote][align=r2l]
 
 \startalignment[r2l]
 Testing.\afootnote{This is footnote one.}
 Testing testing.\afootnote{This is footnote two.}
 Testing testing testing.\afootnote{This is footnote three.}
 \stopalignment
 
 \stoptext
 Can you test the following patch.
 
 \unprotect
 
 \def\strc_notes_flush_global
   {\begingroup
\useinterlinespaceparameter\noteparameter
\doifelse{\noteparameter\c!paragraph}\v!yes
  {%\vbox\starthboxestohbox
   \vbox\ifconditional\displaylefttoright \else dir TRT 
 \fi\starthboxestohbox
 \iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
   \stophboxestohbox}
  
 {\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
\endgroup}
 
 \protect
 
 %\setupalign[righttoleft]
 
 \setupnote[footnote][paragraph=yes,align=righttoleft]
 \setupnotation[footnote][align=righttoleft]
 
 \showframe
 
 \starttext
 
 First note.\footnote{This is the first footnote.}
 Second note.\footnote{This is the second footnote.}
 
 \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
 ___

___
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] footnotes when using RtL (Arabic)

2015-07-30 Thread Pablo Rodriguez
On 07/30/2015 07:54 PM, Wolfgang Schuster wrote:
 Pablo Rodriguez 30. Juli 2015 16:26

 I wonder whether there is a bug somewhere in notes, because you may have
 r2l notations, but the notes paragraph is built l2r:
 [...]
 Can you test the following patch.

Hi Wolfgang,

your patch works fine with both samples.

What I wonder is wheter \setupnote and \setupnototation should inherit
the property from \setupalign[r2l] or from the alignment in the body
position where they are inserted.


Pablo



 \unprotect
 
 \def\strc_notes_flush_global
   {\begingroup
\useinterlinespaceparameter\noteparameter
\doifelse{\noteparameter\c!paragraph}\v!yes
  {%\vbox\starthboxestohbox
   \vbox\ifconditional\displaylefttoright \else dir TRT
 \fi\starthboxestohbox

 \iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
   \stophboxestohbox}
 
 {\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
\endgroup}
 
 \protect
 
 %\setupalign[righttoleft]
 
 \setupnote[footnote][paragraph=yes,align=righttoleft]
 \setupnotation[footnote][align=righttoleft]
 
 \showframe
 
 \starttext
 
 First note.\footnote{This is the first footnote.}
 Second note.\footnote{This is the second footnote.}
 
 \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
 ___
 


-- 
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] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
I’ve come across a snag. When using parentheses in Arabic footnotes, they are 
flipped. In any earlier email 
(http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global),
 you had advised adding the following:

 \startsetups[note:footnote]
   \setupdirections[bidi=global]
 \stopsetups
 
 \setupnote[footnote][setups=note:footnote] % align=righttoleft


However, if one does this with your patch, the second footnote gets dropped. 
Here is the MWE:

 \unprotect
 
 \def\strc_notes_flush_global
   {\begingroup
\useinterlinespaceparameter\noteparameter
\doifelse{\noteparameter\c!paragraph}\v!yes
  {%\vbox\starthboxestohbox
   \vbox\ifconditional\displaylefttoright \else dir TRT 
 \fi\starthboxestohbox
 \iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
   \stophboxestohbox}
  
 {\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
\endgroup}
 
 \protect
 
 \definefontfamily[mainface][serif][ALMFixed][features=arabic,range=arabic,]
 \setupbodyfont [mainface]
 
 \startsetups[note:footnote]
\setupdirections[bidi=global]
 \stopsetups
 
 \setupnote[footnote][paragraph=yes,align=righttoleft,setups=note:footnote,]
 \setupnotation[footnote][align=righttoleft,alternative=serried,]
 
 \showframe
 
 \starttext
 
 First note.\footnote{هذه هي (التعليقة) الأولى.}
 Second note.\footnote{هذه هي (التعليقة) الثانية.}
 
 \stoptext


All the best,
Talal


 On 30 Jul 2015, at 18:54, Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote:
 
 Pablo Rodriguez mailto:oi...@gmx.es30. Juli 2015 16:26
 
 I wonder whether there is a bug somewhere in notes, because you may have
 r2l notations, but the notes paragraph is built l2r:
 
 \setuppapersize[A6]
 \starttext \showframe
 
 \definenote[afootnote][rule={on,right}, paragraph=yes]
 \definenotation[afootnote][align=r2l]
 
 \startalignment[r2l]
 Testing.\afootnote{This is footnote one.}
 Testing testing.\afootnote{This is footnote two.}
 Testing testing testing.\afootnote{This is footnote three.}
 \stopalignment
 
 \stoptext
 Can you test the following patch.
 
 \unprotect
 
 \def\strc_notes_flush_global
   {\begingroup
\useinterlinespaceparameter\noteparameter
\doifelse{\noteparameter\c!paragraph}\v!yes
  {%\vbox\starthboxestohbox
   \vbox\ifconditional\displaylefttoright \else dir TRT 
 \fi\starthboxestohbox
 \iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
   \stophboxestohbox}
  
 {\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
\endgroup}
 
 \protect
 
 %\setupalign[righttoleft]
 
 \setupnote[footnote][paragraph=yes,align=righttoleft]
 \setupnotation[footnote][align=righttoleft]
 
 \showframe
 
 \starttext
 
 First note.\footnote{This is the first footnote.}
 Second note.\footnote{This is the second footnote.}
 
 \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
 ___

___
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] footnotes when using RtL (Arabic)

2015-07-30 Thread Wolfgang Schuster

Pablo Rodriguez mailto:oi...@gmx.es
30. Juli 2015 16:26

I wonder whether there is a bug somewhere in notes, because you may have
r2l notations, but the notes paragraph is built l2r:

\setuppapersize[A6]
\starttext \showframe

\definenote[afootnote][rule={on,right}, paragraph=yes]
\definenotation[afootnote][align=r2l]

\startalignment[r2l]
Testing.\afootnote{This is footnote one.}
Testing testing.\afootnote{This is footnote two.}
Testing testing testing.\afootnote{This is footnote three.}
\stopalignment

\stoptext

Can you test the following patch.

\unprotect

\def\strc_notes_flush_global
  {\begingroup
   \useinterlinespaceparameter\noteparameter
   \doifelse{\noteparameter\c!paragraph}\v!yes
 {%\vbox\starthboxestohbox
  \vbox\ifconditional\displaylefttoright \else dir TRT 
\fi\starthboxestohbox

\iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber

  \stophboxestohbox}
 
{\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%

   \endgroup}

\protect

%\setupalign[righttoleft]

\setupnote[footnote][paragraph=yes,align=righttoleft]
\setupnotation[footnote][align=righttoleft]

\showframe

\starttext

First note.\footnote{This is the first footnote.}
Second note.\footnote{This is the second footnote.}

\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] footnotes in floating tables

2015-07-20 Thread Alan BRASLAU
On Sun, 19 Jul 2015 05:59:43 -0700
Henry House hajho...@hajhouse.org wrote:

 MkIV (with change from \setupfootnotes to \setupnotation[footnote] as
 noted) --- there are several new problems.
 
 - The caption's footnotes are not printed, though their marks are.
 - The TABLE's footnote marks are not printed (unknown references),
 but the notes themselves are (though wrongly).
 - The texts of all the footnotes in the TABLE are run together into a
   single line that doesn't break at all.

There is a magic command that is needed in order to have footnotes
appear within a box in mkiv:
\automigrateinserts

According to node-mig.mkiv, however, soon default but does not work
(yet) for notes in captions (themselves inserts).

Maybe somebody else can enlighten you on the placement of footnotes in
table captions.

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] footnotes broken in latest beta?

2015-03-28 Thread Pablo Rodriguez
On 03/28/2015 10:21 AM, Hans Hagen wrote:
 On 3/28/2015 7:55 AM, Pablo Rodriguez wrote:
 [...]
 What I see in the new beta is that with one of my documents blank
 between footnotes is much higher than in the previous beta from
 2015.03.25 22:13. But I will provide a minimal sample later.

 Since you are changing so many things in notes, I wonder whether this is
 the right time to ask for a feature.
 
 most changes are in the lua-tex interface not in functionality .. if so 
 then there is an issue

Many thanks for your reply, Hans.

I’ll open a new thread for that issue (I need to have the next beta
fixed first).

 Just in case it were, I would suggest the following:
 
 remind me later

How late? In a week?

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] footnotes broken in latest beta?

2015-03-28 Thread Pablo Rodriguez
On 03/27/2015 09:37 PM, Hans Hagen wrote:
 On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:
 Hans,

 I’m afraid that footnotes are broken in latest beta from 
 2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

 Both numbers in body and footnote are missing.

 Many thanks for your help,
 
 i uploaded a beta ... with a few more things done in notes (some 1000 
 changes to go)
 
 thanks for testing

Many thanks for the fast fix, Hans.

What I see in the new beta is that with one of my documents blank
between footnotes is much higher than in the previous beta from
2015.03.25 22:13. But I will provide a minimal sample later.

Since you are changing so many things in notes, I wonder whether this is
the right time to ask for a feature.

Just in case it were, I would suggest the following:

\setuplanguage[en][patterns={en,agr}]
\setuppapersize[A5]
\setupbodyfont[dejavu]
\definenote[dict]
\setupnote[dict][n=2,rule=off, split=strict, inbetween=\hskip1.5em]
\setupnotation[dict][number=no]
\starttext
Πρῶτον δεῖ θέσθαι τί ὄνομα\dict{ὄνομα,
-ατος, τό: noun} καὶ τί ῥῆμα\dict{ῥῆμα, -ατος, τό: verb},
ἔπειτα τί ἐστιν
ἀπόφασις\dict{ἀπόφασις, -εως, ἡ: negation}
καὶ κατάφασις\dict{κατάφασις, εως, ἡ:
affirmation} καὶ ἀπόφανσις\dict{ἀπόφανσις,
-εως, ἡ: statement} καὶ λόγος.
\stoptext

Alphabetically sorted notes would be extremely useful for language teaching?

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] footnotes broken in latest beta?

2015-03-28 Thread Hans Hagen

On 3/28/2015 7:55 AM, Pablo Rodriguez wrote:

On 03/27/2015 09:37 PM, Hans Hagen wrote:

On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

Hans,

I’m afraid that footnotes are broken in latest beta from
2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

Both numbers in body and footnote are missing.

Many thanks for your help,


i uploaded a beta ... with a few more things done in notes (some 1000
changes to go)

thanks for testing


Many thanks for the fast fix, Hans.

What I see in the new beta is that with one of my documents blank
between footnotes is much higher than in the previous beta from
2015.03.25 22:13. But I will provide a minimal sample later.

Since you are changing so many things in notes, I wonder whether this is
the right time to ask for a feature.


most changes are in the lua-tex interface not in functionality .. if so 
then there is an issue



Just in case it were, I would suggest the following:


remind me later

-
  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] footnotes broken in latest beta?

2015-03-27 Thread Christian Prim
Hans,

context --version gives:
mtx-context | current version: 2015.03.27 21:39

but running context file.tex says:

Fatal Error  Your format does not match the base files!

Format Version   2015.03.26 22:52 MKIV
Files Version2015.03.27 21:39

I used first-setup as always to update. What is my mistake? How can I fix
it?
Thanks
Christian

2015-03-27 21:37 GMT+01:00 Hans Hagen pra...@wxs.nl:

 On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

 Hans,

 I’m afraid that footnotes are broken in latest beta from
 2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

 Both numbers in body and footnote are missing.

 Many thanks for your help,


 i uploaded a beta ... with a few more things done in notes (some 1000
 changes to go)

 thanks for testing

 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
 
 ___

___
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] footnotes broken in latest beta?

2015-03-27 Thread Christian Prim
Sorry Hans,

found the error myself:

In the file publ-ini.lua there is a 7 at the beginning. Removing it fixes
the problem.

Christian

2015-03-27 22:12 GMT+01:00 Christian Prim christian.p...@gmx.ch:

 Hans,

 there must be a file missing:

 context --make cont-en gives:

 error loading file: publ-ini.lua (aborting)

 So the Format file isn't generated.

 Thanks for fixing it
 Christian


 2015-03-27 22:08 GMT+01:00 Christian Prim christian.p...@gmx.ch:

 Hans,

 context --version gives:
 mtx-context | current version: 2015.03.27 21:39

 but running context file.tex says:

 Fatal Error  Your format does not match the base files!

 Format Version   2015.03.26 22:52 MKIV
 Files Version2015.03.27 21:39

 I used first-setup as always to update. What is my mistake? How can I fix
 it?
 Thanks
 Christian

 2015-03-27 21:37 GMT+01:00 Hans Hagen pra...@wxs.nl:

 On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

 Hans,

 I’m afraid that footnotes are broken in latest beta from
 2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

 Both numbers in body and footnote are missing.

 Many thanks for your help,


 i uploaded a beta ... with a few more things done in notes (some 1000
 changes to go)

 thanks for testing

 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
 
 ___




___
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] footnotes broken in latest beta?

2015-03-27 Thread Hans Hagen

On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

Hans,

I’m afraid that footnotes are broken in latest beta from
2015-03-26 22:54:

 \starttext
 a\footnote{b}
 \stoptext

Both numbers in body and footnote are missing.

Many thanks for your help,


i uploaded a beta ... with a few more things done in notes (some 1000 
changes to go)


thanks for testing

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] footnotes broken in latest beta?

2015-03-27 Thread Christian Prim
Hans,

there must be a file missing:

context --make cont-en gives:

error loading file: publ-ini.lua (aborting)

So the Format file isn't generated.

Thanks for fixing it
Christian

2015-03-27 22:08 GMT+01:00 Christian Prim christian.p...@gmx.ch:

 Hans,

 context --version gives:
 mtx-context | current version: 2015.03.27 21:39

 but running context file.tex says:

 Fatal Error  Your format does not match the base files!

 Format Version   2015.03.26 22:52 MKIV
 Files Version2015.03.27 21:39

 I used first-setup as always to update. What is my mistake? How can I fix
 it?
 Thanks
 Christian

 2015-03-27 21:37 GMT+01:00 Hans Hagen pra...@wxs.nl:

 On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

 Hans,

 I’m afraid that footnotes are broken in latest beta from
 2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

 Both numbers in body and footnote are missing.

 Many thanks for your help,


 i uploaded a beta ... with a few more things done in notes (some 1000
 changes to go)

 thanks for testing

 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
 
 ___



___
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] footnotes broken in latest beta?

2015-03-27 Thread Hans Hagen

On 3/27/2015 10:08 PM, Christian Prim wrote:

Hans,

context --version gives:
mtx-context | current version: 2015.03.27 21:39

but running context file.tex says:

Fatal Error  Your format does not match the base files!

Format Version   2015.03.26 22:52 MKIV
Files Version2015.03.27 21:39


normally a format will be generated automatically but you can force it 
with context --make


Hans



I used first-setup as always to update. What is my mistake? How can I
fix it?
Thanks
Christian

2015-03-27 21:37 GMT+01:00 Hans Hagen pra...@wxs.nl
mailto:pra...@wxs.nl:

On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

Hans,

I’m afraid that footnotes are broken in latest beta from
2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

Both numbers in body and footnote are missing.

Many thanks for your help,


i uploaded a beta ... with a few more things done in notes (some
1000 changes to go)

thanks for testing

Hans


--__--__-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74
tel:087%20875%2068%2074 | www.pragma-ade.com
http://www.pragma-ade.com
  | www.pragma-pod.nl
http://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 mailto: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
___




--

-
  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] Footnotes and Marginal texts

2015-02-15 Thread Hans Hagen

On 2/15/2015 12:04 AM, Robert Krug wrote:

Greetings,

I am working on a document with many annotations of different types,
and have a couple of questions.

(Before the questions, though, I am quite impressed with ConTeXt so
far.  It is much nicer to work with than any of the TeX or LaTeX packages
I have worked with before.)

First, what is the preferred way to get marginal text?  Is \margintext,
\inmargin, or some other the current best practice?

Second, is there a way to get marginal text for a footnote?  Here is a
minimal working example:


\starttext

Text for
the\footnote{A\margintext{Where am I?} footnote.}
main\margintext{I am here.}
body.

\stoptext


Finally, is there a way to have different classes of footnotes?  I would like
to have three classes of footnotes to be displayed something like:


——
1. first footnote of class 1
2. second footnote of class 1.
——
a. first footnote of class 2.
b. second footnote of class 2.
——
1. first footnote of class 3.
2. second footnote of class 3.


That is, the footnotes of each class should appear together, with a “normal” 
footnote rule
above them.  Each class of footnotes should also have its own numbering scheme.

Footnotes of class 1 are “regular” footnotes in the main text body.

Footnotes of class 2 will be longer, and will occasionally be more than one 
paragraph.
They, also, will occur in the main text body.  To complicate matters, they may 
have
marginal notes and footnotes (of class 3).

Footnotes of class 3 are footnotes that occur in footnotes of class 2.


\definenote[NoteA]
\definenote[NoteB]
\definenote[NoteC]

\starttext

Text for the \NoteA{A\margintext[scope=local]{Where am I?} footnote A.}
main\inleft{I am here.} body.

Text for the \NoteB{B\margintext[scope=local]{Where am I?} footnote B.}
main\inleft{I am here.} body.

Text for the \NoteC{C\margintext[scope=local]{Where am I?} footnote C.}
main\inleft{I am here.} body.

\stoptext

-
  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] Footnotes and Marginal texts

2015-02-15 Thread Robert Krug
This is definite progress.  Thanks.  But I don’t see footnotes of type NoteC
when used inside a NoteB.  Example:

==

\definenote[NoteA]
\definenote[NoteB]
\definenote[NoteC]

\setupnotation[NoteB][numberconversion=characters]
\setupnotation[NoteC][numberconversion=Romannumerals]

\starttext

  Text for the \NoteB{B\margintext[scope=local]{Where am I?} footnote
\NoteC{C footnote C.}  B.}  main body.

  Text for the \NoteA{A first footnote A.} main\inleft{I am here.} body.

  Text for the \NoteA{A second footnote A.} body.

\stoptext

==

This seems related to an even simpler example from the Wiki

==

\starttext

This\footnote{Or that\footnote{Or possibly even the other.}, if you
prefer.} is a sentence with a footnote.

\stoptext

==

Robert

On Feb 15, 2015, at 6:26 AM, Hans Hagen pra...@wxs.nl wrote:

 On 2/15/2015 12:04 AM, Robert Krug wrote:
 Greetings,
 
 I am working on a document with many annotations of different types,
 and have a couple of questions.
 
 (Before the questions, though, I am quite impressed with ConTeXt so
 far.  It is much nicer to work with than any of the TeX or LaTeX packages
 I have worked with before.)
 
 First, what is the preferred way to get marginal text?  Is \margintext,
 \inmargin, or some other the current best practice?
 
 Second, is there a way to get marginal text for a footnote?  Here is a
 minimal working example:
 
 
 \starttext
 
 Text for
 the\footnote{A\margintext{Where am I?} footnote.}
 main\margintext{I am here.}
 body.
 
 \stoptext
 
 
 Finally, is there a way to have different classes of footnotes?  I would like
 to have three classes of footnotes to be displayed something like:
 
 
 ——
 1. first footnote of class 1
 2. second footnote of class 1.
 ——
 a. first footnote of class 2.
 b. second footnote of class 2.
 ——
 1. first footnote of class 3.
 2. second footnote of class 3.
 
 
 That is, the footnotes of each class should appear together, with a “normal” 
 footnote rule
 above them.  Each class of footnotes should also have its own numbering 
 scheme.
 
 Footnotes of class 1 are “regular” footnotes in the main text body.
 
 Footnotes of class 2 will be longer, and will occasionally be more than one 
 paragraph.
 They, also, will occur in the main text body.  To complicate matters, they 
 may have
 marginal notes and footnotes (of class 3).
 
 Footnotes of class 3 are footnotes that occur in footnotes of class 2.
 
 \definenote[NoteA]
 \definenote[NoteB]
 \definenote[NoteC]
 
 \starttext
 
Text for the \NoteA{A\margintext[scope=local]{Where am I?} footnote A.}
main\inleft{I am here.} body.
 
Text for the \NoteB{B\margintext[scope=local]{Where am I?} footnote B.}
main\inleft{I am here.} body.
 
Text for the \NoteC{C\margintext[scope=local]{Where am I?} footnote C.}
main\inleft{I am here.} body.
 
 \stoptext
 
 -
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
 -
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

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

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

Re: [NTG-context] footnotes in appendices

2014-01-19 Thread Pablo Rodriguez
On 01/19/2014 12:29 PM, Marco Patzer wrote:
 On 2014–01–19 Pablo Rodriguez wrote:
 
 on a document I have, I want to have footnotes in appendices, but they
 are numbered in uppercase Roman numbers.
 [...]
 How can I change it to Arabic numbers?
 
   \setupnotation
 [footnote]
 [numberconversion=numerals]
 
 I would be also interested to know how to change chapter and
 section numbers only for appendices.
 
   \definestructureconversionset
 [structure]
 %% part,  chapter,section,   subsection, subsubsection
 [numbers, characters, Romannumerals, numbers,romannumerals]
 [numbers]
 
   \startsectionblockenvironment [appendix]
 \setupheads [sectionconversionset=structure]
   \stopsectionblockenvironment

Many thanks for your reply, Marco.

This was exactly what I needed.


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] footnotes in appendices

2014-01-19 Thread Wolfgang Schuster

Am 19.01.2014 um 12:29 schrieb Marco Patzer li...@homerow.info:

  \definestructureconversionset
[structure]
%% part,  chapter,section,   subsection, subsubsection
[numbers, characters, Romannumerals, numbers,romannumerals]
[numbers]
 
  \startsectionblockenvironment [appendix]
\setupheads [sectionconversionset=structure]
  \stopsectionblockenvironment

You can set a conversionset also for certain sectionblocks when you
add the name of the block as prefix for the name of the set.

\defineconversionset[frontpart:pagenumber][][A]
\defineconversionset [bodypart:pagenumber][][R]
\defineconversionset [appendix:pagenumber][][n]

\defineconversionset[frontpart:sectionnumber][R,A,G][n]
\defineconversionset [bodypart:sectionnumber][r,a,g][n]
\defineconversionset [appendix:sectionnumber][a,g,n][n]

\setuppagenumber[numberconversionset=pagenumber]

\setuphead
  [part,chapter,section]
  [placehead=yes,
   sectionconversionset=sectionnumber]

\setupsectionblock[frontpart][number=yes]

\starttext

\startfrontmatter

\dorecurse{5}
  {\part{Part #1}
   \dorecurse{5}
 {\chapter{Chapter #1.##1}
  \dorecurse{10}{\section{Section #1.##1.1

\stopfrontmatter

\startbodymatter

\dorecurse{5}
  {\part{Part #1}
   \dorecurse{5}
 {\chapter{Chapter #1.##1}
  \dorecurse{10}{\section{Section #1.##1.1

\stopbodymatter

\startappendices

\dorecurse{5}
  {\part{Part #1}
   \dorecurse{5}
 {\chapter{Chapter #1.##1}
  \dorecurse{10}{\section{Section #1.##1.1

\stopappendices

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


  1   2   3   >