[NTG-context] local command description

2019-04-16 Thread Damien Thiriet
console resolvers | trees | analyzing '/home/dthiriet/texmf' mtx-server | running at port: 8088 mtx-server | document root: /usr/local/share/texmf-dist/scripts/context/lua mtx-server | main index file: unknown mtx-server | scripts subpath: /usr/local/share/texmf-di

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Henning Hraban Ramm
Am 2019-04-14 um 21:34 schrieb Wolfgang Schuster : > Henning Hraban Ramm schrieb am 14.04.2019 um 21:11: >> Hi, >> on the last page of my index, there are two entries printed over each other, >> see attached screenshot. >> >> How can this happen? Any hints how

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 14.04.2019 um 21:11: Hi, on the last page of my index, there are two entries printed over each other, see attached screenshot. How can this happen? Any hints how to avoid it? Sorry, no MWE yet, probably hard to reproduce... Latest, i.e. yesterday’s beta with

[NTG-context] index entries printed over each other

2019-04-14 Thread Henning Hraban Ramm
Hi, on the last page of my index, there are two entries printed over each other, see attached screenshot. How can this happen? Any hints how to avoid it? Sorry, no MWE yet, probably hard to reproduce... Latest, i.e. yesterday’s beta with LuaTeX; the same with the previous version. Also the

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-03 um 13:30 schrieb Hans Hagen : > On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: >> Am 2019-04-02 um 18:53 schrieb Hans Hagen : >>> On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: >>>> Ahoi, >>>> with \setupregister[compress=yes], inde

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Hans Hagen
On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: Am 2019-04-02 um 18:53 schrieb Hans Hagen : On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Herbert Voss
Am 03.04.19 um 11:41 schrieb Thomas A. Schmitz: On 3. Apr 2019, at 10:56, Henning Hraban Ramm wrote: Thank you – it’s not only a German habit, even if we pronounce it “folgende”, “f.” stems from Latin “folio”, and “ff.” is a duplicated abbreviation, as was usual in mediaeval Latin. So, t

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Thomas A. Schmitz
> On 3. Apr 2019, at 10:56, Henning Hraban Ramm wrote: > > Thank you – it’s not only a German habit, even if we pronounce it “folgende”, > “f.” stems from Latin “folio”, and “ff.” is a duplicated abbreviation, as was > usual in mediaeval Latin. > So, this is at least used in English, German,

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Ulrike Fischer
Am Wed, 3 Apr 2019 10:56:21 +0200 schrieb Henning Hraban Ramm: > or is there a need to collapse pages in bibliographies? there can be such page ranges with ff both in the bibliography and the citation. But normally you input them hard coded as you know it in advance (in biblatex as 1\psq or 1\ps

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Henning Hraban Ramm
Am 2019-04-02 um 18:53 schrieb Hans Hagen : > On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: >> Ahoi, >> with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s >> great. >> But (at least in German publications) it’s usual that 1,2 becomes 1f

Re: [NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
On 2019-04-02 Hans Hagen wrote: > On 4/2/2019 8:41 PM, Jan Tosovsky wrote: > > > > my document ends with the index > > > > \startbackmatter > > \chapter{Rejstřík jmenný} > > \start > > \switchtobodyfont[8pt] > > \placeindexname > > \s

Re: [NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Hans Hagen
On 4/2/2019 8:41 PM, Jan Tosovsky wrote: Dear All, my document ends with the index \startbackmatter \chapter{Rejstřík jmenný} \start \switchtobodyfont[8pt] \placeindexname \stop \stopbackmatter \startbackmatter \chapter{Rejstřík věcný} \start \switchtobodyfont[8pt] \placeindexsubject \stop

[NTG-context] LMTX deeptextcommand issue

2019-04-02 Thread Jan Tosovsky
Dear All, my document ends with the index \startbackmatter \chapter{Rejstřík jmenný} \start \switchtobodyfont[8pt] \placeindexname \stop \stopbackmatter \startbackmatter \chapter{Rejstřík věcný} \start \switchtobodyfont[8pt] \placeindexsubject \stop \stopbackmatter At the beginning there is a

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Hans Hagen
On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? it should not be

[NTG-context] index "compress" option / collapsing of page numbers

2019-04-02 Thread Henning Hraban Ramm
Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? Greetlings, Hraban --- https://www.fiee.net http

Re: [NTG-context] Welcome to LMTX

2019-04-01 Thread Hans Hagen
displayed correctly with Acrobat Reader, I just thought I’d report it :-) The question is why. In a pdf glyphs are referred to by index in a font so basically there should be no issue with viewing unless a viewer does something magic. If the document views ok in another viewer .. does the page print

Re: [NTG-context] sorttype option not recognized in setupbtxrendering

2019-03-19 Thread Romain Diss
make the 'sorttype' option work. If I first define a named rendering with '\definebtxrendering', the 'sorttype' is correctly read... Don't know why it doesn't work with the default rendering. > % test-biblio.tex > \usebtxdataset[biblio.bib] \definebtxren

[NTG-context] sorttype option not recognized in setupbtxrendering

2019-03-19 Thread Romain Diss
txdataset[biblio.bib] \setupbtxrendering[sorttype=index] \startdocument \startchapter[title=First chapter] \input ward \cite[ward,knuth]\blank \placelistofpublicati

Re: [NTG-context] ConTeXT install failing [solved]

2019-03-13 Thread Hans van der Meer
sparing non-programmers a problem. The error message is: /tex/texmf-context/scripts/context/lua/mtx-context.lua:1819: attempt to index a nil value (field 'filenames') originates from: elseif environment.filenames[1] or getargument("nofile") then scripts.context.timed(scr

[NTG-context] ConTeXT install failing

2019-03-11 Thread Hans van der Meer
27;, handler 'file', argument '/Users/hansm/TeX/texmf' resolvers | expansions | using cached scan of path '/Users/hansm/TeX/texmf', branch '/Users/hansm/TeX/texmf' resolvers | resolving | resolvers | resolving | not saving runtime tree '/Users/hansm/

[NTG-context] Empty \margintext causes Lua error

2019-03-06 Thread Henri Menke
Dear list, MWE: \starttext \margintext{} \stoptext Error: ...ext/tex/texmf-context/tex/context/base/mkiv/node-nut.lua:736: table index is nil Please fix. Cheers, Henri ___ If your question is of interest to

[NTG-context] Spurious space in \startnarrower

2019-03-05 Thread Henri Menke
Patch for the core file is attached. Cheers, Henri diff --git a/tex/context/base/mkiv/spac-hor.mkiv b/tex/context/base/mkiv/spac-hor.mkiv index 32b7f06fb..24c7c7893 100644 --- a/tex/context/base/mkiv/spac-hor.mkiv +++ b/tex/context/base/mkiv/spac-hor.mkiv @@ -717,7 +717,7 @@ \global

[NTG-context] horizontal headalternatives ignore indentnext

2019-02-27 Thread Henri Menke
not in the box \else % somehow this goes ok even when we push in the margin probably because we gobble pars % in the process of collecting index entries etc \strut \flushnotes % new, here since we're in par mode \unhbox\b_strc_rendering_head \getheadsyncs % a

Re: [NTG-context] \symbol (ConTeXt vs. LateX)

2019-02-16 Thread Tomas Hala
\NR # %D \NC s \NC hexadecimal index (slot) \NC s:210D \NC \NR # %D \NC i \NC decimal index\NC i:456\NC \NR # %D \NC n \NC name \NC n:eight \NC \NR # %D \NC c \NC name \NC c:x \NC \NR # %D \NC u \NC unicode descriptions \NC u:dog

Re: [NTG-context] \symbol (ConTeXt vs. LateX)

2019-02-16 Thread Wolfgang Schuster
\NC e:eacute \NC \NR %D \NC x \NC hexadecimal unicode \NC x:013D \NC \NR %D \NC d \NC decimal unicode \NC d:123\NC \NR %D \NC s \NC hexadecimal index (slot) \NC s:210D \NC \NR %D \NC i \NC decimal index\NC i:456\NC \NR %D \NC n \NC name

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
3em, title=yes, prefix=yes, prefixsegments=chapter, way=bychapter, before={\blank}, after=\blank] \setupbodyfont[rm, 11pt] \starttext \dorecurse{3}{ \startchapter[title={Chapter Title}] \startExam We call it \index{OneTwo}{\bf OneTwo} \stopExam \startExam We call it \index{

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Wolfgang Schuster
Jeong Dal schrieb am 11.02.19 um 11:17: 2. Also, the numbers of examples is not reset even though the new chapter began, for example, Example 2.3, 2.4, 3.5, 3.6 etc. However, I couldn’t make the same error with this code, It never happened without theorems, but it appeared when I added \star

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, Since the customized Theorem structure is already complicate, I just extract \index from the title as following: \startTheorem{\bf title of theorem} \index{title of theorem} bla bla bla \stopTheorem In this way, I cleared the message "[entry not flushed]” in the indices. There m

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, I just found that the counter problem has no relation with theorems. It happened without theorems while some examples worked correctly. There may be another problem in my definitions in environment file. I’ll do more tests. Thank you for reading. Best regards, Dalyoung

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear all, I used a customized Theorem structure which is made by the help of experts in this list. I have two questions. 1. Recently I added titles of theorems which was indexed and found a strange error message "[entry not flushed]” in the list of index. Please run the following sample

Re: [NTG-context] hysteresis with content in blocks (one strike and you can be out forever)

2019-02-06 Thread Wolfgang Schuster
.1: ! Undefined control sequence l.1 Use \abc The cause seems to be that testhysteresis.tuc contains (from the run it step 2 above): utilitydata.structures.blocks.collected={ { ["data"]="Use \\abc", ["index"]=1,

[NTG-context] hysteresis with content in blocks (one strike and you can be out forever)

2019-02-06 Thread Sanjoy Mahajan
bc The cause seems to be that testhysteresis.tuc contains (from the run it step 2 above): utilitydata.structures.blocks.collected={ { ["data"]="Use \\abc", ["index"]=1, ["metadata"]=3, ["references"]={

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

2019-02-05 Thread Wolfgang Schuster
://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 \starttext This does not look right: \index{entry} \index[key]{entry} \index[infinifty]{$+\infty$} \index[infinifty]{$\mathplus\infty$} ConTeXt

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

2019-02-05 Thread Wolfgang Schuster
problematic index entry. /Mikael % Example file \starttext This does not look right: \index{entry} \index[key]{entry} \index[infinifty]{$+\infty$} \index[infinifty]{$\mathplus\infty$} ConTeXt uses + as separator in index entries. In you example the argument is split into the two parts “$” and

[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

Re: [NTG-context] getting ConTeXt results back to Lua (for typesetting solutions at end of document)

2019-01-31 Thread Weber, Matthias
, location=hanging] \defineblock[exercise] \defineblock[solution] \hideblocks[solution] \setupinteraction [state=start] \starttext \section{Main Text} \subsection[subsec:1]{problem section 1} \startexercise Addition\index{addition} problem: $1+1=?$ \stopexercise \beginsolution[one] \startsolution

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] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
Hi Henry, Thank you for your proposition. I tested both : the first work but not the second. Fabrice lua error > lua error on line 13 in file /home/viserion/Ntg_7.tex: ...ext/tex/texmf-context/tex/context/base/mkiv/tabl-xtb.lua:1269: attempt to index a nil value (upvalue 'data&

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
tex/context/base/mkiv/typo-dub.lua:496: attempt to index local 'stacktop' (a nil value) Removing the maxwidth constraint, or setting it to a much wider value, allows error-free compilation. Without \setupdirections[bidi=on,method=two] there is no problem, but without it RTL texts ar

Re: [NTG-context] final thoughts on experiments with lua

2019-01-10 Thread luigi scarso
I’ve tried to catch these exceptions in sort functions, > only to have to add even more ifs and buts when I was processing the next > author. And I’m pretty sure that the solution is not in sorting a table > index: the correct sequence is already in the source, it just has to be > preserved

Re: [NTG-context] final thoughts on experiments with lua

2019-01-10 Thread Schmitz Thomas A.
that the solution is not in sorting a table index: the correct sequence is already in the source, it just has to be preserved. What I do now, in a nutshell: I have tables such as sections = { “1”, “2”, “2a” } words = { [“1”] = { “a”, “b” }, [“2a”] = { “c”, “d” } } so I can iterat

Re: [NTG-context] final thoughts on experiments with lua

2019-01-09 Thread Henning Hraban Ramm
re is a better way? Since Python’s usual dict is also unordered, I guess OrderedDict also just uses an index array under the hood. Python makes it easy to create new classes (also data types) that behave like something known. Don’t know how that would look in Lua... Python’s batteries are much b

Re: [NTG-context] final thoughts on experiments with lua

2019-01-09 Thread Hans Hagen
could find was entering the chapter numbers into an array (ipair) and then retrieve it from there. Maybe there is a better way? for k, v in table.sortedhash(t) do end or if it's sequential, you can add to an indexed (of use the index sorted for complex cases) it all depends on use

Re: [NTG-context] further experiments with lua

2019-01-09 Thread Hans Hagen
On 1/9/2019 8:43 AM, Thomas A. Schmitz wrote: Hi Hans, I'm doing some further experiments with the utf and lpeg libraries. This code fails, and I don't understand why: local s = "Ä" print(characters.uccode(s)) mtxrun --script test.lua ./test.lua:3: attempt to index gl

[NTG-context] further experiments with lua

2019-01-08 Thread Thomas A. Schmitz
Hi Hans, I'm doing some further experiments with the utf and lpeg libraries. This code fails, and I don't understand why: local s = "Ä" print(characters.uccode(s)) mtxrun --script test.lua ./test.lua:3: attempt to index global 'characte

Re: [NTG-context] graphics

2018-12-13 Thread Alan Braslau
t; >>>> though. > >>>> > >>>> /Mikael > >>> > >>> You likely also need to install libffi - I do not know what package > >>> this is on your flavor of linux - Luigi is the ffi specialist! > >> > >> FFI is

Re: [NTG-context] graphics

2018-12-13 Thread Otared Kavian
know what package >>> this is on your flavor of linux - Luigi is the ffi specialist! >> >> FFI is integrated in LuaTeX >= 1.03 >> >> In you example you load libcerf but you are not using it. What you are >> actually using are the Bessel function from the

Re: [NTG-context] graphics

2018-12-12 Thread Henri Menke
n your flavor of linux - Luigi is the ffi specialist! >> >> FFI is integrated in LuaTeX >= 1.03 >> >> In you example you load libcerf but you are not using it. What you >> are actually using are the Bessel function from the C Standard >> library. GCC include

Re: [NTG-context] graphics

2018-12-12 Thread Mikael P. Sundqvist
> > In you example you load libcerf but you are not using it. What you are > actually using are the Bessel function from the C Standard library. GCC > includes them as a GNU extension. > https://www.gnu.org/software/libc/manual/html_node/Special-Functions.html#index-j0 > Your exampl

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
1.03 > > In you example you load libcerf but you are not using it. What you > are actually using are the Bessel function from the C Standard > library. GCC includes them as a GNU extension. > https://www.gnu.org/software/libc/manual/html_node/Special-Functions.html#index-j0 > Your

Re: [NTG-context] graphics

2018-12-12 Thread Henri Menke
y. GCC includes them as a GNU extension. https://www.gnu.org/software/libc/manual/html_node/Special-Functions.html#index-j0 Your example also works if you remove libcerf (at least for me on Linux). > > Alan >

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Rik Kabel
On 12/8/2018 00:03, Alan Braslau wrote: As I wrote, "rendering" to footnotes as elements of a "list" can be done, and your cross-reference *is* the footnote index. We have not written setups that do this already as I have never needed this format myself, although it is rath

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
t; > One "other use" case that I make is a catalog of hundreds of > > mesophases. I "cite" them and their various properties throughout > > the text, an my "list rendering" has become an index. > > > > Alan > > > I would like s

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Rik Kabel
out the text, an my "list rendering" has become an index. Alan I would like simply to prepare a paper structured like the one found at https://tannerlectures.utah.edu/Greenblatt%20Lecture.pdf. There is no biblography; there are bibliographic references in footnotes. There is no interaction

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
the list. You are thinking too much in a standard frame, and I'm not sure what you want to accomplish. One "other use" case that I make is a catalog of hundreds of mesophases. I "cite" them and their various properties throughout the text, an my "list rendering"

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

2018-11-27 Thread Wolfgang Schuster
paragraphs in the following example it is always the word “Text” which start the paragraph. \setuppapersize[A9] \starttext \index{Strumpf} Text \startparagraph \index{Strumpf} Text \stopparagraph \stoptext Wolfgang

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

2018-11-27 Thread Rik Kabel
\startparagraph \index{Strumpf} Text \startfootnote \index{Strumpf} Text \stopfootnote \stopparagraph\startparagraph Text \startfootnote \index{Strumpf}% Text \stopfootnote \stopparagraph \stoptext With the result: What is unexpected is that the

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

2018-11-27 Thread Wolfgang Schuster
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]   \xmlflush{#1} \stopnotmode I

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-leve

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 C

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
at to expect > > Khaled mentioned this link which shows how (harfbuzz-based) browsers > like firefox interpret the font > https://www.amirifont.org/fatiha-colored.html > > Also the spec > https://docs.microsoft.com/en-us/typography/opentype/spec/colr#layer-record > says

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

2018-11-22 Thread Ulrike Fischer
ike firefox interpret the font https://www.amirifont.org/fatiha-colored.html Also the spec https://docs.microsoft.com/en-us/typography/opentype/spec/colr#layer-record says ==== A palette entry index value of 0x is a special case indicating that the text foreground color (defined by a higher-lev

[NTG-context] Footnotes and endnotes

2018-11-17 Thread Axel Kielhorn
={(},right={)}] % How to style the footnotemark in the text? \setupnotation[endnote] [left={(},right={)}] \startsection[ reference=fußnoten, title={Fußnoten} ] \index{Fußnoten} \input ward\footnote{Eine normale Fußnote. Mit etwas Text, damit die Seite voll wird. \input ward} \input

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Peter Rolf
Am 2018-11-10 um 13:00 schrieb Peter Rolf: > Hi Wolfgang, > > thanks for the info. I will download the new manual right now. > Mh, already on my RAM disk :D I tend to ignore the shipped documentation. My bad. > > Best wishes, Peter > > Am 2018-11-10 um 12:03 schrieb Wolfgang Schuster: >> Hi

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Peter Rolf
Hi Wolfgang, thanks for the info. I will download the new manual right now. Best wishes, Peter Am 2018-11-10 um 12:03 schrieb Wolfgang Schuster: > Hi Peter, > > the new columnset mechanism accepts only two arguments for the > \setupcolumnset command but you can load the old code with > \usemo

Re: [NTG-context] index problem with \setupcolumnset

2018-11-10 Thread Wolfgang Schuster
Hi Peter, the new columnset mechanism accepts only two arguments for the \setupcolumnset command but you can load the old code with \usemodule[old-columnsets]. How you can apply backgrounds per column with the new code is shown in a example in the manual. Wolfgang Peter Rolf schrieb am 0

[NTG-context] index problem with \setupcolumnset

2018-11-09 Thread Peter Rolf
Hi, I run into this error after updating my ConTeXt version. Small (but not minimal) example attached. mtx-context | current version: 2018.10.18 00:07 Peter \startuniqueMPgraphic{column:bg} fill OverlayBox withcolor yellow; \stopuniqueMPgraphic \defineoverlay[columnbg][\uniqueMPgrap

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 obliteration/

[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] German introduction to context

2018-10-21 Thread Pablo Rodriguez
gt; - Structure chapter/section … > - Emphasis bold/italic > - lists itemize > - floats > - TABLE > - index > - references > - math (with units) > - chemistry (only basic stuff) > > Several years ago I started to prepare a talk for a DANTE meeting, trying to > show

[NTG-context] German introduction to context

2018-10-21 Thread Axel Kielhorn
Hello, I’m looking for an introduction in german. What I need is: - Structure chapter/section … - Emphasis bold/italic - lists itemize - floats - TABLE - index - references - math (with units) - chemistry (only basic stuff) Several years ago I started to prepare a talk for a DANTE meeting

Re: [NTG-context] context and sqlite - here is the code

2018-10-07 Thread Jörg Hofmann
cond stage) fonts > 'fallback modern-designsize rm 12pt' is loaded sql > start loading method 'sqlite' swiglib > unknown: 'swiglib.sqlite.core' swiglib > unknown: 'swiglib.helpers.core' lua error > lua erro

Re: [NTG-context] accessing glyphs in the private area

2018-10-02 Thread Hans Hagen
man10-regular.otf]" \test \XeTeXglyph"7A \char"7A \bye In luatex \char and \Uchar don't really care about unicode, even if the font has tounicode=1 and tounicode entries, they access the char by the hashed integer number. they access the char in the characters table (where each char

Re: [NTG-context] accessing glyphs in the private area

2018-10-02 Thread Ulrike Fischer
n10-regular.otf]" \test \XeTeXglyph"7A \char"7A \bye In luatex \char and \Uchar don't really care about unicode, even if the font has tounicode=1 and tounicode entries, they access the char by the hashed integer number. So to get "unicode" the font loader has to so

Re: [NTG-context] accessing glyphs in the private area

2018-10-01 Thread Hans Hagen
phs before, but the libertine package has long lists of mappings like this: \DeclareTextGlyphY{LinBiolinum_K}{uniE18C}{57740} A funny definition ... is that access by name or number? I don't see a use of accessing this glyphs by index - index positions can change if the font is updated. Thi

Re: [NTG-context] accessing glyphs in the private area

2018-10-01 Thread Ulrike Fischer
t; > {\definedfont[Coelacanth] test \byindex{\number"00A33}} I don't see a use of accessing this glyphs by index - index positions can change if the font is updated. This can only be a last resort for glyphs without unicode position. The only sensible access is by unicode number (whi

Re: [NTG-context] accessing glyphs in the private area

2018-10-01 Thread Hans Hagen
quot;]=165, ["index"]=2622, ["unicode"]=62860, ["width"]=523, and the glyph can be accessed with \Uchar62860 In the current lua I now find [983910]={ ["boundingbox"]=195, ["index"]=2622, ["unicode"]=62860,

[NTG-context] accessing glyphs in the private area

2018-09-30 Thread Ulrike Fischer
The font Coelacanth (on CTAN) has glyphs in the private area. Between 2/2017 (luaotfload in texlive 2017) and now the storing and accessing of this glyphs has changed. In the lua of the font of 2017 I find e.g. [62860]={ ["boundingbox"]=165, ["index"]=2622,

Re: [NTG-context] wiki issue

2018-09-27 Thread Taco Hoekwater
> On 27 Sep 2018, at 09:29, Clyde Johnston wrote: > > You may also want to check the links to h2o-books.com under "Physical Books". > I notice they are returning "URL not found" errors. Yes, h2o books is down. Just try the index page ;) Hopefully, I’ll h

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-22 Thread Hans Hagen
.current()     local shapedata   = fonts.hashes.shapes[fontid] -- by index     local chardata    = fonts.hashes.characters[fontid] -- by unicode     local shapeglyphs = shapedata.glyphs or { }     character = utf.byte(character)     local c = chardata[character]     if c then         if not c

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-22 Thread Alan Braslau
hat my implementation is > >>> extremely inefficient.  I would very much appreciate some hints by the > >>> MetaPost experts! > >>> Cheers, Henri > >>> --- > >>> \startluacode > >>> -- That's a simple reimplem

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-22 Thread Hans Hagen
appreciate some hints by the MetaPost experts! Cheers, Henri --- \startluacode -- That's a simple reimplemetation of the showshape macro function outlinepaths(character)     local fontid      = font.current()     local shapedata   = fonts.hashes.shapes[fontid] -- by index     local chardata    = fon

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-22 Thread Floris van Manen
nt. I would very much appreciate some hints by the >> MetaPost experts! >> Cheers, Henri >> --- >> \startluacode >> -- That's a simple reimplemetation of the showshape macro >> function outlinepaths(character) >> local fontid = font.current() >

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-22 Thread Hans Hagen
hints by the MetaPost experts! Cheers, Henri --- \startluacode -- That's a simple reimplemetation of the showshape macro function outlinepaths(character) local fontid = font.current() local shapedata = fonts.hashes.shapes[fontid] -- by index local cha

[NTG-context] Metafun: Finding intersection between characters

2018-09-22 Thread Henri Menke
--- \startluacode -- That's a simple reimplemetation of the showshape macro function outlinepaths(character) local fontid = font.current() local shapedata = fonts.hashes.shapes[fontid] -- by index local chardata= fonts.hashes.characters[fontid] -- by unicode

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Hans Hagen
otf loading > loading 'c:/windows/fonts/SourceHanSans-Regular.otf', hash 'sourcehansans-regular' otf reader > loading of table 'vorg' skipped otf reader > invalid index in single format 1: 65353 -> 67212 (max 65535) otf reader > rule

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Taco Hoekwater
ble 'vorg' skipped otf reader > invalid index in single format 1: 65353 -> 67212 (max 65535) otf reader > rule 1 in gsub lookup 's_s_5' has empty lookups otf reader > merging 3 steps of 'gpos_single' lookup 'p_s_0' otf reader &

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread luigi scarso
ror while trying to write the lua-file. In context > >> > >> \starttext > >> \font\test={name:sourcehansans} > >> \test abc > >> \stoptext > >> > >> gave the error: > >> > >> fonts > otf loading > loading > >>

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Ulrike Fischer
ansans} >> \test abc >> \stoptext >> >> gave the error: >> >> fonts > otf loading > loading >> 'c:/windows/fonts/SourceHanSans-Regular.otf', hash >> 'sourcehansans-regular' >> otf reader > loading of table 'vo

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Hans Hagen
s-regular' otf reader > loading of table 'vorg' skipped otf reader > invalid index in single format 1: 65353 -> 67212 (max 65535) otf reader > rule 1 in gsub lookup 's_s_5' has empty lookups fonts > otf loading > loading failed due

[NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Ulrike Fischer
g of table 'vorg' skipped otf reader > invalid index in single format 1: 65353 -> 67212 (max 65535) otf reader > rule 1 in gsub lookup 's_s_5' has empty lookups fonts > otf loading > loading failed due to read error fonts > defining

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
The real question is why do you get an index without two columns. \starttext \dorecurse{26}{\convertnumber{a}{#1}\expanded{\index{\convertnumber{a}{#1 \placeregister[index]%[n=3] \stoptext Hans van der Meer schrieb am 26.08.18 um 17:37: How do I produce an index with more than one

[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 the

<    1   2   3   4   5   6   7   8   9   10   >