[NTG-context] Hello world title not flush left - beginner question?

2011-11-03 Thread Grant William (ST-CO/ENG3.11)
Hi all, I am a novice user of latex and have always wanted to have more control over how things look and are set up. Context is perfect! But now I am stuck on a frustrating bug I can't seem to figure out. Maybe this is not a bug at all... Nontheless, in the Hello World

[NTG-context] OT LCD 498 pixels-per-inch

2011-11-03 Thread luigi scarso
http://www.tmdisplay.com/english/news/2011/2011_1020.htm -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] lua and brackets

2011-11-03 Thread Martin Fechner
Hi all, I try to call a lua-function, but it seems that it doesn't work if the parameter contains squared brackets. Here is a short example: \starttext sometext \reference[myref]{} is \ctxlua{tex.print(\atpage[myref])} \stoptext Is there a way to mask the

Re: [NTG-context] empty footnote marker needed

2011-11-03 Thread Steffen Wolfrum
Sure, one can use a construct like this ... \starttext \chapter{a} \section{b} \start \definestructureconversionset[footnote][empty] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] test\footnote{only this} text \stop \stoptext ... but a short command

Re: [NTG-context] width (height?) of 90° rotated tabulate

2011-11-03 Thread Philipp Gesang
On 2011-11-03 01:15, Philipp Gesang wrote: Good evening all, the following example demonstrates my problem: ··8· \showframe \newdimen\tabcolsize \tabcolsize=.25\vsize \def\knuth{\input knuth\relax}

Re: [NTG-context] lua and brackets

2011-11-03 Thread Hans Hagen
On 3-11-2011 10:15, Martin Fechner wrote: Hi all, I try to call a lua-function, but it seems that it doesn't work if the parameter contains squared brackets. Here is a short example: \starttext sometext \reference[myref]{} is \ctxlua{tex.print(\atpage[myref])} \stoptext Is there a way to mask

Re: [NTG-context] OT LCD 498 pixels-per-inch

2011-11-03 Thread Hans Hagen
On 3-11-2011 09:56, luigi scarso wrote: http://www.tmdisplay.com/english/news/2011/2011_1020.htm A pitty that laptop screens don't get better (and tend to go to lower res instead). Hans -

Re: [NTG-context] OT LCD 498 pixels-per-inch

2011-11-03 Thread luigi scarso
On Thu, Nov 3, 2011 at 12:09 PM, Hans Hagen pra...@wxs.nl wrote: On 3-11-2011 09:56, luigi scarso wrote: http://www.tmdisplay.com/english/news/2011/2011_1020.htm A pitty that laptop screens don't get better (and tend to go to lower res instead). I can only argue that power consumption and

[NTG-context] wiki.contexgarden.net/Main_Page

2011-11-03 Thread Alan Braslau
Dear context garden administrators (and users): It would be a good idea to have a wiki.contextgarden.net/News page containing an archive of past and present news. Clicking on the News label on the Main_Page could go there. Examples of items to include could be: July 2011: TeX Live 2011

Re: [NTG-context] lua and brackets

2011-11-03 Thread Martin Fechner
Am 03.11.2011 12:01, schrieb Hans Hagen: On 3-11-2011 10:15, Martin Fechner wrote: Hi all, I try to call a lua-function, but it seems that it doesn't work if the parameter contains squared brackets. Here is a short example: \starttext sometext \reference[myref]{} is

Re: [NTG-context] beta

2011-11-03 Thread Leo Razoumov
On Fri, Oct 28, 2011 at 10:24, Hans Hagen pra...@wxs.nl wrote: Hi, I uploaded a new beta. The biggest new thing is that there is yet another table mechanism: extreme tables. There is a manual too: http://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf It would help the navigation if

Re: [NTG-context] lua and brackets

2011-11-03 Thread Hans Hagen
On 3-11-2011 12:42, Martin Fechner wrote: Am 03.11.2011 12:01, schrieb Hans Hagen: On 3-11-2011 10:15, Martin Fechner wrote: Hi all, I try to call a lua-function, but it seems that it doesn't work if the parameter contains squared brackets. Here is a short example: \starttext

[NTG-context] \unit problem

2011-11-03 Thread Romain Diss
Hello all, It seems that some unit combinations don't work very well with the \unit macro. I have some problems with the m- (milli-) prefix but some tests reveal other strange errors. Here is a not so minimal example. The first 33 entries come from phys- dim.mkiv and work well. In the entries

Re: [NTG-context] Hello world title not flush left - beginner question?

2011-11-03 Thread Wolfgang Schuster
Am 02.11.2011 um 17:38 schrieb Grant William (ST-CO/ENG3.11): Hi all, I am a novice user of latex and have always wanted to have more control over how things look and are set up. Context is perfect! But now I am stuck on a frustrating bug I can't seem to figure out. Maybe this is

Re: [NTG-context] wiki.contexgarden.net/Main_Page

2011-11-03 Thread Mojca Miklavec
On Thu, Nov 3, 2011 at 12:24, Alan Braslau alan.bras...@cea.fr wrote: Dear context garden administrators (and users): It would be a good idea to have a wiki.contextgarden.net/News page containing an archive of past and present news. Clicking on the News label on the Main_Page could go there.

Re: [NTG-context] lua and brackets

2011-11-03 Thread Martin Fechner
And if you want pure lua, you can do: \startluacode function document.pagesetup(ref_one,ref_two) local one, bug = structures.references.identify(,ref_one) if bug then context([unknown reference: %s],ref_one) return end local two, bug = structures.references.identify(,ref_two) if bug then

Re: [NTG-context] wiki.contexgarden.net/Main_Page

2011-11-03 Thread Alan Braslau
On Thu, Nov 03, 2011 at 03:00:27PM +0100, Mojca Miklavec wrote: Should this new page be generally editable, or should it be administered? Generally editable. It is already editable now, only the main page is locked because of spammers, but you are free to change contents. OK - I see

Re: [NTG-context] Hello world title not flush left - beginner question?

2011-11-03 Thread Wolfgang Schuster
Am 03.11.2011 um 15:15 schrieb Alan Braslau: On Thu, Nov 03, 2011 at 02:36:06PM +0100, Wolfgang Schuster wrote: \def\startdictum {\dostartbuffer[dictum][startdictum][stopdictum]} \setuphead [title] [insidesection=\texsetup{dictum}] \startsetups dictum \doifelsebuffer{dictum}

Re: [NTG-context] Hello world title not flush left - beginner question?

2011-11-03 Thread Alan Braslau
On Thu, Nov 03, 2011 at 03:33:48PM +0100, Wolfgang Schuster wrote: How is a framedtext more logical than a dictum or epigraph environment, with my solution you can also change the definition of the code to place the epigraph format without any change in the text while your framed text is

Re: [NTG-context] Hello world title not flush left - beginner question?

2011-11-03 Thread Wolfgang Schuster
Am 03.11.2011 um 15:51 schrieb Alan Braslau: On Thu, Nov 03, 2011 at 03:33:48PM +0100, Wolfgang Schuster wrote: How is a framedtext more logical than a dictum or epigraph environment, with my solution you can also change the definition of the code to place the epigraph format without any

[NTG-context] xtables in custom macros

2011-11-03 Thread Stefan Müller
Hi list, I just played a bit with the nice new xtables. It seems as if \stopxtable does not work if used inside a custom macro. I get a Runaway argument error with the current standalone if I uncomment \Doesnt in the following example. \define\Works{\startxtable \startxrow \startxcell works

Re: [NTG-context] xtables in custom macros

2011-11-03 Thread Wolfgang Schuster
Am 03.11.2011 um 20:37 schrieb Stefan Müller: Hi list, I just played a bit with the nice new xtables. It seems as if \stopxtable does not work if used inside a custom macro. I get a Runaway argument error with the current standalone if I uncomment \Doesnt in the following example.

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Tue, 01 Nov 2011 14:03:04 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Well, that's quite frustrating... I have a 400-page document I'm trying to port to MkIV full of references, the old \inmargin no longer respect [align=outer], so I switched to the new

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 01 Nov 2011 14:03:04 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Well, that's quite frustrating... I have a 400-page document I'm trying to port to MkIV full of references, the old \inmargin no longer respect [align=outer], so I switched to the new system, and

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 01 Nov 2011 14:03:04 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Well, that's quite frustrating... I have a 400-page document I'm trying to port to MkIV full of references, the old \inmargin no longer respect [align=outer], so I switched to the new system, and

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Wolfgang Schuster
Am 03.11.2011 um 21:12 schrieb Idris Samawi Hamid ادريس سماوي حامد: Hi Wolfgang, On Tue, 01 Nov 2011 14:03:04 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Well, that's quite frustrating... I have a 400-page document I'm trying to port to MkIV full of references, the

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Wolfgang Schuster
Am 03.11.2011 um 21:17 schrieb Idris Samawi Hamid ادريس سماوي حامد: On Tue, 01 Nov 2011 14:03:04 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Well, that's quite frustrating... I have a 400-page document I'm trying to port to MkIV full of references, the old \inmargin

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Nov 2011 14:23:28 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: The old \inmargin command is gone, Hans rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer] for for a single command with

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Wolfgang Schuster
Am 03.11.2011 um 21:35 schrieb Idris Samawi Hamid ادريس سماوي حامد: What am I doing wrong? or should we just officially forget about the marginframed mechanism and stick to margindata only?? Just to be clear, the name of the whole thing is margin data and you define a new command with

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Nov 2011 15:04:06 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: What am I doing wrong? or should we just officially forget about the marginframed mechanism and stick to margindata only?? Just to be clear, the name of the whole thing is margin data and you

Re: [NTG-context] xtables in custom macros

2011-11-03 Thread Stefan Müller
Am 03.11.2011 um 20:37 schrieb Stefan Müller: Hi list, I just played a bit with the nice new xtables. It seems as if \stopxtable does not work if used inside a custom macro. I get a Runaway argument error with the current standalone if I uncomment \Doesnt in the following example.

[NTG-context] annotation MODULE BUG

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, especially Wolf-gang ;-) The annotation module seems to cancel indentation, so the paragraph after a note starts with no indentation. Regular inmargin etc does not have this problem: = \usemodule[annotation] \define[2]\MymarginCommand

Re: [NTG-context] annotation MODULE BUG

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
lol, the all-caps for 'module bug' was an accident, sorry for the noise! On Thu, 03 Nov 2011 16:44:52 -0600, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, especially Wolf-gang ;-) -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of

Re: [NTG-context] annotation MODULE BUG

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Nov 2011 16:44:52 -0600, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: The annotation module seems to cancel indentation, so the paragraph after a note starts with no indentation. More precisely, The annotation module seems to cancel indentation, so the

[NTG-context] stacking marginal notes

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Syndicate, Does stacking work? I've never tried it before, but it would be a godsend to the current porting-to-mkiv project: = \setupmargindata[inmargin][stack=yes] \setupmarginframed[inmargin][stack=yes] \starttext \dorecurse{2}{This is a test of the annotation

Re: [NTG-context] Fatal error

2011-11-03 Thread Kip Warner
On Thu, 2011-11-03 at 05:26 +0100, Wolfgang Schuster wrote: ??? What's wrong? \defineframedtext [CodeExampleFrame] [before=\blank, after=\blank, corner=round, offset=0.5cm] \definetyping [CodeExample] [before=\startCodeExampleFrame, after=\stopCodeExampleFrame]

[NTG-context] Figure Help

2011-11-03 Thread Kip Warner
Hey list, Two questions. Is it possible to define / declare a figure with one command instead of having to do something like... \useexternalfigure[SomeFigure][Images/Figure.svg] \externalfigure[SomeFigure][width=2.5cm] Also, how do I shift the figure right a few centimetres in from the left

Re: [NTG-context] Figure Help

2011-11-03 Thread Pontus Lurcock
On Thu 03 Nov 2011, Kip Warner wrote: Two questions. Is it possible to define / declare a figure with one command instead of having to do something like... \useexternalfigure[SomeFigure][Images/Figure.svg] \externalfigure[SomeFigure][width=2.5cm] Sure, \externalfigure[Images/Figure.svg]

Re: [NTG-context] stacking marginal notes

2011-11-03 Thread Wolfgang Schuster
Am 04.11.2011 um 01:06 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear Syndicate, Does stacking work? I've never tried it before, but it would be a godsend to the current porting-to-mkiv project: = \setupmargindata[inmargin][stack=yes]

[NTG-context] Odd column break - how to avoid?

2011-11-03 Thread Alasdair McAndrew
Hello, In a two column document I'm preparing, I have a column break in a very odd place. The column just stops, and the document material just begins in the next column, leaving a lot of white space. I've no idea what's causing this, and I've tried to avoid it, but nothing I do seems to work.