Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-06 Thread Hans Hagen
On 11/5/2014 9:50 PM, Christoph Reller wrote: On 11/5/2014 10:28 AM, Hans Hagen wrote: > On 11/5/2014 8:09 AM, Christoph Reller wrote: > > Thank you very much Hans! > > > > Maybe you could tell me why the following still produces a space in > > front of the full stop: > > > > \definetype[c

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
On 11/5/2014 7:41 PM, Fabrice wrote: Hi Hans, For spaces parasites, it is my fault because I copy and paste my code. However, I do not understand why this code does not work : You need to make real small example as I have no clue what to look at or expect (btw, you use \color[geen] which I sup

[NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
Hello, I've made a lot of improvement to my slides format for my teaching material and I've run into a serious issue with gobbleinput that I can express with with simple lines : \starttext \gobbleuntil\stoptyping \starttyping { printf("%d", data); } \stoptyping This is ignored ! \stopt

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread luigi scarso
On Thu, Nov 6, 2014 at 10:35 AM, Pierre-François Bonnefoi < bonne...@unilim.fr> wrote: > Hello, > > I've made a lot of improvement to my slides format for my teaching > material and I've run into a serious issue with gobbleinput that I can > express with with simple lines : > > \starttext > \gobbl

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Wolfgang Schuster
> Am 06.11.2014 um 10:35 schrieb Pierre-François Bonnefoi : > > Hello, > > I've made a lot of improvement to my slides format for my teaching material > and I've run into a serious issue with gobbleinput that I can express with > with simple lines : > > \starttext > \gobbleuntil\stoptyping >

Re: [NTG-context] fallback font not displaying

2014-11-06 Thread Wolfgang Schuster
> Am 05.11.2014 um 21:06 schrieb Alan Bowen : > > In the latest beta (ConTeXt ver: 2014.11.04 19:10 MKIV), when I run > > \definefallbackfamily[mainface][serif][IFAO Grec Unicode] > [range={02BB-F8FF,10140-1D513}, >

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
Hello Luigi, thank you for proposing a solution, but it's not suitable to my needs as it modifies the content of the typing region : the backlash is displayed I want to be able to gobble or not the typing region by using a macro without modifying it. On 06 Nov 2014, at 12:16, luigi scarso w

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread luigi scarso
On Thu, Nov 6, 2014 at 1:36 PM, Pierre-François Bonnefoi wrote: > Hello Luigi, > > thank you for proposing a solution, but it's not suitable to my needs as > it modifies the content of the typing region : the backlash is displayed > > I know, infact I have said "the first step is...": \gobbleunt

Re: [NTG-context] fallback font not displaying

2014-11-06 Thread Alan Bowen
Sorry, Wolfgang. I cut too much— \definefontfamily[mainface][serif][Antykwa-Poltawskiego] [protrusion=quality, expansion=quality, mode=node, smallcaps, force=yes] \definefallbackfamily[mainface][serif][IFAO Grec Unicode] [range={02BB-F8FF,10140-1D513}, protrusion=quality, expansion=quality, mode=n

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
Hello Wolfgang and Luigi, My example lines are too small to fully understand the purpose of using the gobbleinput instruction : I have made some slides for my students that I can choose or not ton include in the final presentation : \skipSlide \startSlide bla bla bla \startyping

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Herbert Voss
Am 06.11.2014 um 13:36 schrieb Pierre-François Bonnefoi: > thank you for proposing a solution, but it's not suitable to my needs as > it modifies the content of the typing region : the backlash is displayed > > I want to be able to gobble or not the typing region by using a macro > without modify

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread luigi scarso
On Thu, Nov 6, 2014 at 1:59 PM, Pierre-François Bonnefoi wrote: > Hello Wolfgang and Luigi, > > My example lines are too small to fully understand the purpose of using > the gobbleinput instruction : > I have made some slides for my students that I can choose or not ton > include in the final pre

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
I can not define a mode for each of my slide neither I can express a list of activated slides. On 06 Nov 2014, at 14:12, luigi scarso wrote: > > > On Thu, Nov 6, 2014 at 1:59 PM, Pierre-François Bonnefoi > wrote: > Hello Wolfgang and Luigi, > > My example lines are too small to fully unde

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Pierre-François Bonnefoi
Hello Herbert, I feared that this one will go wrong with some macro used in my slides. On 06 Nov 2014, at 14:00, Herbert Voss wrote: > Am 06.11.2014 um 13:36 schrieb Pierre-François Bonnefoi: > >> thank you for proposing a solution, but it's not suitable to my needs as >> it modifies the conte

Re: [NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-06 Thread Xan
> That is not a useful error description ... > > Herbert More clear than this? Neither this: > \directlua{ > require "lualibs-os" > tex.sprint(os.resultof("sha256sum \jobname.tex | cut -c -5")) > } Blank. Nothing displayed. _

Re: [NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-06 Thread Herbert Voss
Am 06.11.2014 um 15:51 schrieb Xan: >> That is not a useful error description ... >> >> Herbert > > More clear than this? > > Neither this: > > > \directlua{ > > require "lualibs-os" > > tex.sprint(os.resultof("sha256sum \jobname.tex | cut -c -5")) > > } > > > Blank. Nothing displa

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-06 Thread Christoph Reller
On 11/6/2014 9:58 AM, Hans Hagen wrote: > we could have a specific filename cleaner but of course there will be > users who have paths that have spaces after the \ ... okay, we could > just not support evil paths like that > > Hans A rigorous filename cleaner would have to treat a huge number of p

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Keith J. Schultz
Hi Pierre, I think you are approaching your problem from the wrong direction! The way I understand your problem is that you have certain criteria in your slides when encountered decides whether it should be output or not. If this is the case then what you have is a classical parsing problem. T

[NTG-context] bug in TOC generation

2014-11-06 Thread Pablo Rodriguez
Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital} \stopfrontmatter \stoptext I think this is a bug. Many

Re: [NTG-context] mail merge in mkiv?

2014-11-06 Thread Pablo Rodriguez
On 11/05/2014 04:42 PM, Jaroslav Hajtmar wrote: > Hello Pablo. > I do very often mailmerge using ConTeXt. I do it with my lua library and > data in my external CSV file. Unfortunately I do not have a manual to > the my lua library. If you send me a minimal example of how you imagine > it, I'll s

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Fabrice
Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Aditya Mahajan
On Thu, 6 Nov 2014, Fabrice wrote: Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. As Hans said, you need to create a smaller example, and explain what you mean by "the problem". A blind guess is that \starttikzpicture ... \stopti

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
On Thu, Nov 6, 2014 at 7:50 PM, Fabrice wrote: > Hi Hans, > It's true, I'm a little confused. In fact, the problem is the \ > starttikzpicture \ endtikzpicture. > \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1pr

Re: [NTG-context] fallback font not displaying

2014-11-06 Thread Alan Bowen
Actually, Wolfgang, I suspect that \definefallbackfamily is working at all. I get the same output even when I comment it out. On Thu, Nov 6, 2014 at 7:51 AM, Alan Bowen wrote: > Sorry, Wolfgang. I cut too much— > > \definefontfamily[mainface][serif][Antykwa-Poltawskiego] > [protrusion=quality, >

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
On Thu, Nov 6, 2014 at 8:57 PM, luigi scarso wrote: > > > \usemodule[tikz] \usetikzlibrary[calc] \usetikzlibrary[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \tikzset{% cube

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
On 11/6/2014 8:57 PM, luigi scarso wrote: On Thu, Nov 6, 2014 at 7:50 PM, Fabrice mailto:couvreur.fabr...@wanadoo.fr>> wrote: Hi Hans, It's true, I'm a little confused. In fact, the problem is the \ starttikzpicture \ endtikzpicture. \usemodule[tikz] \usetikzlibrary[calc] \usetikz

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Herbert Voss
Am 06.11.2014 um 21:16 schrieb luigi scarso: > > \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] [...] > \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] > The problem seems to be > %,framecolor=H1prime] I have no problem with "framecolor=H1prime" sett

Re: [NTG-context] fallback font not displaying

2014-11-06 Thread Wolfgang Schuster
> Am 06.11.2014 um 13:51 schrieb Alan Bowen : > > Sorry, Wolfgang. I cut too much— > > \definefontfamily[mainface][serif][Antykwa-Poltawskiego] > [protrusion=quality, > expansion=quality, >

Re: [NTG-context] fallback font not displaying

2014-11-06 Thread Alan Bowen
Many thanks, Wolfgang: it now works as it should. This is a recent change, I take it. Still, good to know. Alan On Thu, Nov 6, 2014 at 4:52 PM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > > Am 06.11.2014 um 13:51 schrieb Alan Bowen : > > Sorry, Wolfgang. I cut too much— > > \define

Re: [NTG-context] bug in TOC generation

2014-11-06 Thread Hans Hagen
On 11/6/2014 6:24 PM, Pablo Rodriguez wrote: Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital} \stopfront

Re: [NTG-context] bug in TOC generation

2014-11-06 Thread Hans Hagen
On 11/6/2014 6:24 PM, Pablo Rodriguez wrote: Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital} \stopfront