Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel
the alternative is that i waste time again and again on getting something to work for all fonts and all combinations which leads to a mess that i then need to maintain without any gainAt first: Thank you very much for your work!so, i decided to follow a route that works for most fonts / cases and not some messy hybrid solution (and i don't want a different setup or bag of tricks for each font that is out there as that is a long term no-go)But I have to contradict you here: It has nothing to do with special or hybrid fonts. The problem persists at present (using the LuaTeX version that is shipped with the Garden version) in all fonts. The primes are not rendered as they should in any font I tried out.As Mikael told me, you optimised the code for LuaTeX 1.05 which seems to be terminated September this year. But until then the output of primes will be not correct. I have no possibility to switch back to the current (non-beta) version of ConTeXt, because this version contains the bugs with primes you have already resolved.This means that ConTeXt is not usable for me until LuaTeX 1.05 will be released or until I am able to compile the source of LuaTeX 1.05 on my own. Some of the latest betas (the version one or two weeks ago) did solve all problems regarding primes. The problem I am referring to rose up in the most recent betas. As Mikael told me, this is because you introduced new code to work with LuaTeX 1.05. This is very nice, but because this version is not yet released, this decision is questionable, since this makes ConTeXt unusable until this release (if you need primes).So I appreciate your hard work, but I would be nice to have a version that runs with the current LuaTeX version of the beta of ConTeXt (or alternatively it would be nice if instructions are provided to compile the source of LuaTeX for every OS that can be used simply).And (to repeat myself) the problem has nothing to do with special fonts of hybrid version or whatever. You get the problem using standard Latin Modern or any font else. Simply try%%%\starttext%$f’$, $f^{''}$.%\stoptext%%%and you will get something like attached.BestMathias

Primes.pdf
Description: Adobe PDF document
Am 12.06.2017 um 16:35 schrieb Hans Hagen :On 6/12/2017 3:53 PM, Mathias Schickel wrote:Thank you very much for providing the instructions, Mikael! Unfortunately1) get the filessvn checkout --username anonsvn --password anonsvnhttps://serveur-svn.lri.fr/svn/modhel/luatex/branches/experimental/does not work on MacOS (which I am using). Can someone tell me which command I need to use at MacOS (current version)?Besides, Hans, I think it is a questionable decision to include the new mechanism for primes in the beta but not the required LuaTeX version for them to work correctly. I tried out the ConTeXt version „current“ (--context=current downloading the standalone) and there the old bugs persist. That means that I cannot use ConTeXt to typeset mathematics now, since no version works correctly when primes are required (until I can handle it to compile LuaTeX 1.05, but I think it would be much more comfortable the beta version of ConTeXt could run using the LuaTeX version it provides on it’s own).the alternative is that i waste time again and again on getting something to work for all fonts and all combinations which leads to a mess that i then need to maintain without any gainso, i decided to follow a route that works for most fonts / cases and not some messy hybrid solution (and i don't want a different setup or bag of tricks for each font that is out there as that is a long term no-go)(it already has costs me more time that i liked)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
___

[NTG-context] next beta

2017-06-12 Thread Hans Hagen

Hi,

experimental in next beta:

\starttext

test

\startbuffer
\placeformula
\startformula
x\dorecurse{100}{+#1x^{#1x}}=10
\stopformula

test

\startformula
x\dorecurse{100}{+#1x^{#1x}}=10
\stopformula

test
\stopbuffer

\par \setupformula[split=no]  \getbuffer \par
\par \setupformula[split=yes] \getbuffer \par

\stoptext

i.e. (poor mans) multiline display math

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] Position of standard footnotes that are set-up in floats

2017-06-12 Thread Hans Hagen

On 6/12/2017 1:38 PM, Sebastian L. wrote:

Hello together,

I have the following example: I place a simple float (a graphic) in the 
text within


\startplacefigure...\stopplacefigure

and create a footnote with the graphic's source, that I want to be 
placed as simple footnote at the bottom of the page. CTX, LuaTX do this 
just fine.


But when the float is being set on the next page, due to spacing, then 
the footnote remains on the initial page, i.e. the footnote stays on 
page 1, whereas the float with its description text and the footnote 
marker are set on page 2.


Is it possible to make the footnote's location depend on the location of 
the float, rather than where the last text passage was before the float? 
An example:


\startplacefigure[title={Heijunkabox \footnote{source: 
https://commons.wikimedia.org/Box.svg}},

   reference=gfxHeijunka,
   location=]
 \externalfigure...
\stopplacefigure

that's pretty hard to achieve (maybe some day)

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] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel
Thank you very much for providing the instructions, Mikael! Unfortunately

> 1) get the files
> 
> svn checkout --username anonsvn --password anonsvn
> https://serveur-svn.lri.fr/svn/modhel/luatex/branches/experimental/ 
> 
does not work on MacOS (which I am using). Can someone tell me which command I 
need to use at MacOS (current version)?

Besides, Hans, I think it is a questionable decision to include the new 
mechanism for primes in the beta but not the required LuaTeX version for them 
to work correctly. I tried out the ConTeXt version „current“ (--context=current 
downloading the standalone) and there the old bugs persist. That means that I 
cannot use ConTeXt to typeset mathematics now, since no version works correctly 
when primes are required (until I can handle it to compile LuaTeX 1.05, but I 
think it would be much more comfortable the beta version of ConTeXt could run 
using the LuaTeX version it provides on it’s own).

Best
/Mathias



> Am 12.06.2017 um 13:46 schrieb Mikael P. Sundqvist :
> 
> On Mon, Jun 12, 2017 at 1:30 PM, Mathias Schickel
>  wrote:
>> Hi Mikael,
>> 
>> when will LuaTeX 1.05 be released? And how can I get the source for 
>> compilation (and what exactly will I have to do to get everything to work)?
>> Besides: Do you have a link to the thread you are referring to?
>> 
>> Best
>> /Mathias
>> 
>> 
>>> Am 12.06.2017 um 12:57 schrieb Mikael P. Sundqvist :
>>> 
>>> On Mon, Jun 12, 2017 at 12:32 PM, Mathias Schickel
>>>  wrote:
 Dear Hans,
 
 the newest beta (I have updated some hours ago) contains again some bugs 
 regarding the size and placement of primes. You can verify that by using 
 the following minimal example (created to show some older bugs being 
 resolved meanwhile):
 
 %%%
 \starttext
 %
 Compare $f'$ to $(f')$ and to $f''$, $(f'')$, $f^{''}$ and $(f^{''})$.
 %
 \startformula
   %
   \int\nolimits_a^b \bigl(\|f(x)\|\bigr)\, {\mathrm d}x
   %
 \stopformula
 %
 \stoptext
 %%%
 
 The output is attached. The primes are obviously rendered too small. And 
 while $f'$ seems to lead to a placement of the prime a little too low, 
 $f^{'}$ seems to cause the prime being placed too high.
 
 Best
 Mathias
 
 
 
 ___
 If your question is of interest to others as well, please add an 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
 ___
>>> 
>>> I think this is intended (see the other thread). Hans decided to do
>>> the primes differently, which means that they will look strange until
>>> luatex 1.05 is out. You can compile luatex 1.05 yourself, and you will
>>> see that the primes look OK. I attach a pdf result of your file,
>>> compiled with 1.05.
>>> 
>>> /Mikael
>>> ___
>>> If your question is of interest to others as well, please add an 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
>> ___
> 
> As far as I understand 1.05 will be out at the same time as the
> context meeting takes place (Sepbember?).
> 
> For the thread, it was this one (that you participated in):
> https://mailman.ntg.nl/pipermail/ntg-context/2017/088747.html . I
> think the information you need is available there, but still:
> 
> I run linux (ubuntu), and these are the steps that made it work for me
> (with help of luigi and Taco):
> 
> 1) get the files
> 
> svn checkout --username anonsvn --password anonsvn
> https://serveur-svn.lri.fr/svn/modhel/luatex/branches/experimental/
> 
> 2) 

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Hans Hagen

On 6/12/2017 3:53 PM, Mathias Schickel wrote:

Thank you very much for providing the instructions, Mikael! Unfortunately


1) get the files

svn checkout --username anonsvn --password anonsvn
https://serveur-svn.lri.fr/svn/modhel/luatex/branches/experimental/


does not work on MacOS (which I am using). Can someone tell me which 
command I need to use at MacOS (current version)?


Besides, Hans, I think it is a questionable decision to include the new 
mechanism for primes in the beta but not the required LuaTeX version for 
them to work correctly. I tried out the ConTeXt version „current“ 
(--context=current downloading the standalone) and there the old bugs 
persist. That means that I cannot use ConTeXt to typeset mathematics 
now, since no version works correctly when primes are required (until I 
can handle it to compile LuaTeX 1.05, but I think it would be much more 
comfortable the beta version of ConTeXt could run using the LuaTeX 
version it provides on it’s own).
the alternative is that i waste time again and again on getting 
something to work for all fonts and all combinations which leads to a 
mess that i then need to maintain without any gain


so, i decided to follow a route that works for most fonts / cases and 
not some messy hybrid solution (and i don't want a different setup or 
bag of tricks for each font that is out there as that is a long term no-go)


(it already has costs me more time that i liked)

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] Position of standard footnotes that are set-up in floats

2017-06-12 Thread Alan BRASLAU
On Mon, 12 Jun 2017 15:46:06 +0200
Hans Hagen  wrote:

> > and create a footnote with the graphic's source, that I want to be 
> > placed as simple footnote at the bottom of the page. CTX, LuaTX do
> > this just fine.

...

> that's pretty hard to achieve (maybe some day)

Are you sure from a stylistic point-of-view that you want a
figure caption (or figure label) refer to a footnote? Although there
can be different schools of thought on the editorial style of figures
and figure captions, I would find it confusing for a floating object to
use a non-local footnote.

My suggestion (as a sometimes editor) would be to find another solution
in this case, not that I am trying to let ConTeXt off the hook...

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
___

[NTG-context] Fwd: Re: Bug regarding placement and size of primes

2017-06-12 Thread Hans Hagen




 Forwarded Message 
Subject: Re: [NTG-context] Bug regarding placement and size of primes
Date: Mon, 12 Jun 2017 17:10:25 +0200
From: Hans Hagen 
To: Mathias Schickel 

On 6/12/2017 4:54 PM, Mathias Schickel wrote:
the alternative is that i waste time again and again on getting 
something to work for all fonts and all combinations which leads to a 
mess that i then need to maintain without any gain


At first: Thank you very much for your work!

so, i decided to follow a route that works for most fonts / cases and 
not some messy hybrid solution (and i don't want a different setup or 
bag of tricks for each font that is out there as that is a long term 
no-go)


But I have to contradict you here: It has nothing to do with special or 
hybrid fonts. The problem persists at present (using the LuaTeX version 
that is shipped with the Garden version) in /all/ fonts. The primes are 
not rendered as they should in /any/ font I tried out.
As Mikael told me, you optimised the code for LuaTeX 1.05 which seems to 
be terminated September this year. But until then the output of primes 
will be not correct. I have no possibility to switch back to the current 
(non-beta) version of ConTeXt, because this version contains the bugs 
with primes you have already resolved.


there will probably be a 1.0.5 one of these days (also for other 
reasons) but Mojca has to configure the garden compile farm


This means that ConTeXt is not usable for me until LuaTeX 1.05 will be 
released or until I am able to compile the source of LuaTeX 1.05 on my 
own. Some of the latest betas (the version one or two weeks ago) did 
solve all problems regarding primes. The problem I am referring to rose 
up in the most recent betas. As Mikael told me, this is because you 
introduced new code to work with LuaTeX 1.05. This is very nice, but 
because this version is not yet released, this decision is questionable, 
since this makes ConTeXt unusable until this release (if you need primes).


So I appreciate your hard work, but I would be nice to have a version 
that runs with the current LuaTeX version of the beta of ConTeXt (or 
alternatively it would be nice if instructions are provided to compile 
the source of LuaTeX for every OS that can be used simply).


then just use old versions and then accept the bugs and limitations in 
those versions


And (to repeat myself) the problem has nothing to do with special fonts 
of hybrid version or whatever. You get the problem using standard Latin 
Modern or any font else. Simply try
latin modern has all kind of issues ... and it's inconsistent with 
cambria, other gyre fonts etc ... in a decade of luatex and open type 
math fonts i captured a lot of font issues in runtiem fixes but that 
will always give side effects


so, i can fix somethign for you with lm and then someone else complains 
about lucida etc etc


as i explained before, primes are a mess conceptually .. not a real 
character and not a proper superscript candidate either so when one 
corrects for one aspect one has to fight the other


also, we have unicode and therefore multiple primes are one character

i simply have no time (nor motivation) to spend days on some temporary 
solution that will be complained about also and discarded a while later 
anyway


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] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel

> Am 12.06.2017 um 17:10 schrieb Hans Hagen :
> 
> On 6/12/2017 4:54 PM, Mathias Schickel wrote:
>>> the alternative is that i waste time again and again on getting something 
>>> to work for all fonts and all combinations which leads to a mess that i 
>>> then need to maintain without any gain
>> At first: Thank you very much for your work!
>>> so, i decided to follow a route that works for most fonts / cases and not 
>>> some messy hybrid solution (and i don't want a different setup or bag of 
>>> tricks for each font that is out there as that is a long term no-go)
>> But I have to contradict you here: It has nothing to do with special or 
>> hybrid fonts. The problem persists at present (using the LuaTeX version that 
>> is shipped with the Garden version) in /all/ fonts. The primes are not 
>> rendered as they should in /any/ font I tried out.
>> As Mikael told me, you optimised the code for LuaTeX 1.05 which seems to be 
>> terminated September this year. But until then the output of primes will be 
>> not correct. I have no possibility to switch back to the current (non-beta) 
>> version of ConTeXt, because this version contains the bugs with primes you 
>> have already resolved.
> 
> there will probably be a 1.0.5 one of these days (also for other reasons) but 
> Mojca has to configure the garden compile farm
> 

Okay, that would be great. But could you tell me how I can get the files and 
compile them? Mikael did write me instructions that work for Linux, but I am on 
MacOS. My problem would be solved if I could get the source and compile LuaTeX 
1.05 on my own on MacOS. :-)

>> This means that ConTeXt is not usable for me until LuaTeX 1.05 will be 
>> released or until I am able to compile the source of LuaTeX 1.05 on my own. 
>> Some of the latest betas (the version one or two weeks ago) did solve all 
>> problems regarding primes. The problem I am referring to rose up in the most 
>> recent betas. As Mikael told me, this is because you introduced new code to 
>> work with LuaTeX 1.05. This is very nice, but because this version is not 
>> yet released, this decision is questionable, since this makes ConTeXt 
>> unusable until this release (if you need primes).
>> So I appreciate your hard work, but I would be nice to have a version that 
>> runs with the current LuaTeX version of the beta of ConTeXt (or 
>> alternatively it would be nice if instructions are provided to compile the 
>> source of LuaTeX for every OS that can be used simply).
> 
> then just use old versions and then accept the bugs and limitations in those 
> versions

How can I get the beta of last week or the week before? In those betas you have 
not yet included the new code (for use with LuaTeX 1.05) and everything worked 
really fine. The --context=current garden version has several bugs regarding 
primes you have solved in the mentioned betas. So it would make no sense at all 
to use this version. I would need one of the older betas or the most recent one 
with LuaTeX 1.05.

> 
>> And (to repeat myself) the problem has nothing to do with special fonts of 
>> hybrid version or whatever. You get the problem using standard Latin Modern 
>> or any font else. Simply try
> latin modern has all kind of issues ... and it's inconsistent with cambria, 
> other gyre fonts etc ... in a decade of luatex and open type math fonts i 
> captured a lot of font issues in runtiem fixes but that will always give side 
> effects
> 
> so, i can fix somethign for you with lm and then someone else complains about 
> lucida etc etc
> 

I am not using Latin Modern. I only mentioned that because I wanted to stress 
that I am not referring to exotic fonts. (I totally agree on you regarding 
Latin Modern; I think Cambria should be the reference since this font is the 
font that established the opentype math standard.)
In fact I am using Minion Math (which is a really stunning font) or Stix 2. 
There had been no problems in those fonts with primes in the betas of the last 
weeks. And as Mikeal suggests the problems are resolved if I could use LuaTeX 
1.05.

So in fact the only thing I am complaining about is that everything worked one 
or two betas ago until it is „broken“ in the newest beta since this one seems 
to be based on code that requires LuaTeX 1.05 (which makes sense of course 
since this will be the upcoming release) that is not shipped alongside the 
beta. So I am not able to understand why code is provided in the beta that 
requires a LuaTeX version that is not shipped alongside (and especially in view 
of the fact that we had a perfectly working beta regarding primes last week; 
this means I think it would have been a great idea to wait including the newest 
code for primes that requires LuaTeX 1.05 until LuaTeX 1.05 is shipped with the 
beta too). :-)

> as i explained before, primes are a mess conceptually .. not a real character 
> and not a proper superscript candidate either so when one corrects for one 
> aspect one has 

Re: [NTG-context] next beta

2017-06-12 Thread Mathias Schickel
Hi Hans,

if I get it right this means that you provide a mechanism that brakes formulas 
automatically across several lines? I appreciate this very much! Thank you for 
including this into the next beta!
Would it be possible to do something like that for breaking long formulas 
across pages (or is that maybe included in the new mechanism)?

Best
Mathias


> Am 12.06.2017 um 17:25 schrieb Hans Hagen :
> 
> Hi,
> 
> experimental in next beta:
> 
> \starttext
> 
> test
> 
> \startbuffer
> \placeformula
> \startformula
>x\dorecurse{100}{+#1x^{#1x}}=10
> \stopformula
> 
> test
> 
> \startformula
>x\dorecurse{100}{+#1x^{#1x}}=10
> \stopformula
> 
> test
> \stopbuffer
> 
> \par \setupformula[split=no]  \getbuffer \par
> \par \setupformula[split=yes] \getbuffer \par
> 
> \stoptext
> 
> i.e. (poor mans) multiline display math
> 
> 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
> ___

___
If your question is of interest to others as well, please add an 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] next beta

2017-06-12 Thread Hans Hagen

On 6/12/2017 5:56 PM, Mathias Schickel wrote:

Hi Hans,

if I get it right this means that you provide a mechanism that brakes formulas 
automatically across several lines? I appreciate this very much! Thank you for 
including this into the next beta!
Would it be possible to do something like that for breaking long formulas 
across pages (or is that maybe included in the new mechanism)?

that's more complex and interferes with other aspects so maybe later

-
  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] Position of standard footnotes that are set-up in floats

2017-06-12 Thread Sebastian L.

Hi, thanks for your replies


On 12/06/2017 16:08, Alan BRASLAU wrote:

On Mon, 12 Jun 2017 15:46:06 +0200
Hans Hagen  wrote:


and create a footnote with the graphic's source, that I want to be
placed as simple footnote at the bottom of the page. CTX, LuaTX do
this just fine.

...


Yes, I like the mechanism, as it does what it is supposed to do, until 
due to spacing the float gets an unexpected positioning while carrying a 
reference.



that's pretty hard to achieve (maybe some day)


I fully understand. Thank you Hans.


Are you sure from a stylistic point-of-view that you want a
figure caption (or figure label) refer to a footnote? Although there
can be different schools of thought on the editorial style of figures
and figure captions, I would find it confusing for a floating object to
use a non-local footnote.

My suggestion (as a sometimes editor) would be to find another solution
in this case, not that I am trying to let ConTeXt off the hook...


Sure, I can also place a source in the appendice, but why not have the 
opportunity to do both, since basically it works? I think from the 
stylistic point of view I don't expect to turn back a page when looking 
for a foot note.
Since many experienced users have workarounds for many situations, I 
hoped to find one here. Hans' reply was satisfactory to me too. :D


Greetings, Sebastian
___
If your question is of interest to others as well, please add an 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] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel
Hi Mikael,

when will LuaTeX 1.05 be released? And how can I get the source for compilation 
(and what exactly will I have to do to get everything to work)?
Besides: Do you have a link to the thread you are referring to?

Best
/Mathias


> Am 12.06.2017 um 12:57 schrieb Mikael P. Sundqvist :
> 
> On Mon, Jun 12, 2017 at 12:32 PM, Mathias Schickel
>  wrote:
>> Dear Hans,
>> 
>> the newest beta (I have updated some hours ago) contains again some bugs 
>> regarding the size and placement of primes. You can verify that by using the 
>> following minimal example (created to show some older bugs being resolved 
>> meanwhile):
>> 
>> %%%
>> \starttext
>> %
>> Compare $f'$ to $(f')$ and to $f''$, $(f'')$, $f^{''}$ and $(f^{''})$.
>> %
>> \startformula
>>%
>>\int\nolimits_a^b \bigl(\|f(x)\|\bigr)\, {\mathrm d}x
>>%
>> \stopformula
>> %
>> \stoptext
>> %%%
>> 
>> The output is attached. The primes are obviously rendered too small. And 
>> while $f'$ seems to lead to a placement of the prime a little too low, 
>> $f^{'}$ seems to cause the prime being placed too high.
>> 
>> Best
>> Mathias
>> 
>> 
>> 
>> ___
>> If your question is of interest to others as well, please add an 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
>> ___
> 
> I think this is intended (see the other thread). Hans decided to do
> the primes differently, which means that they will look strange until
> luatex 1.05 is out. You can compile luatex 1.05 yourself, and you will
> see that the primes look OK. I attach a pdf result of your file,
> compiled with 1.05.
> 
> /Mikael
> ___
> If your question is of interest to others as well, please add an 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
___

[NTG-context] Position of standard footnotes that are set-up in floats

2017-06-12 Thread Sebastian L.

Hello together,

I have the following example: I place a simple float (a graphic) in the 
text within


\startplacefigure...\stopplacefigure

and create a footnote with the graphic's source, that I want to be 
placed as simple footnote at the bottom of the page. CTX, LuaTX do this 
just fine.


But when the float is being set on the next page, due to spacing, then 
the footnote remains on the initial page, i.e. the footnote stays on 
page 1, whereas the float with its description text and the footnote 
marker are set on page 2.


Is it possible to make the footnote's location depend on the location of 
the float, rather than where the last text passage was before the float? 
An example:


\startplacefigure[title={Heijunkabox \footnote{source: 
https://commons.wikimedia.org/Box.svg}},

  reference=gfxHeijunka,
  location=]
\externalfigure...
\stopplacefigure


Thanks in advance for any suggestions, Sebastian.

___
If your question is of interest to others as well, please add an 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] Bug regarding placement and size of primes

2017-06-12 Thread Mikael P. Sundqvist
On Mon, Jun 12, 2017 at 1:30 PM, Mathias Schickel
 wrote:
> Hi Mikael,
>
> when will LuaTeX 1.05 be released? And how can I get the source for 
> compilation (and what exactly will I have to do to get everything to work)?
> Besides: Do you have a link to the thread you are referring to?
>
> Best
> /Mathias
>
>
>> Am 12.06.2017 um 12:57 schrieb Mikael P. Sundqvist :
>>
>> On Mon, Jun 12, 2017 at 12:32 PM, Mathias Schickel
>>  wrote:
>>> Dear Hans,
>>>
>>> the newest beta (I have updated some hours ago) contains again some bugs 
>>> regarding the size and placement of primes. You can verify that by using 
>>> the following minimal example (created to show some older bugs being 
>>> resolved meanwhile):
>>>
>>> %%%
>>> \starttext
>>> %
>>> Compare $f'$ to $(f')$ and to $f''$, $(f'')$, $f^{''}$ and $(f^{''})$.
>>> %
>>> \startformula
>>>%
>>>\int\nolimits_a^b \bigl(\|f(x)\|\bigr)\, {\mathrm d}x
>>>%
>>> \stopformula
>>> %
>>> \stoptext
>>> %%%
>>>
>>> The output is attached. The primes are obviously rendered too small. And 
>>> while $f'$ seems to lead to a placement of the prime a little too low, 
>>> $f^{'}$ seems to cause the prime being placed too high.
>>>
>>> Best
>>> Mathias
>>>
>>>
>>>
>>> ___
>>> If your question is of interest to others as well, please add an 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
>>> ___
>>
>> I think this is intended (see the other thread). Hans decided to do
>> the primes differently, which means that they will look strange until
>> luatex 1.05 is out. You can compile luatex 1.05 yourself, and you will
>> see that the primes look OK. I attach a pdf result of your file,
>> compiled with 1.05.
>>
>> /Mikael
>> ___
>> If your question is of interest to others as well, please add an 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
> ___

As far as I understand 1.05 will be out at the same time as the
context meeting takes place (Sepbember?).

For the thread, it was this one (that you participated in):
https://mailman.ntg.nl/pipermail/ntg-context/2017/088747.html . I
think the information you need is available there, but still:

I run linux (ubuntu), and these are the steps that made it work for me
(with help of luigi and Taco):

1) get the files

svn checkout --username anonsvn --password anonsvn
https://serveur-svn.lri.fr/svn/modhel/luatex/branches/experimental/

2) compile:

step into the folder experimental and run build.sh

3) copy the luatex binary to a place where it is found

I chose to replace the one from garden, and it seems to work.

Good luck!

/Mikael
___
If your question is of interest to others as well, please add an 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
___

[NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mathias Schickel
Dear Hans,

the newest beta (I have updated some hours ago) contains again some bugs 
regarding the size and placement of primes. You can verify that by using the 
following minimal example (created to show some older bugs being resolved 
meanwhile):

%%%
\starttext
%
Compare $f'$ to $(f')$ and to $f''$, $(f'')$, $f^{''}$ and $(f^{''})$.
%
\startformula
%
\int\nolimits_a^b \bigl(\|f(x)\|\bigr)\, {\mathrm d}x
%
\stopformula
%
\stoptext
%%%

The output is attached. The primes are obviously rendered too small. And while 
$f'$ seems to lead to a placement of the prime a little too low, $f^{'}$ seems 
to cause the prime being placed too high.

Best
Mathias




Primes.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Re: [NTG-context] Bug regarding placement and size of primes

2017-06-12 Thread Mikael P. Sundqvist
On Mon, Jun 12, 2017 at 12:32 PM, Mathias Schickel
 wrote:
> Dear Hans,
>
> the newest beta (I have updated some hours ago) contains again some bugs 
> regarding the size and placement of primes. You can verify that by using the 
> following minimal example (created to show some older bugs being resolved 
> meanwhile):
>
> %%%
> \starttext
> %
> Compare $f'$ to $(f')$ and to $f''$, $(f'')$, $f^{''}$ and $(f^{''})$.
> %
> \startformula
> %
> \int\nolimits_a^b \bigl(\|f(x)\|\bigr)\, {\mathrm d}x
> %
> \stopformula
> %
> \stoptext
> %%%
>
> The output is attached. The primes are obviously rendered too small. And 
> while $f'$ seems to lead to a placement of the prime a little too low, 
> $f^{'}$ seems to cause the prime being placed too high.
>
> Best
> Mathias
>
>
>
> ___
> If your question is of interest to others as well, please add an 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
> ___

I think this is intended (see the other thread). Hans decided to do
the primes differently, which means that they will look strange until
luatex 1.05 is out. You can compile luatex 1.05 yourself, and you will
see that the primes look OK. I attach a pdf result of your file,
compiled with 1.05.

/Mikael


primes105.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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