Re: [NTG-context] Doubled annotation content

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 23:00 schrieb Marco Patzer : >> Why do you want that command? > > ??? > It allows for flexible placement of the content. You can also use \defineannotationalternative to create your own styles, see - http://www.ntg.nl/pipermail/ntg-context/2012/070019.html and - http://www

Re: [NTG-context] Doubled annotation content

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 21:24 schrieb Marco Patzer : > In the following example the content of the annotation is printed > twice. Bug? > > \usemodule [annotation] > > \defineannotation > [myannotation] > [alternative=command, > command=\cmd] > > \def\cmd > {\placeannotationcontent} The argument

Re: [NTG-context] Doubled annotation content

2012-12-06 Thread Aditya Mahajan
On Thu, 6 Dec 2012, Marco Patzer wrote: On 2012–12–06 Otared Kavian wrote: It seems that your command \cmd places again the content… That's not the case. Check this example: \usemodule [annotation] \defineannotation [first] [alternative=command, command=\cmdFirst] \defineannotation [

Re: [NTG-context] MetaPost instance mechanism broken

2012-12-06 Thread Hans Hagen
On 12/6/2012 8:10 PM, Marco Patzer wrote: On 2012–11–25 Marco Patzer wrote: in one of the last few betas the MetaPost instance mechanism broke. Did the interface change again? The following does not work on today's beta, only “alpha” and “gamma” are printed. \defineMPinstance [myinstance]

Re: [NTG-context] Doubled annotation content

2012-12-06 Thread Marco Patzer
On 2012–12–06 Otared Kavian wrote: > It seems that your command \cmd places again the content… That's not the case. Check this example: \usemodule [annotation] \defineannotation [first] [alternative=command, command=\cmdFirst] \defineannotation [second] [alternative=command, comm

Re: [NTG-context] Doubled annotation content

2012-12-06 Thread Otared Kavian
Hi Marco, It seems that your command \cmd places again the content… Why do you want that command? This works fine: \usemodule [annotation] \defineannotation [myannotation] \starttext \startmyannotation foo \input knuth.tex \stopmyannotation \stoptext Best regards: OK On 6 déc. 20

[NTG-context] Doubled annotation content

2012-12-06 Thread Marco Patzer
In the following example the content of the annotation is printed twice. Bug? \usemodule [annotation] \defineannotation [myannotation] [alternative=command, command=\cmd] \def\cmd {\placeannotationcontent} \starttext \startmyannotation foo \stopmyannotation \stoptext Marco _

Re: [NTG-context] drops module (draft)

2012-12-06 Thread Hans Hagen
On 12/6/2012 7:35 PM, Marco wrote: On 2012–12–06 Aditya Mahajan wrote: I always thought that shadows were possible to do in PDF (after all TikZ does it using some type of PDF primitives). It is. I use MetaPost to draw the shadows using the shading mechanism: withshading("circular", urcorn

Re: [NTG-context] drops module (draft)

2012-12-06 Thread Hans Hagen
On 12/6/2012 7:05 PM, Aditya Mahajan wrote: I always thought that shadows were possible to do in PDF (after all TikZ does it using some type of PDF primitives). Since you are the PDF expert, I am interested in knowing why you choose to go the ImageMagic route. not so efficient but it shows a b

Re: [NTG-context] MetaPost instance mechanism broken

2012-12-06 Thread Marco Patzer
On 2012–11–25 Marco Patzer wrote: > in one of the last few betas the MetaPost instance > mechanism broke. Did the interface change again? The following does not work on today's beta, only “alpha” and “gamma” are printed. \defineMPinstance [myinstance] [metafun] \startuseMPgraphic{alpha} d

Re: [NTG-context] drops module (draft)

2012-12-06 Thread Hans Hagen
On 12/6/2012 7:05 PM, Aditya Mahajan wrote: On Thu, 6 Dec 2012, Peter Rolf wrote: Hi all, a first version of the 'drops'-module (MkIV only) is available at https://www.wuala.com/indiego/public/ConTeXt/drops/?key=caiCGLasLFmJ Taken from the included documentation.. [..] 'drops' is a small ex

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 19:35 schrieb "Rogers, Michael K" : > On Dec 6, 2012, at 8:39 AM, Mojca Miklavec > wrote: > >> On Thu, Dec 6, 2012 at 2:29 PM, Hans Hagen wrote: >>> >>> are there messages on the console with respect to missing fonts? >> >> The font is now called "latinmodernmath-regular.otf"

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Rogers, Michael K
On Dec 6, 2012, at 8:39 AM, Mojca Miklavec wrote: > On Thu, Dec 6, 2012 at 2:29 PM, Hans Hagen wrote: >> >> are there messages on the console with respect to missing fonts? > > The font is now called "latinmodernmath-regular.otf". You need to > change or add that name. Yes, that's one it compla

Re: [NTG-context] drops module (draft)

2012-12-06 Thread Marco
On 2012–12–06 Aditya Mahajan wrote: > I always thought that shadows were possible to do in PDF (after all > TikZ does it using some type of PDF primitives). It is. I use MetaPost to draw the shadows using the shading mechanism: withshading("circular", urcorner bottom_left, urcorner bottom_left

Re: [NTG-context] drops module (draft)

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 19:05 schrieb Aditya Mahajan : > On Thu, 6 Dec 2012, Peter Rolf wrote: > >> Hi all, >> >> a first version of the 'drops'-module (MkIV only) is available at >> >> https://www.wuala.com/indiego/public/ConTeXt/drops/?key=caiCGLasLFmJ >> >> >> Taken from the included documentati

Re: [NTG-context] drops module (draft)

2012-12-06 Thread Aditya Mahajan
On Thu, 6 Dec 2012, Peter Rolf wrote: Hi all, a first version of the 'drops'-module (MkIV only) is available at https://www.wuala.com/indiego/public/ConTeXt/drops/?key=caiCGLasLFmJ Taken from the included documentation.. [..] 'drops' is a small extension for ConTeXt, that allows you to add d

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Hans Hagen
Hi, I combined some functionality into: \showframe \starttext \starthanging{\externalfigure[cow][scale=500]} \input tufte \stophanging \blank \starthanging[right]{\externalfigure[cow][scale=500]} \input tufte \stophanging \blank \starthanging[location=right,n=2,distance=1cm]{\exter

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 11:44 schrieb Otared Kavian : > Hi Mikael, > > The example given by Wolfgang works fine for me with mkii, but not in mkiv: > probably something has changed in mkiv, for example the way [scale=500] must > be used in mkiv. The definitions of commands/environments have changed i

[NTG-context] drops module (draft)

2012-12-06 Thread Peter Rolf
Hi all, a first version of the 'drops'-module (MkIV only) is available at https://www.wuala.com/indiego/public/ConTeXt/drops/?key=caiCGLasLFmJ Taken from the included documentation.. [..] 'drops' is a small extension for ConTeXt, that allows you to add drop shadows to rectangular regions (so ca

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Hans Hagen
On 12/6/2012 10:58 AM, Mikael P. Sundqvist wrote: On Wed, Nov 3, 2010 at 7:51 AM, Wolfgang Schuster mailto:schuster.wolfg...@googlemail.com>> wrote: Am 03.11.2010 um 05:47 schrieb Vladimir Lomov: > Hi. > > Some answers I found myself :) > > P.S. I have feeling that

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Mikael P. Sundqvist
On Thu, Dec 6, 2012 at 11:44 AM, Otared Kavian wrote: > Hi Mikael, > > The example given by Wolfgang works fine for me with mkii, but not in > mkiv: probably something has changed in mkiv, for example the way > [scale=500] must be used in mkiv. > > Best regards: OK > > On 6 déc. 2012, at 10:58, "

Re: [NTG-context] Wrong float numbering with default=top

2012-12-06 Thread Hans Hagen
On 12/6/2012 12:43 PM, Marco Patzer wrote: On 2012-12-04, Marco Patzer wrote: 2012-12-04 Hans Hagen: Hi Hans, As an experiment I've added some trickery. But keep in mind that messing with numbers is never 100% foolproof. So, for the moment you can say \ctxlua{structures.lists.autoreorder =

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Alan BRASLAU
On Thu, 6 Dec 2012 14:29:04 +0100 Hans Hagen wrote: > On 12/6/2012 2:21 PM, Philipp Gesang wrote: > > · > > > >> The following gives the error with the latest beta: > >> > >> ! Math error: parameter \Umathquad\displaystyle is not set. > > > > I can confirm this for version 2012.12.06 01:2

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Mojca Miklavec
On Thu, Dec 6, 2012 at 2:29 PM, Hans Hagen wrote: > > are there messages on the console with respect to missing fonts? The font is now called "latinmodernmath-regular.otf". You need to change or add that name. Mojca PS: but at least you cannot argue that you haven't been warned ;) __

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Mojca Miklavec
On Thu, Dec 6, 2012 at 2:21 PM, Philipp Gesang wrote: > · > >> The following gives the error with the latest beta: >> >> ! Math error: parameter \Umathquad\displaystyle is not set. > > I can confirm this for version 2012.12.06 01:21. It’s OK with > 2012.11.23 17:35. http://tug.org/svn/texl

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Hans Hagen
On 12/6/2012 2:21 PM, Philipp Gesang wrote: · The following gives the error with the latest beta: ! Math error: parameter \Umathquad\displaystyle is not set. I can confirm this for version 2012.12.06 01:21. It’s OK with 2012.11.23 17:35. are there messages on the console with respe

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Philipp Gesang
· > The following gives the error with the latest beta: > > ! Math error: parameter \Umathquad\displaystyle is not set. I can confirm this for version 2012.12.06 01:21. It’s OK with 2012.11.23 17:35. Regards Philipp pgpBC0m0QZ9L5.pgp Description: PGP signature ___

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Otared Kavian
Hi Michael, Your example typesets without problem on my machine (running Mac OS X 10.8 and ConTeXt ver: 2012.12.06 01:21 MKIV). Which version rae you testing? Best regards: OK On 6 déc. 2012, at 13:13, "Rogers, Michael K" wrote: > The following gives the error with the latest beta: > > ! Ma

[NTG-context] Math not loaded?

2012-12-06 Thread Rogers, Michael K
The following gives the error with the latest beta: ! Math error: parameter \Umathquad\displaystyle is not set. with or without setting the font. Is there a quick fix? %\usetypescript[pagella] %\setupbodyfont[pagella,12pt] \starttext $f$ \stoptext Thanks, Michael __

Re: [NTG-context] Wrong float numbering with default=top

2012-12-06 Thread Marco Patzer
On 2012-12-04, Marco Patzer wrote: > 2012-12-04 Hans Hagen: > > Hi Hans, > > > As an experiment I've added some trickery. But keep in mind that messing > > with numbers is never 100% foolproof. So, for the moment you can say > > > > \ctxlua{structures.lists.autoreorder = true} > > > > till we're s

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Otared Kavian
Hi Mikael, The example given by Wolfgang works fine for me with mkii, but not in mkiv: probably something has changed in mkiv, for example the way [scale=500] must be used in mkiv. Best regards: OK On 6 déc. 2012, at 10:58, "Mikael P. Sundqvist" wrote: > On Wed, Nov 3, 2010 at 7:51 AM, Wolfg

Re: [NTG-context] Q about hangaround commands

2012-12-06 Thread Mikael P. Sundqvist
On Wed, Nov 3, 2010 at 7:51 AM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 03.11.2010 um 05:47 schrieb Vladimir Lomov: > > > Hi. > > > > Some answers I found myself :) > > > > P.S. I have feeling that feature like 'hangaround' doesn't fit well > > with tex (page layout ...