Re: [NTG-context] Metapost and mkiv

2009-11-29 Thread Taco Hoekwater
Alan BRASLAU wrote: On Friday 27 November 2009 14:54:53 Willi Egger wrote: Hi Alan, I run in this myself. A possible solution is: \startuniqueMPgraphic{test} for i = 0 upto 10 : draw thelabel(textext(\color[red] decimal i ), (i, -1) scaled 1cm); endfor ;

[NTG-context] Problem with the 'scrp-cjk.lua'

2009-11-29 Thread Yanrui Li
Hi Hans, In the *hanzi* part of scrp-cjk.lua, there is: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... This causes that lines can not be broken after some

Re: [NTG-context] Metapost label - Truncating digits after decimal point

2009-11-29 Thread Taco Hoekwater
Curiouslearn wrote: Hi, Is it possible to truncate the digits after decimal point in Metapost when using textext()? Please see the minimal example below which produces 1.84375. Can I just keep the first digit and have it produce 1.8 ? Here is a helper macro for you: def trunc_digits(expr n,

Re: [NTG-context] Verbatim problem in mkiv

2009-11-29 Thread Taco Hoekwater
Chen Shen wrote: Hi, I'm having problem with verbatim typing with linenumber under mkiv. The following code works fine without location=text turned off, but fails when it's turned on. The text 0279699410 appears at the beginning of every alternate line. Thanks a lot. For Hans: the problem

[NTG-context] New exe stubs for Windows XP

2009-11-29 Thread Mojca Miklavec
On Sat, Nov 28, 2009 at 17:19, Andreas Schneider wrote: Hans Hagen wrote: Mojca Miklavec wrote: I just came back. I guess that I should start fixing the (already broken?) windows installation :) no need for fixing, it's just stubs .. just make sure that you copy the dll and exe files from

Re: [NTG-context] Troubles with columnsets and MacTeX 2009

2009-11-29 Thread Mojca Miklavec
On Sun, Nov 15, 2009 at 20:19, No? wrote: Hi, I've been having issues with columns and \start(stop)bodymatter statements since I updated MacTeX to 2009. Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed) version, and which crashes on MacTeX 2009. Here's a simplified

Re: [NTG-context] new beta

2009-11-29 Thread Hans Hagen
Andreas Schneider wrote: Hans Hagen wrote: Mojca Miklavec wrote: I just came back. I guess that I should start fixing the (already broken?) windows installation :) no need for fixing, it's just stubs .. just make sure that you copy the dll and exe files from the stub paths (and get rid of

Re: [NTG-context] new beta

2009-11-29 Thread Mojca Miklavec
On Sun, Nov 29, 2009 at 11:53, Hans Hagen wrote: Andreas Schneider wrote: Doesn't work all too well here. I always get Unsupported 16-Bit Application - The program or feature [..]\luatools.exe cannot start or run due to incompatibility with 64-bit versions of Windows. Please contact [...]

Re: [NTG-context] Problem with the 'scrp-cjk.lua'

2009-11-29 Thread Hans Hagen
Yanrui Li wrote: Hi Hans, In the *hanzi* part of scrp-cjk.lua, there is: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... This causes that lines can not be

Re: [NTG-context] Verbatim problem in mkiv

2009-11-29 Thread Hans Hagen
Taco Hoekwater wrote: Chen Shen wrote: Hi, I'm having problem with verbatim typing with linenumber under mkiv. The following code works fine without location=text turned off, but fails when it's turned on. The text 0279699410 appears at the beginning of every alternate line. Thanks a lot.

Re: [NTG-context] Troubles with columnsets and MacTeX 2009

2009-11-29 Thread Hans Hagen
Mojca Miklavec wrote: On Sun, Nov 15, 2009 at 20:19, No? wrote: Hi, I've been having issues with columns and \start(stop)bodymatter statements since I updated MacTeX to 2009. Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed) version, and which crashes on MacTeX 2009.

[NTG-context] Frutiger Typescript

2009-11-29 Thread Renaud AUBIN
Hello, I know almost nothing of typescript but it seems to me that, for Frutiger, type-buy.tex should contains: % frutiger \starttypescript [sans] [frutiger] [name] \definefontsynonym [Sans][Frutiger-Roman] \definefontsynonym [SansCaps][Frutiger-Roman]

Re: [NTG-context] Troubles with columnsets and MacTeX 2009

2009-11-29 Thread Hans Hagen
Mojca Miklavec wrote: On Sun, Nov 15, 2009 at 20:19, No? wrote: Hi, I've been having issues with columns and \start(stop)bodymatter statements since I updated MacTeX to 2009. Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed) version, and which crashes on MacTeX 2009.

Re: [NTG-context] Metapost label - Truncating digits after decimal point

2009-11-29 Thread Curiouslearn
Thanks so much, Taco. I will try out the code below. Good to know that Metapost has functions such as substring. On Sun, Nov 29, 2009 at 3:32 AM, Taco Hoekwater t...@elvenkind.com wrote: Curiouslearn wrote: Hi, Is it possible to truncate the digits after decimal point in Metapost when

Re: [NTG-context] Problem with the 'scrp-cjk.lua'

2009-11-29 Thread Hans Hagen
Yanrui Li wrote: Oh, sorry for my attachment file is too big. I deleted the 'no-patched-test.pdf'. Please see this attachment. ok. patched in next beta - Hans Hagen | PRAGMA ADE

[NTG-context] \inputfilename

2009-11-29 Thread Wolfgang Schuster
Hi Hans, has the defintion for \inputfilename changed, when i used it in the past i got the filename without extension but now i get the filename plus extension. \starttext \inputfilename \stoptext Wolfgang ___ If

Re: [NTG-context] \inputfilename

2009-11-29 Thread Wolfgang Schuster
Am 29.11.2009 um 18:41 schrieb Wolfgang Schuster: has the defintion for \inputfilename changed, when i used it in the past i got the filename without extension but now i get the filename plus extension. \starttext \inputfilename \stoptext i found now the answer to my problem in

Re: [NTG-context] new beta

2009-11-29 Thread Vyatcheslav Yatskovsky
Hi, I just updated to the latest beta on Windows XP 32bit. mtxrun.exe is broken, saying cannot be run in DOS mode. So, the context doesn't launch. regards, Vaytcheslav ___ If your question is of interest to

[NTG-context] setupbibtex produces empty bbl file

2009-11-29 Thread Bernhard Rosensteiner
Hello all, when i try to compile a document with citations i get an empty .bbl file. log is attached. Handout.log Description: Binary data Interestingly it says (Handout.topThis is BibTeX, Version 0.99c (TeX Live 2009), but paths must be set correct because LuaTeX in my minimals folder is

[NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Curiouslearn
Hi, Can someone please help with the alignment of the equation so that it starts at left. I tried flushleft and other options (such as without \NC \NR, with align=left etc.). None of them result in the equation starting at the left margin. The equation is either placed in the middle or is aligned

Re: [NTG-context] new beta

2009-11-29 Thread Wader
2009/11/30 Vyatcheslav Yatskovsky yatskov...@gmail.com Hi, I just updated to the latest beta on Windows XP 32bit. mtxrun.exe is broken, saying cannot be run in DOS mode. So, the context doesn't launch. regards, Vaytcheslav I have the same problem as you days before. When I delete the

[NTG-context] Math Alignment - start equation at left margin (Bug in latest beta)

2009-11-29 Thread Curiouslearn
Just wanted to mention that I tried to achieve left alignment of single equation using: \setupformulas[align=flushleft] \startformula \text{\bf Example: } \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC\NR \stopformula But that does not work with the latest

[NTG-context] problem with texmf-local on Vista

2009-11-29 Thread Christopher G D Tipper
Hi, I am a user of Context from the old days, and usually don't need much help installing the software. However, I am needing to use Contextminimals for the first time, as Miktex 2.8 has dropped Context support. My problem is that I have a lot of my own setups and personal fonts and

Re: [NTG-context] setupbibtex produces empty bbl file

2009-11-29 Thread Taco Hoekwater
Bernhard Rosensteiner wrote: Hello all, when i try to compile a document with citations i get an empty .bbl file. log is attached. Interestingly it says (Handout.topThis is BibTeX, Version 0.99c (TeX Live 2009), but paths must be set correct because LuaTeX in my minimals folder is

Re: [NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Otared Kavian
Hi, Is this what you want to achieve: %% begin \starttext From Aditya's \type{mathalign.pdf}, where he defines in fact a \type{\definemathalignment[flalign]}, (but I prefer \type{FLalign]…) one has \definemathalignment[FLalign] [m=2, distance=5em plus 1 fil] %We need to set a default

Re: [NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Otared Kavian
Sorry for sending this again: I forgot a closing } in \type{FLalign]…)}… Hi, Is this what you want to achieve: %% begin \starttext From Aditya's \type{mathalign.pdf}, where he defines in fact a \type{\definemathalignment[flalign]}, (but I prefer \type{FLalign]…)} one has