[NTG-context] Generating HTML

2021-10-11 Thread Hans Åberg via ntg-context
I would want to generate HTML, but in the example below, "html-test.tex", the index does not show in the file "html-test-export/html-test-div.html", and the source file \index{…}, gets in the HTML a black triangle. The index and links work fine in "html-test.pdf&qu

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
it would be useful to myself and the >>>>>> ConTeXt community if I could at least get a rudimentary version working. >>>>>> I'm presently using the reference for examples from the *SBL >>>>>> Handbook of Style*, 2nd edition, available at >>>>&

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
gt;>>> recommended shorthand has the form "shortauthor, shorttitle" (i.e., the >>>>> last name(s) of the author(s) only, followed by a comma and a shortened >>>>> form of the title as specified in the "shorttitle" field). I could make &g

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
native (something >>>> like "authortitle"), then I could also try to do that. >>>> >>>> For my immediate purposes, I won't need much more than the @book, >>>> @article, @inbook, and @incollection entries, so my focus will be on >>>> getting t

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
text < >>> ntg-context@ntg.nl> wrote: >>> >>>> >>>> >>>> > -Ursprüngliche Nachricht- >>>> > Von: ntg-context Im Auftrag von Henning >>>> > Hraban Ramm via ntg-context >>>> > Gesendet

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
von Henning >>> > Hraban Ramm via ntg-context >>> > Gesendet: Samstag, 7. August 2021 22:40 >>> > An: mailing list for ConTeXt users >>> > Cc: Henning Hraban Ramm >>> > Betreff: Re: [NTG-context] Short forms and abbreviations in >>> bibliograp

Re: [NTG-context] Metafun's utflen not working in certain contexts

2021-10-05 Thread Jairo A. del Rio via ntg-context
m/questions/617597/how-can-i-use-luas-string-len-inside-a-metapost-function > > < > https://tex.stackexchange.com/questions/617597/how-can-i-use-luas-string-len-inside-a-metapost-function > >): > > > > \startMPinclusions > > > > vardef MotMystere(e

Re: [NTG-context] Addition of authortitle sorttype for bibliographies

2021-10-04 Thread Joey McCollum via ntg-context
field = "date", default = "9998-13-32", unknown = "-14-33" }, -- some specifications allow date instead of year, month, day { field = "year", default = "9998", unknown = "" }, { field = "month", de

Re: [NTG-context] Metafun's utflen not working in certain contexts

2021-10-04 Thread Hans Hagen via ntg-context
can-i-use-luas-string-len-inside-a-metapost-function>): \startMPinclusions vardef MotMystere(expr taille, speciale, index) = save avant,apres,case; numeric avant,apres; path case; case := fullsquare scaled 13; avant := speciale-1; %For Unicode, use "utflen" instead apres

[NTG-context] Metafun's utflen not working in certain contexts

2021-10-03 Thread Jairo A. del Rio via ntg-context
Hi, list. The following works for MkIV, but not LMTX (adapted from here: https://tex.stackexchange.com/questions/617597/how-can-i-use-luas-string-len-inside-a-metapost-function ): \startMPinclusions vardef MotMystere(expr taille, speciale, index) = save avant,apres,case; numeric avant,apres

Re: [NTG-context] Addition of authortitle sorttype for bibliographies

2021-09-19 Thread Joey McCollum via ntg-context
3" }, -- some specifications allow date instead of year, month, day { field = "year", default = "9998", unknown = "" }, { field = "month", default = "13", unknown = "14" }, { field =

[NTG-context] Addition of authortitle sorttype for bibliographies

2021-09-19 Thread Joey McCollum via ntg-context
998-13-32", unknown = "-14-33" }, -- some specifications allow date instead of year, month, day { field = "year",default = "9998", unknown = "" }, { field = "month", default = "13", unknown = "14&qu

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Joey McCollum via ntg-context
:\s!author:inverted} >> \else >> \fastsetup{\s!btx:\s!cite:\s!author:normal} >> \fi >> \stopsetups >> >> >> >> > ``` >> > local function oneauthor(i,last,justone) >> > local author = split[i]

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Joey McCollum via ntg-context
or:inverted} > \else > \fastsetup{\s!btx:\s!cite:\s!author:normal} > \fi > \stopsetups > > > > > ``` > > local function oneauthor(i,last,justone) > > local author = split[i] > > if index then > >

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Hans Hagen via ntg-context
ormal} \fi \stopsetups ```         local function oneauthor(i,last,justone)             local author = split[i]             if index then                 ctx_btxstartauthor(i,1,0)             elseif last then                 ctx_btxstartauthor(i,1,0)        

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-14 Thread Joey McCollum via ntg-context
s are detailed below: ``` local function oneauthor(i,last,justone) local author = split[i] if index then ctx_btxstartauthor(i,1,0) elseif last then ctx_btxstartauthor(i,1,0) ctx_btxsetconcat(0) if combin

Re: [NTG-context] Weird error when using \startformula inside lua

2021-09-12 Thread Sylvain Hubert via ntg-context
ext([[ \starttyping foobar \stoptyping ]]) \stopluacode \stoptext tex error > tex error on line 5 in file ./test.tex: lua error: registered function call [1041]: ...mtx/tex/texmf-context/tex/context/base/mkxl/buff-ini.lmt:534: invalid value (nil) at index 3 in table for ' concat' stack tra

Re: [NTG-context] Indexing redux

2021-08-26 Thread Rik Kabel via ntg-context
On 8/26/2021 03:26, Taco Hoekwater wrote: Hi Rik, On 26 Aug 2021, at 03:14, Rik Kabel via ntg-context wrote: List, I am trying to create an index with both "see" and "see also" cross-reference entries.[1] At this point, ConTeXt provides basic support for "see"

Re: [NTG-context] Indexing redux

2021-08-26 Thread Taco Hoekwater via ntg-context
Hi Rik, > On 26 Aug 2021, at 03:14, Rik Kabel via ntg-context > wrote: > > List, > > I am trying to create an index with both "see" and "see also" cross-reference > entries.[1] At this point, ConTeXt provides basic support for "see&quo

[NTG-context] Indexing redux

2021-08-25 Thread Rik Kabel via ntg-context
List, I am trying to create an index with both "see" and "see also" cross-reference entries.[1] At this point, ConTeXt provides basic support for "see" entries via the \seeREGISTER command (it does not properly support references to sub-entries) and it provid

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-08-22 Thread Joey McCollum via ntg-context
st Semitic" (and likewise for other journal/series >> > abbreviations). >> > >> > Regarding abbreviations have a look at >> > https://wiki.contextgarden.net/Command/definesynonyms >> > >> > It should be as easy as >> > >> >

Re: [NTG-context] Failure when loading variable font

2021-08-14 Thread Hans Hagen via ntg-context
otf reader > fatal error in file 'Fraunces.ttf': ...e0dde776fb1556f32e/formats/luametatex/font-ttf-macro.lua:274: attempt to index a nil value (local 'p1') stack traceback: ...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:2339: in metamethod

[NTG-context] Failure when loading variable font

2021-08-14 Thread Marcel Krüger via ntg-context
56f32e/formats/luametatex/font-ttf-macro.lua:274: attempt to index a nil value (local 'p1') stack traceback: ...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:2339: in metamethod 'index' ...e0dde776fb1556f32e/formats/luametatex/font-ttf-macro.lua:274: in u

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-08-09 Thread Joey McCollum via ntg-context
eries > > abbreviations). > > > > Regarding abbreviations have a look at > > https://wiki.contextgarden.net/Command/definesynonyms > > > > It should be as easy as > > > > \abbreviation{LSAWS}{Linguistic Studies in Ancient West Semitic} > > > > The full n

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-08-09 Thread Denis Maier via ntg-context
full name of \quote{LSAWS} is \infull{LSAWS}. > > \placelistofabbreviations > > > I had a case where mostly abbreviations were used in the text but the full > name > should appear in the index. > I can provide the setup (including Lua functions), if it might help you. > >

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-08-07 Thread Henning Hraban Ramm via ntg-context
ere used in the text but the full name should appear in the index. I can provide the setup (including Lua functions), if it might help you. Can’t help with bibliographies, sorry. Hraban ___ If your question is of

Re: [NTG-context] img.scan in lmtx?

2021-08-05 Thread Henning Hraban Ramm via ntg-context
9:16 schrieb Hans Hagen : >>>>> >>>>> On 1/26/2020 11:50 PM, Henning Hraban Ramm wrote: >>>>> >>>>>> I use the lua function img.scan{filename}, but in lmtx I get "attempt to >>>>>> index a nil value (global '

Re: [NTG-context] img.scan in lmtx?

2021-08-05 Thread Hans Hagen via ntg-context
{filename}, but in lmtx I get "attempt to index a nil value (global 'img')", so I guess this got renamed or moved? Just the high level command: figures.getinfo(name,page) local t = figures.getinfo("name.pdf",10) -- optional page number Finally coming back to this. Sin

Re: [NTG-context] img.scan in lmtx?

2021-08-05 Thread Henning Hraban Ramm via ntg-context
a function img.scan{filename}, but in lmtx I get "attempt to >>>> index a nil value (global 'img')", so I guess this got renamed or moved? >>> Just the high level command: >>> >>> figures.getinfo(name,page) > > local t = figures.getinfo("name.pdf&q

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-14 Thread Joaquín Ataz López
ntes   - Références internes   - Références externes   - Références bibliographiques   - Listes des images, tableaux...   - Index Part 3 - Typesetting "overall" -    - Page layout    - En-tête et pied de page

[NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-14 Thread Garulfo
ntes - Références internes - Références externes - Références bibliographiques - Listes des images, tableaux... - Index Part 3 - Typesetting "overall" - - Page layout - En-tête

Re: [NTG-context] img.scan in lmtx?

2021-07-08 Thread Hans Hagen
On 7/8/2021 8:31 PM, Henning Hraban Ramm wrote: Am 27.01.2020 um 09:16 schrieb Hans Hagen : On 1/26/2020 11:50 PM, Henning Hraban Ramm wrote: I use the lua function img.scan{filename}, but in lmtx I get "attempt to index a nil value (global 'img')", so I guess this got rename

Re: [NTG-context] img.scan in lmtx?

2021-07-08 Thread Henning Hraban Ramm
> Am 27.01.2020 um 09:16 schrieb Hans Hagen : > > On 1/26/2020 11:50 PM, Henning Hraban Ramm wrote: > >> I use the lua function img.scan{filename}, but in lmtx I get "attempt to >> index a nil value (global 'img')", so I guess this got renamed or mo

[NTG-context] new lmtx upload

2021-07-06 Thread Hans Hagen
hould work. Just in case someone keeps an eye on the metafun code and wonders what 'records' are, here is an example: \starttext \startMPcode record FooA ; interim FooA := newrecord [ name = "FooA" index = 123 ] ; record FooB ; interim FooB := newrecord [

Re: [NTG-context] injectors not working in LMTX?

2021-06-25 Thread Hans Hagen
[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title

Re: [NTG-context] injectors not working in LMTX?

2021-06-24 Thread Rik Kabel
][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title

[NTG-context] new upload

2021-05-25 Thread Hans Hagen
these come from the range 132-254 which is not used by normal allocations. The number is basically a sort of index. However, this box/dimen/count/skip memory model doesn't work well for (possible) extensions nor does the wrapped final (per page) box fit into the more extended regular box model

Re: [NTG-context] \char not working with private unicodes

2021-05-12 Thread Taco Hoekwater
ind that, that was wrong of me and not the problem at all! Sorry! Retry: [983943]={ ["boundingbox"]=58, ["index"]=903, ["name"]="music-note", ["unicode"]=983943, ["width"]=512, }, [983944]={ ["boundingbox&

Re: [NTG-context] \char not working with private unicodes

2021-05-12 Thread Taco Hoekwater
t; > i bet this check is there because of some other font needed it in order to > get loaded With that “break" removed glyph naming works and I can safely do: \getnamedglyphdirect{file:materialdesignicons-webfont.ttf}{access-point-check} which is the font glyph encoded at “F1538. The above

[NTG-context] latest standalone—lua error

2021-04-29 Thread Alan Bowen
ion call [1151]: ...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:648: attempt to index a nil value (field 'tf') stack traceback: ...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:648: in field 'filefallback' ...TeX/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:666: in fi

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
, not so accustomed to working with Lua code) and I have every confidence we will work this one out. For almost anyone using ConTeXt for preparing a book that includes such an index, and I believe it is normal for biblical citations to be listed according to biblical book order, at least

Re: [NTG-context] register for biblical citations

2021-04-16 Thread r . ermers
ference either. Same result. Seemingly random index. > > Julian > > On 16/4/21 8:06 pm, Hans Hagen wrote: >> On 4/16/2021 11:47 AM, jbf wrote: >>> Hans, thanks for your ingenious solution but there is still a way to go I >>> suspect! >>> >>>

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
There was no mention of the indicator anywhere in what I copied from your example. I did try indicator=no just now in case it should be made explicit: (\setupregister[bibcit][language=biblical,before=,indicator=no] but that makes no difference either. Same result. Seemingly random index

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
On 4/16/2021 11:47 AM, jbf wrote: Hans, thanks for your ingenious solution but there is still a way to go I suspect! I implemented (copy-paste) precisely the solution offered and I get an index but with some strange results ! Notice that in my previous own solution (but only as far as 26

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
Hans, thanks for your ingenious solution but there is still a way to go I suspect! I implemented (copy-paste) precisely the solution offered and I get an index but with some strange results ! Notice that in my previous own solution (but only as far as 26 books!) I at least got an index

Re: [NTG-context] register for biblical citations

2021-04-15 Thread jbf
if anyone has had to set up a register (index) for biblical citations, where the order is not alphabetical but the order of the biblical books themselves, so, for example, citations from Genesis (e.g. Gen 1:1; Gen 6:4; Ex 15:2; Deut 12:8 etc. etc). I am not at all sure how to achieve this. best

Re: [NTG-context] register for biblical citations

2021-04-15 Thread Hans Hagen
On 4/14/2021 11:16 PM, jbf wrote: I am wondering if anyone has had to set up a register (index) for biblical citations, where the order is not alphabetical but the order of the biblical books themselves, so, for example, citations from Genesis (e.g. Gen 1:1; Gen 6:4; Ex 15:2; Deut 12:8 etc

[NTG-context] register for biblical citations

2021-04-14 Thread jbf
I am wondering if anyone has had to set up a register (index) for biblical citations, where the order is not alphabetical but the order of the biblical books themselves, so, for example, citations from Genesis (e.g. Gen 1:1; Gen 6:4; Ex 15:2; Deut 12:8 etc. etc). I am not at all sure how

[NTG-context] injectors not working in LMTX?

2021-03-25 Thread Pablo Rodriguez
\placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \startsection[title=Beta] second \index{second} \startsection[title=Gamma] third \index{third} \startsection[title=Delta] fourth \index

Re: [NTG-context] outputting components in their own PDFs

2021-03-01 Thread denis.maier
alpage"][1][1] print ("Letzte Seite: " .. last_page) -- iterate over .tuc => get breakpoints for index, content in pairs(utilitydata.structures.lists.collected) do if (content["titledata"]["label"] == "chapter") then table.insert(breakpoints,con

Re: [NTG-context] Help figuring why long document stops short in xml export

2021-02-24 Thread Christoph Hintermüller
d not the document itself.If i remove everything up to \stopfrontmatter than it runs until the first custom defined float and again yields the same error. If i explicitly not select export.trace.details no hickup. -registered function call [188]: ...cal/tex/texmf-context/tex/context/base/m

Re: [NTG-context] SVG fonts not working properly

2021-02-05 Thread Jairo A. del Rio
x/con..."]:1587: in local 'glyphtopdf' [string "/home/coragyps/lmtx/tex/texmf-context/tex/con..."]:1879: in local 'writer' [string "/home/coragyps/lmtx/tex/texmf-context/tex/con..."]:2080: in field 'integer index' [string "/home/coragyps/lmtx/tex/texmf-context/tex/c

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-11 Thread Ivan Pešić
ntg-context > >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net > >> archive : https://bitbucket.org/phg/context-mirror/commits/ > >> wiki : http://contextgarden.net > >> > ____

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, jbf wrote: > Very useful!  And I'll be on the lookout for a newspaper called The Onion :-) > one that I presume would bring you to tears. Oh, it does: https://www.theonion.com/ Aditya___ If your

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And what I need is to be able to italicise entries that refer to newspa

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Observer} of 31 July 2018 > > \placemyindex% > > \stoptext > > Jairo > > El jue, 7 de ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com) > escribió: > >> I'm wondering if further progress has been made in Mk IV on styling parts >> of an index (register

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
roma83...@gmail.com <mailto:roma83...@gmail.com>) escribió: I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
roma83...@gmail.com <mailto:roma83...@gmail.com>) escribió: I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
ene. de 2021 a la(s) 17:29, jbf (roma83...@gmail.com) escribió: > I'm wondering if further progress has been made in Mk IV on styling parts > of an index (register) entry? I have followed the explanation on the wiki, > but do not seem to be able to achieve what I need. > &g

[NTG-context] styling part of an index entry

2021-01-07 Thread jbf
I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And what I need is to be able to italicise entries that refer to newspaper names, e.g

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-05 Thread Augusto Stoffel
Hi Joaquín, Here is a small suggestion, which would have a few different uses. The following link, which I copied from the index, should take you to the definition of \vbox: https://webs.um.es/jal/docs/introCTX_eng.pdf#%5B%7B%22num%22%3A117%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22Fit%22%7D

Re: [NTG-context] Migrating from LaTeX (was: A not so short introduction to ConTeXt Mark IV)

2021-01-04 Thread Henning Hraban Ramm
> LaTeX yes it is > but it shouldn't be a barrier to learning ConTeXt which IME it is. The barrier is in your head. Don’t assume ConTeXt is like LaTeX, but be amazed if it does. ;) > To take but one example: when wearing my linguist hat I deal with obscure > scripts and languages,

Re: [NTG-context] Migrating from LaTeX (was: A not so short introduction to ConTeXt Mark IV)

2021-01-04 Thread Hans Hagen
when wearing my linguist hat I deal with obscure scripts and languages, mostly dead languages, which no standard LaTeX index processor can handle (at least not out of the box) so I have my pile of Perl hacks which generate indices using Perl's excellent Unicode capabilities and some excellent

Re: [NTG-context] Migrating from LaTeX (was: A not so short introduction to ConTeXt Mark IV)

2021-01-04 Thread Taco Hoekwater
> On 4 Jan 2021, at 14:02, BPJ wrote: > > for searching for "index" on the ConTeXt wiki finds an error page! Redirect page added. If you see more such issues, please do the same. Best wishes, Taco — Taco Hoekwater E: t...@bittext.nl gender

[NTG-context] Migrating from LaTeX (was: A not so short introduction to ConTeXt Mark IV)

2021-01-04 Thread BPJ
n't be a barrier to learning ConTeXt which IME it is. To take but one example: when wearing my linguist hat I deal with obscure scripts and languages, mostly dead languages, which no standard LaTeX index processor can handle (at least not out of the box) so I have my pile of Perl hacks which generate indi

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Hans Hagen
ta  = fonts.hashes.characters[true] -- by unicode     local shapedata = fonts.hashes.shapes[true] -- by index     local c = chardata[character]     if c and c.index and shapedata then     local shapeglyphs = shapedata.glyphs or { }     local glyph   = shapeglyphs[c.in

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Otared Kavian
nt{\definedfont[name:% > texgyrepagellabold% > %exo2black% > %agaramondprobold% > *default at 55pt]} > > %-- > > \startluacode > > function document.outlinepaths(character) >local chardata = fonts.hashes.characters[true] -- by unicode >local shapedata = fo

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-23 Thread Garulfo
- \startluacode function document.outlinepaths(character) local chardata = fonts.hashes.characters[true] -- by unicode local shapedata = fonts.hashes.shapes[true] -- by index local c = chardata[character] if c and c.index and shapedata then local shapeglyph

Re: [NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-21 Thread Taco Hoekwater
> \startluacode > > function document.outlinepaths(character) >local chardata = fonts.hashes.characters[true] -- by unicode >local shapedata = fonts.hashes.shapes[true] -- by index >local c = chardata[character] >if c and c.index and shapedata then >

[NTG-context] MetaFun - "remove the paths of text" from a rectangle to let the background visible

2020-12-21 Thread Garulfo
ts.hashes.characters[true] -- by unicode local shapedata = fonts.hashes.shapes[true] -- by index local c = chardata[character] if c and c.index and shapedata then local shapeglyphs = shapedata.glyphs or { } local glyph = shapeglyphs[c.index]

Re: [NTG-context] LMTX and addplot table

2020-12-12 Thread Hans Hagen
able 'mfe-addplot.dat' does not exist!? Please verify you used the correct index 0 <= i < N. pgfplots> Sorry, the requested column number '' in table 'mfe-addplot.dat' does not exist!? Please verify you used the correct index 0 <= i < N. NOTE: coordinate (,) has been dropped

Re: [NTG-context] Quirk with \userpagenumber, datasets and the .tuc file

2020-12-09 Thread Hans Hagen
] [ title={Test title}, page={\userpagenumber}, ] \stoptext In the TUC file I get: utilitydata.job.datasets.collected={ ["MyDS"]={ { ["index"]=1, ["order"]=1, ["page"]="1\\relax ",

[NTG-context] Quirk with \userpagenumber, datasets and the .tuc file

2020-12-09 Thread Bruce Horrocks
}, ] \stoptext In the TUC file I get: utilitydata.job.datasets.collected={ ["MyDS"]={ { ["index"]=1, ["order"]=1, ["page"]="1\\relax ", ["realpage"]=1, ["title"]="Test title",

Re: [NTG-context] Parallelizing typesetting of large documents with lots of cross-references

2020-12-03 Thread Taco Hoekwater
meta manual needs five runs, otherwise a max of two runs would always be enough (assuming no outside processing like generating a bibliography or index is needed). So your —once approach may fail in some cases, sorry. Actually, the meta manual really *needs* only four runs. The last run

Re: [NTG-context] Current LMTX unable to compile file metafun-positioning.tex - error on line 240

2020-11-23 Thread Giulio Bertellini
s the page 242 boundary. 243 A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.) mtx-context | fatal error: r

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Otared Kavian
}$ est {\bi archimédien}\index{archimédien}, c'est-à-dire que si $\epsilon \in {\Bbb Q}$ et $\epsilon > 0$, pour tout $R \in {\Bbb Q}$ tel que $R > 0$ il existe un entier $n \in {\Bbb N}$ tel que $n\epsilon > R$. Plus précisément il existe un unique entier $m \geq 0$ tel que $m\epsilo

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-18 Thread Hans Hagen
On 11/17/2020 10:14 PM, Pablo Rodriguez wrote: On 11/17/20 9:34 PM, Rik Kabel wrote: Bump. This is still a problem. Can anyone acknowledge that the problem exists outside my own installation? If so, is there a work-around? An explanation? Hi Rik, I can reproduce your problem, but I’m afraid

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-17 Thread Pablo Rodriguez
On 11/17/20 9:34 PM, Rik Kabel wrote: > Bump. > > This is still a problem. Can anyone acknowledge that the problem exists > outside my own installation? If so, is there a work-around? An explanation? Hi Rik, I can reproduce your problem, but I’m afraid I don’t know the explanation for this or

Re: [NTG-context] Index formatting difference LMTX and MkIV redux

2020-11-17 Thread Rik Kabel
in the setting of index registers entries, and more particularly, in the trimming of text to fit the available width therein. I have now created a smallish example to demonstrate the problem. I do notice that the problem is very sensitive to the width settings, and slight variations in width create

[NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)

2020-11-16 Thread Adam Reviczky
ector{#1}{#2}} 39 %D \placeregister[index][criterium=text] 40 %D \page 41 %D \startsection[title=Alpha] first \index{first} \stopsection 42 %D \startsection[title=Beta] second \index{second} \stopsection 43 %D \startsection[title=Gamma] third

Re: [NTG-context] force index entries without page number

2020-11-07 Thread Henning Hraban Ramm
> Am 04.09.2020 um 11:59 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 03.09.2020 um 10:17: >> Hi, >> I’d like to have an (person) index entry like >> Ramm, Hraban passim >> i.e. without actual page number. >> How can I forc

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
gt; It doesn’t change with balance=yes/no. If one of the \index{D...} lines is commented in the following example, the last D entry goes into the second column, the columns get balanced, and the second line of the last K entry is broken to the next page. If you uncomment that line, it looks as i

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 15:48 schrieb Duncan Hothersall : > > I don't think \showinjector needs an argument. My MWE when I was looking at > this has just \showinjector after the register definition but before the > \setinjector[...] commands. Docs say otherwise. Without argument, I don’t get an

Re: [NTG-context] index issues

2020-11-06 Thread Duncan Hothersall
have at least one \setinjector as well otherwise it doesn't show the > numbers. > > > > It doesn’t work for me: > > lua error > lua error on line 24 in file inhalt/99anhang.tex: > > registered function call [421]: > ...-06/tex/texmf-context/tex/context/base/

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
t doesn’t work for me: lua error > lua error on line 24 in file inhalt/99anhang.tex: registered function call [421]: ...-06/tex/texmf-context/tex/context/base/mkiv/typo-inj.lua:63: attempt to index a nil value (field '?') stack traceback: ...-06/tex/texmf-context/tex/context/b

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 12:54 schrieb Duncan Hothersall : > > > > On Fri, 6 Nov 2020 at 11:52, Jano Kula wrote: > > On Fri, 6 Nov 2020 at 12:24, Henning Hraban Ramm wrote: > Hello again, > > still struggling with indexes. > > I’ll prepare MWEs, but maybe you can answer some of these without?

Re: [NTG-context] index issues

2020-11-06 Thread Duncan Hothersall
On Fri, 6 Nov 2020 at 11:52, Jano Kula wrote: > > On Fri, 6 Nov 2020 at 12:24, Henning Hraban Ramm wrote: > >> Hello again, >> >> still struggling with indexes. >> >> I’ll prepare MWEs, but maybe you can answer some of these without? >> > > Hello Hraban! > > Without MWE try \showinjector >

Re: [NTG-context] index issues

2020-11-06 Thread Jano Kula
On Fri, 6 Nov 2020 at 12:24, Henning Hraban Ramm wrote: > Hello again, > > still struggling with indexes. > > I’ll prepare MWEs, but maybe you can answer some of these without? > Hello Hraban! Without MWE try \showinjector and \setinjector

[NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
it possible to combine entries from \index and \startregister[index]? If I use \start/stopregister and have the same index entry within the range or on the same page, I get duplicate pages or page ranges, like 10-12 from \startregister and additionally 11, 12-13 from \index entries, makes at the

Re: [NTG-context] index entries postponed if sections are empty

2020-11-02 Thread Henning Hraban Ramm
Otared, Jano, thank you for your answers – what finally helped was putting the image and the index entries in a vbox together. Hraban ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] index entries postponed if sections are empty

2020-11-01 Thread Jano Kula
Hello Hraban! On Sat, 31 Oct 2020 at 17:56, Henning Hraban Ramm wrote: > Hi, > I‘m despairing about my index – some sections contain only an image > (\externalfigure), but I need to set several index entries for the image > contents. > The index entries get postponed until

Re: [NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Otared Kavian
Hi Hraban, Maybe you can add some « virtual » text in the section with an invisible color such as \startcolor[white] a \stopcolor I don't know whether the following can solve your problem, but the entries of the index appear correctly: \usemodule[visual] \starttext \dorecurse{5

[NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Henning Hraban Ramm
Hi, I‘m despairing about my index – some sections contain only an image (\externalfigure), but I need to set several index entries for the image contents. The index entries get postponed until after the next chapter. I guess the problem is that there’s no (text) content, but \par and \strut

Re: [NTG-context] lmtx

2020-10-30 Thread Jairo A. del Rio
er 175 \startbuffer 176 discrete\wordboundary\discretionary{}{}{---}\wordboundary discrete A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.) The prepackaged PDF manual is also broken: an error

Re: [NTG-context] MkIV and LMTX difference in comma list expansion

2020-10-26 Thread Wolfgang Schuster
Rik Kabel schrieb am 26.10.2020 um 17:34: Hello list, Another difference, perhaps the result of my lack of knowledge, but a difference. The following example produces different results for the fourth sequence, with the index being passed one item under MkIV and two items under LMTX

[NTG-context] MkIV and LMTX difference in comma list expansion

2020-10-26 Thread Rik Kabel
Hello list, Another difference, perhaps the result of my lack of knowledge, but a difference. The following example produces different results for the fourth sequence, with the index being passed one item under MkIV and two items under LMTX. (The code is stripped out of a much more

Re: [NTG-context] Introduction to ConTeXt Wiki pages

2020-10-22 Thread Damien Thiriet
would make sense? It would be also worth to index it in the Basics index. These are technical stuff that may be discussed further on in the wiki mailing-list. w...@contextgarden.net Best regards, Damien Thiriet On Thu, Oct 22, 2020 at 01:43:28AM +0200, ntg-context-requ...@ntg.nl wrote: > > H

[NTG-context] Index formatting difference LMTX and MkIV redux

2020-10-21 Thread Rik Kabel
Hello list, About two months ago (2020-08-26) I described a difference between LMTX and MkIV in the setting of index registers entries, and more particularly, in the trimming of text to fit the available width therein. I have now created a smallish example to demonstrate the problem. I do

[NTG-context] index issues

2020-10-14 Thread Henning Hraban Ramm
(1) If I get the same index entry two or more times on a page, sometimes with processor formatting, sometimes not, how can I control which version takes precedence? Actual use case: index entries from footnotes should be italics, while those from the main text stay upright. Now

Re: [NTG-context] Fine tuning an index

2020-10-09 Thread Duncan Hothersall
0 2:58 am, Duncan Hothersall wrote: >> >> Fine tuning column and page breaking in an index. This is tricky, because >> there are usually very few "good" places to break an index, and automatic >> breaking seems to alter slightly depending on whether interaction

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