Re: [NTG-context] Pstricks and Asymptote

2009-11-19 Thread Mojca Miklavec
On Wed, Nov 18, 2009 at 21:49, Hans Hagen wrote: luigi scarso wrote: On Wed, Nov 18, 2009 at 5:10 PM, Alan BRASLAU wrote: There are lots of differences between the latest tikz and the version distributed with tex live. I compare the minimals tex/generic/pgf/ with that installed under

Re: [NTG-context] osx-64-binaries/minimals

2009-11-19 Thread Mojca Miklavec
On Thu, Nov 19, 2009 at 07:59, Taco Hoekwater wrote: Mojca Miklavec wrote: Hans, Taco - does LuaTeX itself know if it's 64-bit or not? Only internally at the moment, but I could add a variable in the os library (after I figure out which of the sizeof()'s is the best one to use). When

Re: [NTG-context] osx-64-binaries/minimals

2009-11-19 Thread Arthur Reutenauer
But I have no idea if there is some simple way to hardcode the target architecture into LuaTeX itself. You could check the first few bytes of the LuaTeX binary itself, it has to tell you something about the architecture it was compiled for. That's what file uses in most cases anyway (the

[NTG-context] verbatim, reserved words, Python, MkII

2009-11-19 Thread R. Bastian
Hello, I wish to write Python code with highlighted reserved words, but I dont find any modell in the context-garden: all verb-.tex are 'Unknown' http://source.contextgarden.net/verb-c.tex Unknown file or directory: verb-c.tex Thanks for your tips, -- René Bastian www.pythoneon.org

Re: [NTG-context] verbatim, reserved words, Python, MkII

2009-11-19 Thread luigi scarso
On Thu, Nov 19, 2009 at 11:45 AM, R. Bastian rbast...@free.fr wrote: Hello, I wish to write Python code with highlighted reserved words, but I dont find any modell in the context-garden: all verb-.tex are 'Unknown' http://source.contextgarden.net/verb-c.tex Unknown file or directory:

Re: [NTG-context] rotate a figure

2009-11-19 Thread Alan BRASLAU
On Tuesday 17 November 2009 16:48:45 Hans Hagen wrote: Peter Münster wrote: On Tue, Nov 17 2009, R. Bastian wrote: \rotate[rotation=90]{\externalfigure[filename]} \externalfigure[filename][orientation=90] ;) \placefigure[here,90]{}{} Yes! However, sometimes we want to turn an

Re: [NTG-context] rotate a figure

2009-11-19 Thread luigi scarso
On Thu, Nov 19, 2009 at 12:07 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 17 November 2009 16:48:45 Hans Hagen wrote: Peter Münster wrote: On Tue, Nov 17 2009, R. Bastian wrote: \rotate[rotation=90]{\externalfigure[filename]} \externalfigure[filename][orientation=90] ;)

[NTG-context] \usemodule doesn't complain when module is not found?

2009-11-19 Thread Matthijs Kooijman
Hi all, I've been trying my first steps into the land of ConTeXt modules, without much success. What has been particularly annoying is that the \usemodule command seems to give no error or other indication that a particular module was not found. Consider below example: \usemodule{foobar}

Re: [NTG-context] rotate a figure

2009-11-19 Thread Alan BRASLAU
On Thursday 19 November 2009 12:26:40 luigi scarso wrote: On Thu, Nov 19, 2009 at 12:07 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 17 November 2009 16:48:45 Hans Hagen wrote: Peter Münster wrote: On Tue, Nov 17 2009, R. Bastian wrote:

Re: [NTG-context] \usemodule doesn't complain when module is not found?

2009-11-19 Thread Matthijs Kooijman
\usemodule{foobar} Right, this should have been \usemodule[foobar] (square brackets instead of curlies...). It would been nice if this would error out, but well... When fixing this, there is a module foobar not found message, though it doesn't error out. So, never mind and sorry for the

[NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Khaled Hosny
Running it gives: $ mtxrun -script texworks -start MTXrun | unable to locate TeXworks Though I've texworks on my path: $ which texworks /usr/bin/texworks I found that the file.split_path(os.getenv(PATH)) call returns a table with single member containing the full PATH variable (it assumes it

Re: [NTG-context] \getfiguredimensions again in mkiv

2009-11-19 Thread Aditya Mahajan
Hi, This request was lost in traffic. On Mon, 9 Nov 2009, Aditya Mahajan wrote: Hans, Something is also wrong with getting the width and height of a figure in mkiv. Minimal example: \starttext \getfiguredimensions[filename] \figurewidth \figureheight \stoptext To be precise, I get 0sp

Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Hans Hagen
Khaled Hosny wrote: Running it gives: $ mtxrun -script texworks -start MTXrun | unable to locate TeXworks Though I've texworks on my path: $ which texworks /usr/bin/texworks I found that the file.split_path(os.getenv(PATH)) call returns a table with single member containing the full PATH

Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Hans Hagen
Hans Hagen wrote: Khaled Hosny wrote: Running it gives: $ mtxrun -script texworks -start MTXrun | unable to locate TeXworks Though I've texworks on my path: $ which texworks /usr/bin/texworks I found that the file.split_path(os.getenv(PATH)) call returns a table with single member

Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Khaled Hosny
On Thu, Nov 19, 2009 at 06:40:07PM +0100, Hans Hagen wrote: Hans Hagen wrote: Khaled Hosny wrote: Running it gives: $ mtxrun -script texworks -start MTXrun | unable to locate TeXworks Though I've texworks on my path: $ which texworks /usr/bin/texworks I found that the

Re: [NTG-context] osx-64-binaries/minimals

2009-11-19 Thread Martin Schröder
2009/11/19 Taco Hoekwater t...@elvenkind.com: Hans, Taco - does LuaTeX itself know if it's 64-bit or not? Only internally at the moment, but I could add a variable in the os library (after I figure out which of the sizeof()'s is the best one to use). How about exposing uname(2)? Or is that

[NTG-context] t-vim / minimals

2009-11-19 Thread Renaud AUBIN
Hi, I have just reinstalled ConTeXt after an HD crash with ./first_setup --extras=all and t-vim seems to contain an error since I obtain (with MKII): VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 30 2009 16:02:52) arguments en trop apr?s l'option: -u NONE -e -C -n -c set tabstop=8 -c syntax

[NTG-context] texutil --purgeallfiles

2009-11-19 Thread Renaud AUBIN
Hi, Trying to use the good old days texutil --purgeallfiles, I obtain: ren...@daneel:~/ConTeXt/notes/src$ texutil --purgeallfiles /usr/local/ConTeXt/tex/texmf-context/scripts/context/ruby/base/texutil.rb:1:in `require': no such file to load -- base/file (LoadError) from

Re: [NTG-context] t-vim / minimals

2009-11-19 Thread Peter Münster
On Thu, Nov 19 2009, Renaud AUBIN wrote: I have just reinstalled ConTeXt after an HD crash with ./first_setup --extras=all and t-vim seems to contain an error since I obtain (with MKII): Hello Renaud, The latest version of the t-vim module seems to be here:

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Aditya Mahajan
On Thu, 19 Nov 2009, Renaud AUBIN wrote: Hi, Trying to use the good old days texutil --purgeallfiles, I obtain: ren...@daneel:~/ConTeXt/notes/src$ texutil --purgeallfiles /usr/local/ConTeXt/tex/texmf-context/scripts/context/ruby/base/texutil.rb:1:in `require': no such file to load --

Re: [NTG-context] t-vim / minimals

2009-11-19 Thread Aditya Mahajan
On Thu, 19 Nov 2009, Peter Münster wrote: On Thu, Nov 19 2009, Renaud AUBIN wrote: I have just reinstalled ConTeXt after an HD crash with ./first_setup --extras=all and t-vim seems to contain an error since I obtain (with MKII): Hello Renaud, The latest version of the t-vim module seems to

Re: [NTG-context] Notepad++ calltips

2009-11-19 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Richard, On Wed, 18 Nov 2009 09:58:26 -0700, richard.steph...@converteam.com wrote: Does anyone use Notepad++ with the function calltips feature? Checking the context.xml definition file, there are calltips defined for \startitemize, but they never appear when I'm typing, even though

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Alan BRASLAU
On Thursday 19 November 2009 20:46:40 Renaud AUBIN wrote: Hi, Trying to use the good old days texutil --purgeallfiles, I obtain: ren...@daneel:~/ConTeXt/notes/src$ texutil --purgeallfiles /usr/local/ConTeXt/tex/texmf-context/scripts/context/ruby/base/texutil.rb:1 :in `require': no such file

Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Hans Hagen
Khaled Hosny wrote: On Thu, Nov 19, 2009 at 06:40:07PM +0100, Hans Hagen wrote: Hans Hagen wrote: Khaled Hosny wrote: Running it gives: $ mtxrun -script texworks -start MTXrun | unable to locate TeXworks Though I've texworks on my path: $ which texworks /usr/bin/texworks I found that the

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Renaud AUBIN
ctxtools --purgeall doesn't exist but ctxtools --purgefiles works well. Besides, context --purge(all) works but from your question I realize that context --purge certainly wraps a ctxtools' call. Aditya == Aditya Mahajan adit...@umich.edu writes: Aditya On Thu, 19 Nov 2009, Renaud AUBIN wrote:

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Renaud AUBIN
Ouch, bad news for me, perhaps my ruby is buggy: ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux] Alan == Alan BRASLAU alan.bras...@cea.fr writes: Alan On Thursday 19 November 2009 20:46:40 Renaud AUBIN wrote: Hi, Trying to use the good old days texutil --purgeallfiles, I obtain:

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Wolfgang Schuster
Am 19.11.2009 um 22:32 schrieb Renaud AUBIN: ctxtools --purgeall doesn't exist ctxtools --purge --all Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] \getfiguredimensions again in mkiv

2009-11-19 Thread Hans Hagen
Aditya Mahajan wrote: Hi, This request was lost in traffic. On Mon, 9 Nov 2009, Aditya Mahajan wrote: Hans, Something is also wrong with getting the width and height of a figure in mkiv. Minimal example: \starttext \getfiguredimensions[filename] \figurewidth \figureheight \stoptext To

Re: [NTG-context] grid snapping (mkiv)

2009-11-19 Thread Hans Hagen
Peter Rolf wrote: Hi, is the 'grid={line,??pt}' functionality already implemented in mkiv? I use it in a multicolumn environment and all I get is snapping to the 'full' baseline. \setuphead[section] [%style={\SectionHeaderFont},

Re: [NTG-context] texutil --purgeallfiles

2009-11-19 Thread Vyatcheslav Yatskovsky
On 19.11.2009 22:28, ntg-context-requ...@ntg.nl wrote: My ruby dist seems to work well in a nominal context. Is texutil fully functional for other debian 64 / minimals users? Please, try texexec --purgeall or context --purgeall. Reagards, Vyatcheslav

Re: [NTG-context] \getfiguredimensions again in mkiv

2009-11-19 Thread Aditya Mahajan
On Thu, 19 Nov 2009, Hans Hagen wrote: Aditya Mahajan wrote: Hi, This request was lost in traffic. On Mon, 9 Nov 2009, Aditya Mahajan wrote: Hans, Something is also wrong with getting the width and height of a figure in mkiv. Minimal example: \starttext \getfiguredimensions[filename]

Re: [NTG-context] osx-64-binaries/minimals

2009-11-19 Thread Taco Hoekwater
Martin Schröder wrote: 2009/11/19 Taco Hoekwater t...@elvenkind.com: Hans, Taco - does LuaTeX itself know if it's 64-bit or not? Only internally at the moment, but I could add a variable in the os library (after I figure out which of the sizeof()'s is the best one to use). How about