[NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-17 Thread Mikael P. Sundqvist
Hi, The test file \starttext \placeformula \startformula \startalign \NC \exp(t_1)\exp(t_2)\NC =x_1x_2=\exp(\ln(x_1x_2))\NR \NC \NC =\exp(\ln x_1+\ln x_2)=\exp(t_1+t_2).\NR[eq:explag1] \stopalign \stopformula \placeformula \startformula 1+1=2 \stopformula \stoptext gives the attached pdf. In

[NTG-context] \getscaledglyph for width-only

2016-08-17 Thread Brian R. Landy
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 alternate command? I can sort of accomplish this with (for example) \scale[sx=0.75,sy=1.0]{}{A}, but that encloses the glyph in an \hbox, which can be

Re: [NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-17 Thread Otared Kavian
Hi Mikael, I confirm that the latest beta (ConTeXt version 2016.08.11 13:56 MKIV beta) has the issue you are reporting. This bug is absent from the current version from TeXLive2016, that is ConTeXt version 2016.05.17 19:20 MKIV current. Some time ago I reported an analogous issue with

Re: [NTG-context] Fonts in same directory.-

2016-08-17 Thread Wolfgang Schuster
Freddy Omar López Quintero 17. August 2016 um 02:18 Hello! Today I was working perfectly but after an OS update, I started to have some problems with fonts. In particular, I use to put the font files (.ttf) in the same directory where .tex are placed, but now

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

2016-08-17 Thread Jean-Pierre Delange
Dear list, I use for one of my own projects some code given by Wolfgang to Fabrice (see below), which is working fine : at the end of each chapter, I've placed a framed text as a summary (25 lines with few footnotes). I have 2 questions : 1. What are the keys to manage the space before and

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

2016-08-17 Thread Thomas A. Schmitz
> On 17 Aug 2016, at 16:36, Jean-Pierre Delange wrote: > > Dear list, > > I use for one of my own projects some code given by Wolfgang to Fabrice (see > below), which is working fine : at the end of each chapter, I've placed a > framed text as a summary (25 lines with few

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

2016-08-17 Thread Jean-Pierre Delange
Hi Thomas, I am very sorry. As a beginner with ConTeXt, I surely make mistakes, even in the way to show which issues I am confronting to. Maybe I ought to give the whole code where some errors occured, but I thought that the code was too long to be mailed to this list. That's why I have

Re: [NTG-context] Strange problem with Blockquote

2016-08-17 Thread Pablo Rodriguez
On 08/17/2016 10:55 AM, Robert Blackstone wrote: > Hi Pablo, > > Thanks for your suggestion. I did try to insert this code where I > thought I might help, though must admit that I'm not sure what to do > with the argument [frontpart]. Hi Robert, the command only changed the interline space in

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

2016-08-17 Thread Pablo Rodriguez
Hi Jean-Pierre, sorry, for top-posting, but I think this way the reply will be clearer. In your previous sample you had two questions. This sample shows the answer: \defineframedtext [MyFrame] [before={\blank[6*big]}, after={\blank[6*big]},

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

2016-08-17 Thread Jean-Pierre Delange
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. The way of making space before and after the frame is now very clear to me,

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

2016-08-17 Thread Hans Hagen
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 alternate command? I can sort of accomplish this with (for example) \scale[sx=0.75,sy=1.0]{}{A}, but that

[NTG-context] \definemathcommand lowers the text

2016-08-17 Thread Mikael P. Sundqvist
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, how should I define my own operator (I found this

[NTG-context] Windows 10, TeXLive 2016, and grep

2016-08-17 Thread Br. Samuel Springuel
Where can I find the applicable documentation for the grep script included in TeXLive on Windows? I.e. the one called with `mtxrun -script grep ...`. In particular I'm interested in knowing which grep options are available and which are not. `man mtx-grep` lists only 4 options (pattern,

Re: [NTG-context] Windows 10, TeXLive 2016, and grep

2016-08-17 Thread Hans Hagen
On 8/16/2016 9:52 PM, Br. Samuel Springuel wrote: Where can I find the applicable documentation for the grep script included in TeXLive on Windows? I.e. the one called with `mtxrun -script grep ...`. In particular I'm interested in knowing which grep options are available and which are not.

Re: [NTG-context] Strange problem with Blockquote

2016-08-17 Thread Robert Blackstone
On 17 Aug 2016, at 02:19 , Pablo Rodriguez wrote > > > Hi Robert, > > from what I get from your message, there is only one blockquote in the > introduction. > > How about adding the following code before \starttext? > >\startsectionblockenvironment[frontpart] >

[NTG-context] Problems with indexing (+feature requests)

2016-08-17 Thread Mohammad Hossein Bateni
Hello, For a few days I have been playing with registers to generate an RTL index. Beside sorting, I ran into the following. 1) How can I get the index section using \subject? In some styles, I do not want to see the section number. 2) How can I get the Persian comma used instead of the

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

2016-08-17 Thread Brian R. Landy
> 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 >> alternate command? >> >> I can