Re: [NTG-context] ConTeXt Minimals: some statistics of usage
On 02/09/2010, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hello, As I have promised some time ago here is some raw statistics from the last month (older statistics is not kept on server): There are 29917 different jobs. There are 379 different IP numbers. Hi Mojca, have you tried checking them against ip geodata?[1] It'd be awesome to know the worldwide distribution of the minimals distibution. Regards, Philipp (through gmail) [1] Like http://linuxbox.co.uk/ip-address-whois-database.php Bytes sent: 14,451,171,433 The following numbers represent unique IP numbers that have tried to download minimals for a specific platform: platform linux: 94 platform linux-64: 85 platform osx-64: 68 platform mswin: 65 platform osx-intel: 48 platform osx-ppc: 15 platform freebsd-amd64: 3 platform freebsd: 1 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 ___ ___ 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] multiple flow charts in the same document
Hi all, I want to place multiple flow charts in the same document. However, connection comments displays correctly in the first chart, but disappears in the second chart. Below is a minimum example adapted from the wiki. I am using mkiv, MTXrun | current version: 2010.07.30 11:35 This is LuaTeX, Version beta-0.62.0-2010082314 Any suggestions? Thanks a lot! regards, shenchen -- \usemodule[chart] \starttext \setupFLOWcharts[height=3\lineheight] \startFLOWchart[example] \startFLOWcell \name {flow} \location {1,1} \text {Flow} \connection [bt] {chart} \comment[r] {abc} \stopFLOWcell \startFLOWcell \name {chart} \location{1,2} \text {Charts} \stopFLOWcell \stopFLOWchart \FLOWchart[example] \startFLOWchart[clone] \startFLOWcell \name {flow} \location {1,1} \text {Flow} \connection [bt] {chart} \comment[r] {abc} \stopFLOWcell \startFLOWcell \name {chart} \location{1,2} \text {Charts} \stopFLOWcell \stopFLOWchart \FLOWchart[clone] \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Fri, Sep 3, 2010 at 16:41, Otared Kavian ota...@gmail.com wrote: Dear Hans, dear Mojca, In order to test the new release, I just updated to the new beta through the minimals, but after that I get still the same ConTeXt version, that is ConTeXt version 2010.08.20 00:00 The same here (WinXP). ___ 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] vim syntax highlighting in MKIV
Hi Aditya, Thanks for the great module! There is a problem using t-vim/t-filter with the current and beta versions of ConTeXt. I was trying the Matlab example (tests/vim/matlab.tex), ConTeXt complains that \startMATLAB is not defined, but the execution can continue, and the correct pdf is produced. regards, shenchen Below is the log message: -- system : module vim loaded (t-vim.tex system : module filter loaded (t-filter.tex) color : system hex is loaded (/opt/home/hash/context/tex/texmf-context/tex/context/base/colo-hex.tex (/opt/home/hash/context/tex/texmf-context/tex/context/base/colo-hex.mkiv))) publications: loading formatting style from bxml-apa (/opt/home/hash/context/tex/texmf-context/tex/context/base/bxml-apa.mkiv) systems : begin file test.tex at line 6 ! Undefined control sequence. system error on line 7 in file test.tex: Undefined control sequence ... 1 \setupcolors[state=start] 2 \usemodule [vim] 3 4 \definevimtyping [MATLAB] [syntax=matlab] 5 6 \starttext 7 \startMATLAB 8 function russell_demo() 9 % Do the example in ch 17 (p501) of Russell and Norvig 10 % (1,1) is top left corner. 11 r = 3; c = 4; p = 0.8; action_cost = -1/25; 12 obstacle = zeros(r,c); obstacle(2,2)=1; 13 terminal = zeros(r,c); terminal(1,4)=1; terminal(2,4)=1; 14 absorb = 1; 15 wrap_around = 0; 16 noop = 0; 17 T = mk_grid_world(r, c, p, obstacle, terminal, absorb, wrap_around, noop); argument \v!unknwon \p!compareprocessaction ...]-\edef \!!stringb {#1 }\ifx \!!stringb \s!defaul... \next1 #1,-\p!doprocessaction {#1} \doprocesscommaitem \processnextcommalist ...odoprocesscommaitem #4#5, ]\relax \global \advance \... \dostartexternalfilter ...ter!!method \zerocount ] \doifelse {\externalfilter... to be read again l.7 \startMATLAB ? (test-externalfilter-MATLAB-0.vimout Overfull \hbox (30.53203pt too wide) in paragraph at lines 10--10 [][][]\*modern12pf* T = mk_grid_world(r, c, p, ob-sta-cle, ter-mi-nal, ab-sorb, wrap_around, noop); -- On Sun, Jun 27, 2010 at 11:49 PM, Aditya Mahajan adit...@umich.edu wrote: On Sun, 27 Jun 2010, Peter Münster wrote: On Sun, Jun 27 2010, Aditya Mahajan wrote: In the spirit of MkIV, I have attempted to redo the vim module from scratch. http://github.com/adityam/filter Download t-vim.tex t-filter.tex and 2context.vim. For testing just place them in the current directory. Hello Aditya, Thanks for these great modules! It would be nice to make them available in the minimals! I will add them to the garden, once I the features stabalize a bit. 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 : 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] ConTeXt Minimals: some statistics of usage
On Sat, Sep 4, 2010 at 10:31, Philipp Gesang wrote: On 02/09/2010, Mojca Miklavec wrote: Hello, As I have promised some time ago here is some raw statistics from the last month (older statistics is not kept on server): There are 29917 different jobs. There are 379 different IP numbers. Hi Mojca, have you tried checking them against ip geodata?[1] It'd be awesome to know the worldwide distribution of the minimals distibution. We could get some of that statistics from people browsing the minimals webpage or from users of wiki. It's not exactly the same, but it should be similar to some extent. If you are willing to write some code to transform IPs into some geo-data, I can send the statistics back. 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] vim syntax highlighting in MKIV
Am 04.09.2010 um 18:10 schrieb Chen Shen: Hi Aditya, Thanks for the great module! There is a problem using t-vim/t-filter with the current and beta versions of ConTeXt. I was trying the Matlab example (tests/vim/matlab.tex), ConTeXt complains that \startMATLAB is not defined, but the execution can continue, and the correct pdf is produced. ! Undefined control sequence. system error on line 7 in file test.tex: Undefined control sequence ... 1 \setupcolors[state=start] 2 \usemodule [vim] 3 4 \definevimtyping [MATLAB] [syntax=matlab] 5 6 \starttext 7 \startMATLAB 8 function russell_demo() 9 % Do the example in ch 17 (p501) of Russell and Norvig 10 % (1,1) is top left corner. 11 r = 3; c = 4; p = 0.8; action_cost = -1/25; 12 obstacle = zeros(r,c); obstacle(2,2)=1; 13 terminal = zeros(r,c); terminal(1,4)=1; terminal(2,4)=1; 14 absorb = 1; 15 wrap_around = 0; 16 noop = 0; 17 T = mk_grid_world(r, c, p, obstacle, terminal, absorb, wrap_around, noop); argument \v!unknwon context’s error message is misleading, the problem appears with the \startMATLAB command but the undefined control sequence is “\v!unknwon” as shown below the message, it’s only a typo in the module and the correct value is “\v!unknown”. 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] linking to equations with leqalignno?
Hello, I am a bit lost. I am using this format for an equation: - \placeformula[nohair] \startformula \leqalignno{ - M^{}_{\bullet}a^{2}_{\bullet} = M^{}_{2} = - \frac{J^{2}_{1}}{M^{}_{0}} \,, \cr - M^{}_{\bullet}a^{3}_{\bullet} = J^{}_{3} = \frac{M^{}_{2}J^{}_{1}}{M^{}_{0}}\,. \cr } \stopformula - but then,using \in[nohair] to link to the equation in the text of the document does not work. I get a [??] I think this is related to leqalignno, because \in[] works fine without it. What should I do in this case? thanks, Pau ___ 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] linking to equations with leqalignno?
Hi Pau, You should not use \leqaligno, but rather setup the location of the formulas' numbers to the left and then use \eqalign: the following works fine: %%- \setupformulas[location=left] \define[1]\eqref{(\in[#1])} % this definition is optional… \starttext \placeformula[nohair] \startformula \eqalign{ - M^{}_{\bullet}a^{2}_{\bullet} = M^{}_{2} = - \frac{J^{2}_{1}}{M^{}_{0}} \,, \cr - M^{}_{\bullet}a^{3}_{\bullet} = J^{}_{3} = \frac{M^{}_{2}J^{}_{1}}{M^{}_{0}}\,. \cr } \stopformula As one may see from equation (\in[nohair]), we have\dots It is more handy to use \type{\eqref}: as one sees in equation \eqref{nohair}, we have\dots \stoptext %%- Consider also using the ConTeXt math alignment commands for which Aditya has written a very nice My Way: http://dl.contextgarden.net/myway/mathalign.pdf See also: http://dl.contextgarden.net/myway/context-latex-math.pdf Best regards: OK On 4 sept. 2010, at 23:06, Pau wrote: Hello, I am a bit lost. I am using this format for an equation: - \placeformula[nohair] \startformula \leqalignno{ - M^{}_{\bullet}a^{2}_{\bullet} = M^{}_{2} = - \frac{J^{2}_{1}}{M^{}_{0}} \,, \cr - M^{}_{\bullet}a^{3}_{\bullet} = J^{}_{3} = \frac{M^{}_{2}J^{}_{1}}{M^{}_{0}}\,. \cr } \stopformula - but then,using \in[nohair] to link to the equation in the text of the document does not work. I get a [??] I think this is related to leqalignno, because \in[] works fine without it. What should I do in this case? thanks, Pau ___ 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] extra row at the end of matrix
I wonder if there is a quick fix or work-around for this? Thanks a lot! shenchen On Thu, Sep 2, 2010 at 2:40 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 2 Sep 2010, Chen Shen wrote: The matrix from the following example has an extra row at the end. = \starttext \startformula A = \startmatrix[left={\left(\,},right={\,\right)}] \NC 1 \NC 2 \NR \NC 3 \NC 4 \NR \stopmatrix \stopformula \stoptext = I am using mkiv version: MTXrun | current version: 2010.07.30 11:35 This is LuaTeX, Version beta-0.62.0-2010082314 Removing the last \NR fixes the problem, but this is certainly different from the previous mkiv/mkii behavior. I wonder this is an intended change, or is it a bug ? This is a bug. 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 : 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 ___