Bug regarding placement and size of primes
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
On Mon, Jun 12, 2017 at 12:32 PM, 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
___________________________________________________________________________________ If your question is of interest to others as well, please add an 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
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 ___________________________________________________________________________________
On Mon, Jun 12, 2017 at 1:30 PM, 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 ___________________________________________________________________________________
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
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/ 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) 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 ___________________________________________________________________________________
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).
On 6/12/2017 3:53 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 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 -----------------------------------------------------------------
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. 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. Best Mathias
Am 12.06.2017 um 16:35 schrieb Hans Hagen
: 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).
On 6/12/2017 3:53 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
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 http://www.pragma-ade.nl/ | www.pragma-pod.nl http://www.pragma-pod.nl/ -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Mathias Schickel
-
Mikael P. Sundqvist