Re: [NTG-context] ConTeXt in texlive versus Minimal ConTeXt

2008-11-14 Thread Marcin Borkowski
Dnia Fri, Nov 14, 2008 at 08:31:54AM +0100, Maurice Diamantini napisa#322;(a): Le 13 nov. 08 à 10:45, Hans Hagen a écrit : Fengnan Gao wrote: I have some problem when using ConTeXt in tl08, ... I don't exactly know what that means but clearly I cannot use ConTeXt. Can someone help

Re: [NTG-context] no en dash with otf fonts

2008-11-14 Thread Hans Hagen
luigi scarso wrote: On Fri, Nov 14, 2008 at 6:04 AM, Yi Zhang [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, what fonts ? did you specify tlig=yes ?

Re: [NTG-context] Feature request: 4SIDE

2008-11-14 Thread Hans Hagen
Marcin Borkowski wrote: Hi all, it seems that we have a feature request flood;) so I'm putting my $3*10^{-2}. I'd need 4SIDE (analogous to 2SIDE). How to obtain it? Could it be added to page-imp.tex? sure, but it's up to you and the imposition wizzard Willi to make the right

Re: [NTG-context] Feature request: indent parameter for delimitedtexts

2008-11-14 Thread Hans Hagen
Aditya Mahajan wrote: On Thu, 13 Nov 2008, Wolfgang Schuster wrote: Hi Hans, is it possible to add a indent key to delimitedtexts, I use in one own my documents the following setup \setupdelimitedtext [blockquote] [spacebefore=line, before={\setupindenting[next]}] but it makes

Re: [NTG-context] ConTeXt in texlive versus Minimal ConTeXt

2008-11-14 Thread Hans Hagen
Marcin Borkowski wrote: Well, it is minimal in the sense of dependencies, I guess. and also in the sense that there is much left out that would never be used at all; once luatex/mkiv is stable and once we have open type math fonts, even more font stuff can go away (since xetex does not need

Re: [NTG-context] Place externalfigure in middle position

2008-11-14 Thread Hans Hagen
mattia schirosa wrote: I looking in documentation for a long time, but i didn't find a command to set a image in middle area without using the \placefigure command. Anyone can help me? \centerbox {...} \centerbox width 1cm height 20cm {...} \starttext \startstandardmakeup \sc

Re: [NTG-context] layout parameter testing

2008-11-14 Thread Alan STONE
On Thu, Nov 13, 2008 at 9:48 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Am 13.11.2008 um 20:52 schrieb Alan STONE: Hi, With \definelayout[myLayout][...], how do you test whether one of its parameters has a certain value, is greater than 0, etc... ? \definelayout [mylayout]

Re: [NTG-context] ConTeXt in texlive versus Minimal ConTeXt

2008-11-14 Thread Hans Hagen
Maurice Diamantini wrote: Le 13 nov. 08 à 10:45, Hans Hagen a écrit : Fengnan Gao wrote: I have some problem when using ConTeXt in tl08, ... I don't exactly know what that means but clearly I cannot use ConTeXt. Can someone help me? just use the minimals ... then you have the latest

Re: [NTG-context] Breaking footnotes across pages

2008-11-14 Thread Wolfgang Schuster
Am 14.11.2008 um 01:11 schrieb Wolfgang Schuster: Hi, I have in a document a very long footnote and want it to break over two pages, what do I have to do to change the default behaviour? I tested my document with a few different settings and it turned out the problem is font dependend, I

Re: [NTG-context] Feature request: 4SIDE

2008-11-14 Thread Wolfgang Schuster
Am 14.11.2008 um 01:44 schrieb Wolfgang Schuster: Am 14.11.2008 um 01:09 schrieb Marcin Borkowski: Hi all, it seems that we have a feature request flood;) so I'm putting my $3*10^{-2}. I'd need 4SIDE (analogous to 2SIDE). How to obtain it? Could it be added to page-imp.tex? I

[NTG-context] Problems with: \completepublications in index

2008-11-14 Thread mattia schirosa
Hi, i try to put my bibliography in index and in end of the book. So: -it works only with \completepublications, but i have no reference in index - if i call a chapter{Bibliography} and then i call the bibliography with \placepublications, it doesn't work, context don't make me see the biblio in

Re: [NTG-context] Problems with: \completepublications in index

2008-11-14 Thread Taco Hoekwater
mattia schirosa wrote: Hi, i try to put my bibliography in index and in end of the book. So: -it works only with \completepublications, but i have no reference in index - if i call a chapter{Bibliography} and then i call the bibliography with \placepublications, it doesn't work, context

Re: [NTG-context] Problems with: \completepublications in index

2008-11-14 Thread Wolfgang Schuster
Am 14.11.2008 um 11:50 schrieb mattia schirosa: Hi, i try to put my bibliography in index and in end of the book. So: -it works only with \completepublications, but i have no reference in index What do you want in index? - if i call a chapter{Bibliography} and then i call the

[NTG-context] define command

2008-11-14 Thread Alan STONE
Hi, For example \define\somemacro[3]{...} gets invoked with \somemacro{#1}{#2}{#3} How do you get rid of those repeating pesky curly brackets and invoke a user defined macro with \somemacro{#1,#2,#3} instead ? :O) -- Best, Alan * TeX engine = LuaTeX * ConTeXt minimals ver: 2008.56.06

Re: [NTG-context] define command

2008-11-14 Thread Wolfgang Schuster
Am 14.11.2008 um 12:58 schrieb Alan STONE: Hi, For example \define\somemacro[3]{...} gets invoked with \somemacro{#1}{#2}{#3} How do you get rid of those repeating pesky curly brackets and invoke a user defined macro with \somemacro{#1,#2,#3} \starttext \def\somemacro#1%

Re: [NTG-context] define command

2008-11-14 Thread luigi scarso
On Fri, Nov 14, 2008 at 12:58 PM, Alan STONE [EMAIL PROTECTED]wrote: Hi, For example \define\somemacro[3]{...} gets invoked with \somemacro{#1}{#2}{#3} How do you get rid of those repeating pesky curly brackets and invoke a user defined macro with \somemacro{#1,#2,#3} Not what

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-14 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Peter Rolf schrieb: Taco Hoekwater schrieb: Peter Rolf wrote: I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is simply not adapted to the actual font size

Re: [NTG-context] layout parameter testing

2008-11-14 Thread Alan STONE
On Thu, Nov 13, 2008 at 9:48 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Am 13.11.2008 um 20:52 schrieb Alan STONE: Hi, With \definelayout[myLayout][...], how do you test whether one of its parameters has a certain value, is greater than 0, etc... ? \definelayout [mylayout]

Re: [NTG-context] layout parameter testing

2008-11-14 Thread Wolfgang Schuster
Am 14.11.2008 um 15:06 schrieb Alan STONE: On Thu, Nov 13, 2008 at 9:48 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Am 13.11.2008 um 20:52 schrieb Alan STONE: Hi, With \definelayout[myLayout][...], how do you test whether one of its parameters has a certain value, is greater

Re: [NTG-context] Kerning

2008-11-14 Thread Hans Hagen
Bart C. Wise wrote: I tried the above code and it failed. I looked around on the ConTeXt site and the web in general. It seems like a \defineproperty[stretch] needs to be declared, but I can't find it anywhere. You'll have to excuse my ignorance, but will you be explicit on how to use

Re: [NTG-context] How to box \useMPgraphic?

2008-11-14 Thread Oliver Buerschaper
I'd like to insert a little MetaPost square into the running text and properly align it vertically. So I tried: --- \startuseMPgraphic{square} draw unitsquare scaled StrutHeight; \stopuseMPgraphic \starttext I want a square \raisebox{-\strutdepth}{\useMPgraphic{square}} in my

Re: [NTG-context] ansi codes

2008-11-14 Thread Thomas A. Schmitz
On Oct 1, 2008, at 10:00 PM, Hans Hagen wrote: lesser geeks loom in s-fnt-10.tex -) Hans Hi Hans, the file s-fnt-10.lua needs to be added to the distribution. Best Thomas function fonts.otf.show_all() local tfmdata = fonts.tfm.id[font.current()] if tfmdata and tfmdata.shared

Re: [NTG-context] How to box \useMPgraphic?

2008-11-14 Thread Oliver Buerschaper
Am 13.11.2008 um 18:14 schrieb Wolfgang Schuster: Am 13.11.2008 um 17:18 schrieb Oliver Buerschaper: Hello all, I'd like to insert a little MetaPost square into the running text and properly align it vertically. So I tried: --- \startuseMPgraphic{square} draw unitsquare scaled

Re: [NTG-context] debugging

2008-11-14 Thread Alan STONE
Another debugging question: how do you return the filename of the file being compiled ? -- Best, Alan * TeX engine = LuaTeX * ConTeXt minimals ver: 2008.56.06 19:11 MKIV fmt: 2008.11.10 int: english/english * Ubuntu 8.04 Hardy Heron

Re: [NTG-context] Feature request: linespacing in (foot)notes

2008-11-14 Thread Aditya Mahajan
On Fri, 14 Nov 2008, Wolfgang Schuster wrote: Hi, I try to change the linedistance in my footnotes but this is a pain with the current interface, I slightly modified the \setnotebodyfont macro and hope this could also be done in core-not. You can also exploit the before key for this.

Re: [NTG-context] no en dash with otf fonts

2008-11-14 Thread Yi Zhang
On Fri, Nov 14, 2008 at 3:28 AM, Hans Hagen [EMAIL PROTECTED] wrote: luigi scarso wrote: On Fri, Nov 14, 2008 at 6:04 AM, Yi Zhang [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this

Re: [NTG-context] define command

2008-11-14 Thread Aditya Mahajan
On Fri, 14 Nov 2008, Alan STONE wrote: Hi, For example \define\somemacro[3]{...} gets invoked with \somemacro{#1}{#2}{#3} How do you get rid of those repeating pesky curly brackets and invoke a user defined macro with \somemacro{#1,#2,#3} instead ? :O) Others have replied how to

Re: [NTG-context] debugging

2008-11-14 Thread Aditya Mahajan
On Fri, 14 Nov 2008, Alan STONE wrote: Another debugging question: how do you return the filename of the file being compiled ? \jobname There is also \currentproject \currentproduct \currentenvironment \currentcomponent Aditya

Re: [NTG-context] no en dash with otf fonts

2008-11-14 Thread Aditya Mahajan
On Fri, 14 Nov 2008, Yi Zhang wrote: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, Do you have feature=default in your typescripts? Aditya ___ If

Re: [NTG-context] Feature request: linespacing in (foot)notes

2008-11-14 Thread Wolfgang Schuster
Am 14.11.2008 um 17:07 schrieb Aditya Mahajan: On Fri, 14 Nov 2008, Wolfgang Schuster wrote: Hi, I try to change the linedistance in my footnotes but this is a pain with the current interface, I slightly modified the \setnotebodyfont macro and hope this could also be done in core-not.

Re: [NTG-context] How to box \useMPgraphic?

2008-11-14 Thread Hans Hagen
Oliver Buerschaper wrote: So is this the preferred command for all (horizontal) boxing related tasks in ConTeXt (over hbox)? if you want to position yes .. howeler, take a look in supp-box for more low level stuff Hans -

[NTG-context] How to produce two side-by-side boxes

2008-11-14 Thread Yi Zhang
Hi, How can I produce two side-by-side boxes, one flushed to the left and the other to the right? Thanks, -- Yi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Problems with: \completepublications in index

2008-11-14 Thread mattia schirosa
I just want the bibliography in index with A, and not with a number. Here the example that should be work but it doesn't: i can't see the bibliography list in bibliography chapter. why? and if i comment %\startappendices %\stopappendices it works but i have not correct numbering in index!

[NTG-context] catcode change in macros

2008-11-14 Thread Wolfgang Schuster
Hi, I make in a module the comment sign a simple letter to pass number formats to a lua function and want to know if should use another (better) way to change the catodes. \def\ax{ax} \bgroup \catcode`\%=11 \catcode`\:=14 \gdef\setupaxis {\catcode`\%=11 \catcode`\:=14

Re: [NTG-context] catcode change in macros

2008-11-14 Thread Aditya Mahajan
On Fri, 14 Nov 2008, Wolfgang Schuster wrote: Hi, I make in a module the comment sign a simple letter to pass number formats to a lua function and want to know if should use another (better) way to change the catodes. I think it will be cleaner to use catcode tables. See syst-cat.mkiv.

Re: [NTG-context] catcode change in macros

2008-11-14 Thread Aditya Mahajan
On Fri, 14 Nov 2008, Aditya Mahajan wrote: On Fri, 14 Nov 2008, Wolfgang Schuster wrote: Hi, I make in a module the comment sign a simple letter to pass number formats to a lua function and want to know if should use another (better) way to change the catodes. I think it will be cleaner

Re: [NTG-context] catcode change in macros

2008-11-14 Thread Wolfgang Schuster
Am 14.11.2008 um 19:37 schrieb Aditya Mahajan: On Fri, 14 Nov 2008, Aditya Mahajan wrote: On Fri, 14 Nov 2008, Wolfgang Schuster wrote: Hi, I make in a module the comment sign a simple letter to pass number formats to a lua function and want to know if should use another (better) way to

[NTG-context] How to randomize points in a given area?

2008-11-14 Thread Yue Wang
Hi, Hans, In your metapost graphics pdf document, I can find a card which randomizes points in a path of Christmas tree, how to do that? thanks. Yue Wang ___ If your question is of interest to others as well, please