Re: [NTG-context] Framed text in paragraphs too wide

2010-04-06 Thread Hans Hagen
On 6-4-2010 5:11, Matthias Weber wrote: Thanks Aditya, that is what I need. I don't really understand the difference between framedtext and textbackground, but all my framing and coloring desires seem to be realizable with framedtext. framedtext is the older mechanism, with some limitations

Re: [NTG-context] Creating PDF Bookmarks

2010-04-06 Thread Hans Hagen
On 6-4-2010 1:57, marfin wrote: I am looking for additional bookmarks but \bookmark[…]{…} has no effect (mkiv). What is going wrong? \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \placebookmarks[chapter,section][chapter,section] \starttext \bookmark[chapter]{TOC}

Re: [NTG-context] font lookup

2010-04-06 Thread Wolfgang Schuster
Am 06.04.10 07:20, schrieb Peter Münster: When you know the filename, you can get the complete path like this: \starttext \ctxlua{tex.print(resolvers.find_file(texgyrepagella-regular.otf))} \stoptext Your question is now answered but why do you need the complete path? Wolfgang

[NTG-context] \bigl \bigr \big problems

2010-04-06 Thread Mikael Persson
Dear list, I have problems with \big, \bigl, \Bigl, ... %% Example \def\foo#1{\type{#1}: #1} \starttext \foo{$|x|^n$} % as expected. \foo{$\bigl|x^n\bigr|$} % expect bigger bars \foo{$\big|x^n\big|$} % expect bigger bars \foo{$\Bigl|x^n\Bigr|$} % too small again (but bigger than \big)

[NTG-context] 4th ConTeXt Meeting: Call for submissions

2010-04-06 Thread Jano Kula
Dear all, 4th ConTeXt Meeting is closer now and it's time to think about its programme. - = Call for submissions = As in previous years, anything at all related to ConTeXt that you would like to share is an acceptable

Re: [NTG-context] 4th ConTeXt Meeting: Call for submissions

2010-04-06 Thread luigi scarso
On Tue, Apr 6, 2010 at 1:33 PM, Jano Kula jano.k...@tiscali.cz wrote: Dear all, 4th ConTeXt Meeting is closer now and it's time to think about its programme. - = Call for submissions = As in previous years, anything at

Re: [NTG-context] mkiv: wide gap between name and text of enumerations

2010-04-06 Thread Matthias Weber
Thanks Peter, that helps, but it means I need to tune all my 20 enumerations... Matthias On Apr 6, 2010, at 1:25 AM, Peter Münster wrote: On Tue, Apr 06 2010, Matthias Weber wrote: \defineenumeration [blurb] [text=Blurb,

Re: [NTG-context] mkiv: wide gap between name and text of enumerations

2010-04-06 Thread Aditya Mahajan
On Tue, 6 Apr 2010, Matthias Weber wrote: Thanks Peter, that helps, but it means I need to tune all my 20 enumerations... I usually use width=fit, distance=0.5em which gives reasonable results. Aditya ___ If

Re: [NTG-context] page layout

2010-04-06 Thread Sebastien Mengin
Le 02 avril 2010 à 01:56, Wolfgang Schuster a écrit: Am 02.04.10 12:13, schrieb Sebastien Mengin: Hi, Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper. Margins : top = 1cm bottom = 1.5cm left right = 1cm I'd like crop marks to.

Re: [NTG-context] \bigl \bigr \big problems

2010-04-06 Thread Hans Hagen
On 6-4-2010 10:30, Mikael Persson wrote: Dear list, I have problems with \big, \bigl, \Bigl, ... %% Example \def\foo#1{\type{#1}: #1} \starttext \foo{$|x|^n$} % as expected. \foo{$\bigl|x^n\bigr|$} % expect bigger bars \foo{$\big|x^n\big|$} % expect bigger bars \foo{$\Bigl|x^n\Bigr|$} %

Re: [NTG-context] \bigl \bigr \big problems

2010-04-06 Thread Mikael Persson
On Tue, Apr 6, 2010 at 4:43 PM, Hans Hagen pra...@wxs.nl wrote: On 6-4-2010 10:30, Mikael Persson wrote: Dear list, I have problems with \big, \bigl, \Bigl, ... %% Example \def\foo#1{\type{#1}: #1} \starttext \foo{$|x|^n$} % as expected. \foo{$\bigl|x^n\bigr|$} % expect bigger bars

[NTG-context] Extra page created at end of document

2010-04-06 Thread Tom
The following code creates an extra page at the end of the pdf for a total of 3 pages: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext %\startfrontmatter \input knuth %\stopfrontmatter \stoptext But this code doesn't create that third page:

Re: [NTG-context] Extra page created at end of document

2010-04-06 Thread Peter Münster
On Tue, Apr 06 2010, Tom wrote: The following code creates an extra page at the end of the pdf for a total of 3 pages: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext %\startfrontmatter \input knuth %\stopfrontmatter \stoptext It

Re: [NTG-context] Metafun in MacTeX 209 distribution

2010-04-06 Thread jindrich Ruzicka
On Apr 4, 2010, at 4:58 PM, jindrich Ruzicka wrote: Hello people, I installed Mac TeX -2009 Distribution on a new iMAC. when I try to run texexec on a Context file that includes a metapost program, I receive no picture that is defined in metapost part. (btw in my linux installation

Re: [NTG-context] page layout

2010-04-06 Thread Willi Egger
Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... If you want more information when marking is needed, then you

Re: [NTG-context] page layout

2010-04-06 Thread Willi Egger
Sorry for replying to my own mail. I was just a little to fast with my answer concerning the t- cropmarks. I realize that it is not in the list of the third-party modules on the wiki. Willi On 6 Apr 2010, at 20:52, Willi Egger wrote: Hi, you will have to give more paramters to the

Re: [NTG-context] page layout

2010-04-06 Thread Sebastien Mengin
Le 06 avril 2010 à 08:52, Willi Egger a écrit: Hi, Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm, rightmargindistance=.5\em, width=fit ... I think I'm

[NTG-context] Latest beta...

2010-04-06 Thread Willi Egger
I just updated the latest beta in a completely new tree: I get now the following message: .../lua60/tex/texmf-osx-intel/bin/context: line 2: 1634 Bus error mtxrun --script context $@ When running luatools --generate most of the things work out well, just that in the last line

Re: [NTG-context] page layout

2010-04-06 Thread Sebastien Mengin
Le 06 avril 2010 à 08:58, Willi Egger a écrit: Sorry for replying to my own mail. I was just a little to fast with my answer concerning the t-cropmarks. I realize that it is not in the list of the third-party modules on the wiki. No problem, I saw a mail of yours on the archive and got the

Re: [NTG-context] Extra page created at end of document

2010-04-06 Thread Tom
It now works on TexLive, which I assume is mk2. The Context manual doesn't seem to include the stop option for \page. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of

Re: [NTG-context] page layout

2010-04-06 Thread Willi Egger
Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm, %edge is reserved for screendocuments, where you can have margin and edge spaces % rightedge=2cm, % leftedgedistance=0cm, %

Re: [NTG-context] page layout

2010-04-06 Thread Willi Egger
Hi, This might be an old version. I hope, that we can upload an newer version shortly. Kind regards Willi On 6 Apr 2010, at 21:27, Sebastien Mengin wrote: Le 06 avril 2010 à 08:58, Willi Egger a écrit: Sorry for replying to my own mail. I was just a little to fast with my answer

Re: [NTG-context] page layout

2010-04-06 Thread Sebastien Mengin
Le 06 avril 2010 à 09:43, Willi Egger a écrit: Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm,%edge is reserved for screendocuments, where you can have margin

Re: [NTG-context] Latest beta...

2010-04-06 Thread Hans Hagen
On 6-4-2010 9:24, Willi Egger wrote: I just updated the latest beta in a completely new tree: I get now the following message: /lua60/tex/texmf-osx-intel/bin/context: line 2: 1634 Bus error mtxrun --script context $@ When running luatools --generate most of the things work out well, just

Re: [NTG-context] page layout

2010-04-06 Thread Hans Hagen
On 6-4-2010 9:23, Sebastien Mengin wrote: Le 06 avril 2010 à 08:52, Willi Egger a écrit: Hi, Hi, you will have to give more paramters to the \setuplayout command ... leftmargign=1cm, leftmargindistance=.5\em, rightmargin=2cm,

Re: [NTG-context] page layout

2010-04-06 Thread Willi Egger
On 6 Apr 2010, at 22:05, Sebastien Mengin wrote: Le 06 avril 2010 à 09:43, Willi Egger a écrit: Hi, \setuplayout [backspace=1cm, % am I right to comment out this line? - No backspace defines where the textblock starts from the left % leftedge=1cm, %edge is reserved for

Re: [NTG-context] Latest beta...

2010-04-06 Thread Mojca Miklavec
On Tue, Apr 6, 2010 at 21:24, Willi Egger wrote: I just updated the latest beta in a completely new tree: I get now the following message: .../lua60/tex/texmf-osx-intel/bin/context: line 2:  1634 Bus error     mtxrun --script context $@ When running luatools --generate most of the things

Re: [NTG-context] Latest beta...

2010-04-06 Thread Matthias Weber
No problem here, but I'm running Leopard (intel). Matthias On Apr 6, 2010, at 5:06 PM, Mojca Miklavec wrote: On Tue, Apr 6, 2010 at 21:24, Willi Egger wrote: I just updated the latest beta in a completely new tree: I get now the following message: .../lua60/tex/texmf-osx-intel/bin/context:

Re: [NTG-context] page layout

2010-04-06 Thread Wolfgang Schuster
Am 06.04.10 21:23, schrieb Sebastien Mengin: Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. To set 1cm at the left side and 2cm at the right side use \setuplayout [..., backspace=1cm, %

Re: [NTG-context] Courier font in TexLive

2010-04-06 Thread Mojca Miklavec
On Tue, Apr 6, 2010 at 21:37, Tom wrote: The code that follows seems to work but gives me a warning: pdfTeX warning: pdftex.exe (file ec-urw-courier.map): cannot open font map file The PDF lists 3 embedded fonts: LMRoman10-Regular, LMSans10-Regular NimbusMonL-Regu. Does NumbusMonl-Regu

Re: [NTG-context] randomize

2010-04-06 Thread Wolfgang Werners-Lucchini
Am 06.04.10 00:21, schrieb Wolfgang Werners-Lucchini: Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your Name and Surname as a

Re: [NTG-context] Courier font in TexLive

2010-04-06 Thread Tom
I'm using TextLive 2008. ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.7.8 int: english/english Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Mojca Miklavec

[NTG-context] hyphens in verbatim text

2010-04-06 Thread Hongwen Qiu
-- in verbatim text displayed as a single -, no matter in \type{} or in typing environment or something like that. current version: 2010.03.30 18:56 $ luatex --version This is LuaTeX, Version beta-0.60.0-2010040422 ___

Re: [NTG-context] randomize

2010-04-06 Thread Aditya Mahajan
On Tue, 6 Apr 2010, Wolfgang Werners-Lucchini wrote: Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your Name and Surname as a \startluacode local a

[NTG-context] tab disappears in LUA environment.

2010-04-06 Thread Hongwen Qiu
\startLUA string.format(%s %d, person, total) \stopLUA produces the result as following: string.format(%s%d, person, total) while the following code has no such problem: \starttyping string.format(%s %d, person, total) \stoptyping $ context --version MTXrun | current version: 2010.03.30 18:56