Re: [NTG-context] cannot update latest beta
On 12/23/2013 01:05 AM, Mojca Miklavec wrote: > On Mon, Dec 23, 2013 at 12:07 AM, Mojca Miklavec wrote: >> On Sun, Dec 22, 2013 at 9:40 PM, Pablo Rodriguez wrote: >>> Dear list, >>> >>> I have just tried to update ConTeXt to latest beta (as many times >>> before) with "rsync -ptv >>> rsync://contextgarden.net/minimals/setup/first-setup.sh ." and I got the >>> following error message: >>> >>> rsync: failed to connect to contextgarden.net (193.2.4.200): No route to >>> host (113) >>> rsync error: error in socket IO (code 10) at clientserver.c(128) >>> [Receiver=3.1.0pre1] >>> >>> Is anyone experiencing the same error? >> >> The admin is doing some major software upgrade and the machine is down >> at the moment. (He told me he would do it sometime soon, but he didn't >> mention when.) >> >> I'm sorry for the inconvenience. I wasn't aware of the upgrade either >> until you asked, but I hope that it won't take too long. > > The machine is up again. Mojca, many thanks your fast replies and your work. I have just updated ConTeXt. Many thanks again, 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] (critical edition) notes alphabetically sorted
On 12/22/2013 10:37 PM, Hans Hagen wrote: > On 12/22/2013 10:22 PM, Pablo Rodriguez wrote: >> Hi Thomas, Luigi and Hans, >> >> I’m aware that this isn’t exactly a feature for critical editions, but >> this is a useful feature for educational material. >> [...] >> Having these notes alphabetically ordered would be extremely useful for >> language teaching- > > we'll add it to the wishlist but it's not that trivial (i can think of > some trickery that works in well defined cases, but it should not mess > up the code too much) .. something longer term Many thanks for taking it into consideration, Hans. 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] cannot update latest beta
On Mon, Dec 23, 2013 at 12:07 AM, Mojca Miklavec wrote: > On Sun, Dec 22, 2013 at 9:40 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have just tried to update ConTeXt to latest beta (as many times >> before) with "rsync -ptv >> rsync://contextgarden.net/minimals/setup/first-setup.sh ." and I got the >> following error message: >> >> rsync: failed to connect to contextgarden.net (193.2.4.200): No route to >> host (113) >> rsync error: error in socket IO (code 10) at clientserver.c(128) >> [Receiver=3.1.0pre1] >> >> Is anyone experiencing the same error? > > The admin is doing some major software upgrade and the machine is down > at the moment. (He told me he would do it sometime soon, but he didn't > mention when.) > > I'm sorry for the inconvenience. I wasn't aware of the upgrade either > until you asked, but I hope that it won't take too long. The machine is up again. 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] cannot update latest beta
On Sun, Dec 22, 2013 at 9:40 PM, Pablo Rodriguez wrote: > Dear list, > > I have just tried to update ConTeXt to latest beta (as many times > before) with "rsync -ptv > rsync://contextgarden.net/minimals/setup/first-setup.sh ." and I got the > following error message: > > rsync: failed to connect to contextgarden.net (193.2.4.200): No route to > host (113) > rsync error: error in socket IO (code 10) at clientserver.c(128) > [Receiver=3.1.0pre1] > > Is anyone experiencing the same error? The admin is doing some major software upgrade and the machine is down at the moment. (He told me he would do it sometime soon, but he didn't mention when.) I'm sorry for the inconvenience. I wasn't aware of the upgrade either until you asked, but I hope that it won't take too long. There are two mirrors, I only need to find the address. (Taco's server had some issues with rsync in the last few days, but there must be Hans' mirror available as well.) 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] (critical edition) notes alphabetically sorted
On 12/22/2013 10:22 PM, Pablo Rodriguez wrote: Hi Thomas, Luigi and Hans, I’m aware that this isn’t exactly a feature for critical editions, but this is a useful feature for educational material. This is a minimal sample: \mainlanguage[en] \setuplanguage[en][patterns={en,agr}] \setuppapersize[A5] \usemodule[simplefonts] \setmainfont[DejaVu Serif] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetween=\hskip1.5em] \setupnotation[dict][number=no] \starttext Πρῶτον δεῖ θέσθαι τί ὄνομα\dict{ὄνομα, -ατος, τό: noun} καὶ τί ῥῆμα\dict{ῥῆμα, -ατος, τό: verb}, ἔπειτα τί ἐστιν ἀπόφασις\dict{ἀπόφασις, -εως, ἡ: negation} καὶ κατάφασις\dict{κατάφασις, εως, ἡ: affirmation} καὶ ἀπόφανσις\dict{ἀπόφανσις, -εως, ἡ: statement} καὶ λόγος. \stoptext Having these notes alphabetically ordered would be extremely useful for language teaching- we'll add it to the wishlist but it's not that trivial (i can think of some trickery that works in well defined cases, but it should not mess up the code too much) .. something longer term 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] (critical edition) notes alphabetically sorted
Hi Thomas, Luigi and Hans, I’m aware that this isn’t exactly a feature for critical editions, but this is a useful feature for educational material. This is a minimal sample: \mainlanguage[en] \setuplanguage[en][patterns={en,agr}] \setuppapersize[A5] \usemodule[simplefonts] \setmainfont[DejaVu Serif] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetween=\hskip1.5em] \setupnotation[dict][number=no] \starttext Πρῶτον δεῖ θέσθαι τί ὄνομα\dict{ὄνομα, -ατος, τό: noun} καὶ τί ῥῆμα\dict{ῥῆμα, -ατος, τό: verb}, ἔπειτα τί ἐστιν ἀπόφασις\dict{ἀπόφασις, -εως, ἡ: negation} καὶ κατάφασις\dict{κατάφασις, εως, ἡ: affirmation} καὶ ἀπόφανσις\dict{ἀπόφανσις, -εως, ἡ: statement} καὶ λόγος. \stoptext Having these notes alphabetically ordered would be extremely useful for language teaching- 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 ___
[NTG-context] cannot update latest beta
Dear list, I have just tried to update ConTeXt to latest beta (as many times before) with "rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh ." and I got the following error message: rsync: failed to connect to contextgarden.net (193.2.4.200): No route to host (113) rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.0pre1] Is anyone experiencing the same error? 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] Request for metapost
On 12/22/2013 3:57 PM, Hans Hagen wrote: On 12/21/2013 12:50 PM, DesdeChaves wrote: I know that metapost can send the variables "version", "number", "string", "point", "quad", "boolean" and "path" to Context. "triplet" variable can't pass. It will be very usefull if metapost can send a array to context. \startMPcode numeric x[]; for i = 1 upto 10: x[i]:=random; endfor passvariable("array",x); passvariable("version","1.0") ; passvariable("number",x[1]) ; passvariable("string","whatever") ; passvariable("point",(1,2)) ; passvariable("triplet",(1,2,3)) ; passvariable("quad",(1,2,3,4)) ; passvariable("boolean",false) ; passvariable("path",fullcircle scaled 1cm) ; \stopMPcode \ctxluacode{inspect(metapost.variables)} \ctxcommand{mprunvar("array")} Thanks in advance that's less trivial (as automatism) so i provide passarrayvariable now (next beta) ... of course the next request would concern complex arrays so i also made a more low level flusher \starttext \startMPcode numeric n[] ; for i=1 upto 10: n[i] := i + 1 ; endfor ; pathp[] ; for i=1 upto 10: p[i] := fullcircle scaled (i*cm) ; endfor ; numeric n[][] ; for i=1,4 : for j=1,3 : n[i][j] = uniformdeviate(1) ; endfor ; endfor ; passvariable("x",12345) ; passarrayvariable("n-array",n,1,7,1) ; passarrayvariable("p-array",p,1,7,1) ; passvariable("p",(1,1) .. (2,2)) ; % watch out: no ; in between startpassingvariable("b") startarray for i=1,4 : startarray for j=1,3 : value(n[i][j]) endfor stoparray endfor stoparray stoppassingvariable ; startpassingvariable("a") starthash key("test1") startarray value(123) value(456) stoparray key("test2") starthash key("test") value(789) stophash stophash stoppassingvariable ; draw fullcircle scaled 1cm ; \stopMPcode \ctxluacode{inspect(metapost.variables)} \ctxcommand{mprunvar("x")} \stoptext \starttext % \enabletrackers[metapost.variables] \startMPcode numeric n[] ; for i=1 upto 10: n[i] := 1/i ; endfor ; pathp[] ; for i=1 upto 10: p[i] := fullcircle xyscaled (cm*i,cm/i) ; endfor ; numeric r[][] ; for i=1 upto 4 : for j=1 upto 3 : r[i][j] := uniformdeviate(1) ; endfor ; endfor ; pairu[][] ; for i=1 step 0.5 until 4 : for j=1 step 0.1 until 2 : u[i][j] := (i,j) ; endfor ; endfor ; passvariable("x",12345) ; passarrayvariable("n-array",n,1,7,1) ; passarrayvariable("p-array",p,1,7,1) ; passvariable("p",(1,1) .. (2,2)) ; startpassingvariable("b") startarray for i=1 upto 4 : startarray for j=1 upto 3 : value(r[i][j]) endfor stoparray endfor stoparray stoppassingvariable ; startpassingvariable("a") starthash key("test 1") startarray value(123) value(456) stoparray key("test 2") startarray index(0) value(123) value(456) value(789) slot(999,987) stoparray key("test 3") starthash key("first") value(789) entry("second",987) stophash stophash stoppassingvariable ; startpassingvariable("c") startarray for i=1 step 0.5 until 4 : index(i) startarray for j=1 step 0.1 until 2 : slot(j,u[i][j]) endfor stoparray endfor stoparray stoppassingvariable ; draw fullcircle scaled 1cm ; \stopMPcode \ctxluacode{inspect(metapost.variables)} \ctxcommand{mprunvar("x")} \stoptext - 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
Re: [NTG-context] doublestroke
There it is: how beautiful. Many thanks, Chris On Sun, Dec 22, 2013 at 6:23 PM, Wolfgang Schuster wrote: > > Am 22.12.2013 um 18:06 schrieb Elspeth McGullicuddy > : > >> Seeing the code wasn't producing the expected result I did two change >> in one go, without clearly noticing it: my mistake. >> >> The script as it is, with or without the force, keep drawing the >> blackboard glyphs with Latin Modern Math. I put the script again so >> that there is no ambiguity: >> >> \definefontfamily [mainface] [rm] [Latin Modern Roman] >> >> \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] >> [range=uppercasedoublestruck,force=yes] > > \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] > [range={uppercasedoublestruck,letterlikesymbols}] > > 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 > ___ ___ 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] doublestroke
Am 22.12.2013 um 18:06 schrieb Elspeth McGullicuddy : > Seeing the code wasn't producing the expected result I did two change > in one go, without clearly noticing it: my mistake. > > The script as it is, with or without the force, keep drawing the > blackboard glyphs with Latin Modern Math. I put the script again so > that there is no ambiguity: > > \definefontfamily [mainface] [rm] [Latin Modern Roman] > > \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] > [range=uppercasedoublestruck,force=yes] \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] [range={uppercasedoublestruck,letterlikesymbols}] 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] doublestroke
Seeing the code wasn't producing the expected result I did two change in one go, without clearly noticing it: my mistake. The script as it is, with or without the force, keep drawing the blackboard glyphs with Latin Modern Math. I put the script again so that there is no ambiguity: \definefontfamily [mainface] [rm] [Latin Modern Roman] \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] [range=uppercasedoublestruck,force=yes] %\definefontfamily [mainface] [mm] [TeX Gyre Termes Math] \definefontfamily [mainface] [mm] [Latin Modern Math] \setupbodyfont[mainface] \starttext \startformula ABC \quad {\blackboard ABCN} \char"2115 % still Latin Modern Math \stopformula \stoptext Chris On Sun, Dec 22, 2013 at 5:40 PM, Wolfgang Schuster wrote: > > Am 22.12.2013 um 17:33 schrieb Elspeth McGullicuddy > : > >> I've done the install with the script and it worked just out of the box. >> >> I've found all the sources I was looking for (pity (or not), they are >> not indexed by google). >> >> I've made this tiny change to have the behavior I was looking for: >> >> \definefontfamily [mainface] [rm] [Latin Modern Roman] >> >> \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] >> [range=uppercasedoublestruck] [force=no] > > The “range” and “force” settings have to be set in the same argument and even > then I don’t think > you want “force=no” because this would take the glyphs from Latin Modern and > your fallback > font is ignored. > > The purpose of the “force” and “check” keys is explained in the source for > the fallback mechanism: > > % check : only replace when present in replacement font (default: no) > % force : force replacent even when basefont has glyph (default: yes) > > 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 > ___ ___ 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] doublestroke
Am 22.12.2013 um 17:33 schrieb Elspeth McGullicuddy : > I've done the install with the script and it worked just out of the box. > > I've found all the sources I was looking for (pity (or not), they are > not indexed by google). > > I've made this tiny change to have the behavior I was looking for: > > \definefontfamily [mainface] [rm] [Latin Modern Roman] > > \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] > [range=uppercasedoublestruck] [force=no] The “range” and “force” settings have to be set in the same argument and even then I don’t think you want “force=no” because this would take the glyphs from Latin Modern and your fallback font is ignored. The purpose of the “force” and “check” keys is explained in the source for the fallback mechanism: % check : only replace when present in replacement font (default: no) % force : force replacent even when basefont has glyph (default: yes) 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] doublestroke
I've done the install with the script and it worked just out of the box. I've found all the sources I was looking for (pity (or not), they are not indexed by google). I've made this tiny change to have the behavior I was looking for: \definefontfamily [mainface] [rm] [Latin Modern Roman] \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] [range=uppercasedoublestruck] [force=no] \definefontfamily [mainface] [mm] [TeX Gyre Termes Math] \setupbodyfont[mainface] \starttext \startformula ABC \quad {\blackboard ABC} \stopformula \stoptext Very grateful for this example without which it'd took me ages to get there. (or more likely not to.) Chris On Sun, Dec 22, 2013 at 4:49 PM, Wolfgang Schuster wrote: > > Am 22.12.2013 um 16:23 schrieb Elspeth McGullicuddy > : > >> So far I've failed to find the sources. >> >> The only place I've found recent enough sources is there: >> http://minimals.metatex.org/current/context/experimental/tex/context/base/math-act.lua >> >> But the link isn't working. >> >> All the other sources I've found do not contain the relevant parts >> (not up to date). >> >> Could you tell me +where+ I could find them. > > - > http://wiki.contextgarden.net/ConTeXt_Standalone#Unix-like_platforms_.28Linux.2FMacOS_X.2FFreeBSD.2FSolaris.29 > - http://standalone.contextgarden.net > - https://code.launchpad.net/~reviczky/context-beta/debian-context > > 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 > ___ ___ 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] doublestroke
Am 22.12.2013 um 16:23 schrieb Elspeth McGullicuddy : > So far I've failed to find the sources. > > The only place I've found recent enough sources is there: > http://minimals.metatex.org/current/context/experimental/tex/context/base/math-act.lua > > But the link isn't working. > > All the other sources I've found do not contain the relevant parts > (not up to date). > > Could you tell me +where+ I could find them. - http://wiki.contextgarden.net/ConTeXt_Standalone#Unix-like_platforms_.28Linux.2FMacOS_X.2FFreeBSD.2FSolaris.29 - http://standalone.contextgarden.net - https://code.launchpad.net/~reviczky/context-beta/debian-context 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] doublestroke
So far I've failed to find the sources. The only place I've found recent enough sources is there: http://minimals.metatex.org/current/context/experimental/tex/context/base/math-act.lua But the link isn't working. All the other sources I've found do not contain the relevant parts (not up to date). Could you tell me +where+ I could find them. I've downloaded this: rsync -rpztlv --stats contextgarden.net::'minimals/beta/base/tex/ minimals/beta/base/metapost/ minimals/beta/base/xetex/ minimals/beta/misc/web2c' texmf rsync -rpztlv --stats contextgarden.net::'minimals/beta/context/current/ minimals/beta/context/img/ minimals/beta/context/config/' texmf-context rsync -rpztlv --stats contextgarden.net::'minimals/beta/fonts/new/ minimals/beta/fonts/common/ minimals/beta/fonts/other/ minimals/beta/fonts/old/' texmf-fonts rsync -rpztlv --stats contextgarden.net::minimals/beta/misc/setuptex/ . rsync -rpztlv --stats contextgarden.net::'minimals/beta/modules/f-urwgaramond/ minimals/beta/modules/t-bnf/ minimals/beta/modules/…/' texmf-extra But the result contains no "*.lua" neither "*.mkiv" Regards, Chris On Sun, Dec 22, 2013 at 3:15 PM, Wolfgang Schuster wrote: > > Am 22.12.2013 um 15:09 schrieb Elspeth McGullicuddy > : > >> This "will" be great. Soon... >> My ConTEXt is Debian's sid: "context (2013.05.28.20130704-3)", which I >> believe is older than the change in simplefonts you are using in the >> example. >> So I think I shall have to proceed to a context-standalone installation. >> Could you tell me where I could see the sources of this simplefonts >> version, because doing Google with keyword uppercasedoublestruck >> doesn' even return a thing. > > The new simplefonts is part of context and you can find the code in > the files font-sel.mkvi and font-sel.lua. The uppercasedoublestruck > keyword for the fallback range is set in math-act.lua. > > 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 > ___ ___ 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] Request for metapost
On 12/21/2013 12:50 PM, DesdeChaves wrote: I know that metapost can send the variables "version", "number", "string", "point", "quad", "boolean" and "path" to Context. "triplet" variable can't pass. It will be very usefull if metapost can send a array to context. \startMPcode numeric x[]; for i = 1 upto 10: x[i]:=random; endfor passvariable("array",x); passvariable("version","1.0") ; passvariable("number",x[1]) ; passvariable("string","whatever") ; passvariable("point",(1,2)) ; passvariable("triplet",(1,2,3)) ; passvariable("quad",(1,2,3,4)) ; passvariable("boolean",false) ; passvariable("path",fullcircle scaled 1cm) ; \stopMPcode \ctxluacode{inspect(metapost.variables)} \ctxcommand{mprunvar("array")} Thanks in advance that's less trivial (as automatism) so i provide passarrayvariable now (next beta) ... of course the next request would concern complex arrays so i also made a more low level flusher \starttext \startMPcode numeric n[] ; for i=1 upto 10: n[i] := i + 1 ; endfor ; pathp[] ; for i=1 upto 10: p[i] := fullcircle scaled (i*cm) ; endfor ; numeric n[][] ; for i=1,4 : for j=1,3 : n[i][j] = uniformdeviate(1) ; endfor ; endfor ; passvariable("x",12345) ; passarrayvariable("n-array",n,1,7,1) ; passarrayvariable("p-array",p,1,7,1) ; passvariable("p",(1,1) .. (2,2)) ; % watch out: no ; in between startpassingvariable("b") startarray for i=1,4 : startarray for j=1,3 : value(n[i][j]) endfor stoparray endfor stoparray stoppassingvariable ; startpassingvariable("a") starthash key("test1") startarray value(123) value(456) stoparray key("test2") starthash key("test") value(789) stophash stophash stoppassingvariable ; draw fullcircle scaled 1cm ; \stopMPcode \ctxluacode{inspect(metapost.variables)} \ctxcommand{mprunvar("x")} \stoptext - 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] doublestroke
Am 22.12.2013 um 15:09 schrieb Elspeth McGullicuddy : > This "will" be great. Soon... > My ConTEXt is Debian's sid: "context (2013.05.28.20130704-3)", which I > believe is older than the change in simplefonts you are using in the > example. > So I think I shall have to proceed to a context-standalone installation. > Could you tell me where I could see the sources of this simplefonts > version, because doing Google with keyword uppercasedoublestruck > doesn' even return a thing. The new simplefonts is part of context and you can find the code in the files font-sel.mkvi and font-sel.lua. The uppercasedoublestruck keyword for the fallback range is set in math-act.lua. 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] doublestroke
This "will" be great. Soon... My ConTEXt is Debian's sid: "context (2013.05.28.20130704-3)", which I believe is older than the change in simplefonts you are using in the example. So I think I shall have to proceed to a context-standalone installation. Could you tell me where I could see the sources of this simplefonts version, because doing Google with keyword uppercasedoublestruck doesn' even return a thing. Chris On Sun, Dec 22, 2013 at 2:28 PM, Wolfgang Schuster wrote: > > Am 22.12.2013 um 14:12 schrieb Elspeth McGullicuddy > : > >> First of all, thanks for this quick reply. >> Now what if as in the example I put, I want to mix, in math mode, some >> range of "modern" with some range of "termes", which are both otf >> fonts. Say modern is the default, but the character whose codepoint is >> 0x2115 (ℕ), is provided by "termes"? >> This mechanism could be adapted to any glyph one doesn't like the >> shape, e.g. substitute thin shaft arrows of modern with thicker shaft >> arrows of xits. > > Hans extended the fallback mechanism a while ago to use it also with math > fonts. > > With the new simplefonts code you have now a high level interface when you use > a opentype math font. > > > \definefontfamily [mainface] [rm] [Latin Modern Roman] > > \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] > [range=uppercasedoublestruck] > \definefontfamily [mainface] [mm] [Latin Modern Math] > > \setupbodyfont[mainface] > > \starttext > > \startformula > ABC \quad {\blackboard ABC} > \stopformula > > \stoptext > > > 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 > ___ ___ 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] Persian numbers for page numbering
Am 05.12.2013 um 08:48 schrieb Mingranina Gingranina : > On 11/30/13, Wolfgang Schuster wrote: >> >> Am 29.11.2013 um 16:49 schrieb Mingranina Gingranina >> : >> >>> Dear All, >>> Hello, >>> >>> How can I force ConTeXt to use Persian numbers for page numbering? >> >> \setuppagenumber[numberconversion=persiannumerals] > > Dear Wolfgang, > Hello, > > First of all let me thank you very much for your reply. > > With the above command the page number is now typeset in Persian, but > it uses Persian letters not Persian digits. My code is: \defineconversion [myconversion] [۱,۲,۳,۴,۵,۶,۷,۸,۹,۱۰, ۱۱,۱۲,۱۳,۱۴,۱۵,۱۶,۱۷,۱۸,۱۹,۲۰, ۲۱,۲۲,۲۳,۲۴,۲۵,۲۶,۲۷,۲۸,۲۹,۳۰] \setuppagenumber[numberconversion=myconversion] \setupbodyfont[dejavu,ss] \starttext \dorecurse{30}{\dontleavehmode\page} \stoptext 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] doublestroke
Am 22.12.2013 um 14:12 schrieb Elspeth McGullicuddy : > First of all, thanks for this quick reply. > Now what if as in the example I put, I want to mix, in math mode, some > range of "modern" with some range of "termes", which are both otf > fonts. Say modern is the default, but the character whose codepoint is > 0x2115 (ℕ), is provided by "termes"? > This mechanism could be adapted to any glyph one doesn't like the > shape, e.g. substitute thin shaft arrows of modern with thicker shaft > arrows of xits. Hans extended the fallback mechanism a while ago to use it also with math fonts. With the new simplefonts code you have now a high level interface when you use a opentype math font. \definefontfamily [mainface] [rm] [Latin Modern Roman] \definefallbackfamily [mainface] [mm] [TeX Gyre Termes Math] [range=uppercasedoublestruck] \definefontfamily [mainface] [mm] [Latin Modern Math] \setupbodyfont[mainface] \starttext \startformula ABC \quad {\blackboard ABC} \stopformula \stoptext 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] doublestroke
First of all, thanks for this quick reply. Now what if as in the example I put, I want to mix, in math mode, some range of "modern" with some range of "termes", which are both otf fonts. Say modern is the default, but the character whose codepoint is 0x2115 (ℕ), is provided by "termes"? This mechanism could be adapted to any glyph one doesn't like the shape, e.g. substitute thin shaft arrows of modern with thicker shaft arrows of xits. Regards, Chris On Sun, Dec 22, 2013 at 11:56 AM, Wolfgang Schuster wrote: > > Am 22.12.2013 um 04:10 schrieb Elspeth McGullicuddy > : > >> Every single bits of the first part is wrong, I didn't noticed it because it >> just does nothing. >> The example of the link though works, of course (the one with >> \definefontfallback). >> But to do it with math... I've tried so many possibilities none of which >> worked… > > The fallback mechanism won’t work for the double stroke font because it uses > the old tex math encoding and not unicode encoding for the characters. > > 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 > ___ ___ 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] What is the error of that header lines?
> Am 21.12.2013 um 19:07 schrieb Xan : > > > Hi, > > > > Can someone help me? I'm a little bit crazy. I have this example (sorry, I > > tried to achieve more minimal version): > > > The problem happens only when the tikzpicture is the first object at the > begin of the page. > > \usemodule[tikz] > > \setupfootertexts[Footer] > > \setupfooter[color=blue] > > \starttext > > \dorecurse{3}{\input knuth\par} > > \page > > \starttikzpicture[scale=0.6] > \draw (0,0) -- (0,1) node[above] {Y}; > \stoptikzpicture > > \dorecurse{6}{\input knuth\par} > > \stoptext > > Wolfgang Thanks, Wolfgang for the triage. Thank you very much. Does this means that I discovered a bug? Can someone fix it? Regards, Xan. ___ 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] Rebuilding the font cache: segmentation fault 11
Hans, Wolfgang, thnaks for your solution with the dummy-directory, that worked. Even better, thank you Wolfgang for finding out the Skia font culprit… Indeed after deleting it database generation worked fine! Willi On 22 dec. 2013, at 09:33, H. van der Meer wrote: > Someone some time ago suggested this: > > OSFONTDIR="$TEXMFHOME/dummy_for_fonts" > export OSFONTDIR > > put it in your .bashrc folder or whatever shell you are using and make an > empty folder dummy_for_fonts in $TEXMFHOME. > > Hans van der Meer > > > > On 22 dec. 2013, at 09:14, Willi Egger wrote: > >> That is also one of the thoughts I had… >> For an intermediate solution, where can I disable the searching of the >> os-fonts, ie.disabling the OSFONTDIR variable? > > ___ > 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 > ___ ___ 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] What is the error of that header lines?
Am 21.12.2013 um 19:07 schrieb Xan : > Hi, > > Can someone help me? I'm a little bit crazy. I have this example (sorry, I > tried to achieve more minimal version): The problem happens only when the tikzpicture is the first object at the begin of the page. \usemodule[tikz] \setupfootertexts[Footer] \setupfooter[color=blue] \starttext \dorecurse{3}{\input knuth\par} \page \starttikzpicture[scale=0.6] \draw (0,0) -- (0,1) node[above] {Y}; \stoptikzpicture \dorecurse{6}{\input knuth\par} \stoptext 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] \quotation with yfrak-font?
Am 22.12.2013 um 11:26 schrieb Rudolf Bahr : > > In the following minimal example I'd like to get quotation > marks around the "Nein!", but I don't: > > > \starttext > > \language[de] > \pdfmapline{yfrak \definefont[YfrakFont][yfrak at 11pt] > > \YfrakFont > Zu meinem Vorschlag sagte das: M*adchen: \quotation{Nein!} > > \stoptext > --- > > Please, what is wrong? The font is wrong, I compared the afm and pub files of the font and the information about the position of the quotation marks in the afm file and pub file don’t match. I suggest to use a font in TrueType or OpenType [1] format which works with less problems. [1] http://unifraktur.sourceforge.net 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] doublestroke
Am 22.12.2013 um 04:10 schrieb Elspeth McGullicuddy : > Every single bits of the first part is wrong, I didn't noticed it because it > just does nothing. > The example of the link though works, of course (the one with > \definefontfallback). > But to do it with math... I've tried so many possibilities none of which > worked… The fallback mechanism won’t work for the double stroke font because it uses the old tex math encoding and not unicode encoding for the characters. 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] Rebuilding the font cache: segmentation fault 11
Am 21.12.2013 um 23:02 schrieb Willi Egger : > Hello all, > > did anyone else experience this: > > fonts | names | globbing path '/Users/willi/Library/Fonts/**.ttf' > fonts | names | globbing path '/Library/Fonts/**.ttf'Segmentation > fault: 11 > > I struggle with this issue since I stepped over to a new Mac book Air. Is > there something tricky in the Library/Fonts directory? May be a subfolder > could cause this? The Skia font in Library/Font causes the LuaTeX error, when you remove it from the folder ConTeXt builds the cache without errors. 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] \quotation with yfrak-font?
In the following minimal example I'd like to get quotation marks around the "Nein!", but I don't: \starttext \language[de] \pdfmapline{yfrak 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] Rebuilding the font cache: segmentation fault 11
Hans, thank you for this suggestion I will try it! Willi On 22 dec. 2013, at 09:33, H. van der Meer wrote: > Someone some time ago suggested this: > > OSFONTDIR="$TEXMFHOME/dummy_for_fonts" > export OSFONTDIR > > put it in your .bashrc folder or whatever shell you are using and make an > empty folder dummy_for_fonts in $TEXMFHOME. > > Hans van der Meer > > > > On 22 dec. 2013, at 09:14, Willi Egger wrote: > >> That is also one of the thoughts I had… >> For an intermediate solution, where can I disable the searching of the >> os-fonts, ie.disabling the OSFONTDIR variable? > > ___ > 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 > ___ ___ 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] Rebuilding the font cache: segmentation fault 11
Someone some time ago suggested this: OSFONTDIR="$TEXMFHOME/dummy_for_fonts" export OSFONTDIR put it in your .bashrc folder or whatever shell you are using and make an empty folder dummy_for_fonts in $TEXMFHOME. Hans van der Meer On 22 dec. 2013, at 09:14, Willi Egger wrote: > That is also one of the thoughts I had… > For an intermediate solution, where can I disable the searching of the > os-fonts, ie.disabling the OSFONTDIR variable? ___ 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] Rebuilding the font cache: segmentation fault 11
On 21 dec. 2013, at 23:32, Hans Hagen wrote: > On 12/21/2013 11:02 PM, Willi Egger wrote: >> Hello all, >> >> did anyone else experience this: >> >> fonts | names | globbing path '/Users/willi/Library/Fonts/**.ttf' >> fonts | names | globbing path >> '/Library/Fonts/**.ttf'Segmentation fault: 11 >> >> I struggle with this issue since I stepped over to a new Mac book Air. >> Is there something tricky in the Library/Fonts directory? May be a >> subfolder could cause this? > > there are bugged fonts ... some more bugs will be catched in the next version > of luatex, due in a few days That is also one of the thoughts I had… For an intermediate solution, where can I disable the searching of the os-fonts, ie.disabling the OSFONTDIR variable? Willi > > 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 > ___ ___ 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 ___