Re: [NTG-context] Current ConTeXt & wiki
2012-10-20 Hans Hagen: > > Another option is to use pdftrimwhite, which is part of the minimals rather > > than pdfcrop. > > if needed I can make a mtx-trimwhite (lua instead of perl) If you decide to rewrite pdftrimwhite, maybe you can consider making it work with multiple page files as well. The current version only crops the first page and discards the rest. Marco ___ 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] Current ConTeXt & wiki
On 19-10-2012 15:25, Aditya Mahajan wrote: Another option is to use pdftrimwhite, which is part of the minimals rather than pdfcrop. if needed I can make a mtx-trimwhite (lua instead of perl) - 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] Current ConTeXt & wiki
On Oct 19, 2012, at 4:51 AM, Taco Hoekwater wrote: > On 10/19/2012 10:26 AM, Mojca Miklavec wrote: >>> I completely forgot to remind you. :-) How about sometime this week, >>> would that be attemptable? Then we can also update the wiki's ConTeXt >>> engine. >> >> Now, you should blame me. I made a backup of the old context version >> (for Taco: current-backup) and updated to current (2012.05.30 11:26), >> but it doesn't work at all. It says "pdfcrop failed", > > Which it did, indeed. For future reference: the problem is that pdfcrop > needs >$ pdftex file.tex > > to run (using pdftex.fmt). You also updated pdftex, so the existing > format was no longer valid. > > I've fixed it by creating a new pdftex.fmt. > Another option is to use pdftrimwhite, which is part of the minimals rather than pdfcrop. 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] Current ConTeXt & wiki
On 19-10-2012 14:34, Sietse Brouwer wrote: Hooray, we have a new stable! an old new stable -) 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] Current ConTeXt & wiki
Hooray, we have a new stable! 1. Probably we should refresh the wiki's cache of PNG examples? Some examples contain commands like \contextversionnumber, which are now stuck on 20111008 until their MD5 changes. Also, examples might change (or break) when compiled with the new stable; best to make that happen ourselves. Otherwise, a contributor might make an unrelated change to the example, and the example will unexpectedly change or break, and the contributor will think it's due to what he/she did. Patrick, do you know if forcing recompilation (immediate, or on page load) is doable? Perhaps deleting a PNG wil force it to be regenerated on page load? If it's non-trivial, I suppose we can leave it. 2. Improvement to the PHP script: make the text returned in case of failed compilation contain a category tag like [[Category:Examples with errors]], so that we can have a hidden maintenance category of examples that don't compile. It would need to be added to the return strings in the lines that match /return.*error/; if someone can send me a current copy of wikitex.php I can take care of this. (Also, I'd like to have a current copy so I can update http://wiki.contextgarden.net/ConTeXt_wiki:Context_tag_implementation ) 3. On running the stable and/or the beta Hans wrote: > isn't the wiki running the beta then? No, it runs the latest stable. It might be possible to have a beta installation, too -- then users could specify -- but we'd have to look at forcing recompilation once a week (or so) when we update the beta. Depending on Patrick's answer on the feasibility of forcing recompilation, I could have a look at implementing this. Cheers, Sietse ___ 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] Current ConTeXt & wiki
On 10/19/2012 10:26 AM, Mojca Miklavec wrote: I completely forgot to remind you. :-) How about sometime this week, would that be attemptable? Then we can also update the wiki's ConTeXt engine. Now, you should blame me. I made a backup of the old context version (for Taco: current-backup) and updated to current (2012.05.30 11:26), but it doesn't work at all. It says "pdfcrop failed", Which it did, indeed. For future reference: the problem is that pdfcrop needs $ pdftex file.tex to run (using pdftex.fmt). You also updated pdftex, so the existing format was no longer valid. I've fixed it by creating a new pdftex.fmt. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Current ConTeXt & wiki
On 19-10-2012 10:26, Mojca Miklavec wrote: On Thu, Oct 18, 2012 at 7:42 PM, Sietse Brouwer wrote: Hello Malte, Mojca, Malte wrote: PS: The latest stable seems to still be 2011.05.18; any reason why that does not get updated? This was discussed on the mailing list a while ago; Mojca gave a rather complete answer. http://www.mail-archive.com/ntg-context@ntg.nl/msg65226.html @Mojca: you wrote, about promoting the version in TeX Live 2012 to stable/current, the following: I have no idea how Hans uploads current versions, but I could make a zip, upload it to CTAN and make it available as current in minimals. (If I forget to do that in less than a week, please remind me.) I have uploaded it to CTAN (I didn't get confirmation email yet), Hans has updated the version on Pragma and it already proliferated to the distribution. I completely forgot to remind you. :-) How about sometime this week, would that be attemptable? Then we can also update the wiki's ConTeXt engine. Now, you should blame me. I made a backup of the old context version (for Taco: current-backup) and updated to current (2012.05.30 11:26), but it doesn't work at all. It says "pdfcrop failed", but my impression is that not even the temporary folder to store the tex file (and compile the pdf) gets generated. This issue needs Taco's help. (I can easily revert to the old version by renaming the folder, but sooner or later we need to upgrade the version.) I didn't touch wiki sources at all. isn't the wiki running the beta then? - 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 ___