[NTG-context] Place a box on the right

2013-05-22 Thread H. Özoguz
Hi there, \starttext \startalignment[right] \framed{This box should be on the right side, but is not.} \stopalignment \stoptext I know it is easy, but could not find it in the reference. Why not allow simply \framed[location=right]{} ? ("right" is not a correct keyword for "location").

[NTG-context] partial derivatives with bonum/pagella font

2013-05-22 Thread Mikael P. Sundqvist
Hi all, The following examples give wrong space. There is a space between the prime and the subscripted x. If I do not load the bonum font it just looks as it should. \setupbodyfont[bonum] \starttext $f'_x$, $f_x'$ $f\prime_x$. \stoptext (it does not look good with the pagella font either...) A

Re: [NTG-context] \digits get \times instead of \cdot before exponent

2013-05-22 Thread Hans Hagen
On 5/21/2013 11:35 PM, Romain Diss wrote: We've already got \setdigitmode, \setdigitorder, and \setdigitspace; it might make sense to create a \setupdigits to consolidate these setups into one interface. Something like this: \setupdigits [mode=4, % -->\setdigitmode{4}

Re: [NTG-context] Place a box on the right

2013-05-22 Thread Henning Hraban Ramm
Did you try "left"? ___ 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 : http://www.pragma-a

Re: [NTG-context] partial derivatives with bonum/pagella font

2013-05-22 Thread Hans Hagen
On 5/22/2013 10:46 AM, Mikael P. Sundqvist wrote: Hi all, The following examples give wrong space. There is a space between the prime and the subscripted x. If I do not load the bonum font it just looks as it should. \setupbodyfont[bonum] \starttext $f'_x$, $f_x'$ $f\prime_x$. \stoptext (it do

Re: [NTG-context] partial derivatives with bonum/pagella font

2013-05-22 Thread Mikael P. Sundqvist
OK! is there a quick fix/hack that somehow allows me to get it look "almost like it should" in a small document today with bonum? I'll give a presentation tomorrow, and if this is not the case I'll change the notation of partial derivative to the one using \partial instead... /Mikael On Wed, Ma

Re: [NTG-context] partial derivatives with bonum/pagella font

2013-05-22 Thread Sietse Brouwer
Hi Mikael, > is there a quick fix/hack that somehow allows me to get it look "almost like > it should" in a small document today with bonum? This might get you somewhere. I hope you don't have too many double primes in your document... NB: `%macros=mkvi` has to be the first line in the file. Ch

Re: [NTG-context] \digits get \times instead of \cdot before exponent

2013-05-22 Thread Romain Diss
Le mercredi 22 mai 2013, Hans Hagen a écrit : > On 5/21/2013 11:35 PM, Romain Diss wrote: > >> We've already got \setdigitmode, \setdigitorder, and \setdigitspace; > >> it might make sense to create a \setupdigits to consolidate these > >> setups into one interface. Something like this: > >> > >>

[NTG-context] Tabulate: vertical distance between rows

2013-05-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, are there more ways how to affect vertical distance between rows within \start/stop-tabulate? 1) There is one, described on wiki (http://wiki.contextgarden.net/Tabulate): \unprotect \appendtoks \blank[halfline] \to \t_tabl_tabulate_every_after_row \protect ... Its problem

Re: [NTG-context] Place a box on the right

2013-05-22 Thread Wolfgang Schuster
Am 22.05.2013 um 09:27 schrieb H. Özoguz : > Hi there, > > \starttext > > \startalignment[right] \framed{This box should be on the right side, but is > not.} \stopalignment > > \stoptext > > > I know it is easy, but could not find it in the reference. Why not allow > simply \framed[locatio

[NTG-context] Faux font

2013-05-22 Thread john Culleton
In some Context manuals (can't remember which ones) there is a faux font that just consists of little rectangles of two different sizes. What is the name of that font? Is it included in e.g. TeXLive? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/sh

[NTG-context] typo in meta-pdf.lua (beta)

2013-05-22 Thread Peter Rolf
Hi, I found a typo in the current beta (2013-05-21) meta-pdf.lua, line 169 168 function mps.translate(tx,ty) 169 mpscode(f_translate(tx,ty) 170 end Regards, Peter ___ If your question is of interest to othe

[NTG-context] Referring to a numbered figure in text.

2013-05-22 Thread john Culleton
Using MKIV and the \placefigure command how do I a. define a reference term in \placefigure command b. refer to that term in my text. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" avail

Re: [NTG-context] Faux font

2013-05-22 Thread Wolfgang Schuster
Am 22.05.2013 um 16:13 schrieb john Culleton : > > In some Context manuals (can't remember which ones) there is a faux font > that just consists of little rectangles of two different sizes. What is > the name of that font? Is it included in e.g. TeXLive? Do you mean \fakeword? \usemodule[visua

Re: [NTG-context] Referring to a numbered figure in text.

2013-05-22 Thread Wolfgang Schuster
Am 22.05.2013 um 17:08 schrieb john Culleton : > > Using MKIV and the \placefigure command how do I > a. define a reference term in \placefigure command > b. refer to that term in my text. \useMPlibrary[dum] \starttext \placefigure [][fig:one] {First dummy figure} {\externalfigure[dummy

Re: [NTG-context] Tabulate: vertical distance between rows

2013-05-22 Thread Wolfgang Schuster
Am 22.05.2013 um 15:20 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > are there more ways how to affect vertical distance between rows within > \start/stop-tabulate? > > 1) There is one, described on wiki (http://wiki.contextgarden.net/Tabulate): > > > \unprotect > \appen

[NTG-context] \smash broken (beta)

2013-05-22 Thread Peter Rolf
as the subject says... :-) \starttext \starttabulate[|l|l|] \NC w \NC \ruledhbox{\smash [w]{This is some great smashing, isn't it?}} \NC \NR \NC h \NC \ruledhbox{\smash [h]{This is some great smashing, isn't it?}} \NC \NR \NC d \NC \ruledhbox{\smash [d]{This is some great smashing, isn't

Re: [NTG-context] \smash broken (beta)

2013-05-22 Thread Wolfgang Schuster
Am 22.05.2013 um 18:00 schrieb Peter Rolf : > as the subject says... :-) > > > \starttext > \starttabulate[|l|l|] > \NC w \NC \ruledhbox{\smash [w]{This is some great smashing, isn't > it?}} \NC \NR > \NC h \NC \ruledhbox{\smash [h]{This is some great smashing, isn't > it?}} \NC \NR > \NC

Re: [NTG-context] partial derivatives with bonum/pagella font

2013-05-22 Thread Mikael P. Sundqvist
Thank you very much Sietse! This fits my needs for the students for tomorrow... I also defined \def\sprime{\myprime{\prime}} \def\dprime{\myprime{\prime\kern-0.1em\prime}} Then $f\sprime_x$ and $f\dprime_{xx}$ is not too hard to write :) /Mikael On Wed, May 22, 2013 at 2:22 PM, Sietse Brouwer

Re: [NTG-context] \smash broken (beta)

2013-05-22 Thread Peter Rolf
Am 22.05.2013 18:44, schrieb Wolfgang Schuster: > > Am 22.05.2013 um 18:00 schrieb Peter Rolf : > >> as the subject says... :-) >> >> >> \starttext >> \starttabulate[|l|l|] >> \NC w \NC \ruledhbox{\smash [w]{This is some great smashing, isn't >> it?}} \NC \NR >> \NC h \NC \ruledhbox{\smash

Re: [NTG-context] Faux font

2013-05-22 Thread Sietse Brouwer
Hi John, John Culleton wrote: >> In some Context manuals (can't remember which ones) there is a faux font >> that just consists of little rectangles of two different sizes. What is >> the name of that font? Is it included in e.g. TeXLive? Wolfgang wrote: > Do you mean \fakeword? Link to the Thi

Re: [NTG-context] Faux font

2013-05-22 Thread Wolfgang Schuster
Am 22.05.2013 um 19:17 schrieb Sietse Brouwer : > NB: I also have some recollection of dummy text composed of hollow > rectangles rather than solid black ones, but like you I cannot > remember where I saw that. Maybe the document also showed kerns, in > pretty colors? I can't remember. One of th

Re: [NTG-context] Tesselating the sheet with a image

2013-05-22 Thread Wolfgang Schuster
Am 21.05.2013 um 07:38 schrieb H. Özoguz : > Hi there, > > for a card game I have this macro: > > \defineoverlay[eslami][{\externalfigure[somepicture.pdf]}] > \def\esl[#1][#2][#3]{% > \startframed[frame=on,width=4.75cm,offset=overlay,align=middle,background=eslami]% > \offinterlineskip > \fra