Re: [NTG-context] \installprettytype problem

2015-08-21 Thread root
I'm on it… Le 2015-08-21 11:54, Matthieu Leroy a écrit : Bonjour Renaud, Thank you ! It works but there is some problem with the = or operator. Please see the attached files. Regards, Matthieu Le 21/08/15 00:21, Renaud AUBIN a écrit : Bonsoir Matthieu, Give a try to

Re: [NTG-context] \startchemical

2015-08-21 Thread Hans Hagen
On 8/18/2015 8:01 PM, Alan BRASLAU wrote: On Tue, 18 Aug 2015 19:42:20 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com wrote: why does \startchemical take the name of a instance as argument (e.g. \startchemical[important]) when there is no way to create it because \definechemical is

Re: [NTG-context] m-graph read data and plot

2015-08-21 Thread Hans Hagen
On 8/14/2015 4:39 AM, Alan BRASLAU wrote: On Thu, 13 Aug 2015 22:31:23 +0200 Hans Hagen pra...@wxs.nl wrote: an apetizer: \usemodule[graph] \startluacode No such juicy appetizers except for those who will be attending the ConTeXt meeting! ok, a temporary embargo on neat tricks then Hans

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-21 Thread Hans Hagen
On 8/20/2015 8:34 PM, Rik Kabel wrote: While working to get italic smallcaps in a secondary font face, I came across an issue with \switchbodyfont. When this is used in a certain way, the \tf font-style is changed, but not the \it, \bf, and so on. The example below compiles cleanly as

[NTG-context] Split numbers in natural tables

2015-08-21 Thread Xan
Hi, I have a simple script in mako templates which generate this table: \starttext \bTABLE[align={lohi,middle}] \bTR \bTD[width=2.8cm, height=2.8cm] 1 \eTD \eTR \bTD[width=2.8cm, height=2.8cm] 2 \eTD \bTD[width=2.8cm, height=2.8cm] 4 \eTD \bTD[width=2.8cm, height=2.8cm] 8

Re: [NTG-context] Split numbers in natural tables

2015-08-21 Thread Hans Hagen
On 8/21/2015 4:52 PM, Xan wrote: Hi, I have a simple script in mako templates which generate this table: \starttext \def\whatever#1{\processtokens{}{\allowbreak}{}{}{#1}} \hsize2em \tt \whatever{12345} \stoptext Alan will reveal better alternatives at the upcoming ctx meeting. \starttext

Re: [NTG-context] Set PDF TrimBox

2015-08-21 Thread Hans Hagen
On 8/16/2015 6:33 AM, Henning Hraban Ramm wrote: Hi Hans, in May Harald König asked about setting the TrimBox value in PDFs and provided even a patch for lpdf-mis.lua; you promised to look into that, see http://article.gmane.org/gmane.comp.tex.context/91544/ If there’s only one paper size

Re: [NTG-context] \installprettytype problem

2015-08-21 Thread Aditya Mahajan
On Fri, 21 Aug 2015, Eric Détrez wrote: Le 21-08-2015 00:21, Renaud AUBIN a écrit : Nobody did mention the use of vim package ? You have to installe vim in your system The package asks vim to get the lexed source code. Next the package color it. It doesn't seem obvious to change the colors.

Re: [NTG-context] Issues of Export

2015-08-21 Thread Hans Hagen
On 8/15/2015 1:20 PM, Henning Hraban Ramm wrote: Hi, finally coming back... Am 2015-08-10 um 23:21 schrieb Hans Hagen pra...@wxs.nl: On 8/10/2015 10:30 AM, Henning Hraban Ramm wrote: As listed on http://wiki.contextgarden.net/Export Open Export issues as of 2014-01-20, still valid

Re: [NTG-context] Issues of export (structure bug)

2015-08-21 Thread Hans Hagen
On 8/17/2015 1:56 PM, Henning Hraban Ramm wrote: Hi, there’s another structure bug in export: from \startchapter[title=Something] ... \stopchapter \startchapter[title={Something Else}] ... \stopchapter I get in *—raw.xml: ... /sectioncontent sectiontitleSomething Else/sectiontitle

Re: [NTG-context] \installprettytype problem

2015-08-21 Thread Eric Détrez
Le 21-08-2015 00:21, Renaud AUBIN a écrit : Bonsoir Matthieu, Give a try to https://github.com/nibua-r/pretty-c and tell me if anything goes wrong… It's basically a rewrite of Peter's module adapted to mkiv + new verbatim (new at the time of writing) Le 20 août 2015 10:43 PM, Matthieu Leroy

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-21 Thread Rik Kabel
On 2015-08-21 09:10, Hans Hagen wrote: mostly changed names of the fonts, a missing directive (i'll add a fallback for that) and such ... patched in the next beta Hans, This morning's release fixed the newotf module problem, but not the font face problem. Was that to be expected? -- Rik

Re: [NTG-context] \installprettytype problem

2015-08-21 Thread Renaud AUBIN
Replace + V(ltgtstring) by -- + V(ltgtstring) at L175 of t-pretty-c.lua as a temporary workaround… Le 2015-08-21 11:54, Matthieu Leroy a écrit : Bonjour Renaud, Thank you ! It works but there is some problem with the = or operator. Please see the attached files. Regards, Matthieu Le

Re: [NTG-context] \installprettytype problem

2015-08-21 Thread Matthieu Leroy
That's fine, thank you, Le 21/08/15 13:43, Renaud AUBIN a écrit : Replace + V(ltgtstring) by -- + V(ltgtstring) at L175 of t-pretty-c.lua as a temporary workaround… Le 2015-08-21 11:54, Matthieu Leroy a écrit :

Re: [NTG-context] Problem with the installation of a module

2015-08-21 Thread Andrea De Michele
Aditya Mahajan adit...@umich.edu writes: On Fri, 14 Aug 2015, Andrea De Michele wrote: I tried to install the PocketDiary module but I had some problem. I follow the instruction at: http://wiki.contextgarden.net/Modules so first I copy the files in my texmf-local directory and after that

Re: [NTG-context] \installprettytype problem

2015-08-21 Thread Matthieu Leroy
Bonjour Renaud, Thank you ! It works but there is some problem with the = or operator. Please see the attached files. Regards, Matthieu Le 21/08/15 00:21, Renaud AUBIN a écrit : Bonsoir Matthieu, Give a try to https://github.com/nibua-r/pretty-c and tell me if anything goes wrong… It's