Re: [NTG-context] Problem with metapost textbackgrounds on Windows
There seems to be a typo in anch-pgr.mkII which prevents textbackgrounds from working: line 654 '\enableparposition' should probably read '\enableparpositions'. If you copy the following lines into your environment it should work: \def\initializeparbackgrounds {\ifcase\totalnofparbackgrounds\else \enableparpositions \fi} Regards Thomas From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Kevin D. Robbins Sent: Tuesday, August 04, 2009 8:03 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Problem with metapost textbackgrounds on Windows Thanks, Mojca. Also, a further bit of investigation on Windows shows that building the example (saved in foo.tex) with context foo.tex or texexec --lua foo.tex produces the results I reported. But, building without lua using texexec foo.tex gives a different error but does produce the expected gray background behind the \startC ... \stopC block. Here is the error when building with texexec foo.tex: ! Undefined control sequence. \initializeparbackgrounds ...e \enableparposition \fi inserted text ...page \initializeparbackgrounds \loadctxpreplist \checkref... \doateverystarttext -\the \everystarttext \global \everystarttext \emptytoks \starttext -\doateverystarttext \ifcase \textlevel \registerfileinfo [begin... l.36 \starttext Continuing the run just by hitting enter completes the build with the correct background drawn. Kevin On Tue, Aug 4, 2009 at 11:48 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Tue, Aug 4, 2009 at 19:18, Kevin D. Robbins wrote: Hello all, In the example below, I mean for a gray box with rounded corners to be placed behind \startC ... \stopC blocks. This example compiles properly on Linux with the latest ConTeXt beta and LuaTeX synced from the minimals just minutes ago. On Windows, also updated from minimals this morning, I get the following error and no text background: I'll try to make sure what LuaTeX version is used on Windows. At the time of synchronisation there was no luatex snapshot yet and it the meantime server name has been changed. (Nobody has complained so far, so I almost forgot about it.) 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] using overprint results in broken PDF
luigi scarso wrote: It doesn't work with luatex trunk 3008 Trunk #3009 should be runnable again. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] using overprint results in broken PDF
On Mon, Aug 17, 2009 at 09:57:40AM +0200, Taco Hoekwater wrote: luigi scarso wrote: It doesn't work with luatex trunk 3008 Trunk #3009 should be runnable again. I got the same broken PDF with trunk, so I don't think it is related to the engine. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with metapost textbackgrounds on Windows
Thomas Floeren wrote: There seems to be a typo in anch-pgr.mkII which prevents textbackgrounds from working: line 654 '\enableparposition' should probably read '\enableparpositions'. If you copy the following lines into your environment it should work: \def\initializeparbackgrounds {\ifcase\totalnofparbackgrounds\else \enableparpositions \fi} ok, i'll fix this; it means that we'll have a new current later (as it's needed for tex live) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fwd: [tex-fonts] IrianisADFMath font
It might be a silly question, but I would have expected: \definetypeface [irianis] [ss] [sans] [modern] [default] instead of \definetypeface [irianis] [ss] [modern] [modern] [default] Please tell me why, it will help me to understand these typescripts better than I do at the moment. Hans van der Meer On 16 aug 2009, at 16:31, Wolfgang Schuster wrote: Hi all, the following mail was send to the tex-fonts list a few minutes ago, all people who are interested to test the font can download it from http://arkandis.tuxfamily.org/tugfonts.htm To prevent you from writing your own typescripts you can use my test code: \starttypescript [math] [irianis] [name] \definefontsynonym [MathRoman] [name:irianisadfmathregular] [features=math] \stoptypescript \starttypescript [serif] [irianis] [name] \setups[font:fallback:serif] \definefontsynonym [Serif] [name:irianisadfmathregular] [features=default] \stoptypescript \starttypescript [irianis] \definetypeface [irianis] [rm] [serif] [irianis] [default] \definetypeface [irianis] [ss] [modern] [modern] [default] \definetypeface [irianis] [tt] [mono] [modern] [default] \definetypeface [irianis] [mm] [math] [irianis] [default] \stoptypescript \usetypescript[irianis] \setupbodyfont[irianis] \starttext some text and math \startformula c^2 = a^2 + b^2 \stopformula \stoptext Wolfgang Von: Hirwen HARENDAL harend...@hotmail.com Datum: 16. August 2009 15:52:30 MESZ An: ML tex-fonts tex-fo...@math.utah.edu Betreff: [tex-fonts] IrianisADFMath font Hi to all First, thanks for all Emails sent off list, and more especialy to Karl BERRY. I hope that your document was very useful. Irianis ADF Math is now available for download, see release note. The regular version is an addition for the Irianis ADF collection, in order to offer math old style design. This is for now a test version, and bracebig etc. aren't including in the font and in the MATH table variantes too. Regards Hirwen Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !___ tex-fonts mailing list tex-fo...@math.utah.edu http://mail.math.utah.edu/mailman/listinfo/tex-fonts ___ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Integration limits with Cambria Math
Hi, While the space after the inlined subscripts does look excessive, it faithfully matches the font's MATH table: the integrals in cambria math have a massive italic correction even though they fit in their bounding boxes quite nicely. Maybe Word has a workaround for that, but at first glance it looks to me like there is nothing we can do except complain to Microsoft. Best wishes, Taco Aditya Mahajan wrote: On Sun, 16 Aug 2009, Michail Vidiassov wrote: Dear Taco, On Sun, 16 Aug 2009, Taco Hoekwater wrote: I get too much space between the integral sign and limits of integration. Is it a bug? Are there fixes/workarounds? Do you recall whether this was ok earlier? I did not use integral with limits before, I am new in ConTeXt land. I think that the space is also excessive with context version 2009.07.17 and luatex -0.42.0-2009071807 I am attaching the output of \usetypescript[cambria] \setupbodyfont[cambria] \starttext \startTEXpage $\displaystyle \int_a^b \int\limits_a^b$ \stopTEXpage \stoptext Aditya ___ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] using overprint results in broken PDF
Khaled Hosny wrote: \setupcolors[overprint=yes] \starttext Hello \TeX. \stoptext hopefully fixed in beta Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Integration limits with Cambria Math
Dear All, On Mon, 17 Aug 2009, Taco Hoekwater wrote: While the space after the inlined subscripts does look excessive, it faithfully matches the font's MATH table: the integrals in cambria math have a massive italic correction even though they fit in their bounding boxes quite nicely. Maybe Word has a workaround for that, but at first glance it looks to me like there is nothing we can do except complain to Microsoft. We as the developers, who do not consider non-general solutions, or we as end-users, who can use non-kosher tricks and workarounds (negative kerns and the like) to suit their limited private needs? BTW, is there an ear in Microsoft open to such complaints? Sincerely, Michail I get too much space between the integral sign and limits of integration. Is it a bug? Are there fixes/workarounds? I think that the space is also excessive with context version 2009.07.17 and luatex -0.42.0-2009071807 I am attaching the output of \usetypescript[cambria] \setupbodyfont[cambria] \starttext \startTEXpage $\displaystyle \int_a^b \int\limits_a^b$ \stopTEXpage \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Integration limits with Cambria Math
Michail Vidiassov wrote: We as the developers, who do not consider non-general solutions, or we as end-users, who can use non-kosher tricks and workarounds (negative kerns and the like) to suit their limited private needs? in principle we can patch a font runtime in mkiv as there is a mechanism for that but before we do so, we need to collect bugs and kep track of fixed as well BTW, is there an ear in Microsoft open to such complaints? that's why Ulrik is in the cc, as he investigated otf math and cambria in-depth and is best qualified to tell us what to do cq. act as liason with microsoft (a few years ago we had a nice evening-cabine-session at bachotek where we looked at how ms word does math, which is quite impressive btw) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] some (older) problems
Hi, on 2009-06-18 there was a mail on the list with a collection of mkIV problems, a big part related to references and captions. (original text below) I just did a quick re-check with the actual minimals and lua, with the following result: Problems 2), 3) and b) are gone, problems 1), 4), 5), a) and c) are still there. I'm not sure if the remaining problems are due to bugs or rather a result of my poor comprehension of certain changes/new things in the mkIV code (especially c). Any help would be appreciated. Thomas This is LuaTeX, Version beta-0.42.0-2009081521 ConTeXt ver: 2009.08.16 18:21 MKIV fmt: 2009.8.17 int: english/english ---Original text: Author: Thomas Floeren Date: 2009-06-18 22:17 +200 To: mailing list for ConTeXt users Subject: Re: [NTG-context] Lots of problems in mkiv 2009/6/18, richard.steph...@??? richard.steph...@???: I've recently started using mkiv because of the fonts, but I have found lots of things that don't work. The trouble is, I don't know if it's just me, or whether I need to go back to mkii until things settle down. Can someone, PLEASE, tell me if they get any of the following problems with mkiv (I've included code snippets): Everything below works perfectly in mkii. 1) References to equations appear as '??' in the final document \placeformula[eq:pythag] \startformula a^2 = b^2 + c^2 \stopformula Pythagoras proposed \in{equation}[eq:pythag]. 2) References to footnotes appear as '??' inside \startlocalfootnotes...\stoplocalfootnotes \startlocalfootnotes This has a note.\footnote[fn]{Footnote.} See note \note[fn]. \stoplocalfootnotes 3) References to sections are repeated (e.g. reference to section 1 appears as '11' or ref to section 1.1 appears as '1.11.1') \section[sec:one]{Section one} It was in \in{section}[sec:one]. 4) \digits command falls over at periods or commas with \textfont1 is undefined (character 58). \digits{1.6} 5) \infull command does not work for abbreviations: falls over with Missing } inserted. \abbreviation {KF} {Kalman filter} Rudolph Kalman invented the \infull{KF}. Please help!! Richard Same thing here with 1,3,4,5. 2 works fine. I've noticed also 3 problems since I switched to MKIV: a) Floatcaptions are no longer placed: \externalfigure[dummy] \placefloatcaption[figure]{blabla} b) \start...\stopregister results in an error: hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no] c) I'm not able to build caption numbers with the chapter number as prefix: I want for example Fig. 2.6 where 2 is the chapter number and 6 the figure number by chapter. I tried all the options I found for setupcaptions (at least I think so), but I dont get the chapter number in the caption. LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.6.18 Thanks in advance for any hint Greetings Tom ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fwd: [tex-fonts] IrianisADFMath font
Am 17.08.2009 um 11:03 schrieb Hans van der Meer: It might be a silly question, but I would have expected: \definetypeface [irianis] [ss] [sans] [modern] [default] instead of \definetypeface [irianis] [ss] [modern] [modern] [default] Please tell me why, it will help me to understand these typescripts better than I do at the moment. it's a typo, the third argument has to be 'sans' 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] math typesetting problem in MKIV
Hi, I have a small equation I am attempting to typeset. Using MKII it comes out fine, but under MKIV the text non-perf. bal. is not typeset correctly (non-perf is instead nonperf with the dash under the 'p', and extra space appears after 'bal.') \starttext \math{\text{adjusted smm}={{(\text{vTr}+\alpha\times\text{sTr})\times(\text{perf. scheduled bal.})+\text{iTr}\times(\text{non||perf. bal.})}\over\text{balance}}} \stoptext I just updated minimals to ConTeXt 2009.08.17 10:43 and LuaTeX beta-0.42.0-2009071723 and still see the issue. Thanks, Brian ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help:Your luatex binary is way too old
On Mon, Aug 17, 2009 at 3:31 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sun, Aug 16, 2009 at 23:50, Hans Hagen wrote: for some time the minimals have too old versions; can it be that akira ships the tex live release and has the latest luatex in another place? Oh, I remember now ... Akira's site says: luatex-w32.tar.bz2 LuaTeX (beta-0.40.6) -- available after 2009/08/14 JST (I knew about it and forgot to check again; I blindly assumed that the stable version on his server was OK. It probably worked in the first few days as I replaced stable with dev, but apparently I replaced it back to stable after a while without checking.) You may try to update again. Updated, Now I get a different error: ——— {c:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}Assertion failed: pdf-o_m ode == OMODE_PDF, file pdf/pdfgen.c, line 188 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. MTXrun | fatal error, return code: 3 ——— Regards, Derek ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Help:Your luatex binary is way too old
Derek CORDEIRO wrote: On Mon, Aug 17, 2009 at 3:31 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sun, Aug 16, 2009 at 23:50, Hans Hagen wrote: for some time the minimals have too old versions; can it be that akira ships the tex live release and has the latest luatex in another place? Oh, I remember now ... Akira's site says: luatex-w32.tar.bz2 LuaTeX (beta-0.40.6) -- available after 2009/08/14 JST (I knew about it and forgot to check again; I blindly assumed that the stable version on his server was OK. It probably worked in the first few days as I replaced stable with dev, but apparently I replaced it back to stable after a while without checking.) You may try to update again. Updated, Now I get a different error: ——— {c:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}Assertion failed: pdf-o_m ode == OMODE_PDF, file pdf/pdfgen.c, line 188 that's a bug in the binary ... the code is already fixed so you can expect an update of the binary any time Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
Am 16.08.2009 um 22:37 schrieb Wolfgang Werners-Lucchini: But what is wrong with my code? Why does it not work? Take a look at the log file when the font is read. load afm | reading /Users/wolf/context/tex/texmf/fonts/afm/public/wasy/ wasy10.afm load afm | unifying /Users/wolf/context/tex/texmf/fonts/afm/public/ wasy/wasy10.afm afm glyph | assigning private slot U+F for unknown glyph name AC afm glyph | assigning private slot U+F0001 for unknown glyph name kreuz ... afm glyph | assigning private slot U+F0016 for unknown glyph name saturn ... ConTeXt tries to load the 'saturn' symbol as char89 but LuaTeX stores it at positon F0016. \starttext {\definedfont[file:wasy10]\charF0016} \stoptext @Hans/Taco: Is this expected for symbol fonts and how should take care of this. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
On Mon, 17 Aug 2009, Wolfgang Schuster wrote: Am 16.08.2009 um 22:37 schrieb Wolfgang Werners-Lucchini: But what is wrong with my code? Why does it not work? Take a look at the log file when the font is read. load afm | reading /Users/wolf/context/tex/texmf/fonts/afm/public/wasy/wasy10.afm load afm | unifying /Users/wolf/context/tex/texmf/fonts/afm/public/wasy/wasy10.afm afm glyph | assigning private slot U+F for unknown glyph name AC afm glyph | assigning private slot U+F0001 for unknown glyph name kreuz ... afm glyph | assigning private slot U+F0016 for unknown glyph name saturn ... ConTeXt tries to load the 'saturn' symbol as char89 but LuaTeX stores it at positon F0016. \starttext {\definedfont[file:wasy10]\charF0016} \stoptext @Hans/Taco: Is this expected for symbol fonts and how should take care of this. Maybe we can use the same trick that is used in math fonts (force tfm font) \usesymbols[was] \setupsymbolset [wasy astronomy] \definefontsynonym [WaldiSymbol] [wasy10.tfm] \definefontsynonym [WaldiSymbolBold] [wasyb10.tfm] \def\Sat{\symbol[saturn]} \starttext \Sat \stoptext So, symb-was can be changed accordingly. Aditya ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
Am 17.08.2009 um 17:05 schrieb Aditya Mahajan: @Hans/Taco: Is this expected for symbol fonts and how should take care of this. Maybe we can use the same trick that is used in math fonts (force tfm font) It's a solution for the available symbols what do you want to do when you want to use a private symbol font where you don't have tfm files (type1, TT ... only)? 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
On Mon, Aug 17, 2009 at 5:19 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 17.08.2009 um 17:05 schrieb Aditya Mahajan: @Hans/Taco: Is this expected for symbol fonts and how should take care of this. Maybe we can use the same trick that is used in math fonts (force tfm font) It's a solution for the available symbols what do you want to do when you want to use a private symbol font where you don't have tfm files (type1, TT ... only)? Wolfgang What about this ToUnicode Mapping File Tutorial, Adobe Technical Note #5411, 2001-04-12, http://partners.adobe.com/asn/developer/pdfs/tn/5411.ToUnicode.pdf -- luigi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Integration limits with Cambria Math
Hi, Taco Hoekwater wrote: Hi, While the space after the inlined subscripts does look excessive, it faithfully matches the font's MATH table: the integrals in cambria math have a massive italic correction even though they fit in their bounding boxes quite nicely. Ok, Ulrik sent me a Word screenshot, and it turns out that we are (apparently) supposed to ignore the italic correction when a symbol is used in 'mathematical contexts' as it is here (as opposed to 'textual contexts', both of which terms are yet-to-be-defined). Finding a proper solution to this problem will not be easy. TeX82 solves the spacing problems by having math fonts (recognisable by the lack of a space-width font dimension) as well as text fonts (that do have a space-width dimension), but that split does not exist in OpenType Math (as there is only one font). Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] hdotsfor replacement
Dear Aditya and All, On Sun, 16 Aug 2009, Aditya Mahajan wrote: is there a replacement of hdotsfor from LaTeX to fill several cells in a matrix row with one long series of dots? Not that I know of. Currently, you can manually do this using TeX primitives. \startformula \startmathmatrix \NC a \NC b \NC c \NR \NC \spanomit\spanomit{\dotfill} \NR \NC e \NC d \NC adlsadjsak \NR \stopmathmatrix \startmathmatrix \NC a \NC b \NC c \NR \NC 45 \NC \omit\spanomit{\dotfill} \NR \NC e \NC d \NC adlsadjsak \NR \stopmathmatrix \stopformula \multispan{num}{\dotfill} may be an alternative for \omit\spanomit\spanomit\..., but half of the white space separating columns has to be added before dots in any case. How to do get that amount? In the above examples dots appear to be shifted to the left from the desired position. Sincerely, Michail ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] math typesetting problem in MKIV
Brian R. Landy wrote: Hi, I have a small equation I am attempting to typeset. Using MKII it comes out fine, but under MKIV the text non-perf. bal. is not typeset correctly (non-perf is instead nonperf with the dash under the 'p', and extra space appears after 'bal.') \starttext \math{\text{adjusted smm}={{(\text{vTr}+\alpha\times\text{sTr})\times(\text{perf. scheduled bal.})+\text{iTr}\times(\text{non||perf. bal.})}\over\text{balance}}} \stoptext It could be an engine problem in the handling of \mathchoice, I am checking it out. A slightly smaller erroneous file is: \starttext \math {(\text{non\discretionary{-}{}{-}perf.})\over1} \stoptext more later. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] some (older) problems
Thomas Floeren wrote: a) Floatcaptions are no longer placed: \externalfigure[dummy] \placefloatcaption[figure]{blabla} i didn't yet rewrite that bit of code b) \start...\stopregister results in an error: hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no] works ok in current version/beta c) I'm not able to build caption numbers with the chapter number as prefix: I want for example Fig. 2.6 where 2 is the chapter number and 6 the figure number by chapter. I tried all the options I found for setupcaptions (at least I think so), but I dont get the chapter number in the caption. LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.6.18 can you try the latest version Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] math typesetting problem in MKIV
Hi, Taco Hoekwater wrote: Brian R. Landy wrote: Hi, I have a small equation I am attempting to typeset. Using MKII it comes out fine, but under MKIV the text non-perf. bal. is not typeset correctly (non-perf is instead nonperf with the dash under the 'p', and extra space appears after 'bal.') It could be an engine problem in the handling of \mathchoice, I am checking it out. A slightly smaller erroneous file is: \starttext \math {(\text{non\discretionary{-}{}{-}perf.})\over1} \stoptext more later. Properly fixing this could take me a while, so let me propose a workaround for the time being. Add this to your preamble and you should have proper output again: \unexpanded\def\mathchoice#1#2#3#4% {{\ifcase\mathstyle #1\or#1\or#2\or#2\or#3\or#3\or#4\or#4\fi }} Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Can I use pdftex and texexec with latest download.
Been away from Context for a while so please bear with me. I just downloaded context-minimal to my home directory using the sh ./first-setup.sh script. I want to use pdftex primarily and now and then regular Context with texexec. I note that the download has references to luatex however, which I don't need/don't want to fool with. Is this download OK for my purposes or must I use another download method? -- John Culleton Create Book Covers with Scribus/e-book $5.95 http://www.booklocker.com/books/4055.html ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can I use pdftex and texexec with latest download.
On Mon, 17 Aug 2009, John Culleton wrote: Been away from Context for a while so please bear with me. I just downloaded context-minimal to my home directory using the sh ./first-setup.sh script. I want to use pdftex primarily and now and then regular Context with texexec. I note that the download has references to luatex however, which I don't need/don't want to fool with. Is this download OK for my purposes or must I use another download method? Yes, simply source setuptex script and then texexec should work fine. Aditya ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Different prefixes for heads and references
Hi, How do I get different prefixes for heads and numbers. For example, I want %- \section {One} \subsection[sec:test]{Two} See \in[sec:test] % to give %-- I One A) Two See I-A. % I tried playing around conversionsets, prefixsets, etc. but could not figure out how to do this. Is something like this possible with the new structure code? Aditya ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
Hallo Wolfgang, But what is wrong with my code? Why does it not work? Take a look at the log file when the font is read. load afm | reading /Users/wolf/context/tex/texmf/fonts/afm/public/wasy/ wasy10.afm load afm | unifying /Users/wolf/context/tex/texmf/fonts/afm/public/ wasy/wasy10.afm afm glyph | assigning private slot U+F for unknown glyph name AC afm glyph | assigning private slot U+F0001 for unknown glyph name kreuz ... afm glyph | assigning private slot U+F0016 for unknown glyph name saturn ... I can not find such lines in the log file. Do you have some special switches? 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] astronomy symbols
Am 18.08.2009 um 00:57 schrieb Wolfgang Werners-Lucchini: I can not find such lines in the log file. Do you have some special switches? delete the tma/tmc files for wasy10 from the luatex cache, the reside on my system under the path /Users/wolf/context/tex/texmf-cache/luatex-cache/context/ 46c13158bccb5568241ff6155d945959/fonts/afm 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Luatex cache problems with current beta
Hi Hans , Hi all, with the latest beta only luatools --generate generates cachefiles for the trees. context --generate gives: C:\contextminimalcontext --generate context --generate MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Since some days ago I have two luatex-cache folders, one under c:\Temp and one under c:\contextminimal\texmf-cache. That's why I deleted both at the last ConTeXt update today. setuptex.bat sets TEXMFCACHE to c:\contextminimal\texmf-cache. It seems, that luatools writes the cachfiles to the right directory, but context tries to read from c:\Temp\luatex-cache, which not exists. Greetings Lutz ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___