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 ...?) model.

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 mic...@gmail.com wrote: On Wed, Nov 3, 2010 at

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 sure about what

[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] 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 mrog...@emory.edu wrote: The following gives the error with the latest

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Philipp Gesang
···date: 2012-12-06, Thursday···from: Rogers, Michael K··· 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

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Hans Hagen
On 12/6/2012 2:21 PM, Philipp Gesang wrote: ···date: 2012-12-06, Thursday···from: Rogers, Michael K··· 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

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Mojca Miklavec
On Thu, Dec 6, 2012 at 2:21 PM, Philipp Gesang wrote: ···date: 2012-12-06, Thursday···from: Rogers, Michael K··· 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

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 Alan BRASLAU
On Thu, 6 Dec 2012 14:29:04 +0100 Hans Hagen pra...@wxs.nl wrote: On 12/6/2012 2:21 PM, Philipp Gesang wrote: ···date: 2012-12-06, Thursday···from: Rogers, Michael K··· The following gives the error with the latest beta: ! Math error: parameter \Umathquad\displaystyle is not set. I

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] Q about hangaround commands

2012-12-06 Thread Mikael P. Sundqvist
On Thu, Dec 6, 2012 at 11:44 AM, Otared Kavian ota...@gmail.com 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

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 schuster..wolfg...@googlemail.com mailto:schuster.wolfg...@googlemail.com wrote: Am 03.11.2010 um 05:47 schrieb Vladimir Lomov: Hi. Some answers I found myself :)

[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

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

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

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

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 19:05 schrieb Aditya Mahajan adit...@umich.edu: 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

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] Math not loaded?

2012-12-06 Thread Rogers, Michael K
On Dec 6, 2012, at 8:39 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com 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,

Re: [NTG-context] Math not loaded?

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 19:35 schrieb Rogers, Michael K mrog...@emory.edu: On Dec 6, 2012, at 8:39 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com 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

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

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}

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

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,

[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] 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.

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,

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

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] Doubled annotation content

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 21:24 schrieb Marco Patzer home...@lavabit.com: 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

Re: [NTG-context] Doubled annotation content

2012-12-06 Thread Wolfgang Schuster
Am 06.12.2012 um 23:00 schrieb Marco Patzer home...@lavabit.com: 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