[NTG-context] texmf-local

2011-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to "redirect" the Ctx "local" directory "c:\ConTeXt\tex\texmf-local" somewere else, e.g. to "c:\Lukas\ConTeXt"? I'm looking for a way which would "survive" any occasion I update Ctx (even when I delete the whole Ctx installation directory, = "installation from scratch"), so e.g. e

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, \setupbackgrounds[text][text][background=picture] \setupbackgrounds[state=repeat] It has to be two separate statements? yes: \definelayer[picture][preset=righttop,width=\textwidth] \setlayer[picture]{\externalfigure[mill][width=4cm]} \setupbackgrounds[text][text][background=pic

Re: [NTG-context] A couple of setupcaptions questions

2011-08-03 Thread Jean Magnan de Bornier
Le 03 août à 08:29:55 Jean Magnan de Bornier écrit notamment: | Le 02 août à 16:19:01 Wolfgang Schuster écrit notamment: > | | Am 02.08.2011 um 16:10 schrieb Jean Magnan de Bornier: | > | | > Hi all | | > | | > I'm trying to setup captions for figures with mkiv. I found this page on the wiki

[NTG-context] Pagenumber in footer

2011-08-03 Thread Markus Finke
I want to place the pagenumber higher and something is getting wrong: \setuppagenumbering [alternative=doublesided, location={footer,marginedge}, command=\MyPageNumbercommand] \def\MyPageNumbercommand#1{\raisebox{2em}{#1}} I use \usemodule[typearea] and maybe \setuplayout[footer/foot

Re: [NTG-context] linenumbering and text backgrounds

2011-08-03 Thread Aditya Mahajan
On Wed, 3 Aug 2011, Hans Hagen wrote: On 1-8-2011 3:37, Aditya Mahajan wrote: Hi, Line numbering does not work well with text backgrounds (with location=paragraph). Consider the following minimal example \definetextbackground [test] [location=paragraph, alternative=0, frame=off, background=co

Re: [NTG-context] linenumbering and text backgrounds

2011-08-03 Thread Hans Hagen
On 1-8-2011 3:37, Aditya Mahajan wrote: Hi, Line numbering does not work well with text backgrounds (with location=paragraph). Consider the following minimal example \definetextbackground [test] [location=paragraph, alternative=0, frame=off, background=color, backgroundcolor=yellow] \starttex

Re: [NTG-context] itemization vs itemization inside a tabulation stuggles

2011-08-03 Thread Hans Hagen
On 3-8-2011 10:15, Hans Hagen wrote: \setconstant \tabulatesplitlinemode \plustwo just \tabulatesplitlinemode \plustwo - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Ha

Re: [NTG-context] itemization vs itemization inside a tabulation stuggles

2011-08-03 Thread Hans Hagen
On 30-7-2011 10:12, Wolfgang Schuster wrote: Am 29.07.2011 um 23:06 schrieb Willi Egger: Hi I have a document where I use itemizations inside a tabulation. In this case the \head command is not respected and it overwrites the previous item. Please refer to the enclosed example. What am I d

Re: [NTG-context] Enlarge the text height for a row on a single page

2011-08-03 Thread Markus Finke
\adaptlayout[lines=1] Thank you!! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : ht

Re: [NTG-context] Enlarge the text height for a row on a single page

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 21:12 schrieb Markus Finke: > I need the function of \enlargethispage{\baselineskip} (= LaTeX) and can’t > find anything. \adaptlayout[lines=1] Wolfgang ___ If your question is of interest to othe

[NTG-context] Enlarge the text height for a row on a single page

2011-08-03 Thread Markus Finke
I need the function of \enlargethispage{\baselineskip} (= LaTeX) and can’t find anything. I want to pull back an one-row-paragraph after \fancybreak in my final typesetting process. TIA ___ If your question is of

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Cecil Westerhof
2011/8/3 Wolfgang Schuster > > That is in this case a better solution. For one in my solution the table > became to wide. (Do not know why.) > > >>> The combined width of the columns in your table had been \textwidth but >>> there is also a space between the columns which makes the table wider th

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 19:54 schrieb Cecil Westerhof: > 2011/8/3 Wolfgang Schuster > > That is in this case a better solution. For one in my solution the table > > became to wide. (Do not know why.) >> >> The combined width of the columns in your table had been \textwidth but >> there is also a spa

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Cecil Westerhof
2011/8/3 Wolfgang Schuster > > That is in this case a better solution. For one in my solution the table > became to wide. (Do not know why.) > > >> The combined width of the columns in your table had been \textwidth but >> there is also a space between the columns which makes the table wider than

Re: [NTG-context] itemization vs itemization inside a tabulation stuggles

2011-08-03 Thread Hans Hagen
On 30-7-2011 10:12, Wolfgang Schuster wrote: Am 29.07.2011 um 23:06 schrieb Willi Egger: Hi I have a document where I use itemizations inside a tabulation. In this case the \head command is not respected and it overwrites the previous item. Please refer to the enclosed example. What am I d

Re: [NTG-context] itemization vs itemization inside a tabulation stuggles

2011-08-03 Thread Hans Hagen
On 29-7-2011 11:06, Willi Egger wrote: Hi I have a document where I use itemizations inside a tabulation. In this case the \head command is not respected and it overwrites the previous item. Please refer to the enclosed example. What am I doing wrong or is this a bug? As Wolfgang pointed ou

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Cecil Westerhof
2011/8/3 Wolfgang Schuster > My first idea would be to place the photo in a layer in the background. > > >> I tried the following: >> \definelayer[picture][ >> preset=righttop, >> ] >> >> \setlayer[picture]{\externalfigure[graphics/pasfotoKlein]} >> >> \setupbackgrounds[page][rightedge][backgro

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 19:15 schrieb Cecil Westerhof: > 2011/8/3 Wolfgang Schuster > My first idea would be to place the photo in a layer in the background. >> >> I tried the following: >> \definelayer[picture][ >> preset=righttop, >> ] >> >> \setlayer[picture]{\externalfigure[graphics/pasfotoKlei

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 19:18 schrieb Cecil Westerhof: > 2011/8/3 Wolfgang Schuster > > That is in this case a better solution. For one in my solution the table > > became to wide. (Do not know why.) > > The combined width of the columns in your table had been \textwidth but there > is also a space

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Cecil Westerhof
2011/8/3 Wolfgang Schuster > > That is in this case a better solution. For one in my solution the table > became to wide. (Do not know why.) > > The combined width of the columns in your table had been \textwidth but > there is also a space between the columns which makes the table wider than > t

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Cecil Westerhof
2011/8/3 Wolfgang Schuster > My first idea would be to place the photo in a layer in the background. > > > I tried the following: > \definelayer[picture][ > preset=righttop, > ] > > \setlayer[picture]{\externalfigure[graphics/pasfotoKlein]} > > \setupbackgrounds[page][rightedge][background=pict

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 18:47 schrieb Cecil Westerhof: > That is in this case a better solution. For one in my solution the table > became to wide. (Do not know why.) The combined width of the columns in your table had been \textwidth but there is also a space between the columns which makes the tabl

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 18:42 schrieb Cecil Westerhof: > 2011/8/3 Willi Egger > My first idea would be to place the photo in a layer in the background. > > I tried the following: > \definelayer[picture][ > preset=righttop, > ] > > \setlayer[picture]{\externalfigure[graphics/pasfotoKlein]} > > \set

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Cecil Westerhof
2011/8/3 Wolfgang Schuster > I am using the following code: > > \starttabulate[|l|l|] >> \HL >> \NC {\bf Primair} \NC {\bf Secundair} \NC\NR >> \HL >> \NC C en C++ \NC Java \NC\NR >> \NC Python\NC Perl \NC\NR >> \NC shell-script \NC Lisp

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Cecil Westerhof
2011/8/3 Willi Egger > My first idea would be to place the photo in a layer in the background. > I tried the following: \definelayer[picture][ preset=righttop, ] \setlayer[picture]{\externalfigure[graphics/pasfotoKlein]} \setupbackgrounds[page][rightedge][background=picture] Whatever I do,

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Cecil Westerhof
2011/8/3 Wolfgang Schuster > > Am 03.08.2011 um 09:52 schrieb Cecil Westerhof: > > I am converting my CV to ConTeXt. Simplified I have the folowing in it: > \startfiguretext[right]{none}{\externalfigure[graphics/pasfotoKlein]} > \startalignment[center] > E-mail: ce...@decebal.nl > > Woo

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 10:51 schrieb Cecil Westerhof: > 2011/8/3 Cecil Westerhof > I am using the following code: > \starttabulate[|l|l|] > \HL > \NC {\bf Primair} \NC {\bf Secundair} \NC\NR > \HL > \NC C en C++ \NC Java \NC\NR > \NC Python\NC Perl \NC

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 09:52 schrieb Cecil Westerhof: > I am converting my CV to ConTeXt. Simplified I have the folowing in it: > \startfiguretext[right]{none}{\externalfigure[graphics/pasfotoKlein]} > \startalignment[center] > E-mail: ce...@decebal.nl > > Woonplaats: Werkhoven > > Gebo

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 17:11 schrieb Willi Egger: > My first idea would be to place the photo in a layer in the background. +1 Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wi

Re: [NTG-context] Defining frame-like commands

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 15:27 schrieb Marcin Borkowski: > Hi, > > I'm feeling like I'm getting close to the daily limit of posts to the > list;), but I'm just learning;). > > I discovered that I can use \defineframed so that I can write > > \defineframed[myframed][frame=off,background=myoverlay] > >

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Willi Egger
Though older, there is an article in MAPS22 (see ntg-website) explaining what tabulate can do. Willi On 3 Aug 2011, at 10:37, Cecil Westerhof wrote: > I am using the following code: > \starttabulate[|l|l|] > \HL > \NC {\bf Primair} \NC {\bf Secundair} \NC\NR > \HL > \NC C en C++ \NC Ja

Re: [NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Willi Egger
My first idea would be to place the photo in a layer in the background. Willi On 3 Aug 2011, at 09:52, Cecil Westerhof wrote: > I am converting my CV to ConTeXt. Simplified I have the folowing in it: > \startfiguretext[right]{none}{\externalfigure[graphics/pasfotoKlein]} > \startalignment[cente

Re: [NTG-context] background over two page

2011-08-03 Thread Aditya Mahajan
Reviving an old thread because I found a really simple solution. Hopefully this will also be useful to someone else. On Mon, 18 Oct 2010, Wolfgang Schuster wrote: Am 18.10.2010 um 14:18 schrieb Otared Kavian: Your solution works as intended when the framed, highlighted text with background

Re: [NTG-context] METAFUN's randomized operator's seed

2011-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
http://www.tug.org/utilities/plain/cseq.html#time-rp this would also explain, why the seconds do not count :-) Best regards, OK, so it could be better e.g.: \starttext \directlua{context.setuprandomize{os.time()}} ... Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l.

Re: [NTG-context] METAFUN's randomized operator's seed

2011-08-03 Thread Peter Rolf
Am 03.08.2011 16:07, schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > >> \setuprandomize[\normaltime] >> >> I guess a call after \starttext will do. >> >> Peter > > I tried it as I was just about to solve the same problem; it seems to > work in condition that *at least one minute elapse

Re: [NTG-context] METAFUN's randomized operator's seed

2011-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, \setuprandomize[\normaltime] I guess a call after \starttext will do. Peter I tried it as I was just about to solve the same problem; it seems to work in condition that *at least one minute elapses between two runs*. BTW, what exactly does \normaltime expand to? Does it contain seco

Re: [NTG-context] METAFUN's randomized operator's seed

2011-08-03 Thread Aditya Mahajan
On Wed, 3 Aug 2011, Marcin Borkowski wrote: Hi, I noticed that each time I recompile a document using randomized the result is the same, so presumably the random seed is also the same. I guess this is intentional. My questions are: * Does the random seed value depend on a checksum of the tex

Re: [NTG-context] Runaway argument with \stoptabulate in a macro

2011-08-03 Thread Aditya Mahajan
On Wed, 3 Aug 2011, Wolfgang Schuster wrote: Am 03.08.2011 um 13:25 schrieb Cecil Westerhof: I have the following code: […] When I put a \stoptabulate after \StopWorkTable it compiles as expected. But why does the \stoptabulate in \StopWorkTable not work? This is a limitation of the way

Re: [NTG-context] METAFUN's randomized operator's seed

2011-08-03 Thread Peter Rolf
Am 03.08.2011 15:19, schrieb Marcin Borkowski: > Hi, > > I noticed that each time I recompile a document using randomized the > result is the same, so presumably the random seed is also the same. I > guess this is intentional. My questions are: > * Does the random seed value depend on a checksum

[NTG-context] Defining frame-like commands

2011-08-03 Thread Marcin Borkowski
Hi, I'm feeling like I'm getting close to the daily limit of posts to the list;), but I'm just learning;). I discovered that I can use \defineframed so that I can write \defineframed[myframed][frame=off,background=myoverlay] \myframed{whatever} But I'd like to have "my" counterparts of \infram

[NTG-context] METAFUN's randomized operator's seed

2011-08-03 Thread Marcin Borkowski
Hi, I noticed that each time I recompile a document using randomized the result is the same, so presumably the random seed is also the same. I guess this is intentional. My questions are: * Does the random seed value depend on a checksum of the tex file or something like this? * How to change

[NTG-context] Problem with integral limits with Pagella

2011-08-03 Thread Marcin Borkowski
Hi, this gives a very bad result (the limits overlap the integral sign): \usetypescript[pagella] \setupbodyfont[pagella] \starttext \startformula \int_a^b\frac{dx}{x^2+1} \stopformula \stoptext A similar thing happens with termes, but with LM it's okay. Am I doing something wrong? -- Mar

Re: [NTG-context] Runaway argument with \stoptabulate in a macro

2011-08-03 Thread Cecil Westerhof
2011/8/3 Wolfgang Schuster > > Am 03.08.2011 um 13:25 schrieb Cecil Westerhof: > > > I have the following code: > > > > […] > > > > When I put a \stoptabulate after \StopWorkTable it compiles as expected. > But why does the \stoptabulate in \StopWorkTable not work? > > This is a limitation of the

Re: [NTG-context] Runaway argument with \stoptabulate in a macro

2011-08-03 Thread Wolfgang Schuster
Am 03.08.2011 um 13:25 schrieb Cecil Westerhof: > I have the following code: > > […] > > When I put a \stoptabulate after \StopWorkTable it compiles as expected. But > why does the \stoptabulate in \StopWorkTable not work? This is a limitation of the way how tabulate is written. When you wan

[NTG-context] Runaway argument with \stoptabulate in a macro

2011-08-03 Thread Cecil Westerhof
I have the following code: \usemodule[fancybreak] \definefancybreak[myblank][indentnext=no] \define[2]\StartWorkTable{ \myblank[2*big] \starttabulate[|w(.1\textwidth)|p(.9\textwidth)|] \HL \NC #1 \NC #2 \NC\NR \HL \NC\NC {\bf Gedaan} \NC\NR } \define[1]\Activity

Re: [NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Cecil Westerhof
2011/8/3 Cecil Westerhof > I am using the following code: > \starttabulate[|l|l|] > \HL > \NC {\bf Primair} \NC {\bf Secundair} \NC\NR > \HL > \NC C en C++ \NC Java \NC\NR > \NC Python\NC Perl \NC\NR > \NC shell-script \NC Lisp \N

[NTG-context] Using the width of the page with start/stop tabulate

2011-08-03 Thread Cecil Westerhof
I am using the following code: \starttabulate[|l|l|] \HL \NC {\bf Primair} \NC {\bf Secundair} \NC\NR \HL \NC C en C++ \NC Java \NC\NR \NC Python\NC Perl \NC\NR \NC shell-script \NC Lisp \NC\NR \NC SQL \NC HTML-4 en JavaSc

[NTG-context] Centering text on the width of the page when using \startfiguretext

2011-08-03 Thread Cecil Westerhof
I am converting my CV to ConTeXt. Simplified I have the folowing in it: \startfiguretext[right]{none}{\externalfigure[graphics/pasfotoKlein]} \startalignment[center] E-mail: ce...@decebal.nl Woonplaats: Werkhoven Geboren: 15 april 1963 te Belleville Ontario (Can.) Nationaliteit

Re: [NTG-context] A couple of setupcaptions questions

2011-08-03 Thread Jean Magnan de Bornier
Le 03 août à 08:29:55 Jean Magnan de Bornier écrit notamment: | No; here is where I stand after some more trial and errors: | - On my small testfile when adding chapters and sections I get a prefix (section | number); however I want the chapter number as prefix, which is the | standard pract