[NTG-context] Create a directory using tex

2006-08-28 Thread Aditya Mahajan
Hi, I want to create a macro that writes files in a sub directory. If the directory is already created, things work fine. However, if the directory is not there, tex complains ! I can't write on file Please type another output file name: Is there a way I can ask tex to create a direc

Re: [NTG-context] 2DOWN imposition gives blank pages

2006-08-28 Thread Sanjoy Mahajan
Willi Egger wrote: > In your code you try to typeset two A5 portrait beneeth each other > on a A4 landscape, which is impossible. > ... > By the way if you want to typeset A5 on a A4 landscape without > intending to make a booklet, then you can use setuparranging[2SIDE] Thanks for the explanations

[NTG-context] Bug in way=...?

2006-08-28 Thread Aditya Mahajan
Hi, Is setupwhatever[way=] supposed to be global? Suppose I \setupformulas[way=bysection] for a section, and want to switch back to \setupformulas[way=bytext] in the next section, it does not work. Similar behaviour happens with \setupcaptions. Consider the following minimal example. \s

Re: [NTG-context] New math feature requests

2006-08-28 Thread Hans Hagen
Aditya Mahajan wrote: > > \definesystemvariable {subfm} % subForMulas > > or do I need to stick to two letter acronyms? > in this case i'd go for a double one: you can take \definesystemvariable {fn} i didn't look into your code yet (but you're improving it anyway) Hans --

Re: [NTG-context] layout question

2006-08-28 Thread Hans Hagen
nico wrote: > On Mon, 28 Aug 2006 21:42:10 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > > >> nico wrote: >> 1) Is it possible, to have only one list of figures, numbering all figures with the same counter? My first attempts with \definecombinedlist did not work.

Re: [NTG-context] afterpage

2006-08-28 Thread Paul Jones
On 8/28/06, Hans Hagen <[EMAIL PROTECTED]> wrote: Peter Rolf wrote:> Hi Paul,>> Paul Jones wrote:>>> Hello, I have used Latex in the past and have the following code that inserts>> information on certain pages using afterpage.  Is there some way to do a >> similar thing in context?>> \setup

Re: [NTG-context] strutheight and (german) umlauts

2006-08-28 Thread Hans Hagen
Peter Rolf wrote: > Hans Hagen wrote: > >> Peter Rolf wrote: >> >>> Hi, >>> >>> I just run into the problem, that \strutheight is lower than the height >>> of some german umlauts (���). >>> >>> % - >>> \setupoutput[pdftex] >>> \mainlanguage[german] >>> >>> \setupcolors[state=start] >>>

Re: [NTG-context] afterpage

2006-08-28 Thread Peter Rolf
Hans Hagen wrote: > Peter Rolf wrote: >> Hi Paul, >> >> Paul Jones wrote: >> >>> Hello, >>> >>> I have used Latex in the past and have the following code that inserts >>> information on certain pages using afterpage. Is there some way to do a >>> similar thing in context? >>> >>> >> \setup

Re: [NTG-context] afterpage

2006-08-28 Thread Hans Hagen
Peter Rolf wrote: > Hi Paul, > > Paul Jones wrote: > >> Hello, >> >> I have used Latex in the past and have the following code that inserts >> information on certain pages using afterpage. Is there some way to do a >> similar thing in context? >> >> > > \setupoutput[pdf] > \definelayer[inf

Re: [NTG-context] strutheight and (german) umlauts

2006-08-28 Thread Peter Rolf
Hans Hagen wrote: > Peter Rolf wrote: >> Hi, >> >> I just run into the problem, that \strutheight is lower than the height >> of some german umlauts (���). >> >> % - >> \setupoutput[pdftex] >> \mainlanguage[german] >> >> \setupcolors[state=start] >> >> \starttext >> \showstruts >> >> \def\FOO#1

[NTG-context] comment flush?

2006-08-28 Thread nico
Hello, There's a strange behaviour with comments when using \startcomment...\stopcomment. In some cases the comments are skipped. The comment always appears with \comment{...}. Here is a summary of the tests I've done: Case OK: comment starting a paragraph Case KO: comment at the end of a si

Re: [NTG-context] afterpage

2006-08-28 Thread Peter Rolf
Hi Paul, Paul Jones wrote: > Hello, > > I have used Latex in the past and have the following code that inserts > information on certain pages using afterpage. Is there some way to do a > similar thing in context? > \setupoutput[pdf] \definelayer[info] \setuplayer[info] [height=\paperheight,w

Re: [NTG-context] layout question

2006-08-28 Thread nico
On Mon, 28 Aug 2006 21:42:10 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > nico wrote: >>> 1) Is it possible, to have only one list of figures, numbering all >>> figures with the same counter? My first >>> attempts with \definecombinedlist did not work. >> >> Defining a new float gives anothe

Re: [NTG-context] layout question

2006-08-28 Thread Hans Hagen
nico wrote: > On Mon, 28 Aug 2006 10:58:58 +0200, richard rascher-friesenhausen > <[EMAIL PROTECTED]> wrote: > > >> Hans Hagen schrieb: >> >>> did you read details.pdf ? Lots of margin stuff with figures in there >>> >>> Hans >>> >>> >>> >> Hello, >> >> this weekend i looked a bit

Re: [NTG-context] strutheight and (german) umlauts

2006-08-28 Thread Hans Hagen
Peter Rolf wrote: > Hi, > > I just run into the problem, that \strutheight is lower than the height > of some german umlauts (���). > > % - > \setupoutput[pdftex] > \mainlanguage[german] > > \setupcolors[state=start] > > \starttext > \showstruts > > \def\FOO#1{\framed[frame=off,background=color

Re: [NTG-context] layout question

2006-08-28 Thread nico
On Mon, 28 Aug 2006 10:58:58 +0200, richard rascher-friesenhausen <[EMAIL PROTECTED]> wrote: > Hans Hagen schrieb: >> >> did you read details.pdf ? Lots of margin stuff with figures in there >> >> Hans >> >> > Hello, > > this weekend i looked a bit into details.pdf an came up with a solution > o

[NTG-context] afterpage

2006-08-28 Thread Paul Jones
Hello,I have used Latex in the past and have the following code that inserts information on certain pages using afterpage.  Is there some way to do a similar thing in context?\usepackage{afterpage}\newcommand{\insertpagea}{\vbox to \textheight{\vfill This page inserted on page 3 \vfill}} \newcomman

Re: [NTG-context] New math feature requests

2006-08-28 Thread Aditya Mahajan
On Mon, 28 Aug 2006, Hans Hagen wrote: > Wolfgang Schuster wrote: >> On Sat, 26 Aug 2006 12:37:56 -0400 (EDT) >> Aditya Mahajan <[EMAIL PROTECTED]> wrote: >> >>> Here is a more robust version. I use \??sf as a namespace for >>> subformulas. I do not think that this is used anywhere else. >> >> I f

Re: [NTG-context] New math feature requests

2006-08-28 Thread Hans Hagen
Wolfgang Schuster wrote: > On Sat, 26 Aug 2006 12:37:56 -0400 (EDT) > Aditya Mahajan <[EMAIL PROTECTED]> wrote: > > >> On Fri, 25 Aug 2006, Aditya Mahajan wrote: >> >> >>> On Tue, 8 Aug 2006, Aditya Mahajan wrote: >>> >>> [ A long list of feature requests ] >>> >>> Here is something that wa

Re: [NTG-context] New math feature requests

2006-08-28 Thread Wolfgang Schuster
On Sat, 26 Aug 2006 12:37:56 -0400 (EDT) Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Fri, 25 Aug 2006, Aditya Mahajan wrote: > > > On Tue, 8 Aug 2006, Aditya Mahajan wrote: > > > > [ A long list of feature requests ] > > > > Here is something that was not in my original list: subformula > > nu

[NTG-context] strutheight and (german) umlauts

2006-08-28 Thread Peter Rolf
Hi, I just run into the problem, that \strutheight is lower than the height of some german umlauts (ÄÖÜ). % - \setupoutput[pdftex] \mainlanguage[german] \setupcolors[state=start] \starttext \showstruts \def\FOO#1{\framed[frame=off,background=color,backgroundcolor=green]{#1\strut}} \hbox{\

Re: [NTG-context] layout question

2006-08-28 Thread richard rascher-friesenhausen
Hans Hagen schrieb: > > did you read details.pdf ? Lots of margin stuff with figures in there > > Hans > > Hello, this weekend i looked a bit into details.pdf an came up with a solution of my figure placing problem: % output=pdf %===

Re: [NTG-context] Layout and textwidth/textmargin

2006-08-28 Thread Hans Hagen
Horacio Suarez wrote: > May I define and setup two diferents layouts and swicht between them? > indeed, one can also mix papersizes Hans -- - Hans Hagen | PRAGMA ADE Ridder