Re: [NTG-context] where are the pret-xxxx.lua ?

2015-07-17 Thread Eric Détrez
Le 17-07-2015 14:58, Wolfgang Schuster a écrit : Eric Détrez 17. Juli 2015 09:27 I wish to print some highlighted source codes. The Context garden says There are already some formatters for several programming languages in the ConTeXt distribution. I can see the verb- (for mkII) but no

Re: [NTG-context] where are the pret-xxxx.lua ?

2015-07-17 Thread Wolfgang Schuster
Eric Détrez mailto:i...@eric-detrez.fr 17. Juli 2015 16:24 OK Thank you for the working example. But my question asked where are the config files : I want to get a Python pretty-printing. The module abr-01 seems the key but I couldn't find it. The module “abr-01” defines only the XML and LUA

Re: [NTG-context] Math - how to mix fonts?

2015-07-17 Thread Wolfgang Schuster
Procházka Lukáš Ing. - Pontex s. r. o. mailto:l...@pontex.cz 17. Juli 2015 10:30 Hello, I am not very familiar with mixing fonts in math. I would need to mix several font styles: 1. normal (default - slanted, serif) for general variables, 2. slanted serif bold for vectors, 3. slanted sans

[NTG-context] Math - how to mix fonts?

2015-07-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I am not very familiar with mixing fonts in math. I would need to mix several font styles: 1. normal (default - slanted, serif) for general variables, 2. slanted serif bold for vectors, 3. slanted sans bold for varieties. In the following snippet, the right fonts are displayed in the

[NTG-context] where are the pret-xxxx.lua ?

2015-07-17 Thread Eric Détrez
I wish to print some highlighted source codes. The Context garden says There are already some formatters for several programming languages in the ConTeXt distribution. I can see the verb- (for mkII) but no pret-xxx (for mkIV) in the base folder. Is it possible to get syntax highlight in

Re: [NTG-context] where are the pret-xxxx.lua ?

2015-07-17 Thread Aditya Mahajan
On Fri, 17 Jul 2015, Eric Détrez wrote: It seems that the answer could be in the t-vim (third party) module. It uses the syntax analysis from VIm (you have to install it :)) Here is a minimal example on how to use t-vim: \definevimtyping [PYTHON] [syntax=python] \starttext \startPYTHON

Re: [NTG-context] What is a better way to do this macro?

2015-07-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 16 Jul 2015 22:35:45 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Use the foregroundstyle key to change the interlinespace. Works like a charm. Question: Should the wiki page be edited: http://wiki.contextgarden.net/Command/setupframed It has the equivalent of

Re: [NTG-context] What is a better way to do this macro?

2015-07-17 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد mailto:idris.ha...@colostate.edu 17. Juli 2015 19:56 On Thu, 16 Jul 2015 22:35:45 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Works like a charm. Question: Should the wiki page be edited: http://wiki.contextgarden.net/Command/setupframed

Re: [NTG-context] What is a better way to do this macro?

2015-07-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 17 Jul 2015 12:07:29 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Idris Samawi Hamid ادريس سماوي حامد mailto:idris.ha...@colostate.edu 17. Juli 2015 19:56 On Thu, 16 Jul 2015 22:35:45 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Works like a charm.