Re: [NTG-context] Mixing math and text font
Am Sat, 04 Jan 2014 19:50:24 +0100 schrieb Wolfgang Schuster: You have to switch from the simplefonts module to the new fontfamily command (a new built-in system which replaces simplefonts) to set the fonts for your document. [...] Thank you, it functions as intended. I suppose this mechanism works with Opentype math fonts only? However, I'm glad to know ConTeXt's font handling is evolving! Kind regards, Joshua ___ 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] luatex or luajittex?
On 01/07/2014 10:14 PM, Hans Hagen wrote: On 1/7/2014 9:58 PM, Pablo Rodriguez wrote: [...] Many thanks for your help, Mojca. I tried and it seems that I still have the issue. I will check tomorrow again. or move to 64 bit linux (makes normal luatex faster too) My processor and system are 32 bit. 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 ___
[NTG-context] Headertexts in the center
Hi there, with \setupheadertexts which takes four arguments, one can place headertexts on four places on a double-page. But how one can place only two headertexts at the top-center of the even/odd pages? So the arguments should not be places (left-right)-(right left) but simply (center)-(center). Thanks! Huseyin ___ 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] luatex or luajittex?
On 01/07/2014 08:36 PM, Mojca Miklavec wrote: [...] Please try again. (Or at least I hope that the new binary has proliferated to the distribution already.) Mojca, just now the ConTeXt Suite still downloads version 0.78.0 for Linux 32-bit (This is LuaTeX, Version beta-0.78.0-2014010116 (TeX Live 2013/dev) (rev 4704)). I‘ll try tomorrow again. 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] luatex or luajittex?
On Jan 8, 2014 5:02 PM, Pablo Rodriguez wrote: On 01/07/2014 08:36 PM, Mojca Miklavec wrote: [...] Please try again. (Or at least I hope that the new binary has proliferated to the distribution already.) Mojca, just now the ConTeXt Suite still downloads version 0.78.0 for Linux 32-bit (This is LuaTeX, Version beta-0.78.0-2014010116 (TeX Live 2013/dev) (rev 4704)). I‘ll try tomorrow again. Which version do you expect? There won't be any updates to this unless/until Taco or Luigi release a new one. Mojca ___ 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] Headertexts in the center
Am 08.01.2014 um 17:02 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi there, with \setupheadertexts which takes four arguments, one can place headertexts on four places on a double-page. But how one can place only two headertexts at the top-center of the even/odd pages? So the arguments should not be places (left-right)-(right left) but simply (center)-(center). \setupheadertexts [\doifoddpageelse {Right page} {Left page}] 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] can not get the quotation marks from the fallback fonts
Am 08.01.2014 um 08:57 schrieb Li Yanrui (李延瑞) liyanrui...@gmail.com: Thank you, Wolfgang. I have find the new simplefonts can solve these problems after i posted that mail. This is a good news for me athough it appeared for a long time. The \definefallbackfamily uses “force=yes” and “check=no” as default values for the \definefontfallback command unless you set different values for both keys. 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] Malayalam shaping with mkiv/LuaTeX
On Mon, Jan 6, 2014 at 9:11 PM, Rajeesh K Nambiar rajeeshknamb...@gmail.com wrote: On Mon, Jan 6, 2014 at 10:33 PM, Hans Hagen pra...@wxs.nl wrote: On 1/4/2014 10:36 PM, Rajeesh K Nambiar wrote: Hello, especially Hans and Kai, I have succeeded to an extent in adding Malayalam shaping to the existing Devanagari shaping. Being a complete novice in Lua and mkiv, I'm at a point where your expertise is needed to proceed further. Please find the attached patch, test case listed below and expected rendering for comparison. Additionally needed to support: in next beta (some a bit different) Thank you very much for incorporating it! Just hit this with latest beta (same test case as before): error: .../context/tex/texmf-context/tex/context/base/font-odv.lua:1603: attempt to call global 'setfield' (a nil value) As of yesterday's beta, I get the following error: font-odv.lua:879: attempt to index local 'start' (a number value) Probably you're still updating things, am I testing prematurely? -- Cheers, Rajeesh ___ 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] luatex or luajittex?
On 01/08/2014 05:11 PM, Mojca Miklavec wrote: On Jan 8, 2014 5:02 PM, Pablo Rodriguez wrote: On 01/07/2014 08:36 PM, Mojca Miklavec wrote: [...] Please try again. (Or at least I hope that the new binary has proliferated to the distribution already.) Mojca, just now the ConTeXt Suite still downloads version 0.78.0 for Linux 32-bit (This is LuaTeX, Version beta-0.78.0-2014010116 (TeX Live 2013/dev) (rev 4704)). I‘ll try tomorrow again. Which version do you expect? There won't be any updates to this unless/until Taco or Luigi release a new one. I expected version 0.78.1, since version 0.78.0 seems not to be able to generate the ConTeXt format file. But keeping the format file from my previous install seems to avoid the issue. 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] luatex or luajittex?
On 01/08/2014 08:17 PM, Pablo Rodriguez wrote: On 01/08/2014 05:11 PM, Mojca Miklavec wrote: [...] Which version do you expect? There won't be any updates to this unless/until Taco or Luigi release a new one. I expected version 0.78.1, since version 0.78.0 seems not to be able to generate the ConTeXt format file. But keeping the format file from my previous install seems to avoid the issue. Mojca, sorry for the noise, but I have realized that I was wrong in my both previous statements. With the betas that come with luatex-0.78.0 (in 32-bit Linux), the ConTeXt format generation fails only when using LuajitTeX, not LuaTeX. And keeping my format file from my previous install doesn’t avoid the issue. It simply doesn’t compile the ConTeXt source, but I failed to notice it. 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] Mixing math and text font
Am 08.01.2014 um 11:52 schrieb Joshua Krämer joshua.krae...@gmail.com: Am Sat, 04 Jan 2014 19:50:24 +0100 schrieb Wolfgang Schuster: You have to switch from the simplefonts module to the new fontfamily command (a new built-in system which replaces simplefonts) to set the fonts for your document. [...] Thank you, it functions as intended. I suppose this mechanism works with Opentype math fonts only? Yes, you need an opentype math font but when it would be possible to use the fallback mechanism with a virtual math font the \definefallbackfamily can’t be used for them. However, I'm glad to know ConTeXt's font handling is evolving! The support of the fallback mechanism for math fonts was a recent addition from Hans. The new \definefontfamily commands are part of the new version of the simplefonts module which tries to stay closer to context normal typeface mechanism. 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 ___
[NTG-context] latest beta and luajittex in Linux 32-bit
Dear list, could anyone using the latest beta from ConTeXt Suite in Linux 32-bit confirm whether compilation with the option --engine=luajittex works? 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] latest beta and luajittex in Linux 32-bit
On Wed, 8 Jan 2014 20:47:53 +0100 Pablo Rodriguez oi...@gmx.es wrote: Dear list, could anyone using the latest beta from ConTeXt Suite in Linux 32-bit confirm whether compilation with the option --engine=luajittex works? Many thanks for your help, Pablo I have recompiled all of the binaries on linux 32-bit and sent them to Mojca. Both luatex and luajittex work (on my system). This is LuajitTeX, Version beta-0.78.1-2014010720 (TeX Live 2013/dev) This is LuaTeX, Version beta-0.78.0-2014010116 (TeX Live 2013/dev) (rev 4704) 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] Malayalam shaping with mkiv/LuaTeX
On 1/8/2014 6:50 PM, Rajeesh K Nambiar wrote: On Mon, Jan 6, 2014 at 9:11 PM, Rajeesh K Nambiar rajeeshknamb...@gmail.com wrote: On Mon, Jan 6, 2014 at 10:33 PM, Hans Hagen pra...@wxs.nl wrote: On 1/4/2014 10:36 PM, Rajeesh K Nambiar wrote: Hello, especially Hans and Kai, I have succeeded to an extent in adding Malayalam shaping to the existing Devanagari shaping. Being a complete novice in Lua and mkiv, I'm at a point where your expertise is needed to proceed further. Please find the attached patch, test case listed below and expected rendering for comparison. Additionally needed to support: in next beta (some a bit different) Thank you very much for incorporating it! Just hit this with latest beta (same test case as before): error: .../context/tex/texmf-context/tex/context/base/font-odv.lua:1603: attempt to call global 'setfield' (a nil value) As of yesterday's beta, I get the following error: font-odv.lua:879: attempt to index local 'start' (a number value) Probably you're still updating things, am I testing prematurely? it more looks liek some mixup of files at your end (there is no 'start' in that line) 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] Malayalam shaping with mkiv/LuaTeX
On Wed, Jan 8, 2014 at 9:36 PM, Hans Hagen pra...@wxs.nl wrote: On 1/8/2014 6:50 PM, Rajeesh K Nambiar wrote: On Mon, Jan 6, 2014 at 9:11 PM, Rajeesh K Nambiar rajeeshknamb...@gmail.com wrote: On Mon, Jan 6, 2014 at 10:33 PM, Hans Hagen pra...@wxs.nl wrote: On 1/4/2014 10:36 PM, Rajeesh K Nambiar wrote: Hello, especially Hans and Kai, I have succeeded to an extent in adding Malayalam shaping to the existing Devanagari shaping. Being a complete novice in Lua and mkiv, I'm at a point where your expertise is needed to proceed further. Please find the attached patch, test case listed below and expected rendering for comparison. Additionally needed to support: in next beta (some a bit different) Thank you very much for incorporating it! Just hit this with latest beta (same test case as before): error: .../context/tex/texmf-context/tex/context/base/font-odv.lua:1603: attempt to call global 'setfield' (a nil value) As of yesterday's beta, I get the following error: font-odv.lua:879: attempt to index local 'start' (a number value) Probably you're still updating things, am I testing prematurely? it more looks liek some mixup of files at your end (there is no 'start' in that line) Hi Hans, I just did a clean install of beta to be sure and the issue persists. Indeed there is no 'start' at line 879 in my system as well. I tried on two different systems (both are 32 bit Linux). Are you able to compile the test file? Hans -- Regards, Rajeesh ___ 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] Malayalam shaping with mkiv/LuaTeX
Am 08.01.2014 um 22:27 schrieb Rajeesh K Nambiar rajeeshknamb...@gmail.com: I just did a clean install of beta to be sure and the issue persists. Indeed there is no 'start' at line 879 in my system as well. I tried on two different systems (both are 32 bit Linux). Are you able to compile the test file? I can process your example without problem even though the output doesn’t like for all cases like the text in the image. BTW: Can you attach your test file. 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] Malayalam shaping with mkiv/LuaTeX
On Wed, Jan 8, 2014 at 10:39 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 08.01.2014 um 22:27 schrieb Rajeesh K Nambiar rajeeshknamb...@gmail.com: I just did a clean install of beta to be sure and the issue persists. Indeed there is no 'start' at line 879 in my system as well. I tried on two different systems (both are 32 bit Linux). Are you able to compile the test file? I can process your example without problem even though the output doesn’t like for all cases like the text in the image. BTW: Can you attach your test file. Thanks for checking, Wolfgang. Attached the test file. Wolfgang -- Regards, Rajeesh mkiv-test.tex Description: TeX 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Malayalam shaping with mkiv/LuaTeX
Am 08.01.2014 um 22:51 schrieb Rajeesh K Nambiar rajeeshknamb...@gmail.com: On Wed, Jan 8, 2014 at 10:39 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 08.01.2014 um 22:27 schrieb Rajeesh K Nambiar rajeeshknamb...@gmail.com: I just did a clean install of beta to be sure and the issue persists. Indeed there is no 'start' at line 879 in my system as well. I tried on two different systems (both are 32 bit Linux). Are you able to compile the test file? I can process your example without problem even though the output doesn’t like for all cases like the text in the image. BTW: Can you attach your test file. Thanks for checking, Wolfgang. Attached the test file. Remove \usemodule[font-odv], the code is part of the core and reloading it causes only problems. 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 ___
[NTG-context] trouble with the title page using the FramedTitle style of the simpleslides module
I'm working with the simpleslides module and am trying to prepare a presentation using the FramedTitle style. Things are mostly OK, but I notice one curious problem with the title page. Try this out on the live ConTeXt installation: % -- the beginning \usemodule[simpleslides] [ style=FramedTitle, ] \setupTitle[ title={Why is this red?}, author={You}, date={\date[y=2014,m=1,d=07]}, ] \placeTitle \SlideTitle{this is white (maybe grey)} text in black as expected % -- the end What I notice is that the text on the title page (title, author, date) is * in red on a red background (quite hard to read), and * not centered (even though in the documentation for the simpleslides module and the examples it contains the content on the titleslide ought to be centered). I'm using an up-to-date ConTexT; I have the minimals installed on my machine and just did an update today using $ ./first-setup.sh --modules=all I'm running in mkiv mode in the sense that I run simply $ context slides.tex and I can confirm, using $ which context that I really am running the ConTeXt that I expect. In any case, the curiosity I describe can be replicated using the live ConTeXt on the ConTeXtgarden. Can you see what might be going wrong? Thanks, Jesse ___ 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] Malayalam shaping with mkiv/LuaTeX
On Wed, Jan 8, 2014 at 10:53 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 08.01.2014 um 22:51 schrieb Rajeesh K Nambiar rajeeshknamb...@gmail.com: On Wed, Jan 8, 2014 at 10:39 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 08.01.2014 um 22:27 schrieb Rajeesh K Nambiar rajeeshknamb...@gmail.com: I just did a clean install of beta to be sure and the issue persists. Indeed there is no 'start' at line 879 in my system as well. I tried on two different systems (both are 32 bit Linux). Are you able to compile the test file? I can process your example without problem even though the output doesn’t like for all cases like the text in the image. BTW: Can you attach your test file. Thanks for checking, Wolfgang. Attached the test file. Remove \usemodule[font-odv], the code is part of the core and reloading it causes only problems. Indeed, that fixes the compilation! And 2-part matras are fine now. But the output (shaping) is not what is expected as you have observed. Notably: 1. When a pre-base matra follows the akhn ligatures are broken 2. pref, pstf and blwf ligatures are not formed -- Regards, Rajeesh ___ 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] trouble with the title page using the FramedTitle style of the simpleslides module
On 01/08/2014 10:58 PM, Jesse Alama wrote: What I notice is that the text on the title page (title, author, date) is * in red on a red background (quite hard to read), and * not centered (even though in the documentation for the simpleslides module and the examples it contains the content on the titleslide ought to be centered). Oops, this was put in for debugging purposes and never removed. You can do either of these two things: 1. fix the file simpleslides-s-FuzzyFrame.tex with this patch: @@ -124,14 +124,14 @@ \bgroup}, \c!after={\egroup\vfill}, \c!title\c!style={\switchtobodyfont[\TitleSize]}, - \c!title\c!color=, - \c!title\c!align=,%\v!middle, + \c!title\c!color=simpleslides:backgroundcolor, + \c!title\c!align=\v!middle, \c!author\c!style=, - \c!author\c!color=, - \c!author\c!align=,%\v!middle, + \c!author\c!color=simpleslides:backgroundcolor, + \c!author\c!align=\v!middle, \c!date\c!style=, - \c!date\c!color=, - \c!date\c!align=,%\v!middle, + \c!date\c!color=simpleslides:backgroundcolor, + \c!date\c!align=\v!middle, \c!before\c!title=, \c!before\c!author=, \c!before\c!date=, 2. or set these things up in your file: \setupTitle[ titlealign=middle, titlecolor=simpleslides:backgroundcolor, authoralign=middle, authorcolor=simpleslides:backgroundcolor, datealign=middle, datecolor=simpleslides:backgroundcolor, title={Why is this red?}, author={You}, date={\date[y=2014,m=1,d=07]}, ] Sorry, will be fixed in next release. 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 ___