Re: [NTG-context] \definecharacter

2008-11-13 Thread Thomas A. Schmitz
On Nov 13, 2008, at 8:43 AM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 11, 2008, at 11:58 PM, Wolfgang Schuster wrote: from enco-ini.mkiv \def\definecharacter#1 #2 % {} You could use \definecommand. Wolfgang Wolfgang, thanks for pointing me to this. What is the reason of

Re: [NTG-context] \definecharacter

2008-11-13 Thread Hans Hagen
Thomas A. Schmitz wrote: On Nov 13, 2008, at 8:43 AM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 11, 2008, at 11:58 PM, Wolfgang Schuster wrote: from enco-ini.mkiv \def\definecharacter#1 #2 % {} You could use \definecommand. Wolfgang Wolfgang, thanks for pointing me to this.

Re: [NTG-context] Kerning

2008-11-13 Thread Wolfgang Schuster
On Thu, Nov 13, 2008 at 7:18 AM, Bart C. Wise [EMAIL PROTECTED] wrote: Wolfgang, thanks so much for your help so far. I was able to take the code and make it work correctly to stretch the chapter title. What I want is two lines for a chapter head. For example, Line 1: Chapter One Line 2:

Re: [NTG-context] ctx files

2008-11-13 Thread Alan STONE
An additional cool and handy feature would be something like: ctx:if(not)(else) mode=abc ctx:include name='somemodes.ctx'/ ctx:else(if) mode=def ctx:include name='someothermodes.ctx'/ ctx:else(if) mode=ghi ... /ctx:if(not)(else) -- Best, Alan * TeX engine = LuaTeX * ConTeXt minimals

Re: [NTG-context] How to ged rid of temporary files, forever?

2008-11-13 Thread Wolfgang Schuster
On Wed, Nov 12, 2008 at 9:49 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hi, I have a folder where I store my tex sources and generated pdfs. The problem is that now it is overflooded with temporary files (top, tuo,log,...). I remember Hans wrote somewhere that LuaTeX will hold

[NTG-context] ConTeXt in texlive

2008-11-13 Thread Fengnan Gao
Hi all, I have some problem when using ConTeXt in tl08, when I type luatools --generate my cmd windows says like this C:\Users\fnsteedcontext --make MtxRun | error unable to locate texmfcnf.luaShould I create the cache path C:\Us ers\fnsteed\? [yes|no] [no] y fatal

Re: [NTG-context] \definecharacter

2008-11-13 Thread Mojca Miklavec
On Thu, Nov 13, 2008 at 9:12 AM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 13, 2008, at 8:43 AM, Hans Hagen wrote: well, i was not aware of users using \definecharacter (i can make it a chardef if needed) Hey, you should know that your users use ConTeXt for all kinds of weird and

[NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens
Hello All, I have a document in two columns and I need about 3mm vertical spacing between paragraphs. I've tried \setupwhitespace[small] and \setupwhitespace[3mm] but neither looks any different from \setupwhitespace[medium]or [big]. \setupwhitespace[none] gives no space. There is a

Re: [NTG-context] How to ged rid of temporary files, forever?

2008-11-13 Thread Hans Hagen
Wolfgang Schuster wrote: On Wed, Nov 12, 2008 at 9:49 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hi, I have a folder where I store my tex sources and generated pdfs. The problem is that now it is overflooded with temporary files (top, tuo,log,...). I remember Hans wrote somewhere

Re: [NTG-context] ConTeXt in texlive

2008-11-13 Thread Hans Hagen
Fengnan Gao wrote: Hi all, I have some problem when using ConTeXt in tl08, when I type luatools --generate my cmd windows says like this C:\Users\fnsteedcontext --make MtxRun | error unable to locate texmfcnf.luaShould I create the cache path C:\Us ers\fnsteed\?

[NTG-context] problem scaling big png images

2008-11-13 Thread Mojca Miklavec
Hello, I have problems with scaling of big png images. Scaling works ok with XeTeX, but fails with both pdfTeX and LuaTeX, so it might be a problem in the engine, not necessary in ConTeXt. The image comes out with several cm white border when it should occupy the whole page. Here are the testing

Re: [NTG-context] problem scaling big png images

2008-11-13 Thread Wolfgang Schuster
On Thu, Nov 13, 2008 at 1:44 PM, Mojca Miklavec [EMAIL PROTECTED] wrote: Hello, I have problems with scaling of big png images. Scaling works ok with XeTeX, but fails with both pdfTeX and LuaTeX, so it might be a problem in the engine, not necessary in ConTeXt. The image comes out with

Re: [NTG-context] problem scaling big png images

2008-11-13 Thread Mojca Miklavec
On Thu, Nov 13, 2008 at 1:58 PM, Taco Hoekwater wrote: Mojca Miklavec wrote: Hello, I have problems with scaling of big png images. Scaling works ok with XeTeX, but fails with both pdfTeX and LuaTeX, so it might be a problem in the engine, not necessary in ConTeXt. The image comes out with

Re: [NTG-context] Need more interword spacing

2008-11-13 Thread Vyatcheslav Yatskovsky
Hi all, I found nice solution by myself: \interwordspace 2\interwordspace that sets double space. Wolfgang's \setuptolerance[horizontal,space] also works fine. But 2*space doesn't work, what can I do if I want even more space? Best, Vyatcheslav

[NTG-context] Gentium package (was: minimals and greek font)

2008-11-13 Thread Mojca Miklavec
On Wed, Oct 29, 2008 at 3:05 PM, Alan BRASLAU wrote: Hello, What needs to be done to include greek fonts on top of the minimal installation? Thank you. example: \usemodule[greek] \starttext \greek{kalamos} \stoptext Hello, Thomas has just prepared a new font package (before leaving for

Re: [NTG-context] setupwhitespace

2008-11-13 Thread Wolfgang Schuster
On Thu, Nov 13, 2008 at 10:51 AM, [EMAIL PROTECTED] wrote: Hello All, I have a document in two columns and I need about 3mm vertical spacing between paragraphs. I've tried \setupwhitespace[small] and \setupwhitespace[3mm] but neither looks any different from

[NTG-context] flowcharts and text labels

2008-11-13 Thread Wolfgang Schuster
Hi, is there is something in the flowchart package to position text on the line in the same way as I did in my example without \clap like e.g. \label[cb]{...}. \usemodule[chart] \starttext \startFLOWchart[test] \setupFLOWcharts [nx=3, ny=1, height=4\bodyfontsize,

Re: [NTG-context] ConTeXt in texlive

2008-11-13 Thread Wolfgang Schuster
On Thu, Nov 13, 2008 at 10:07 AM, Fengnan Gao [EMAIL PROTECTED] wrote: Hi all, I have some problem when using ConTeXt in tl08, when I type luatools --generate my cmd windows says like this C:\Users\fnsteedcontext --make MtxRun | error unable to locate texmfcnf.luaShould I

Re: [NTG-context] problem scaling big png images

2008-11-13 Thread Hans Hagen
Mojca Miklavec wrote: Hello, I have problems with scaling of big png images. Scaling works ok with XeTeX, but fails with both pdfTeX and LuaTeX, so it might be a problem in the engine, not necessary in ConTeXt. The image comes out with several cm white border when it should occupy the whole

[NTG-context] tabulate and combination

2008-11-13 Thread Wolfgang Schuster
Hi, is there a better way to place two tables (with the tabulate environment) side by side, I wrap them now in a vbox but this destroyes the spacing before and after them. I know floatcombination but I don't want to use it at the moment. \starttext \startcombination[2*1] {\vbox\bgroup

Re: [NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens
Hello All, I have a document in two columns and I need about 3mm vertical spacing between paragraphs. I've tried \setupwhitespace[small] and \setupwhitespace[3mm] but neither looks any different from \setupwhitespace[medium]or [big]. \setupwhitespace[none] gives no space.

Re: [NTG-context] \definecharacter

2008-11-13 Thread Hans Hagen
Mojca Miklavec wrote: On Thu, Nov 13, 2008 at 9:12 AM, Hans Hagen wrote: Thomas A. Schmitz wrote: On Nov 13, 2008, at 8:43 AM, Hans Hagen wrote: well, i was not aware of users using \definecharacter (i can make it a chardef if needed) Hey, you should know that your users use ConTeXt for

Re: [NTG-context] problem scaling big png images

2008-11-13 Thread Taco Hoekwater
Mojca Miklavec wrote: Hello, I have problems with scaling of big png images. Scaling works ok with XeTeX, but fails with both pdfTeX and LuaTeX, so it might be a problem in the engine, not necessary in ConTeXt. The image comes out with several cm white border when it should occupy the

Re: [NTG-context] How to ged rid of temporary files, forever?

2008-11-13 Thread Vyatcheslav Yatskovsky
Thanks, luigi. context --purgeall works perfectly. =) Best, Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Need more interword spacing

2008-11-13 Thread Wolfgang Schuster
On Thu, Nov 13, 2008 at 2:21 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hi all, I found nice solution by myself: \interwordspace 2\interwordspace that sets double space. Wolfgang's \setuptolerance[horizontal,space] also works fine. But 2*space doesn't work, what can I do if I

[NTG-context] setuphead[section][style=cap] does not work

2008-11-13 Thread richard . stephens
Hello, I want section headings to be in capitals, but when I use: \setuphead[section][style=cap] I get an error as follows: ! Argument of \getvalue has an extra }. inserted text \par to be read again } \uppercased ...d \xdef \@@expanded {\uppercase {#1

Re: [NTG-context] setupwhitespace

2008-11-13 Thread Wolfgang Schuster
On Thu, Nov 13, 2008 at 3:17 PM, [EMAIL PROTECTED] wrote: Hello All, I have a document in two columns and I need about 3mm vertical spacing between paragraphs. I've tried \setupwhitespace[small] and \setupwhitespace[3mm] but neither looks any different from

Re: [NTG-context] tabulate and combination

2008-11-13 Thread Aditya Mahajan
On Thu, 13 Nov 2008, Wolfgang Schuster wrote: Hi, is there a better way to place two tables (with the tabulate environment) side by side, I wrap them now in a vbox but this destroyes the spacing before and after them. I know floatcombination but I don't want to use it at the moment.

Re: [NTG-context] setuphead[section][style=cap] does not work

2008-11-13 Thread Aditya Mahajan
On Thu, 13 Nov 2008, [EMAIL PROTECTED] wrote: Hello, I want section headings to be in capitals, but when I use: \setuphead[section][style=cap] I get an error as follows: ! Argument of \getvalue has an extra }. inserted text \par to be read again }

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
Wolfgang, Thanks so much for your help! It works exactly as I desire. Bart On Thursday 13 November 2008 01:36:11 am Wolfgang Schuster wrote: On Thu, Nov 13, 2008 at 7:18 AM, Bart C. Wise [EMAIL PROTECTED] wrote: Wolfgang, thanks so much for your help so far. I was able to take the

Re: [NTG-context] setuphead[section][style=cap] does not work

2008-11-13 Thread Hans Hagen
[EMAIL PROTECTED] wrote: Hello, I want section headings to be in capitals, but when I use: \setuphead[section][style=cap] I get an error as follows: this is doomed to fail in mkii due to the way tex implements uppercase best use a proper small caps font instead

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

2008-11-13 Thread Wolfgang Schuster
Am 13.11.2008 um 16:22 schrieb Peter Rolf: 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

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

2008-11-13 Thread Peter Rolf
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 anymore (even if I use \setstrut). I can

Re: [NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens
What else changes when I switch over to columns? Do I need a whole new environment within columns? \setupwhitespace should be enough but you could define a new environment and hide the setup in the environment file. \definestartstop [mycolumns] [before=\startcolumns,

[NTG-context] How to box \useMPgraphic?

2008-11-13 Thread 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 StrutHeight; \stopuseMPgraphic \starttext I want a square \raisebox{-\strutdepth}{\useMPgraphic{square}} in

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
On Thursday 13 November 2008 12:46:27 am Hans Hagen wrote: Bart C. Wise wrote: Wolfgang, thanks so much for your help so far. I was able to take the code and make it work correctly to stretch the chapter title. What I want is two lines for a chapter head. For example, Line 1: Chapter

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

2008-11-13 Thread Peter Rolf
Wolfgang Schuster schrieb: Am 13.11.2008 um 16:22 schrieb Peter Rolf: 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

[NTG-context] Place externalfigure in middle position

2008-11-13 Thread mattia schirosa
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? \starttext \startstandardmakeup     \sc     \startalignment[middle] Politecnico di Torino \crlf Tesi di laurea specialistica

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

2008-11-13 Thread Wolfgang Schuster
Am 13.11.2008 um 17:40 schrieb mattia schirosa: 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? \starttext \startstandardmakeup \sc \startalignment[middle]

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

2008-11-13 Thread 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 StrutHeight; \stopuseMPgraphic \starttext I want a

Re: [NTG-context] tabulate and combination

2008-11-13 Thread Wolfgang Schuster
Am 13.11.2008 um 16:12 schrieb Aditya Mahajan: On Thu, 13 Nov 2008, Wolfgang Schuster wrote: Hi, is there a better way to place two tables (with the tabulate environment) side by side, I wrap them now in a vbox but this destroyes the spacing before and after them. I know

Re: [NTG-context] layout parameter testing

2008-11-13 Thread Wolfgang Schuster
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] [backspace=3cm, width=12cm] \starttext

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

2008-11-13 Thread Wolfgang Schuster
Am 14.11.2008 um 00:28 schrieb Aditya Mahajan: 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,

[NTG-context] Feature request: 4SIDE

2008-11-13 Thread 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? Greets -- Marcin Borkowski (http://mbork.pl) O ludzką twarz - walka trwa! Już płoną ognie - chwyćmy za ostrze!

[NTG-context] Breaking footnotes across pages

2008-11-13 Thread 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? Regards, Wolfgang ___ If your question is of interest to others as well,

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

2008-11-13 Thread 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 reused my old code to write a new flexible XSIDE style,

[NTG-context] no en dash with otf fonts

2008-11-13 Thread Yi Zhang
Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, -- Yi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

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

2008-11-13 Thread luigi scarso
On Fri, Nov 14, 2008 at 6:04 AM, Yi Zhang [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 ? -- luigi ___ If your

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

2008-11-13 Thread Yanrui Li
2008/11/14 Yi Zhang [EMAIL PROTECTED]: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, Try to use `\emdash' instead of it. -- Best wishes, Li Yanrui

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

2008-11-13 Thread Maurice Diamantini
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 binaries and sources Is

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

2008-11-13 Thread Marcin Borkowski
Dnia Fri, Nov 14, 2008 at 03:23:36PM +0800, Yanrui Li napisa#322;(a): 2008/11/14 Yi Zhang [EMAIL PROTECTED]: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, Try to use `\emdash' instead of it. Or \endash. -- Best

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

2008-11-13 Thread Lutz Haseloff
nihao Yi, you can enable all TeX ligatures as a fontfeature: (minimat example) \definefontfeature[lig][tlig=yes] \font\nolig=Tallys at 12pt \font\lig=Tallys*lig at 12pt \starttext \nolig - -- --- \lig - -- --- \stoptext Greetings Lutz 2008/11/14 Yi Zhang [EMAIL PROTECTED] Hi, I'm using

[NTG-context] \setupcapitals[sc=yes] and \setupfootnotes[n=2] problems with luatex

2008-11-13 Thread Paul Schalck
Hi, The following minimal examples work fine with pdftex, but give unexpected results with newer betas and luatex (tested under ConTeXt - 2008.11.10 21:40 -- luaTeX-0.30.2): % engine=luatex \setupcapitals [sc=yes] \abbreviation [OTAN] {otan} {Organisation du Traité de l'Atlantique Nord}