Re: [NTG-context] How to embed formatting commands into the syntax highlight code generated by scite module?

2016-04-11 Thread Aditya Mahajan
> i want to embed some formatting commands into code highlighted with scite or > vim module, but i do not find its option like "escape=yes". Is there a way to > do it? > With the vim module, `escape=yes` should work in the comment region. See the documentation:

Re: [NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
Awesome. Thanks! On 12 April 2016 at 03:16, wrote: > > > -- > > Message: 4 > Date: Mon, 11 Apr 2016 19:05:39 +0200 > From: Hans Hagen > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Interactionmenu not creating a

Re: [NTG-context] Warnings while compiling pdf after update

2016-04-11 Thread Hans Hagen
On 4/12/2016 12:52 AM, L.S.-Soc wrote: Hi guys, I updated CTX today and now on every pdf compilation i get two warnings: interfaces > implementor > warning: 'scanners.setmapfile' is redefined interfaces > implementor > warning: 'commands.setmapfile' is redefined so three CTX runs

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Aditya Mahajan
On Mon, 11 Apr 2016, Alan BRASLAU wrote: By the way, we added colo-imp-crayola having some funky, hallucinogenic names (according to Hans) as well as colo-imp-ral. (The first might be of interest to Americans and the second to Europeans ;-) These are nice colors. For anyone interested, you

[NTG-context] Warnings while compiling pdf after update

2016-04-11 Thread L.S.-Soc
Hi guys, I updated CTX today and now on every pdf compilation i get two warnings: interfaces > implementor > warning: 'scanners.setmapfile' is redefined interfaces > implementor > warning: 'commands.setmapfile' is redefined so three CTX runs give me six warnings. is there a way to

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-11 Thread Hans Hagen
On 4/11/2016 8:13 PM, Jan Tosovsky wrote: On 2016-04-10 Hans Hagen wrote: On 4/10/2016 11:26 PM, Pablo Rodriguez wrote: On 04/10/2016 11:00 PM, Jan Tosovsky wrote: On 2016-04-10 Hans Hagen wrote: On 4/9/2016 11:22 PM, Jan Tosovsky wrote: since LuaTeXt 0.81 my back-of-the-book index

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Alan BRASLAU
Thank you Wolfgang, this is a very good explanation. One can simplify one's code, perhaps, by defining MP colors from ConTeXt colors, as in: color orange ; orange := \MPcolor{orange} ; Then, one can use orange. There is not much point in redefining the other colors (red, green, blue,

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Jan Tosovsky
On 2016-04-11 Hans Hagen wrote: > On 4/11/2016 9:06 PM, Jan Tosovsky wrote: > > On 2016-04-09 Jan Tosovsky wrote: > >> > >> for an illustration I wanted to colorize all ligatures, but the > >> following method is not reliable for three character ligatures > >> - which ends up black. > >> > >>

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Hans Hagen
On 4/11/2016 9:06 PM, Jan Tosovsky wrote: On 2016-04-09 Jan Tosovsky wrote: for an illustration I wanted to colorize all ligatures, but the following method is not reliable for three character ligatures - which ends up black. While tested with Palatino, it can be simulated even with a default

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
But why should typing \MPcolor{\MPvar{color}}be necessary or useful when \MPvar(color) obviously is sufficient? Or is there a special reason for the nested macros? > On 11 Apr 2016, at 19:16, Aditya Mahajan wrote: > > On Mon, 11 Apr 2016, Meer, Hans van der wrote: > >> >>

Re: [NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
Wolfgang, Hans, Thanks for your explanations. Hans van der Meer On 11 Apr 2016, at 19:10, Wolfgang Schuster > wrote: Meer, Hans van der 11. April 2016 um 18:49 Could be of course. But the question is:

Re: [NTG-context] Ligature color is not reliable

2016-04-11 Thread Jan Tosovsky
On 2016-04-09 Jan Tosovsky wrote: > > for an illustration I wanted to colorize all ligatures, but the > following method is not reliable for three character ligatures > - which ends up black. > > While tested with Palatino, it can be simulated even with > a default font (however there are

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-11 Thread Jan Tosovsky
On 2016-04-10 Hans Hagen wrote: > On 4/10/2016 11:26 PM, Pablo Rodriguez wrote: > > On 04/10/2016 11:00 PM, Jan Tosovsky wrote: > >> On 2016-04-10 Hans Hagen wrote: > >>> On 4/9/2016 11:22 PM, Jan Tosovsky wrote: > > since LuaTeXt 0.81 my back-of-the-book index (register) is > with

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Aditya Mahajan
On Mon, 11 Apr 2016, Meer, Hans van der wrote: On 11 Apr 2016, at 16:17, Alan BRASLAU > wrote: Remember that ConTeXt colors can be accessed in MP as \MPcolor{orange} Alan However with the snippet below I see the default black with MPcolor and

Re: [NTG-context] framedtext

2016-04-11 Thread Wolfgang Schuster
Meer, Hans van der 11. April 2016 um 18:49 Could be of course. But the question is: from where the counterintuitive behavioud of \hfil and \hfil? It is my nature to be not satisfied until I know ;-) It's easy to explain on the following example. begin

Re: [NTG-context] Fourier install fonts

2016-04-11 Thread Hans Hagen
On 4/11/2016 12:43 PM, Fabrice Couvreur wrote: Hi, With Latex, just do it : \usepackage[T1]{fontenc} \usepackage{fourier} I'm confused about how to do it with Context. Thanks for your help. you need a typescript file for it an dit being 8 bit fonts you also need a virtual font definition

Re: [NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Hans Hagen
On 4/11/2016 9:47 AM, Brian Ballsun-Stanton wrote: it seems that the interactionmenu doesn't have a button for the final page. I'm assuming I did something wrong, but I'm not quite sure what it is. it's a bug in subpages (reference needs page offset) ... fixed in next upload Hans

Re: [NTG-context] framedtext

2016-04-11 Thread Hans Hagen
On 4/11/2016 6:49 PM, Meer, Hans van der wrote: On 11 Apr 2016, at 18:13, Alan BRASLAU > wrote: Would it not be better to use ConTeXt alignment, rather than the TeX primitives \hfil and \hfill?

Re: [NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
On 11 Apr 2016, at 18:13, Alan BRASLAU > wrote: Would it not be better to use ConTeXt alignment, rather than the TeX primitives \hfil and \hfill? \startframedtext[left][frame=on,offset=0pt,width=broad,align=flushleft] left \stopframedtext Could

Re: [NTG-context] framedtext

2016-04-11 Thread Alan BRASLAU
Would it not be better to use ConTeXt alignment, rather than the TeX primitives \hfil and \hfill? \starttext \startframedtext[left][frame=on,offset=0pt,width=broad,align=flushleft] left \stopframedtext \startframedtext[middle][frame=on,offset=0pt,width=broad,align=middle] centered

Re: [NTG-context] RTL section heads

2016-04-11 Thread Mohammad Hossein Bateni
Thanks, Hans! This does solve the problem with the list of numbers. And actually if I add a numberstyle field, I can the section heads the way I like. Here is the setup that worked. (I will update Wiki later.) \setupdirections[bidi=global,method=two] \setupalign[r2l]

Re: [NTG-context] RTL section heads

2016-04-11 Thread Hans Hagen
On 4/11/2016 4:25 AM, Mohammad Hossein Bateni wrote: Hans & Wolfgang, Do you have suggestions here? How can I get the behavior I want for the section head numbers? In fact, the following may be quite relevant. \usemodule[simplefonts] \setmainfont[ALM Fixed][features=arabic,range=arabic]

Re: [NTG-context] automatically "smashing" È in xml typesetting

2016-04-11 Thread Hans Hagen
On 4/11/2016 11:29 AM, mass...@fastwebnet.it wrote: Hello list, I'm typesetting italian text that contains "E" letters with a grave accent, like this: "È". In my "body font environment" the interline space is narrow and those "È" make their lines taller, making every following line move

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
On 11 Apr 2016, at 16:17, Alan BRASLAU > wrote: Remember that ConTeXt colors can be accessed in MP as \MPcolor{orange} Alan However with the snippet below I see the default black with MPcolor and the wanted red with \MPvar. Thus? Hans van der

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Alan BRASLAU
On Mon, 11 Apr 2016 22:10:02 +0900 Jeong Dal wrote: > BTW, if I change “orange” to “red” or “green”, it is working fine. I > think that “orange” is not the predefined color. There is no color > “orange” in the MetaFun manual either. Defined MP colors are: color black, white,

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Wolfgang Schuster
Meer, Hans van der 11. April 2016 um 15:30 Thanks Wolfgang. It appears my memory did some "wishful thinking" in wanting \startuseMPgraphic{name}{key=value}. Although that would have been nice. You get a document with the syntax of metapost related commands when you

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
Thanks Wolfgang. It appears my memory did some "wishful thinking" in wanting \startuseMPgraphic{name}{key=value}. Although that would have been nice. Hans van der Meer On 11 Apr 2016, at 14:42, Wolfgang Schuster > wrote: Meer,

[NTG-context] \startuseMPgraphic

2016-04-11 Thread Jeong Dal
Dear Hans van der Meer, Thank you for your sample code. I learned how to pass the value of the variables. BTW, if I change “orange” to “red” or “green”, it is working fine. I think that “orange” is not the predefined color. There is no color “orange” in the MetaFun manual either. Thank you.

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Wolfgang Schuster
Meer, Hans van der 11. April 2016 um 10:35 I seem to remember the following variations in \startuseMPgraphic. (1) \startuseMPgraphic{name}{comma separated list of variables} (2) \startuseMPgraphic{name}{comma separated list of key=value pairs} In the second case one

[NTG-context] Fourier install fonts

2016-04-11 Thread Fabrice Couvreur
Hi, With Latex, just do it : \usepackage[T1]{fontenc}\usepackage{fourier} I'm confused about how to do it with Context. Thanks for your help. Fabrice ___ If your question is of interest to others as well, please add

Re: [NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
> On 11 Apr 2016, at 12:28, Mari Voipio wrote: > > On Mon, Apr 11, 2016 at 1:08 PM, Meer, Hans van der > wrote: > >> \startframedtext[middle][frame=on,offset=0pt,width=broad] >> \hfil centered\hfil >> \stopframedtext >>

Re: [NTG-context] framedtext

2016-04-11 Thread Mari Voipio
On Mon, Apr 11, 2016 at 1:08 PM, Meer, Hans van der wrote: > \startframedtext[middle][frame=on,offset=0pt,width=broad] > \hfil centered\hfil > \stopframedtext > \startframedtext[middle][frame=on,offset=0pt,width=broad] > \hfill centered\hfill > \stopframedtext One has \hfil

[NTG-context] framedtext

2016-04-11 Thread Meer, Hans van der
I am getting an unexpected results with framedtexts.Why is the second "centered" not centered? \starttext \startframedtext[left][frame=on,offset=0pt,width=broad] left\hfill \stopframedtext \startframedtext[middle][frame=on,offset=0pt,width=broad] \hfil centered\hfil \stopframedtext

[NTG-context] automatically "smashing" È in xml typesetting

2016-04-11 Thread massifr
Hello list, I'm typesetting italian text that contains "E" letters with a grave accent, like this: "È". In my "body font environment" the interline space is narrow and those "È" make their lines taller, making every following line move downwards. The problem is easily solvable putting "\smash"

[NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
I seem to remember the following variations in \startuseMPgraphic. (1) \startuseMPgraphic{name}{comma separated list of variables} (2) \startuseMPgraphic{name}{comma separated list of key=value pairs} In the second case one is able to set a default value to that variable, possibly to be

[NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
Given the following code: \enableregime [utf] > \mainlanguage [en] > \definepapersize[sheet][width=1280px, height=960px] > \setuppapersize[sheet][sheet] > \setupexternalfigures[directory={img, > /home/ubuntu/EGU2016-Presentation, > /home/ubuntu/ConTeXt/img}] > \usemodule[simplefonts] >

Re: [NTG-context] Redirect compilation to another .pdf?

2016-04-11 Thread Procházka Lukáš Ing .
Hello, On Sun, 10 Apr 2016 23:43:30 +0200, Hans Hagen wrote: On 4/10/2016 9:49 PM, Lukáš Procházka wrote: - the option "--jobname" is not listed when you type "context.exe" (= help), so it seems like a "hidden" option; it's not supported as engine flag - Suggestion: would

[NTG-context] How to embed formatting commands into the syntax highlight code generated by scite module?

2016-04-11 Thread 李延瑞
Hi, i want to embed some formatting commands into code highlighted with scite or vim module, but i do not find its option like "escape=yes". Is there a way to do it? -- Best regards, Li Yanrui (李延瑞) ___ If your