[NTG-context] latest beta

2015-10-13 Thread Thomas A. Schmitz

Hi Hans,

the latest beta does not replace xml entities for which I have defined 
something like


\xmltexentity{degree}{\textdegree}

The problem is not there in 2015.09.13 13:31, but in 2015.10.09 21:28 
(sorry don't have all the betas in between). I can make you a test file 
if you need it, but I guess the problem is obvious.


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] footnote in title

2015-10-13 Thread Thomas A. Schmitz
I thought something like this had been asked on the list recently, but a 
search came up empty: how to get footnotes to titles typeset?


\automigrateinserts

\starttext

\startchapter [title={Silly title\footnote{With a silly footnote}}]

More text.\footnote{With more footnotes.}

\stoptext

I thought \automigrateinserts was the magic command, but the note symbol 
is set, the content of the note disappears.


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] latest beta

2015-10-13 Thread Hans Hagen

Hi,


the latest beta does not replace xml entities for which I have defined
something like

\xmltexentity{degree}{\textdegree}

The problem is not there in 2015.09.13 13:31, but in 2015.10.09 21:28
(sorry don't have all the betas in between). I can make you a test file
if you need it, but I guess the problem is obvious.


if you have a small example ... this whole entity stuff is a mess .. 
officially entities are replaced at load time but tex code is delayed .. 
so maybe i need to invent some other trick (there was an issue with & ; 
sequences being replaced while being just text in that stage


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] latest beta

2015-10-13 Thread Schmitz Thomas A.

> On 13 Oct 2015, at 13:41, Hans Hagen  wrote:
> 
> if you have a small example ... this whole entity stuff is a mess .. 
> officially entities are replaced at load time but tex code is delayed .. so 
> maybe i need to invent some other trick (there was an issue with & ; 
> sequences being replaced while being just text in that stage

Yes, it looks like the treatment of & has changed. Here’s an example:

\startbuffer[test]

 Random text with an entity: 

\stopbuffer

\startxmlsetups xml:testsetups
 \xmlsetsetup{#1}{text}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:testsetups}

\startxmlsetups xml:text
 \xmlflush{#1}\par
\stopxmlsetups

\xmltexentity{degree}{\textdegree}

\starttext
 \xmlprocessbuffer{main}{test}{}
\stoptext

Works with older betas, not with the current one.

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] footnote in title

2015-10-13 Thread Otared Kavian
Hi Thomas,

The following works here, without using \automigrateregisters…

\starttext

\startchapter [title={Silly title}\footnote{A silly footnote}]
More text.\footnote{With more footnotes.}

\stopchapter

\stoptext

Using version ConTeXt  ver: 2015.10.09 21:28 MKIV beta on a Mac (indeed… what 
else? :-)

Best regards: OK

> On 13 Oct 2015, at 11:56, Thomas A. Schmitz  
> wrote:
> 
> I thought something like this had been asked on the list recently, but a 
> search came up empty: how to get footnotes to titles typeset?
> 
> \automigrateinserts
> 
> \starttext
> 
> \startchapter [title={Silly title\footnote{With a silly footnote}}]
> 
> More text.\footnote{With more footnotes.}
> 
> \stoptext
> 
> I thought \automigrateinserts was the magic command, but the note symbol is 
> set, the content of the note disappears.
> 
> 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
> ___

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

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

Re: [NTG-context] footnote in title

2015-10-13 Thread Schmitz Thomas A.

> On 13 Oct 2015, at 11:56, Thomas A. Schmitz  
> wrote:
> 
> I thought something like this had been asked on the list recently, but a 
> search came up empty: how to get footnotes to titles typeset?
> 
> \automigrateinserts
> 
> \starttext
> 
> \startchapter [title={Silly title\footnote{With a silly footnote}}]
> 
> More text.\footnote{With more footnotes.}
> 
> \stoptext
> 
> I thought \automigrateinserts was the magic command, but the note symbol is 
> set, the content of the note disappears.
> 
> 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
> ___

Boy do I feel stupid now - I hadn’t even tested without this command. You’re 
right, and this also works in my real life files. I’ll just have to see what 
happens when I need automigrateinserts further down the road...

Thanks for your help!

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
___