Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
On 8/2/2016 9:54 PM, Mohammad Hossein Bateni wrote: Could the problem be because math fonts use mode=base instead of mode=node? Or is it because in math fonts, the digits and/or full-stop have different codes? math fonts are defined and then don't change i.e. they are quite static and all

[NTG-context] latest binaries for linux

2016-08-08 Thread Pablo Rodriguez
Dear Luigi, would it be possible to have version 0.98.0 binaries in the linux (32bit) platform for ConTeXt Standalone? This may fix a nasty bug with US English hyphenation. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
On 8/1/2016 3:46 PM, Mohammad Hossein Bateni wrote: Dear list, I want to add a customized font feature to the math font, to automatically change the decimal point (unicode 0x2E) to the Arabic/Farsi version (unicode 0x66B). This will go well with the mapping from Latin digits to Farsi digits

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
On 8/8/2016 5:24 PM, Mohammad Hossein Bateni wrote: Thanks, Hans! I see; this does work except for the trouble of annotating with \digits macro. Would it be possible if I wrote a processor in Lua to do the work? nodes.tasks.appendaction ("processors", "before", "fix_persian_mathperiod") Can

Re: [NTG-context] latest binaries for linux

2016-08-08 Thread luigi scarso
Il 08/ago/2016 17:28, "Pablo Rodriguez" ha scritto: > > Dear Luigi, > > would it be possible to have version 0.98.0 binaries in the linux > (32bit) platform for ConTeXt Standalone? > > This may fix a nasty bug with US English hyphenation. > > Many thanks for your help, > > I can try

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Mohammad Hossein Bateni
Thanks, Hans! I see; this does work except for the trouble of annotating with \digits macro. Would it be possible if I wrote a processor in Lua to do the work? nodes.tasks.appendaction ("processors", "before", "fix_persian_mathperiod") Can I find out if a node is inside math? If I look at the

Re: [NTG-context] luatex-0.98.0 for linux?

2016-08-08 Thread Pablo Rodriguez
On 08/07/2016 02:28 PM, Mojca Miklavec wrote: > On 7 August 2016 at 10:44, Pablo Rodriguez wrote: >> Dear ConTeXt maintainers, >> >> would it be possible that ConTeXt Standalone for the linux platform had >> the latest LuaTeX binaries? >> [...] >> Many thanks for your help, > [...] > But it would

[NTG-context] \startsectionlevel broken?

2016-08-08 Thread Procházka Lukáš Ing .
Hello, I'm getting weird output with \startsectionlevel - its parameters are flushed into page. I copied a sample from http://source.contextgarden.net/tex/context/base/strc-lev.mkvi?search=dodo and I compiled it with: " This is LuaTeX, Version 0.98.0 (TeX Live 2016/W32TeX) system

Re: [NTG-context] latest binaries for linux

2016-08-08 Thread Pablo Rodriguez
On 08/08/2016 05:41 PM, luigi scarso wrote: > Il 08/ago/2016 17:28, "Pablo Rodriguez" ha scritto: >> >> Dear Luigi, >> >> would it be possible to have version 0.98.0 binaries in the linux >> (32bit) platform for ConTeXt Standalone? >> >> This may fix a nasty bug with US English hyphenation. >> >>

Re: [NTG-context] \startsectionlevel broken?

2016-08-08 Thread Hans Hagen
On 8/8/2016 5:34 PM, Procházka Lukáš Ing. wrote: Hello, I'm getting weird output with \startsectionlevel - its parameters are flushed into page. I copied a sample from http://source.contextgarden.net/tex/context/base/strc-lev.mkvi?search=dodo and I compiled it with: " This is LuaTeX,

Re: [NTG-context] ConTeXt on linux-armhf

2016-08-08 Thread Hans Hagen
On 8/8/2016 9:42 PM, Jose Luis Arellano wrote: I have performed a clean installation of ConTeXt Standalone beta and when i try to compile i get this: error loading file: lang-txt.lua (aborting) mtx-context | error, no format found with name: cont-en, aborting i'd uploaded a bad zip but

Re: [NTG-context] ConTeXt on linux-armhf

2016-08-08 Thread Jose Luis Arellano
Well, if i use the binary from http://tug.org/svn/texlive/trunk/Master/bin/armel-linux/ (Revision 41089) i get "Segmentation fault". However, the binary from http://tug.org/svn/texlive/trunk/Master/bin/armhf-linux/ (Revision 41117) seems to work perfectly fine. Thanks guys. 2016-08-08 5:14

Re: [NTG-context] ConTeXt on linux-armhf

2016-08-08 Thread Jose Luis Arellano
I have performed a clean installation of ConTeXt Standalone beta and when i try to compile i get this: error loading file: lang-txt.lua (aborting) mtx-context | error, no format found with name: cont-en, aborting 2016-08-08 16:16 GMT-03:00 Jose Luis Arellano : >

Re: [NTG-context] ConTeXt on linux-armhf

2016-08-08 Thread Mojca Miklavec
On 8 August 2016 at 21:16, Jose Luis Arellano wrote: > Well, if i use the binary from > http://tug.org/svn/texlive/trunk/Master/bin/armel-linux/ (Revision 41089) i > get "Segmentation fault". This is more or less expected. > However, the binary from >

[NTG-context] Unequal width columns

2016-08-08 Thread Kip Warner
Hey list, I am trying to typeset a document similar to below: http://www.heptalysis.com/downloads/heptalysis_executive_summary_templa te.pdf My issue is with creating two columns of unequal width. As you can see the left column is smaller than the right side. I've tried the following:

Re: [NTG-context] ConTeXt on linux-armhf

2016-08-08 Thread Henri Menke
Hi, as far as I know, there is no such thing like the standard ARM chip. The ARM company designs chips to fit the needs of their customers. Therefore, the Raspberry Pi processor and the processor in a smartphone may have a very different instruction set. The Wikipedia page for the ARM

[NTG-context] Header background off with \page?

2016-08-08 Thread Procházka Lukáš Ing .
Hello, the following code: \setupheadertexts[Le][Ri] \setupbackgrounds[header][text][bottomframe=on] \starttext \startTEXpage \externalfigure[dummy] \stopTEXpage \page[yes,header,footer,odd] % Empty page to come here Blabla \stoptext should generate an empty page. The

Re: [NTG-context] ConTeXt on linux-armhf

2016-08-08 Thread Mojca Miklavec
On 8 August 2016 at 06:53, Jose Luis Arellano wrote: > Hi Mojca, > > The binaries comes from armhf (your build), as you can see in logs attached. > While the version of Tex Live installed is texlive-bin-2016.41290-5-armv7h. armv7h looks like "armhf". But I checked the logs and you are most

Re: [NTG-context] drawpathoptions and drawoptions

2016-08-08 Thread Mikael P. Sundqvist
On Mon, Aug 8, 2016 at 2:03 PM, Hans Hagen wrote: > On 8/5/2016 7:54 AM, Mikael P. Sundqvist wrote: >> >> On Tue, Aug 2, 2016 at 5:48 PM, Mikael P. Sundqvist >> wrote: >>> >>> Hi, >>> >>> I have two questions: >>> >>> 1) In the metafun manual I found (p 57 in the

Re: [NTG-context] drawpathoptions and drawoptions

2016-08-08 Thread Hans Hagen
On 8/8/2016 2:29 PM, Mikael P. Sundqvist wrote: \startMPpage drawoptions(withcolor darkred); path p; p:= (0,0)--(1cm,1cm)--(1cm,0)--(0,1cm); draw image ( draw p; draw p xshifted 2cm withcolor darkyellow; ); \stopMPpage This gives me two red paths (result attached). I would like the

Re: [NTG-context] marking in two pass data

2016-08-08 Thread Thomas A. Schmitz
On 08/08/2016 01:56 PM, Hans Hagen wrote: I bet you can figure out why this works: context.bTD() context.marking( { "Test" }, k[2]) context(k[1]) context.eTD() Uugh, I thought I was clever in leaving it out of the cell, but of course, now I see my error! (In my defense, I

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
Oups, I forgot the name "ex", I am confused. Thanks Fabrice 2016-08-08 13:27 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 8. August 2016 um 13:11 > Hi Wolfgang, > In fact, I have a project "Lesson" with components chapter 1,

Re: [NTG-context] Nicer than 'context("\\\\")'?

2016-08-08 Thread Hans Hagen
On 8/8/2016 11:07 AM, Procházka Lukáš Ing. wrote: Hello, is there an alternative code instead of 'context("")'? See the code: \starttext %\startsetups[headertext] % \startframed[width=fit,align=flushleft] %Bla\\ %Uhh % \stopframed %\stopsetups \startluacode

Re: [NTG-context] Access to Intermediate Document after Pre-processing

2016-08-08 Thread Hans Hagen
On 8/3/2016 3:25 PM, Malte Stien wrote: Hi all, I am working with a reasonably complex document structure, where I make heavy use of the following constructs \input (to import a number of source files) \if and \newif (to switch between different paragraphs depending on some conditions)

[NTG-context] Nicer than 'context("\\\\")'?

2016-08-08 Thread Procházka Lukáš Ing .
Hello, is there an alternative code instead of 'context("")'? See the code: \starttext %\startsetups[headertext] % \startframed[width=fit,align=flushleft] %Bla\\ %Uhh % \stopframed %\stopsetups \startluacode context.startsetups{"headertext"}

Re: [NTG-context] Nicer than 'context("\\\\")'?

2016-08-08 Thread Wolfgang Schuster
Procházka Lukáš Ing. 8. August 2016 um 11:07 Hello, is there an alternative code instead of 'context("")'? See the code: You can use "context.par()". Wolfgang ___ If your question is of

[NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
Hi, I use a counter for each "Exercises" section of each chapter (Wolfgang thank you !). How to reset the counter to 1 for each section ? thank you, Fabrice \defineprocessor[ACPROCESSOR][command=\EXFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n]

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
Hi Wolfgang, In fact, I have a project "Lesson" with components chapter 1, chapter 2, ... If I add \setupenumeration [] [way=bysubsection] to each component that does not work. Fabrice 2016-08-08 12:30 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Wolfgang Schuster
Fabrice Couvreur 8. August 2016 um 13:11 Hi Wolfgang, In fact, I have a project "Lesson" with components chapter 1, chapter 2, ... If I add \setupenumeration [] [way=bysubsection] to each component that does not work.

Re: [NTG-context] marking in two pass data

2016-08-08 Thread Hans Hagen
On 8/7/2016 11:15 AM, Thomas A. Schmitz wrote: \starttext \setupTABLE [split=repeat] \definemarking [Test] \setupheadertexts [{\getmarking[Test][top]--\getmarking[Test][bottom]}] \startluacode samples = { { "A", "aesop-de.tex" }, { "B", "bryson.tex" }, { "C", "carey.tex" }, { "D",

Re: [NTG-context] Access to Intermediate Document after Pre-processing

2016-08-08 Thread Hans Hagen
On 8/3/2016 4:20 PM, Henri Menke wrote: On 08/03/2016 03:25 PM, Malte Stien wrote: Hi all, I am working with a reasonably complex document structure, where I make heavy use of the following constructs \input (to import a number of source files) \if and \newif (to switch between different

Re: [NTG-context] drawpathoptions and drawoptions

2016-08-08 Thread Hans Hagen
On 8/5/2016 7:54 AM, Mikael P. Sundqvist wrote: On Tue, Aug 2, 2016 at 5:48 PM, Mikael P. Sundqvist wrote: Hi, I have two questions: 1) In the metafun manual I found (p 57 in the version I browse) a setting drawpathoptions. I tried with \startMPpage

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Wolfgang Schuster
Fabrice Couvreur 8. August 2016 um 12:27 Hi, I use a counter for each "Exercises" section of each chapter (Wolfgang thank you!). How to reset the counter to 1 for each section ? thank you, Fabrice \defineprocessor[ACPROCESSOR][command=\EXFRAME]

Re: [NTG-context] drawpathoptions and drawoptions

2016-08-08 Thread Mikael P. Sundqvist
On Mon, Aug 8, 2016 at 2:45 PM, Hans Hagen wrote: > On 8/8/2016 2:29 PM, Mikael P. Sundqvist wrote: > >> \startMPpage >> drawoptions(withcolor darkred); >> path p; >> p:= (0,0)--(1cm,1cm)--(1cm,0)--(0,1cm); >> draw image ( >>draw p; >>draw p xshifted 2cm withcolor