Re: [NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread Hans Hagen
works):   \input ward\wordorparagraphright{same line, right} \stoptext Unfortunately the grouped version is the one I need, because it's used in a register, and it would give an error if not defined through \groupedcommand: \setupre

[NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread mf
optext Unfortunately the grouped version is the one I need, because it's used in a register, and it would give an error if not defined through \groupedcommand: \setupregister[myregister] [pageleft=\wordorparagraphright\bgroup,pageright=\

[NTG-context] Index formatting difference LMTX and MkIV

2020-08-26 Thread Rik Kabel
for both LMTX and MkIV. There is no explicitly conditional coding. With MkIV, I get: With LMTX, I get: I am struggling to prepare a MWE, but will try to do so if there is no obvious difference to those who ken the code. The problem may not be unique to register creation, but I have not noticed

Re: [NTG-context] \checkpage in the TOC

2020-08-12 Thread Willi Egger
gt;> inbetween={\checkpage[willi][lines=4]} >> Thank you for advice! >> Kind regards >> Willi >> ] > Here's an example of an actually already quite old mechanism .. > > \showinjector > > \setinjector[register][3][\column] > \setinjector[list][2][{\blank

Re: [NTG-context] \checkpage in the TOC

2020-08-11 Thread Hans Hagen
][lines=4]} Thank you for advice! Kind regards Willi ] Here's an example of an actually already quite old mechanism .. \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister

Re: [NTG-context] lmtx update

2020-08-03 Thread Pablo Rodriguez
ασις, εως, ἡ: affirmation} καὶ ἀπόφανσις\dict{ἀπόφανσις, -εως, ἡ: statement} καὶ λόγος. \stoptext What I need there is that these notes are alphabetically sorted, such as in a standard register. As I proposed that (years ago), you told me it was too complex. I wonder whether this would be e

Re: [NTG-context] lmtx update

2020-07-31 Thread Hans Hagen
…. \placefigure[left]{}{} {Bla bla \forgetparagraphfreezing .. } the forget will basically tell the system that it should use the normal (register) variables ... a freeze stores values in the local par node but also stores which parameters are stored, so it is selective (one can freeze specific

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Jeong Dal
gt;function MP.pascal_ncr_x() >mp.print(ncr(mp.scan.pair())) >end > > and then use: > >tt := runscript("MP.pascal_ncr_x()") (n,r) ; > > Of course one can decide to pick to two numerics instead, like > >tt := runscrip

Re: [NTG-context] Pre-registration for 14th ConTeXt Meeting, September 6–12, 2020

2020-07-20 Thread Jano Kula
space for ten more participants. If you have never been at the meeting, do not hesitate to pre-register <https://meeting.contextgarden.net/2020/register.shtml> with discounts. Those who visited Sibřina two years ago already know what to expect (talks, friends, food, wine, beer, music, countryside, ..

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Fabrice Couvreur
_ncr_x() > mp.print(ncr(mp.scan.pair())) > end > > and then use: > > tt := runscript("MP.pascal_ncr_x()") (n,r) ; > > Of course one can decide to pick to two numerics instead, like > > tt := runscript("MP.pascal_ncr_x()&

Re: [NTG-context] Code lua in a table

2020-07-20 Thread Hans Hagen
use: tt := runscript("MP.pascal_ncr_x()") (n,r) ; Of course one can decide to pick to two numerics instead, like tt := runscript("MP.pascal_ncr_x()") n r ; but i leave that as exercise. % tt := runscript mp_pascal_ncr (n,r) ; tt := pascal_ncr (n,

Re: [NTG-context] pdf tagging for accesbility

2020-07-12 Thread Duncan Hothersall
I have no answer I'm afraid, but I would like to register a similar interest in any potential answer to the question. Duncan On Sun, 12 Jul 2020, 14:20 David Eric Cox, wrote: > Hello. > > Is there any way to pdf-tag table headers to assist screen readers and the > like? I can

[NTG-context] Multiple cases of unexpected behaviour in luametatex

2020-07-03 Thread Marcel Fabian Krüger
some `data` tokens, but it doesn't apply bound checking on it's arguments: Take ``` \directlua{ t = token.new(0x20, token.command_id'data') print(t.cmdname, t.command, t.mode) } ``` which prints register102 0 The issue doe

[NTG-context] Fwd: TeX Annual Meeting 2020 going online

2020-07-02 Thread Taco Hoekwater
> The TeX annual user conference TUG 2020 is going digital on July 24, 25, 26. > Register for free! > > As we move TUG 2020 completely online, we look forward to offering you the > same vibrant programming, innovative and timely content from presenters, and > opportunities t

Re: [NTG-context] Translation of ConTeXt interface

2020-06-26 Thread Wolfgang Schuster
e "largeur=0.5\largeurtexte" (cool !) But this command is not listed in setup-fr.pdf. Is there a way to add these basic commands to setup-fr.pdf ? \textwidth is the name of a dimen register and no register names are listed. Math. I get the following error : fonts  > preloading latin mode

Re: [NTG-context] issue with \comment

2020-06-16 Thread Pablo Rodriguez
On 6/16/20 8:00 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 16.06.2020 um 19:20: >> [...] >> I think it might be a bug. Could anyone confirm this? > > Why is everything a bug? > > Some elements like margin blocks or register entries need an anchor. So

Re: [NTG-context] issue with \comment

2020-06-16 Thread Wolfgang Schuster
For some strange reason, \comment isn’t added when there is no other content in the paragraph. I think it might be a bug. Could anyone confirm this? Why is everything a bug? Some elements like margin blocks or register entries need an anchor. \enabletrackers[typesetters.margindata] \starttext

Re: [NTG-context] using modeset

2020-06-12 Thread Jan Willem Flamma
this helps finding a solution. Robert  Op 11 jun. 2020, om 20:53 heeft BPJ <b...@melroch.se> het volgende geschreven: Den tors 11 juni 2020 10:45Jan Willem Flamma <register...@gmail.com> skrev: Dear list members, I write training manuals and use the Modes mechanism a lot to create document

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Pablo Rodriguez
e sets and the additional material are a section each. And both chapters and sections need to be numbered as page/lastpage (for each). > The hard part is to find a hook for this because AFAIK there is no > simple key to do this (e.g. \setuppaper[setups=...]). What you have to > do in this c

Re: [NTG-context] two additional pagenumber series

2020-04-29 Thread Wolfgang Schuster
page. The hard part is to find a hook for this because AFAIK there is no simple key to do this (e.g. \setuppaper[setups=...]). What you have to do in this case is to append the counter settings to a token register which is called when ConTeXt has finished a page. \definecounter

Re: [NTG-context] register entries in footnotes

2020-04-26 Thread Hans Hagen
On 4/26/2020 4:35 PM, Thomas A. Schmitz wrote: A similar question has been asked three years ago, and Rik Kabel posted a partial solution, adapted here: \defineprocessor [Footnote] [right={ n}] \define[1]   \fnindex{\index[Footnote->]{#1}} \starttext This is a sentence with a term in the

[NTG-context] register entries in footnotes

2020-04-26 Thread Thomas A. Schmitz
A similar question has been asked three years ago, and Rik Kabel posted a partial solution, adapted here: \defineprocessor [Footnote] [right={ n}] \define[1] \fnindex{\index[Footnote->]{#1}} \starttext This is a sentence with a term in the index: cat\index{cat}. This sentence also has an

Re: [NTG-context] Changing default rule thickness (globally)

2020-03-28 Thread Wolfgang Schuster
value for all (there can be lines which have a fixed value) lines. Just to be clear, the \setuplinewidth command sets only the value of the \linewidth register and not the rulethickness value itself. Most setups apply to the \linewidth value to rulethickness and this is why \setuplinewidth

Re: [NTG-context] blank[\lineheight] works with LMTX, fails with MkIV

2019-12-21 Thread Wolfgang Schuster
ght) are allowed in the argument. 2. MkIV ConTeXt passes the complete list with all arguments to Lua where a loop iterates over all entries. The problem here is that Lua can't deal with \lineheight because it expects the value of the register and you have to pass the length as \the\lineheight wh

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Henning Hraban Ramm
lor >> named "Registration" (not register, my mistake) or the like, and it maps to >> all color plates, i.e. mostly CMYK 1,1,1,1, but also spot colors. You need >> that for manual film montage. > > So what is 1,1,1,1 ? Quite some mixed ink i guess? Kind of brown + black?

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Hans Hagen
On 12/19/2019 7:46 PM, Henning Hraban Ramm wrote: Massi said the crop marks are defined in grayscale black, but wants CMYK black. In layout programs crop and registration marks are usually set in a color named "Registration" (not register, my mistake) or the like, and it maps to

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Henning Hraban Ramm
d RGB color definitions without a profile; it should be the same as black CMYK channel, but needs not to. >>> It would also make sense to use CMYK register color (1,1,1,1). >> I do agree. > I might agree if I know what is meant here. Massi said the crop marks are defined in g

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Hans Hagen
, a different thing. I think the right file is page-mrk.mkiv. The crop marks are made with MP. I'm looking into it... Maybe you see more… There’s an example for custom marks at the bottom. It would also make sense to use CMYK register color (1,1,1,1). I do agree. I might agree if I know what is meant

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread mf
marks at the bottom. It would also make sense to use CMYK register color (1,1,1,1). I do agree. Massi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] setting the color of cropmarks

2019-12-19 Thread Henning Hraban Ramm
are set in https://source.contextgarden.net/tex/context/base/mkiv/strc-mar.mkiv Maybe you see more… There’s an example for custom marks at the bottom. It would also make sense to use CMYK register color (1,1,1,1). Best, Hraban _

Re: [NTG-context] Bug: \adjustspacing=1 does not disable expansion

2019-12-04 Thread Henri Menke
pack(q, cur_width, exactly, paragraph_dir); On 12/5/19 10:04 AM, Henri Menke wrote: Dear devs, The \adjustspacing register is described in the LuaTeX manual as follows: When \adjustspacing has value 2, hz optimization will be applied to glyphs and kerns. When the value is 3, only

Re: [NTG-context] Bug: \adjustspacing=1 does not disable expansion

2019-12-04 Thread Henri Menke
_ratio, paragraph_dir); } else { just_box = hpack(q, cur_width, exactly, paragraph_dir); On 12/5/19 10:04 AM, Henri Menke wrote: Dear devs, The \adjustspacing register is described in the LuaTeX manual as follows: When \adjustspacing has value 2, hz optimi

[NTG-context] Bug: \adjustspacing=1 does not disable expansion

2019-12-04 Thread Henri Menke
Dear devs, The \adjustspacing register is described in the LuaTeX manual as follows: When \adjustspacing has value 2, hz optimization will be applied to glyphs and kerns. When the value is 3, only glyphs will be treated. A value smaller than 2 disables this feature. However, setting

Re: [NTG-context] place single entry of a register, or filtering the terms of a register

2019-10-25 Thread Hans Hagen
On 10/25/2019 3:09 PM, mf wrote: Hello list, is there a way to place only one single entry of a register, or a selection of entries? I looked into strc-reg.mkiv and strc-reg.lua and i would answer "no, it's not possible". I could hack strc-reg.lua and define a command to do that,

[NTG-context] place single entry of a register, or filtering the terms of a register

2019-10-25 Thread mf
Hello list, is there a way to place only one single entry of a register, or a selection of entries? I looked into strc-reg.mkiv and strc-reg.lua and i would answer "no, it's not possible". I could hack strc-reg.lua and define a command to do that, but maybe a better solution

[NTG-context] ConTeXt Meeting 2019 registration details and tshirts

2019-08-17 Thread Taco Hoekwater
possible. * Nevertheless, if you are certain you want to attend; better make sure to register shortly. You’ll be sorry if there is a sudden influx of dozens of new ConTeXt users from CCCamp and registrations have to be closed because of lack of room ;) * There are no single rooms available

[NTG-context] Fwd: ConTeXt Group Newsletter August 2019

2019-08-15 Thread Henning Hraban Ramm
Thank you, Taco! > = ConTeXt Meeting blurb = > > If you have not registered yet, please consider joining us at YES, register NOW if you didn’t already! > = Chaos Communication Camp = > > CG Board member Henning Hraban Ramm is representing the ConTeXt community > at th

[NTG-context] ConTeXt Group Newsletter August 2019

2019-08-14 Thread Taco Hoekwater
= There is now a preliminary programme available on the meeting website (address below). Due to financial considerations, this will likely be our last visit to ’t Sjetootje. If you would like to visit the castle with us, you should register now :) = ConTeXt Meeting blurb = If you have

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Taco Hoekwater
gt; command ` \AtBeginShipoutNext`: >> >> ``` >> \footnotemark >> \clearpage >> \AtBeginShipoutNext{\footnotetext{Text.}} ConTeXt has a token register called \everybeforeoutput, which sounds somewhat similar to me. The only problem is that it does not auto-reset, so

Re: [NTG-context] How to write a wiki page?

2019-04-29 Thread Rudolf Bahr
On Mon, Apr 29, 2019 at 05:55:14PM +0200, Henning Hraban Ramm wrote: > Hi Rudolf, > > it’s a wiki, i.e. you write directly into the system. > You’re welcome to announce the new page here, then someone can look over it. > > First you need to register an account: > https://w

Re: [NTG-context] How to write a wiki page?

2019-04-29 Thread Henning Hraban Ramm
Hi Rudolf, it’s a wiki, i.e. you write directly into the system. You’re welcome to announce the new page here, then someone can look over it. First you need to register an account: https://wiki.contextgarden.net/index.php?title=Special:CreateAccount Then you can create a new page, e.g. https

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
nuts.copy local nodepool = nuts.pool local pageliteral = nodepool.pageliteral local register = nodepool.register local pdfdictionary= lpdf.dictionary local pdfarray = lpdf.array local pdfconstant = lpdf.constant local pdfr

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Hans Hagen
On 1/27/2019 7:15 PM, Rik Kabel wrote: That allows the compilation to complete, but method=three breaks other stuff. Try this: \starttext \setupdirections [bidi=on,method=three] \rightaligned{(( How is this?} \stoptext (I also see problems with boxes set in the margin where

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Rik Kabel
On 1/27/2019 12:07, Hans Hagen wrote: On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.   \setupregister   [index] [maxwidth=4cm]   \setupdirections [bidi=on,method=two]   \starttext   .\index{Mairzy doats and dozy doats and liddle lamzy divey}   \placeindex   

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Hans Hagen
On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
And shorter still, isolating the problem to something in \limitatetext:  \setupdirections [bidi=on,method=two]  \starttext  \limitatetext {Mairzy doats and dozy doats and liddle lamzy divey} {4cm}  \stoptext -- Rik

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
Here is a much-closer-to minimal example.  \setupregister   [index] [maxwidth=4cm]  \setupdirections [bidi=on,method=two]  \starttext  .\index{Mairzy doats and dozy doats and liddle lamzy divey}  \placeindex  \stoptext With the \setupdirections line removed, all is well. However, that line is

[NTG-context] Bidi-related register problem

2019-01-24 Thread Rik Kabel
Recent betas have introduced a bidi-related problem with register processing. In the following example, compilation generates a recoverable error when register processing has to trim an entry to fit maxwidth. The error is: luatex warning  > node filter: error: ...eXt/tex/texmf-context/

Re: [NTG-context] Sorting registers method for "uppercase like lowercase, diacritics ignored"

2019-01-20 Thread Thomas A. Schmitz
me achieve the desired result? Your example doesn't contain any uppercase letters. Which makes it a bit difficult to test what you're looking for. I must admit that I'm not very familiar with register "methods," I assume that Wolfgang or Hans will be able to tell you how to use them. For your

Re: [NTG-context] Scaling down symbols and emojis

2019-01-19 Thread User 19087
ze would be compounded: 'tfxx' remaining in effect after % 'switchtobodyfont'. I've also tried stop...starthiding, but that prevents % all processing of contents. \setbox\scratchbox\hbox{% #1% % Use a global lua variable rather than globally setting a scratch % reg

[NTG-context] Documentation of change / Evolving documents

2019-01-19 Thread Axel Kielhorn
. When the mode is „change“ the date (or version) is shown in the margin and the change is printed in red. Without mode „change“ only the change history is printed. What I want now is to change the layout of the register. Adding some vspace around the date and printing the date in bold

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
Rik Kabel schrieb am 27.11.18 um 22:27: What is unexpected is that the space does not appear in the body (non-footnote) text of the second paragraph. The difference between handling in notes and in body text seems discordant. \startparagraph does *not* start a paragraph. In the two

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
On 11/27/2018 16:12, Wolfgang Schuster wrote: The space after the register entry is only ignored when you put it before the start of a paragraph because ConTeXt saves the content and flushes it at the start of the next paragraph. When the register entry appear within in a paragraph or when TeX

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
The space after the register entry is only ignored when you put it before the start of a paragraph because ConTeXt saves the content and flushes it at the start of the next paragraph. When the register entry appear within in a paragraph or when TeX is in horizontal mode (like in your footnote

Re: [NTG-context] \everystarttext in components

2018-11-27 Thread Wolfgang Schuster
remember. When you load the environment before \startcomponent etc. you add your command to the token register before it is flushed but when you load the environment after \startcomponent etc. the register is flushed before you add them. This doesn’t mean you should use \everystarttext

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
On 11/27/2018 08:43, Rik Kabel wrote: On 11/27/2018 05:38, mf wrote: In my setup, i have an index of names: \defineregister[Nome][...] The indexing of names can be toggled with a mode: --mode=AddNames The setup is something like this: \startmode[AddNames]   \Name[key]{term}\xmlflush{#1}

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
On 11/27/2018 05:38, mf wrote: In my setup, i have an index of names: \defineregister[Nome][...] The indexing of names can be toggled with a mode: --mode=AddNames The setup is something like this: \startmode[AddNames]   \Name[key]{term}\xmlflush{#1} \stopmode \startnotmode[AddNames]  

[NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread mf
In my setup, i have an index of names: \defineregister[Nome][...] The indexing of names can be toggled with a mode: --mode=AddNames The setup is something like this: \startmode[AddNames] \Name[key]{term}\xmlflush{#1} \stopmode \startnotmode[AddNames] \xmlflush{#1} \stopnotmode I noticed

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 4:15 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: > > >> > >> A palette entry index value of 0x is a special case indicating > >> that the text foreground color (defined by a higher-level client) > >> should be used and

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: >> >> A palette entry index value of 0x is a special case indicating >> that the text foreground color (defined by a higher-level client) >> should be used and shall not be treated as actual index into CPAL >> ColorRecord array. >>

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen
On 11/22/2018 2:12 PM, Ulrike Fischer wrote: A palette entry index value of 0x is a special case indicating that the text foreground color (defined by a higher-level client) should be used and shall not be treated as actual index into CPAL ColorRecord array. unrelated ... 0x

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:13 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: > > >> When I use this definitions I still get partly blue glyphs with this > >> preamble. Don't you get them? > > > well, i don't know what to expect > > Khaled mentioned this link

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: >> When I use this definitions I still get partly blue glyphs with this >> preamble. Don't you get them? > well, i don't know what to expect Khaled mentioned this link which shows how (harfbuzz-based) browsers like firefox interpret the

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen
On 11/21/2018 9:04 PM, Ulrike Fischer wrote: Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso: \definefontfeature[quran][mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, ccmp=yes,locl=yes,calt=yes, liga=yes,clig=yes,dlig=yes,rlig=yes,

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso: > \definefontfeature[quran][mode=node,language=dflt,script=arab, > init=yes,medi=yes,fina=yes,isol=yes, >ccmp=yes,locl=yes,calt=yes, >liga=yes,clig=yes,dlig=yes,rlig=yes, >mark=yes,mkmk=yes,kern=yes,curs=yes, >

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread luigi scarso
On Wed, Nov 21, 2018 at 7:04 PM Ulrike Fischer wrote: > Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > > > I'm not sure what yoy mwan with 0x as that's intercepted > > With this example (font from > https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) > > a part of

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > I'm not sure what yoy mwan with 0x as that's intercepted With this example (font from https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) a part of the glyphs are in blue. Khaled claims that this is wrong, that the

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Hans Hagen
On 11/21/2018 1:37 PM, Ulrike Fischer wrote: Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer: Khaled wrote that "is that [the code] uses the last palette color A bit too much deleted. It should say "it is a bug that ..." in context use the context interface (which uses a

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer: > Khaled wrote that "is that [the code] uses the last palette color A bit too much deleted. It should say "it is a bug that ..." -- Ulrike Fischer http://www.troubleshooting-tex.de/

[NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-21 Thread Ulrike Fischer
I tried to register a demo colorpalette: \starttext \directlua{fonts.handlers.otf.registerpalette("demo", { { g=1 }, %accents { b=1 }, %06dd { r=0.5, g=0.5, b=0.5 }, %unused? { g = 0.5, b=0, r=1 }, } )} blub \stoptext and got the error font-ocl.lua:76: attempt to call a nil va

Re: [NTG-context] Possible seeindex enhancement

2018-10-27 Thread Rik Kabel
On 10/25/2018 16:39, Rik Kabel wrote: List, I am looking for a way to modify the text used for \seeindex (in English, "see") to have two types of seeindex result in the same index register. I would like to produce, for example, pseudepigraphy, 103,/see also ob

[NTG-context] Possible seeindex enhancement

2018-10-25 Thread Rik Kabel
List, I am looking for a way to modify the text used for \seeindex (in English, "see") to have two types of seeindex result in the same index register. I would like to produce, for example, pseudepigraphy, 103,/see also obliteration/ and at the same time be able to produce th

Re: [NTG-context] Taco's TODO list: server upgrade

2018-09-24 Thread Taco Hoekwater
t;> Taco, >> >> many thanks for your work at the ConTeXt Garden server. >> >> I’m afraid >> https://modules.contextgarden.net/cgi-bin/register.cgi/action=register >> doesn’t work. Yes, I knew that. The perl code that runs that site did not like the newer, stricte

Re: [NTG-context] Taco's TODO list: server upgrade

2018-09-24 Thread Pablo Rodriguez
er. > > I’m afraid > https://modules.contextgarden.net/cgi-bin/register.cgi/action=register > doesn’t work. Sorry, Taco, what doesn’t work is the login at https://modules.contextgarden.net/cgi-bin/menu.cgi/lang=EN/action=login. I wanted to update a module, not to register a new user . After loggi

Re: [NTG-context] Taco's TODO list: server upgrade

2018-09-24 Thread Pablo Rodriguez
ork at the ConTeXt Garden server. I’m afraid https://modules.contextgarden.net/cgi-bin/register.cgi/action=register doesn’t work. I get a 500 error when trying to log in. Many thanks for your help, Pablo -- h

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
Try it without the columns environment in your document, i.e. \startchapter[title=\mytitle{Register}] \placeregister[index] \stopchapter Hans van der Meer schrieb am 26.08.18 um 17:48: Could the following setup I used be the culprit? \setupregister[index][pagestyle=slanted,textstyle=small

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \placeindex[n=2], with or without the columns envirenment, produce the result wanted. The \startsimplecolumns[n=2] environment

[NTG-context] index with more than one column?

2018-08-26 Thread Hans van der Meer
How do I produce an index with more than one column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \placeindex[n=2], with or without

Re: [NTG-context] future versions

2018-07-25 Thread Hans Hagen
. Indeed. So basic subtags is one thing. The other is including the whole blob for whatever usage. The ability to point register entries to something other than page numbers would also be useful. For export formats (XML) this requires that label references be part of the export. This needs

Re: [NTG-context] future versions

2018-07-25 Thread Henning Hraban Ramm
. Didn’t try real bibliographies or xml input yet, but I guess you can change the setup to use those. > The ability to point register entries to something other than page numbers > would also be useful. For export formats (XML) this requires that label > references be part of the exp

Re: [NTG-context] future versions

2018-07-24 Thread Rik Kabel
. The ability to point register entries to something other than page numbers would also be useful. For export formats (XML) this requires that label references be part of the export. -- Rik ___ If your question

Re: [NTG-context] beta

2018-06-26 Thread Ulrike Fischer
Am Sat, 23 Jun 2018 12:12:05 +0200 schrieb Hans Hagen: > don't use register split in luaotfload ... look in luatex-fonts.lua etc > to soo how to analyze the name .. splitters are something context specific It looks as if we managed to get it working in luaotfload. We are trying to setu

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Alan Braslau
as do x-refs to subheadings. > > > sure, > > > > > > \seeindex{fun}{blah}% not shown > > > \seeindex{fun}{humbug} % not shown > > > \seeindex{fun}{bug} % not shown > > > > > > as

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Henning Hraban Ramm
rationale, and it could be a nice feature, but we need to >> refer to entries in a different register, e.g. from an index of topics to an >> index of persons, e.g. \seeindex{Pragma}{Hagen, Hans} or to subentries like >> \seeindex{fun+games}{bah+humbug}. Since the latter doesn’t wor

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Hans Hagen
} % not shown as there is no index entry blah, humbug or bug ... so you would be fooling your reader I understand the rationale, and it could be a nice feature, but we need to refer to entries in a different register, e.g. from an index of topics to an index of persons, e.g

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Alan Bowen
; \seeindex{fun}{bug} % not shown > > > > as there is no index entry blah, humbug or bug ... so you would be > fooling your reader > > I understand the rationale, and it could be a nice feature, but we need to > refer to entries in a different register, e.g.

Re: [NTG-context] latest beta and \seeindex

2018-06-24 Thread Henning Hraban Ramm
> \seeindex{fun}{blah}% not shown > \seeindex{fun}{humbug} % not shown > \seeindex{fun}{bug} % not shown > > as there is no index entry blah, humbug or bug ... so you would be fooling > your reader I understand the rationale, an

Re: [NTG-context] beta

2018-06-23 Thread Hans Hagen
that there is an "if context" switch around the relevant part (around line 34058): definers.makespecification=makespecification if context then --<<<<<<<<< local splitter,splitspecifiers=nil,"" ... Removing this (and the "end"

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
his time much much much much much much much much much much much much much much much much much much much much much much longer} \par \stoptext --- A doubt: i'm using box0, is it dangerous? I tried with scratchbox, but i

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
ftskip in the middle of a paragraph, but it works globally. I think this is even harder to implement, at least in the middle of the register macros. ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-09 Thread Wolfgang Schuster
There is no option to apply a command to all page numbers but you can add something after the register entry with the textcommand key. Be aware this solution isn’t perfect because in the worst case (narrow columns for the register or long entries) page numbers can be split on multiple lines

[NTG-context] ConTeXt Meeting 2018 – registration

2018-05-03 Thread Jano Kula
counts are available. The main theme for this meeting is *Unusual usage of ConTeXt*. Check preliminary abstracts <http://meeting.contextgarden.net/2018/abstracts.shtml>, fees <http://meeting.contextgarden.net/2018/fee.shtml> and don't forget to register <http://meeting.contextgarden.net/2018/r

[NTG-context] BachoTeX 2018 reminder

2018-04-06 Thread Taco Hoekwater
proposals for papers, workshops and any other ideas. Please contribute! The conference program details will be published at the conference web site, so please watch it. Again: register now so we can finalize planning. See you there, for the Organizing Committee (-) Jerzy Lu

Re: [NTG-context] Fwd: Custom sorting of "pseudo-language" in a register

2018-03-22 Thread Hans Hagen
On 3/22/2018 9:25 AM, luigi scarso wrote: -- Forwarded message -- From: John Grasty <johnpgra...@gmail.com> Date: Fri, Mar 16, 2018 at 4:15 PM Subject: [NTG-context] Custom sorting of "pseudo-language" in a register To: mailing list for ConTeXt users <ntg-cont

[NTG-context] Custom sorting of "pseudo-language" in a register

2018-03-16 Thread John Grasty
Lua LPEG to parse and normalize my citations so they are referenced in a uniform style. My problem comes in the register sorting. Hans, I saw where in the paste you have recommended a “pseudo-language” to implement a custom sort in such a situation. I have almost figured out how to accomplish

Re: [NTG-context] about \placeindex: uppercase initial and lowercase initial, two languages

2018-01-28 Thread Pablo Rodriguez
is OK that English words are shown first, is there a way > to make Korean words are shown first since the main language is Korean? I wonder whether two different indices would make sense here. I guess register order is related to the position in any charset you take. The ASCII characters come

Re: [NTG-context] notes in the margin

2018-01-23 Thread Henning Hraban Ramm
cation=text, >> bodyfont=, >> next=\PlaceFootnote] >> >> \setupnotation >> [footnote] >> [alternative=serried] >> >> \setuplayout >> [width=12cm, >> rightmargindistance=0.5cm, >> rightmargin=5cm] >> >> \starttext

Re: [NTG-context] Registers and getparameters

2018-01-23 Thread Hans Hagen
On 1/22/2018 8:26 PM, Wolfgang Schuster wrote: Otared Kavian <mailto:ota...@gmail.com> 22. Januar 2018 um 19:53 Hi all, I have a list of speakers (and abstracts of their talk) in a rather long document, and the name of each speaker is written to a register named sp

Re: [NTG-context] Registers and getparameters

2018-01-22 Thread Otared Kavian
;> The only remaining problem is that when several talks are included in my >> file (in the following example there three of them), then the entries to the >> register are correct but the associated pagenumbers are incorrect and are >> given the last pagenumber: in the following

Re: [NTG-context] Registers and getparameters

2018-01-22 Thread Wolfgang Schuster
talks are included in my file (in the following example there three of them), then the entries to the register are correct but the associated pagenumbers are incorrect and are given the last pagenumber: in the following example all three talks are given the pagenumber 4 in the re

  1   2   3   4   5   6   7   8   >