Re: [NTG-context] Question about \startcombination \stopcombination

2016-08-18 Thread Hans Hagen
On 8/18/2016 8:31 PM, Mohammad Hossein Bateni wrote: Hans, This is very good point. Is it an exception for start/start/combination or a more general difference? In fact, what are the differences between \X{y} and \startX y\stopX? A while back I ran into some weird issues and I figured that

[NTG-context] Detecting content out of print/page area ?

2016-08-18 Thread josephcanedo
Dear all, I was wondering if there were any sort of tool (beyond manual eye inspection) in general sense, either printing some warning in log file, or visually in output document, or even reading pdf file, that would help determining if for a some page there is content that is typeset outside

Re: [NTG-context] \getscaledglyph for width-only

2016-08-18 Thread Hans Hagen
On 8/18/2016 6:30 PM, Brian R. Landy wrote: On Thu, 18 Aug 2016, Hans Hagen wrote: On 8/18/2016 1:12 AM, Brian R. Landy wrote: On Aug 17, 2016, at 5:45 PM, Hans Hagen wrote: On 8/17/2016 9:56 PM, Brian R. Landy wrote: Hi, I was wondering if there is a way to call

Re: [NTG-context] What's the difference between \dontleavehmode and \leavevmode?

2016-08-18 Thread Hans Hagen
On 8/18/2016 8:14 PM, Henri Menke wrote: Hans, Wolfgang, thank you for your speedy reply. However, I still do not know the difference between \leavevmode and \quitvmode. Could you please elaborate? simple explanation: \quitvmode checks if it's in h mode already and doesn't do redundant

[NTG-context] Question about \startcombination \stopcombination

2016-08-18 Thread Fabrice Couvreur
Hello, The use of \startcombination ... \stopcombination does not work with my environment, I do not get all framed but only two and four Thank you Fabrice # \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \defineframedtext [MyFrame]

Re: [NTG-context] Question about \startcombination \stopcombination

2016-08-18 Thread Hans Hagen
On 8/18/2016 7:12 PM, Fabrice Couvreur wrote: Hello, The use of \startcombination ... \stopcombination does not work with my environment, I do not get all framed but only two and four Thank you Fabrice # \definecolor[MyColorA][r=0.8784,

Re: [NTG-context] What's the difference between \dontleavehmode and \leavevmode?

2016-08-18 Thread Henri Menke
Hans, Wolfgang, thank you for your speedy reply. However, I still do not know the difference between \leavevmode and \quitvmode. Could you please elaborate? Cheers, Henri On 08/18/2016 06:39 PM, Hans Hagen wrote: > On 8/18/2016 5:23 PM, Henri Menke wrote: >> Dear list, >> >> could someone

Re: [NTG-context] Question about \startcombination \stopcombination

2016-08-18 Thread Fabrice Couvreur
Hi Hans Thank you, I do not know. Fabrice 2016-08-18 19:46 GMT+02:00 Hans Hagen : > On 8/18/2016 7:12 PM, Fabrice Couvreur wrote: > >> Hello, >> The use of \startcombination ... \stopcombination does not work with my >> environment, I do not get all framed but only two and four >>

Re: [NTG-context] \getscaledglyph for width-only

2016-08-18 Thread Hans Hagen
On 8/18/2016 1:12 AM, Brian R. Landy wrote: On Aug 17, 2016, at 5:45 PM, Hans Hagen wrote: On 8/17/2016 9:56 PM, Brian R. Landy wrote: Hi, I was wondering if there is a way to call \getscaledglyph to scale a glyph only horizontally, leaving the height untouched? Or maybe an

Re: [NTG-context] What's the difference between \dontleavehmode and \leavevmode?

2016-08-18 Thread Wolfgang Schuster
Henri Menke 18. August 2016 um 17:23 Dear list, could someone please explain what is the difference between \dontleavehmode and \leavevmode? Internally, I also stumbled upon \quitvmode. Is this a synonym for \leavevmode? It seems to be primitive. No, \quitvmode

[NTG-context] What's the difference between \dontleavehmode and \leavevmode?

2016-08-18 Thread Henri Menke
Dear list, could someone please explain what is the difference between \dontleavehmode and \leavevmode? Internally, I also stumbled upon \quitvmode. Is this a synonym for \leavevmode? It seems to be primitive. Cheers, Henri

Re: [NTG-context] \getscaledglyph for width-only

2016-08-18 Thread Brian R. Landy
On Thu, 18 Aug 2016, Hans Hagen wrote: On 8/18/2016 1:12 AM, Brian R. Landy wrote: On Aug 17, 2016, at 5:45 PM, Hans Hagen wrote: On 8/17/2016 9:56 PM, Brian R. Landy wrote: Hi, I was wondering if there is a way to call \getscaledglyph to scale a glyph only horizontally,

Re: [NTG-context] What's the difference between \dontleavehmode and \leavevmode?

2016-08-18 Thread Hans Hagen
On 8/18/2016 5:23 PM, Henri Menke wrote: Dear list, could someone please explain what is the difference between \dontleavehmode and \leavevmode? Internally, I also stumbled upon \quitvmode. Is this a synonym for \leavevmode? It seems to be primitive. \leavevmode is kind of useless as it

Re: [NTG-context] \definemathcommand lowers the text

2016-08-18 Thread Aditya Mahajan
On Wed, 17 Aug 2016, Mikael P. Sundqvist wrote: Hi! look at the output of this (attached) \definemathcommand [D] [nolop] {\mfunction{D}} \starttext Compare $\D f$ with $\mfunction{D}f$. \stoptext In the \D, the D is lowered a bit. I think it should not be, or else I misuse something. If so,

Re: [NTG-context] Question about \startcombination \stopcombination

2016-08-18 Thread Mohammad Hossein Bateni
Hans, This is very good point. Is it an exception for start/start/combination or a more general difference? In fact, what are the differences between \X{y} and \startX y\stopX? A while back I ran into some weird issues and I figured that the latter inserts an \endgraf or something like that in

Re: [NTG-context] space before/after colored framed text

2016-08-18 Thread Pablo Rodriguez
On 08/17/2016 11:59 PM, Jean-Pierre Delange wrote: > Thank you very much Pablo ! > > As a beginner I don't understand very well the complete meaning of > "minimal" working sample, perhaps because my own code is full of > mistakes and compiles sometimes with somes issues. Hi Jean-Pierre, a

Re: [NTG-context] \definemathcommand lowers the text

2016-08-18 Thread Mikael P. Sundqvist
Den 18 aug. 2016 9:09 em skrev "Aditya Mahajan" : > > On Wed, 17 Aug 2016, Mikael P. Sundqvist wrote: > >> Hi! >> >> look at the output of this (attached) >> >> \definemathcommand [D] [nolop] {\mfunction{D}} >> \starttext >> Compare $\D f$ with $\mfunction{D}f$. >> \stoptext >>