Re: [NTG-context] text flowing around images

2019-02-05 Thread Alan Braslau
\parshape On Tue, 5 Feb 2019 21:38:29 +0100 Henning Hraban Ramm wrote: > No hints? > > If it’s not possible, I must redo the whole layout in InDesign. I’d like to > avoid that (footnotes!). > > Best, Hraban > > Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : > > > Ahoi, > > > > in my

Re: [NTG-context] text flowing around images

2019-02-05 Thread Henri Menke
For LaTeX there is a tool called fig2sty which can take an XFig figure and transform it into a LaTeX sty file. Maybe you could adapt it to ConTeXt. https://www.ctan.org/pkg/fig2sty On 6/02/19 9:38 AM, Henning Hraban Ramm wrote: > No hints? > > If it’s not possible, I must redo the whole layout

Re: [NTG-context] text flowing around images

2019-02-05 Thread Alan Braslau
p.101 of the TeXbook ... On Tue, 5 Feb 2019 13:48:14 -0700 Alan Braslau wrote: > \parshape > > On Tue, 5 Feb 2019 21:38:29 +0100 > Henning Hraban Ramm wrote: > > > No hints? > > > > If it’s not possible, I must redo the whole layout in InDesign. I’d like to > > avoid that (footnotes!). > >

Re: [NTG-context] \index[infinity]{$+\infty$} gives an error

2019-02-05 Thread Wolfgang Schuster
Mikael P. Sundqvist schrieb am 05.02.19 um 20:17: On Tue, Feb 5, 2019 at 5:11 PM Wolfgang Schuster wrote: Mikael P. Sundqvist schrieb am 05.02.19 um 15:37: Hi, With latest beta, the file below throws me the error given below the example file. I thought this was possible (see

[NTG-context] How to query fonts.handlers

2019-02-05 Thread Henri Menke
Dear list, I am trying to access extra kerning that I have defined using fonts.handlers.otf.addfeature. Even though I query the kerning from within a paragraph where the kerning is evidently applied I can't seem to get the value stored earlier, see the comment in the MWE. What am I doing wrong?

Re: [NTG-context] text flowing around images

2019-02-05 Thread Wolfgang Schuster
The metafun manual should have a few examples. Wolfgang Alan Braslau schrieb am 05.02.19 um 21:48: \parshape On Tue, 5 Feb 2019 21:38:29 +0100 Henning Hraban Ramm wrote: No hints? If it’s not possible, I must redo the whole layout in InDesign. I’d like to avoid that (footnotes!). Best,

Re: [NTG-context] text flowing around images

2019-02-05 Thread Henning Hraban Ramm
No hints? If it’s not possible, I must redo the whole layout in InDesign. I’d like to avoid that (footnotes!). Best, Hraban Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : > Ahoi, > > in my current project I must include a bunch of illustrations in my layout, > and the text should flow

Re: [NTG-context] text flowing around images

2019-02-05 Thread Wolfgang Schuster
Alan Braslau schrieb am 05.02.19 um 21:56: p.101 of the TeXbook ... or page 40 of Einführung in TeX: https://www.ruhr-uni-bochum.de/schwarz/TeX/ Wolfgang ___ If your question is of interest to others as well,

[NTG-context] problem with non-printing hex 0x0C

2019-02-05 Thread martin
I had a problem that kept me busy for a few hours. A \page command had no effect, the text just continued in the pdf. The culprid turned out to be a hex 0x0C, a formfeed character. Once I removed them all was good. It got introduced by extracting the text from a PDF. I realize my files

[NTG-context] Failure using --jit with latest beta

2019-02-05 Thread Joseph Canedo
Dear list, I get a fatal error when using –jit using latest beta. $ ./build.sh Livre.pdf [1/1] context --noconsole --jit --errors Livre.tex FAILED: Livre.pdf context --noconsole --jit --errors Livre.tex mtx-context | run 1: luajittex

Re: [NTG-context] text flowing around images

2019-02-05 Thread Aditya Mahajan
On Tue, 5 Feb 2019, Wolfgang Schuster wrote: Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : Ahoi, in my current project I must include a bunch of illustrations in my layout, and the text should flow around their irregular shapes (side placement in single text column only). I got the

Re: [NTG-context] How to query fonts.handlers

2019-02-05 Thread Henri Menke
I found a solution. \startluacode fonts.handlers.otf.addfeature { name = "ktest", type = "kern", data = { ["t"] = { ["e"] = 500 }, } } \stopluacode \definefontfeature[ktest][ktest=yes] \definefont[1][Serif*ktest] \starttext \1 test \ctxlua{ local fnt =

Re: [NTG-context] Best strategy for ConTeXt to ePub update

2019-02-05 Thread Henning Hraban Ramm
Am 2019-02-04 um 20:26 schrieb Martin Bruchanov : > While ago I wrote a book (http://sstv-handbook.com/) in ConTeXt and I have > started to thinking about possibility to export also ePub and xHTML besides > the PDF version. > > Few questions: > > 1. What is current support of ePub, will it

[NTG-context] Adjusting interlinespace in a table

2019-02-05 Thread Mari Voipio
Hello all! This may be a really stupid question, but wiki wasn't helpful: Is there a way of adjusting interlinespace in a table? A \setupTABLE command would work as I want to change the line height throughout the table to make it smaller (have the rows closer to each other than in my running

Re: [NTG-context] Automatic thousands separation in \unit

2019-02-05 Thread Marco Patzer
On Thu, 31 Jan 2019 13:43:13 +0100 Otared Kavian wrote: Sorry for the late response. > Can this give what you wish? > > \define[2]\myunit{\spaceddigits{#1}\unit{#2}} > \starttext > \myunit{123456789}{volt} > \stoptext That's a way to solve it, yes. But I'd prefer it to be integrated into the

Re: [NTG-context] setupdirections RTL bug

2019-02-05 Thread Hans Hagen
On 2/5/2019 12:36 AM, Mohammad Hossein Bateni wrote: Hello, This is perhaps /related/ to what Alan Bowen reported.  Not the same, since I don't get compilation errors. use method "three" (I'll add "unicode" method which will take the latest version.) Hans

Re: [NTG-context] inner option for \showgrid

2019-02-05 Thread Marcus Vinicius Mesquita
Ok, thank you. Regards Marcus Vinicius On Mon, Feb 4, 2019, 07:13 Hans Hagen wrote: > On 2/3/2019 9:06 PM, Marcus Vinicius Mesquita wrote: > > Dear list, > > > > In the i-context.pdf file, among the \showgrid[…,…] options there are: > > right, left, and outer. > > Is it possible to add

Re: [NTG-context] setupdirections RTL bug

2019-02-05 Thread Mohammad Hossein Bateni
Thanks, Hans! With \setupdirections[bidi=global,method=three], the footers are placed correctly. But the *left* footer still does not get RTL treatment. Adding \setupdirections[bidi=global,method=three] inside startsetups does not help. Method three has this "bug": a word with ZWNJ gets the

[NTG-context] \index[infinity]{$+\infty$} gives an error

2019-02-05 Thread Mikael P. Sundqvist
Hi, With latest beta, the file below throws me the error given below the example file. I thought this was possible (see http://www.pragma-ade.com/general/manuals/cont-enp.pdf, (pdf)page 202). The error is not present if I remove the third problematic index entry. /Mikael % Example file

[NTG-context] constructing block content partly with lua

2019-02-05 Thread Sanjoy Mahajan
Dear List, I've been trying to construct part of a block's content programmatically with Lua. Despite many experiments and much rereading of the cld manual (especially chapter 3 on functions), the following attempt fails for reasons that perplex me. Below is the MNWE (Minimal NonWorking

Re: [NTG-context] constructing block content partly with lua

2019-02-05 Thread Hans Hagen
On 2/5/2019 4:01 PM, Sanjoy Mahajan wrote: Dear List, I've been trying to construct part of a block's content programmatically with Lua. Despite many experiments and much rereading of the cld manual (especially chapter 3 on functions), the following attempt fails for reasons that perplex me.

Re: [NTG-context] constructing block content partly with lua

2019-02-05 Thread Sanjoy Mahajan
On 2019-02-05 16:24, Hans Hagen wrote: >> \startluacode >>context.beginanswer() >>context("\\onearg{Test parameter}") > > does > > context.onearg("Test parameter") > > work? Sorry, I forgot to say that I had tried that version too but also with no luck. Also, either version of onerg

Re: [NTG-context] constructing block content partly with lua

2019-02-05 Thread Hans Hagen
On 2/5/2019 4:28 PM, Sanjoy Mahajan wrote: On 2019-02-05 16:24, Hans Hagen wrote: \startluacode context.beginanswer() context("\\onearg{Test parameter}") does context.onearg("Test parameter") work? Sorry, I forgot to say that I had tried that version too but also with no luck.

Re: [NTG-context] \index[infinity]{$+\infty$} gives an error

2019-02-05 Thread Wolfgang Schuster
Mikael P. Sundqvist schrieb am 05.02.19 um 15:37: Hi, With latest beta, the file below throws me the error given below the example file. I thought this was possible (see http://www.pragma-ade.com/general/manuals/cont-enp.pdf, (pdf)page 202). The error is not present if I remove the third