Re: [NTG-context] Removing banner from mtxrun output
> A bit off-topic: > do you know aditya module t-filters ? > See > http://meeting.contextgarden.net/2010/talks/2010-09-15-aditya-filters/ I didn't, but I'll investigate! Thank you, Johan > -- > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > -- Johan Sandblom, MD PhD m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell ___ 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] Removing banner from mtxrun output
2010/9/20 Aditya Mahajan : > On Mon, 20 Sep 2010, Johan Sandblom wrote: > Why are you using input output redirection > > R < \Rfile\space > \Rfile.out > > rather than a simple > > R \Rfile\space \Rfile.out Originally, I think it was because it was the only way that worked on both Windows and Linux, but lately it is because R CMD BATCH produces produces a couple of lines of processing times at the end, which I do not want. > @Hans, mtxrun be completely silent when used to launch external programs and > only give some output if --verbose is passed. That would make more sense. > BTW, there is a serious bug in the R module: each code chunck carries a > state with it (--save --restore), but this state can depend on which chunck > was changed. Indeed. But I have learned to live with it. > This "bug" can be avoided by doing some book keeping for the external state > (saving the file to a different name and restoring it), or by not using > --save and --restore. Yes. But the book keeping gets a little complicated and ugly since it needs to be done from within R (--save takes no arguments). Or possibly all chunks after an altered chunk should be run. Thanks for your comments, Johan > 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 > ___ > -- Johan Sandblom, MD PhD m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell ___ 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] Super Wolfgang !
Am 2010-09-20 um 14:39 schrieb Hans Hagen: On 20-9-2010 1:42, luigi scarso wrote: On Sun, Sep 19, 2010 at 11:18 PM, luigi scarso wrote: http://meeting.contextgarden.net/2010/talks/2010-09-17-closing/wolfgang-color.jpg Some nick names Jano : J&B -- Jano& Beer You're wrong ... Jano is carrying sixpack bottles of water ... didn't you notice at the conference? We had free water bottles all the time. Hm, I also remember other liquids... A lion with a bottle of slivovice would have been Milan ;-) Greetlings, Hraban ___ 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] Problems with the installation of the minimals on Win XP :-(
On Sun, Sep 19, 2010 at 19:00, Marius wrote: > On 27 August 2010 13:22, Mojca Miklavec wrote: >> On Thu, Aug 26, 2010 at 17:40, Florian Baudach wrote: >>> I solved it, but I think in a very ugly way: >>> >>> 1. I downloaded the kpathsea60071.dll via http and copied the file to >>> /context/bin >>> 2. I downloaded also curl.exe (Don't know if it was necessary :-( ) >>> 3. The I got the errors: MSVCP71.DLL and MSVCR71.DLL not found >> >> Akira replied that the two files are present in xetex-w32.tar.bz2 (on >> w32tex.org). If needed, we can add them to the zip for installation >> (it is probably also needed for runtime files then, not only for >> installation, right?). >> >> Is there any other user with the same experience? > > Yes, missing MSVCP71.DLL and MSVCR71.DLL on windows xp and windows 7. It should be fixed now. (At least for those who don't install luatex-only minimals.) I'm sorry, I added the libraries, but forgot to add them to installer itself. 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] Super Wolfgang !
On Mon, Sep 20, 2010 at 2:39 PM, Hans Hagen wrote: > On 20-9-2010 1:42, luigi scarso wrote: >> >> On Sun, Sep 19, 2010 at 11:18 PM, luigi scarso >> wrote: >>> >>> >>> http://meeting.contextgarden.net/2010/talks/2010-09-17-closing/wolfgang-color.jpg >> >> Some nick names >> Jano : J&B -- Jano& Beer > > You're wrong ... Jano is carrying sixpack bottles of water ... Uhm... are you sure ? If so, it should be brown water then -- never seen it; I remember clearly of brown beer instead . > didn't you > notice at the conference? We had free water bottles all the time. Sure, I still have just one of it on my desk just now. -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Super Wolfgang !
On 20-9-2010 1:42, luigi scarso wrote: On Sun, Sep 19, 2010 at 11:18 PM, luigi scarso wrote: http://meeting.contextgarden.net/2010/talks/2010-09-17-closing/wolfgang-color.jpg Some nick names Jano : J&B -- Jano& Beer You're wrong ... Jano is carrying sixpack bottles of water ... didn't you notice at the conference? We had free water bottles all the time. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Super Wolfgang !
On Sun, Sep 19, 2010 at 11:18 PM, luigi scarso wrote: > http://meeting.contextgarden.net/2010/talks/2010-09-17-closing/wolfgang-color.jpg Some nick names Jano : J&B -- Jano & Beer Mojca: CatWoman -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Super Wolfgang !
On Sun, Sep 19, 2010 at 11:18 PM, luigi scarso wrote: > http://meeting.contextgarden.net/2010/talks/2010-09-17-closing/wolfgang-color.jpg Some nick names Jano : J&B -- Jano & Beer Mojca CatWoman -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] A rose by any other name ....
>> http://wiki.contextgarden.net/images/a/a7/Eurotex06he.pdf > > Thanks Luigi, very informative. Should have been called PDF for dummies > or something :) Yes, I remember Hartmut saying that he didn't like the name :-) Probably he, as LuaTeX developer, saw this as explaining how to “make better PDF” rather than simply explaining the internals to the layman. He had a printed copy of the PDF reference that he showed after the talk, and for some reason I ended up carrying it around during the whole evening :-) Arthur ___ 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] cjk texts in the pdf file which MkIV output sometimes can not be copy rightly
2010/9/10 Taco Hoekwater : > On 09/10/2010 02:32 PM, Li Yanrui (李延瑞) wrote: >> >> 2010/9/10 Li Yanrui (李延瑞): >>> >>> Hi all, >>> >>> For the pdf file which is generated frome the following example, two >>> Chinese characters can not be copied rightly when I use simsun.ttc >>> font and use *Adobe Reader* to view it. The copy text is displayed as >>> the wrong unicode text such as "". > > It looks like the reader is ignoring the ToUnicode entry in the > bad case. No idea why, though. > My friend sent a mail to Ken Lunde who works for adobe systems incorporated. He replied: [quote] I forwarded your email to the Acrobat team for investigation. When I copied the body text from the first file, and all of the text from the second file, the code points are PUA, specifically Unicode Plane 16. The heading text of the first file appears to be encoded correctly. I am guessing that this is a PDF producer issue. I will keep you posted about what the Acrobat team discovers. [/quote] In the above, the first file is the tex file of the pdf file which is the attachment for my previous mail; the second one is that attachment. -- Best regards, Li Yanrui (李延瑞) ___ 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] problem with tabulate header and footer
Am 20.09.2010 um 13:10 schrieb Henning Hraban Ramm: > > Am 2010-09-20 um 11:00 schrieb Wolfgang Schuster: > >> >> Am 20.09.2010 um 10:50 schrieb Hongwen Qiu: >> >>> \setuptabulate[footer=repeat] has no effect, so is this a bug or if >>> something has been changed? >> >> This was never supported. > > > I changed the wiki accordingly (only the overview page so far) because I > trust Wolfgang's knowledge blindly, but in the source it looks like footers > should be supported - but since there's a mix of "tabulatetail" and "footer", > perhaps it's not working. I didn't check. Sorry to confuse you but my answer meant is that the footer of a tabulate appears only at the end of the environment. Repeating the tabulate footer like the head is not supported. 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] problem with tabulate header and footer
Am 2010-09-20 um 11:00 schrieb Wolfgang Schuster: Am 20.09.2010 um 10:50 schrieb Hongwen Qiu: \setuptabulate[footer=repeat] has no effect, so is this a bug or if something has been changed? This was never supported. And \setuptabulate[header=repeat] can only repeat a single row(see the minimal example below). So is this a bug or is it never been implemented or thought like this? Tabulate headers are limited to one row. I changed the wiki accordingly (only the overview page so far) because I trust Wolfgang's knowledge blindly, but in the source it looks like footers should be supported - but since there's a mix of "tabulatetail" and "footer", perhaps it's not working. I didn't check. Qiu (or is it Hongwen?), would you mind to investigate? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] Removing banner from mtxrun output
On Mon, 20 Sep 2010, luigi scarso wrote: A bit off-topic: do you know aditya module t-filters ? See http://meeting.contextgarden.net/2010/talks/2010-09-15-aditya-filters/ Also see http://randomdeterminism.wordpress.com/2010/06/10/replacing-r-module/ 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 ___
Re: [NTG-context] Removing banner from mtxrun output
On Mon, 20 Sep 2010, Johan Sandblom wrote: In the modernized version of the R module (attached), which makes it possible to interact with the statistical programming environment R (http://www.r-project.org), mtxrun is used to call R on saved buffers containing snippets of R code. Optionally, the output from R can be included using \typefile. However, mtxrun includes a banner in the output file, example below. Why are you using input output redirection R < \Rfile\space > \Rfile.out rather than a simple R \Rfile\space \Rfile.out MTXrun | MTXrun | executing: R -q --save --restore MTXrun | MTXrun |> sample(1:10) [1] 5 3 1 9 2 6 10 8 4 7 sample(1:10, replace=TRUE) [1] 1 10 7 1 7 5 2 2 10 5 See http://archive.contextgarden.net/message/20100611.141914.fd6567be.en.html but the banner still appears the first time mtxrun --ifchanged is run. @Hans, mtxrun be completely silent when used to launch external programs and only give some output if --verbose is passed. BTW, there is a serious bug in the R module: each code chunck carries a state with it (--save --restore), but this state can depend on which chunck was changed. Consider (I don't know the R syntax on top of my head, but this gives the idea of the bug) Chunk 1 \startR a = 10 ; b = 10 ; \stopR Chunk 2 \startR a = 20 ; b = 20 \stopR Chunck 3 \startR print(a+b) ; \stopR Run this once. The output will be 40. Now, add c = 10 ; in Chunk 1. Also change Chunk 3 to (add spaces so that md5 sum is different) print( a + b ) ; Now run the file again. Since Chunk 2 is not changed, it will not be run. Chunk 3 will see the state set by Chunk 1, and hence the output will be 20. This "bug" can be avoided by doing some book keeping for the external state (saving the file to a different name and restoring it), or by not using --save and --restore. 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 ___
Re: [NTG-context] problem with tabulate header and footer
Am 20.09.2010 um 10:50 schrieb Hongwen Qiu: > \setuptabulate[footer=repeat] has no effect, so is this a bug or if > something has been changed? This was never supported. > And \setuptabulate[header=repeat] can only repeat a single row(see the > minimal example below). So is this a bug or is it never been implemented > or thought like this? Tabulate headers are limited to one row. 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] problem with tabulate header and footer
\setuptabulate[footer=repeat] has no effect, so is this a bug or if something has been changed? And \setuptabulate[header=repeat] can only repeat a single row(see the minimal example below). So is this a bug or is it never been implemented or thought like this? TIA for any help or feedback. Minimal example: \starttext \setuptabulate[header=repeat, footers=repeat] \starttabulatehead \HL \NC A \NC B \NC C \NC \NR \NC D \NC E \NC F \NC \NR \HL \stoptabulatehead \starttabulatetail \HL \stoptabulatetail \startluacode context.starttabulate{"|c|c|c|"} for i=1,200 do context.NC() context("G") context.NC() context("H") context.NC() context("I") context.NC() context.NR() end context.stoptabulate() \stopluacode \stoptext The example and its output are attached. tabulate.pdf Description: Adobe PDF document tabulate.tex Description: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Removing banner from mtxrun output
On Mon, Sep 20, 2010 at 10:26 AM, Johan Sandblom wrote: > Greetings all! > > In the modernized version of the R module (attached), which makes it > possible to interact with the statistical programming environment R > (http://www.r-project.org), mtxrun is used to call R on saved buffers > containing snippets of R code. Optionally, the output from R can be > included using \typefile. However, mtxrun includes a banner in the > output file, example below. > > MTXrun | > MTXrun | executing: R -q --save --restore > MTXrun | > MTXrun |> sample(1:10) > [1] 5 3 1 9 2 6 10 8 4 7 >> sample(1:10, replace=TRUE) > [1] 1 10 7 1 7 5 2 2 10 5 >> > > If the results of the computations are to be included in the text, > this banner is ugly and distracting. > > Question: is it possible to instruct mtxrun not to make such a banner? > Or, alternatively, is there an easy way to remove it before the text > is included? > > I am using MKIV exclusively. > > Regards, Johan A bit off-topic: do you know aditya module t-filters ? See http://meeting.contextgarden.net/2010/talks/2010-09-15-aditya-filters/ -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] pagenumbers in metafun
Hi all, first, for thosw of you who went to the meeting: welcome back home from the ConTeXt meeting - looking at the slides and at the pictures made me really sad I couldn't come; I really hope I will be able to make it next year to Porquerolles! Here's a question that has been on my mind for a while now and that I would have loved to ask Taco and Hans at Brejlov: we now have shiny new \userpagenumber and \realpagenumber etc. Is any of these available and accessible from within Metafun? Right now, in a StartPage -- StopPage environment, I use NOfPages and PageNumber, but it would be convenient if we had access to userpagenumber as well (so the number can be reset etc.) All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Removing banner from mtxrun output
Greetings all! In the modernized version of the R module (attached), which makes it possible to interact with the statistical programming environment R (http://www.r-project.org), mtxrun is used to call R on saved buffers containing snippets of R code. Optionally, the output from R can be included using \typefile. However, mtxrun includes a banner in the output file, example below. MTXrun | MTXrun | executing: R -q --save --restore MTXrun | MTXrun |> sample(1:10) [1] 5 3 1 9 2 6 10 8 4 7 > sample(1:10, replace=TRUE) [1] 1 10 7 1 7 5 2 2 10 5 > If the results of the computations are to be included in the text, this banner is ugly and distracting. Question: is it possible to instruct mtxrun not to make such a banner? Or, alternatively, is there an easy way to remove it before the text is included? I am using MKIV exclusively. Regards, Johan -- Johan Sandblom, MD PhD m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell m-r.tex Description: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with Schusters letter package
Am 17.09.2010 um 20:07 schrieb Rolf Lindgren: > I think I've managed to set ConTeXt to mkiv, things proceed relatively > smoothly, and from the log file, it appears that the right files are read. > I'm using the most recent version of Schusters's letter package. > > When compiling the example letter, the following error occurs: > > ! Undefined control sequence. > \lsoptionmethod > > > the macro in question seems to appear in default.nli but is not defined > anywhere. > > Any and all help appreciated. The value is set in “default.nls”, is it possible you use your own style but you don’t have \useletterstyle[default] at the begin of it? 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] Problem with Schusters letter package
On Fri, Sep 17, 2010 at 8:07 PM, Rolf Lindgren wrote: > I'm using the most recent version of Schusters's letter package. We usually said Wolfgang's letter module. SuperWolfgang's letter module is also accepted. -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Metapost and underscore
On Mon, 20 Sep 2010, Taco Hoekwater wrote: On 09/20/2010 08:34 AM, Aditya Mahajan wrote: Hi, Really bad things happen if the variable name in metapost contains an underscore. It took me quite a while to isolate this problem. The metapost string comparisons were broken until luatex 0.63. Thanks. That explains all the strange cases. For the moment, I have simply replaced all the digits in the variable names by letters (and unrolled the loops by hand). I will test with the latest version tomorrow. Thanks a lot. 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 ___