[NTG-context] footnotes in frames

2015-11-08 Thread Thomas A. Schmitz

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.

Thanks!

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

[NTG-context] Another issue with EBGaramond / firstline / mixedcolumns

2015-11-08 Thread josephcanedo
Dear all,


Trying to use EB Garamond font Inside mixed columns + use firstline  feature 
(to make it larger) I get an empty line in output between first line and the 
rest of paragraph. If I comment the line containing \setupbodyfont and use 
default font the problem disappears (even with larger \tfa ratios well above 2).


The problem seems only to happen when first line contains letters with space 
hanging below line base (like g or p for example).

As well using columnset does not show the problem and using grid=verytolerant 
as well.


Attached MWE + output.


Many thanks

Best regards


Joseph Canedo

mwe_mixedcolumns.pdf
Description: mwe_mixedcolumns.pdf


mwe_mixedcolumns.tex
Description: mwe_mixedcolumns.tex
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/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
___

[NTG-context] Hyphenation, OTF font and tagging

2015-11-08 Thread Christoph Reller
Hi,

I have a strange behavior with the latest beta:
- OpenType Font "Myriad"
- Tagging enabled
Result: Hyphenation is not working, i.e., the hyphens disappear.

Example output correct (when disabling tagging):
[...] If I had not partici-
pated fully [...]

Example output defect (when enabling tagging):
[...] If I had not partici
pated fully [...]

MWE:

\setuptagging[state=start] %<- correct when commenting this line
\starttypescript[sans][myfont]
\definefontsynonym[Sans][file:MyriadPro-Regular]
\stoptypescript
\definetypeface[Body][ss][sans][myfont]
\setupbodyfont[Body,ss,10pt]
\starttext
\input knuth
\input tufte
\input reich
\input linden
\input darwin
\stoptext

Any feedback is welcome. @Hans: I can provide the Myriad font if this helps.

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

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