Re: [NTG-context] ICC profiles for \externalfigure

2017-10-09 Thread Hans Hagen
On 10/9/2017 9:55 PM, Pablo Rodriguez wrote: Having this in mind, could you reconsider the implementation of the profile key implemented for \externalfigure? as said, it will not be an engine supported features as it's technically impossible without messing up the backend (and we don't want

Re: [NTG-context] How to add a font folder with local fonts?

2017-10-09 Thread Hans Hagen
On 10/9/2017 10:37 PM, Ulrike Fischer wrote: Am Mon, 9 Oct 2017 21:48:39 +0200 schrieb Hans Hagen: On 10/9/2017 4:09 PM, Ulrike Fischer wrote: How can I add a simple folder (not a texmf tree) with opentype or truetype fonts to the search path of context? I have tried with a local

Re: [NTG-context] How to add a font folder with local fonts?

2017-10-09 Thread Ulrike Fischer
Am Mon, 9 Oct 2017 21:48:39 +0200 schrieb Hans Hagen: > On 10/9/2017 4:09 PM, Ulrike Fischer wrote: >> How can I add a simple folder (not a texmf tree) with opentype or >> truetype fonts to the search path of context? >> >> I have tried with a local texmfcnf.lua and >> >> return { >>

Re: [NTG-context] ICC profiles for \externalfigure

2017-10-09 Thread Pablo Rodriguez
On 10/09/2017 08:16 PM, Hans Hagen wrote: > On 10/8/2017 11:09 AM, Pablo Rodriguez wrote: >> [...] >> PDF/A-3a validation (http://verapdf.org) warns about XObjects not having >> any ICC profile. >> >> Would it be possible to add the "profile" key to \externalfigure, so >> that each figure may have

Re: [NTG-context] How to add a font folder with local fonts?

2017-10-09 Thread Henning Hraban Ramm
Am 2017-10-09 um 16:09 schrieb Ulrike Fischer : > How can I add a simple folder (not a texmf tree) with opentype or > truetype fonts to the search path of context? The official way is to set OSFONTDIR like any other PATH. ConTeXt also recognizes fontconfig fonts.conf files

Re: [NTG-context] How to add a font folder with local fonts?

2017-10-09 Thread Hans Hagen
On 10/9/2017 4:09 PM, Ulrike Fischer wrote: How can I add a simple folder (not a texmf tree) with opentype or truetype fonts to the search path of context? I have tried with a local texmfcnf.lua and return { content = { variables = { OPENTYPEFONTS =

Re: [NTG-context] Question about enumerations/before/after

2017-10-09 Thread Hans Hagen
On 10/9/2017 8:12 PM, Pablo Rodriguez wrote: On 10/09/2017 01:07 PM, Weber, Matthias wrote: Dear all, I have something like \defineenumeration[test] [before={\startcolor[red]}, after={\stopcolor}] When I comment out the before/after, I get paragraph breaks before

Re: [NTG-context] Question about enumerations/before/after

2017-10-09 Thread Weber, Matthias
Thanks Pablo, that does it. Matthias > On Oct 9, 2017, at 2:12 PM, Pablo Rodriguez wrote: > > On 10/09/2017 01:07 PM, Weber, Matthias wrote: >> Dear all, >> >> I have something like >> >> \defineenumeration[test] >> [before={\startcolor[red]}, >> after={\stopcolor}]

Re: [NTG-context] ICC profiles for \externalfigure

2017-10-09 Thread Hans Hagen
On 10/8/2017 11:09 AM, Pablo Rodriguez wrote: Dear Luigi and Hans, I have the following sample: \setupbackend [format=PDF/A-3a, intent=sRGB IEC61966-2.1, profile={sRGB.icc,default_gray.icc}, level=0] \setuptagging[state=start]

Re: [NTG-context] Question about enumerations/before/after

2017-10-09 Thread Pablo Rodriguez
On 10/09/2017 01:07 PM, Weber, Matthias wrote: > Dear all, > > I have something like > > \defineenumeration[test] > [before={\startcolor[red]}, > after={\stopcolor}] > > When I comment out the before/after, I get paragraph breaks before > and after the enumeration. How

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Hans Hagen
On 10/9/2017 6:11 PM, Rik Kabel wrote: Consider the following almost-minimal example: \setuptagging    [state=start] \setuppapersize  [A6] \setupexternalfigures[location=default] \definemakeup    [cover4][page=left,doublesided=no] \definelayer

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
No, cow.pdf is in the default location and is found with no problem when tagging is off or the setlayer is moved out of the setup. The Lua error does not occur with most commands, but does occur with external figures. -- Rik On 2017-10-09 12:32, Floris van Manen wrote: if i omit the line

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Floris van Manen
> On 9 October 2017 at 17:35, Henning Hraban Ramm wrote: > > If you like, I’ll gladly send you a voucher copy of the book*, once it’s > printed. > *) https://www.dreiviertelhaus.de/editionka/gewerkschaftspolitik/ (1947 — 1975) why does the book ends a year before i travelled

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Jano Kula
On 9 October 2017 at 17:35, Henning Hraban Ramm wrote: > > > If you like, I’ll gladly send you a voucher copy of the book*, once it’s > printed. > *) https://www.dreiviertelhaus.de/editionka/gewerkschaftspolitik/ Sure, I'll check the page numbers in the register are right,

Re: [NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Floris van Manen
if i omit the line with the \externalfigure it does work is that cow.pdf missing? > On 9 Oct 2017, at 18:11, Rik Kabel wrote: > > Consider the following almost-minimal example: > > \setuptagging[state=start] > \setuppapersize [A6] >

[NTG-context] Lua problem with tagging or setups

2017-10-09 Thread Rik Kabel
Consider the following almost-minimal example: \setuptagging    [state=start] \setuppapersize  [A6] \setupexternalfigures[location=default] \definemakeup    [cover4][page=left,doublesided=no] \definelayer [isbn][width=\pagewidth,height=\pageheight] \define   

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Henning Hraban Ramm
Am 2017-10-09 um 12:42 schrieb Jano Kula : > Hello Hraban, > > have a look into the TUC file to find out, what's going on. I'm sure, Hans > would come with a more efficient approach, but this works here. Especially > the abbreviation table is probably stored on the fly

[NTG-context] How to add a font folder with local fonts?

2017-10-09 Thread Ulrike Fischer
How can I add a simple folder (not a texmf tree) with opentype or truetype fonts to the search path of context? I have tried with a local texmfcnf.lua and return { content = { variables = { OPENTYPEFONTS = ".;D:/myfonts//;$TEXMF/fonts/{data,opentype}//;$OSFONTDIR", },

Re: [NTG-context] Setting style for \mfunction

2017-10-09 Thread Aditya Mahajan
On Mon, 9 Oct 2017, Hans Hagen wrote: On 10/8/2017 3:27 PM, Aditya Mahajan wrote: Hi, In the past, it was possible to use the text font for math functions using \setupmathematics[style=normal] https://mailman.ntg.nl/pipermail/ntg-context/2015/082212.html However, that does not work now.

[NTG-context] Question about enumerations/before/after

2017-10-09 Thread Weber, Matthias
Dear all, I have something like \defineenumeration [test] [text={Test:}, headstyle=bold, number=no, before={\startcolor[red]},

Re: [NTG-context] Sorting of abbreviations in index

2017-10-09 Thread Jano Kula
Hello Hraban, have a look into the TUC file to find out, what's going on. I'm sure, Hans would come with a more efficient approach, but this works here. Especially the abbreviation table is probably stored on the fly somewhere, not only in the TUC file and the table could be stored once. Change

Re: [NTG-context] Setting style for \mfunction

2017-10-09 Thread Hans Hagen
On 10/8/2017 3:27 PM, Aditya Mahajan wrote: Hi, In the past, it was possible to use the text font for math functions using \setupmathematics[style=normal] https://mailman.ntg.nl/pipermail/ntg-context/2015/082212.html However, that does not work now. Here is a minimal example: