[NTG-context] new beta
Hi, The uploaded beta has marco's ugs fixed (minus one) plus some (less important) pending issues in test files. The main change is that the root setup commands of enumerations, notes, formulas, floats, etc can now be used to set up the counters (was only possible by explicit setups e.g. per float). 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 ___
[NTG-context] error calling font.getfont() on certain fonts
Hi all, I get an error when I run this code: \ctxlua{font.getfont( font.current() )} (Complete example below.) Oddly, whether or not this fails depends on the font. The issue does occur with both today’s beta and Tex Live. The error message is error: .../context/tex/texmf-context/tex/context/base/node-inj.lua:97: attempt to perform arithmetic on local 'factor' (a nil value) At the same time, in Plain the equivalent code works fine for all fonts. Bug or feature? Best regards Philipp %% working fonts: %\setupbodyfont[iwona] %\setupbodyfont[computer-modern-unicode] %\setupbodyfont[antykwa-poltawskiego] %% ... ? %% not working: \setupbodyfont[modern] %\setupbodyfont[antykwa] %\setupbodyfont[termes] %\setupbodyfont[pagella] %\setupbodyfont[bonum] %% ... ? \starttext foo \ctxlua{font.getfont( font.current() )} bar \stoptext pgpRcL_tp4ym0.pgp Description: PGP signature ___ 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] mathcases look different in mathalign and formula
Hi all, While playing with \startmathcases, I discovered some strange (maybe wanted?) behaviour of \startmathcases and \stopmathcases: - The interline spacing in mathcases is different depending on whether the mathcases are used in a mathalignment or a formula environment. - Lucida OpenType math has some nice curly brace that is also used in cases environments. However, if \startmathcases, \stopmathcases is used in some mathalignment environment and the cases contain subscripts, the curly brace disappears and some "straight" brace is used instead. - When using superscripts instead of subscripts, the curly brace reappears but the cases look like not vertically centered in both formula and mathalignment environments. I produced an example demonstrating the above observations. In my opinion, the disappearing curly brace is worst of all of them since one frequently has formulas both with and without subscripts on the same page and different braces are quite easily spotted. Tobias mathcases-2013.03.28.pdf Description: Adobe PDF document mathcases-2013.03.28.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] \startpagefigure[]\stoppagefigure enlarges page by 1 mm
it seems \placefigure adds some extra space around, too. Should this be corrected, too? See my example… I can’t reproduce this, do you use the current beta on your system? Wolfgang Unfortunately no, I'm using: ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.27 int: english/english - I'm often using LuaXML.dll which exists only for Lua 5.1 so far (I contacted the author who doesn't maintain this lib any more). I'm planning to bring it to Lua 5.2, too - but necessity to "upgrade" a .dll from Lua 5.1 to 5.2 concerns more libs I'm using, too, and I'm "collecting" time to rebuild (upgrade) them all. - So, that's the reason I'm still keeping "ConTeXt ver: 2012.11.26". Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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] \startpagefigure[]\stoppagefigure enlarges page by 1 mm
Am 28.03.2013 um 13:33 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > >> BTW: You can use \pagefigure[] instead of >> \startpagefigure[]\stoppagefigure. >> >> Wolfgang > > it seems \placefigure adds some extra space around, too. > > Should this be corrected, too? > > See my example… I can’t reproduce this, do you use the current beta on your system? 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] \startpagefigure[]\stoppagefigure enlarges page by 1 mm
Hello, BTW: You can use \pagefigure[] instead of \startpagefigure[]\stoppagefigure. Wolfgang it seems \placefigure adds some extra space around, too. Should this be corrected, too? See my example... Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t.mkiv Description: Binary data t.pdf Description: Adobe PDF document t2.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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Attach source to pdf
> Is there a way to automatically attach the source file to the produced pdf? \setupinteraction [state=start] \starttext \attachment[file=attachfile.tex, title=Some file, author=Me] \stoptext Ok. It works, thank you. ___ 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] Attach source to pdf
On 2013–03–28 pol stra wrote: > Is there a way to automatically attach the source file to the produced pdf? \setupinteraction [state=start] \starttext \attachment[file=attachfile.tex, title=Some file, author=Me] \stoptext signature.asc Description: Digital signature ___ 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] Attach source to pdf
Hello, Is there a way to automatically attach the source file to the produced pdf? Thanks ___ 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 ___