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

2021-01-04 Thread Henning Hraban Ramm
stay with > 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 > scr

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

2021-01-04 Thread Hans Hagen
manual.) 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 indices using Perl's excellent Un

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
TeX but it shouldn'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

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.index]

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 shapeglyphs =

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] if

Re: [NTG-context] LMTX and addplot table

2020-12-12 Thread Hans Hagen
iases). pgfplots> Sorry, the requested column number '' in table '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'

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

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

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

2020-12-09 Thread Bruce Horrocks
umber}, ] \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 is th

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

2020-11-23 Thread Giulio Bertellini
might even cross 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 TeXboo

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Otared Kavian
Bbb Q}$ 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

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 eve

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

2020-11-17 Thread Rik Kabel
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
f_checkinjector{#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=Gamm

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 force that

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 er

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/

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
; 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/mkiv/typo-inj.lua:63: attempt to index a nil value (field '?') stack traceback: ...-06/tex/texmf-context/te

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

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 \dorecu

[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
arrower 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 ma

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. (The

[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, if there is an

Re: [NTG-context] Fine tuning an index

2020-10-09 Thread Duncan Hothersall
;> On 9/10/20 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

Re: [NTG-context] Fine tuning an index

2020-10-08 Thread Duncan Hothersall
so need \showinjector. But it should work for indexes > (register). > > Julian > On 9/10/20 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, a

Re: [NTG-context] Fine tuning an index

2020-10-08 Thread jbf
d 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 interactions are set up or not, but is there a way to manually insert a column or page break into the re

[NTG-context] Fine tuning an index

2020-10-08 Thread Duncan Hothersall
I'm doing my first mkiv index (it took me a long time to upgrade from mkii!) and I really like the processor feature to format elements differently. But there are a couple of things I would really like to achieve that I'm struggling with: 1. Elided numbers in an index range entry. F

[NTG-context] Index range with page number suffix

2020-09-23 Thread Duncan Hothersall
(Using mkiv.) I have an index in which some entries need suffixes on the page numbers, for which I have used processors. For index ranges, I need the page number suffix only to appear on the end page number, not the start page number. The below MWE produces an index entry: sausage 1i-2i What

Re: [NTG-context] Arabic support

2020-09-23 Thread Mohammad Hossein Bateni
n and Arabic. Not all directions are reversed automatically. Beside footnotes, you might need to do it for tables, columns, pages, headers, footers, registers (index), etc. I don't recall if sorting was done properly for Arabic (needed for registers). Some trickery may be needed to get the RTL

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-21 Thread Christoph Reller
text > > > > I still get no check mark in the output PDF and a log message "char ✓ > > (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the > > font wrongly? > > (This has not a high priority for me, because I have the unified acc

[NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jeong Dal
F033) in font 'ZapfDingbats-4' with id 8: missing >>>> (2) \getglyphdirect{ZapfDingbats}{983059} % LMTX log: char 󰀓 >>>> (U+F0013) in font 'ZapfDingbats-4' with id 8: missing >>>> \ShowCompleteFont{name:ZapfDingbats}{14pt}{1} >>>

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Otared Kavian
s Hagen wrote: >> >>> On 9/19/2020 6:18 AM, Christoph Reller wrote: >>>> On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen >>> <mailto:j.ha...@xs4all.nl>> wrote: >>>> >>>>On 9/18/2020 11:23 AM, Christoph Reller wrote: >>>

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jairo A. del Rio
Sep 18, 2020 at 4:17 PM Hans Hagen <mailto:j.ha...@xs4all.nl>> wrote: > >On 9/18/2020 11:23 AM, Christoph Reller wrote: > > \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] > > \usemodule [fnt-10] > \starttext > (1) \getglyphdirect{Za

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-21 Thread Hans Hagen
dfont[name:ZapfDingbats]✓ \stoptext I still get no check mark in the output PDF and a log message "char ✓ (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the font wrongly? (This has not a high priority for me, because I have the unified access by

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-21 Thread Christoph Reller
> Dingbats are old school t1 without proper names so we can't use > > unicodes. However, there is a goodie that should do that so that in > > principle it should work with unicodes but there is some interference > > going on (i'll look at that) >

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-19 Thread Hans Hagen
ie that should do that so that in principle it should work with unicodes but there is some interference going on (i'll look at that) For nwo access by 'name' or 'index' (these are kind of stable for such an old font):       n:a34  : \getglyph{

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
' with id 8: missing > > \ShowCompleteFont{name:ZapfDingbats}{14pt}{1} > > \stoptext > > > Dingbats are old school t1 without proper names so we can't use > unicodes. However, there is a goodie that should do that so that in > principle it should work with unicodes but th

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Hans Hagen
utput for both MKIV and LMTX. Options: A) Is there a way to address the glyph in ZapfDingbats for both MKIV and LMTX uniformly, e.g. by glyph index? (By glyph name does not seem to work: MKIV reports glyph names, LMTX does not.) B) Is there a conditional that I can build into the source to

[NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
to address the glyph in ZapfDingbats for both MKIV and LMTX uniformly, e.g. by glyph index? (By glyph name does not seem to work: MKIV reports glyph names, LMTX does not.) B) Is there a conditional that I can build into the source to distinguish between MKIV and LMTX? C) Is there a font in the distrib

Re: [NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-09 Thread mylists
ers). > > > > After the installation I tried to typeset examples of a LaTeX- and > > a plain TeX document, which works out of the box. > > > > Then I tried a ConTeXt document and it fails: > > > > context somefile.tex > > > > gave me: > > > > mtxr

Re: [NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-09 Thread Matthijs van der Wild
gt; gave me: > > mtxrun | unknown script 'context.lua' or 'mtx-context.lua' > > . > > While searching the internet I found, that one has to run > > mtxrun --generate > > in advance. > > Doing so mtxrun starts to index my whole

[NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-05 Thread mylists
et I found, that one has to run mtxrun --generate in advance. Doing so mtxrun starts to index my whole harddisk starting with my $HOME, from which I started it. It reports A LOT of "confusing file"s I searched the installed TeXlive installation for context.lua and mtx-context.lu

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

2020-09-04 Thread 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 force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) You can use this when the entry

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

2020-09-04 Thread mf
database. Something like this: Carolyne in the main text results in a \index[miller_carolyne]{v18in231} In another place of the XML there's a record like this: Miller, Carolyne ... The deeptextcommand parameter of \setupregister is set to a macro that takes the ID and gives back the

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

2020-09-04 Thread Henning Hraban Ramm
different wording from the entry, and thus \seeindex{Something}{} always inserts a "see". I don’t know how common these "passim" entries are in scientific works; maybe I could use Mainperson firstpage–lastpage instead to avoid the major hassle of tricking t

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

2020-09-03 Thread mf
ndex{passim->Ramm, Hraban}{} No, this results in "Ramm, Hraban passim see passim" Only with check=yes, otherwise it works right. And \index{passim->Ramm, Hraban} results in "Ramm, Hraban passim 1" No, see attachment page 2. I.e. I’m still looking for an index entry wi

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

2020-09-03 Thread Henning Hraban Ramm
an passim see passim" And \index{passim->Ramm, Hraban} results in "Ramm, Hraban passim 1" I.e. I’m still looking for an index entry without "see" or page number. > \placeindex[check=no] This is essential for references to not (exactly

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

2020-09-03 Thread mf
Useful references I consulted to find a solution: https://www.mail-archive.com/ntg-context@ntg.nl/msg88118.html https://wiki.contextgarden.net/Registers#Processors Massi ___ If your question is of interest to others

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

2020-09-03 Thread mf
This should be exactly what you asked for: \defineprocessor[passim][right=\quad{\it passim}] \starttext \samplefile{ward}\index{Ward, Peter} \samplefile{sapolsky}\index{Sapolsky, Robert} \seeindex{passim->Ramm, Hraban}{} \seeindex{Hraban}{Ramm, Hraban} \page \placeindex[check=yes] \p

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

2020-09-03 Thread mf
Il 03/09/20 10:17, Henning Hraban Ramm ha scritto: Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) \starttext \samplefile{ward}\index

[NTG-context] force index entries without page number

2020-09-03 Thread Henning Hraban Ramm
Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) Hraban

[NTG-context] Index formatting difference LMTX and MkIV

2020-08-26 Thread Rik Kabel
Hello list, I have an index which uses multilevel indexing (a+b+c) to insert entries which contain snips of text. LMTX behaves differently from MkIV when trimming that text, resulting in line wrapping which does not happen with MKiV. I am not sure when this began -- I just picked up work

[NTG-context] CFF2 based variable fonts with SubRS

2020-08-26 Thread Marcel Fabian Krüger
x27;a' ...e0dde776fb1556f32e/formats/luametatex/font-cff-macro.lua:1980: in upvalue 'process' [...] A possible fix for both issues would be diff --git a/tex/context/base/mkiv/font-cff.lua b/tex/context/base/mkiv/font-cff.lua index c2cf0e699..d00637b8e 100644 --- a/tex/conte

[NTG-context] Index confusion with first entry

2020-08-18 Thread Henning Hraban Ramm
Hi, my index of locations shows a strange problem: Hamburg 6, 12, 14, 24–25, 27, 31, 33, 35, 44, 46, 48, 57, 59, 64, 75, 79, 81, 93–94, 96, 102, 104–105, 108–110, 112, 116–118, 120, 121–125, 6, 126–135, 6, 137– 147, 149, 151–159, 161, 165, 168, 169–171, 174, 176, 178, 182, 207, 209, 211, 215

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

2020-08-12 Thread Willi Egger
> 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][{\

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
\chapter{Input} \chapter{Output} \stopbodymatter \startbackmatter \chapter{Index} \stopbackmatter \stoptext end example Wolfgang ___ If your question is of interest to others as well, please add an entry to the

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

2020-08-11 Thread Hans Hagen
ister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \stopsection \startsection[title=Beta] second \index{second} \stopsection \startsection[title=Gamma] third \index{third} \stopsection \startsection[title=Delta] fourth \index{fourth} \stopse

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Otared Kavian
un should not have > such a depedency; the need to install perl or ruby was seen as a shortcoming. > We also used scripts to generate font metric files (context didn't depend on > other programs for toc and index generation and had just one auxiliary file). > But times ha

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Hans Hagen
not have such a depedency; the need to install perl or ruby was seen as a shortcoming. We also used scripts to generate font metric files (context didn't depend on other programs for toc and index generation and had just one auxiliary file). But times have changed and scripts are now hip and

Re: [NTG-context] new upload

2020-08-09 Thread Jairo A. del Rio
; > some basic bitwise operations (maybe we need some more). So far we have: >> >> I’m afraid that even "mtxrun --generate" gives an error message: >> >> lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to >

Re: [NTG-context] new upload

2020-08-09 Thread Jairo A. del Rio
e now have > > some basic bitwise operations (maybe we need some more). So far we have: > > I’m afraid that even "mtxrun --generate" gives an error message: > > lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to > index a nil value (global 'tex

Re: [NTG-context] new upload

2020-08-09 Thread Pablo Rodriguez
at even "mtxrun --generate" gives an error message: lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to index a nil value (global 'tex') I think something is missing there. Many thhanks for your

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Hans Hagen
project, index entries should get italic page numbers if they occurr inside of a footnote (or a caption, but that is rare). I’m using different shortcuts for both cases (that call \index with or without processor), but some paragraphs are very confusing (many long footnotes, or footnotes within

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
> Am 04.08.2020 um 13:20 schrieb Hans Hagen : > > On 8/4/2020 11:04 AM, Henning Hraban Ramm wrote: >> Hi, me again... >> Is there a check if a macro is called from inside of a footnote, like a >> system mode *footnote? >> (Same with captions?) >> In my cu

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Hans Hagen
On 8/4/2020 11:04 AM, Henning Hraban Ramm wrote: Hi, me again... Is there a check if a macro is called from inside of a footnote, like a system mode *footnote? (Same with captions?) In my current project, index entries should get italic page numbers if they occurr inside of a footnote (or a

[NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
Hi, me again... Is there a check if a macro is called from inside of a footnote, like a system mode *footnote? (Same with captions?) In my current project, index entries should get italic page numbers if they occurr inside of a footnote (or a caption, but that is rare). I’m using different

Re: [NTG-context] lmtx update

2020-08-03 Thread Pablo Rodriguez
an occasional challenge). If you are open for suggestions, I would ask for a footnotes that behave as a page index, such as in: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A6] \setupbodyfont[dejavu] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetwee

Re: [NTG-context] limit of index entries?

2020-08-02 Thread Henning Hraban Ramm
> Am 02.08.2020 um 10:18 schrieb Hans Hagen : > > On 8/1/2020 6:08 PM, Henning Hraban Ramm wrote: >>> Am 01.08.2020 um 14:10 schrieb Hans Hagen : >>> >>> On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: >>>> Hi, >>>> my aforemen

Re: [NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread kaddour kardio
thank you! running mtxrun --generate did the trick. NB: the other commands suggested produced the same errors, but it doesn't matter anymore. Thank You Wolfgang for your quick response Le dim. 2 août 2020 à 10:13, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > kaddour kardio s

Re: [NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread Wolfgang Schuster
kaddour kardio schrieb am 02.08.2020 um 11:02:  Hi, i am running the latest luametatex 2.07.2 from [aur] repos in my archlinux machine, i got this error when trying to update my font lists (lmtx) ➜  ~ mtxrun --script fonts --reload mtxrun          | unknown

[NTG-context] cannot reload font index after luametatex update

2020-08-02 Thread kaddour kardio
Hi, i am running the latest luametatex 2.07.2 from [aur] repos in my archlinux machine, i got this error when trying to update my font lists (lmtx) ➜ ~ mtxrun --script fonts --reload mtxrun | unknown script 'fonts.lua' or 'mtx-fonts.lua' is it a featur

Re: [NTG-context] limit of index entries?

2020-08-02 Thread Hans Hagen
On 8/1/2020 6:08 PM, Henning Hraban Ramm wrote: Am 01.08.2020 um 14:10 schrieb Hans Hagen : On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 22:44 schrieb Wolfgang Schuster > : >>> \define[1]\Ort{\expanded{\index{...}}} >> Ah, I never know where to expand (tried \expanded\ctxlua). > > \expanded needs a argument, i.e. \expanded{...} I recognized it doesn’t work otherwise. But I thoug

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.08.2020 um 22:16: Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster : \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} You have to expand the \index argument: \define[1]\Ort{\expanded{\index{...}}} Ah, I never know where to expand (tried \expan

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster > : >> \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} > > You have to expand the \index argument: > > \define[1]\Ort{\expanded{\index{...}}} Ah, I never know where to expand (tried \expanded\ctxlua). Now,

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 21:01 schrieb Jairo A. del Rio : > > Hi, Henning. According to the garden, something like: > > \def\Ort#1{\index[#1]{\ctxlua{user.Lookup("#1")}}} > > as long as #1 is capable of being sorted in the normal way, should work. Thank you, but tha

Re: [NTG-context] consistent index entries

2020-08-01 Thread Wolfgang Schuster
additional information in the index, e.g. \Locality{Altona (Hamburg)} \Locality{Breslau (pol. Wrocław)} or \Person{Arends, Katharina (née Schoemaker)} \Person{Wilhelm II. (Kaiser)} Now, I need that consistent and I don’t want to type these complicated entries every time. I’m looking for a good way

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
Wrt formatting (e.g. \index{\emph{something}}), the garden also mentions processors for MkIV (https://wiki.contextgarden.net/Registers#Processors), so you can wrap them with custom commands, in case it helps. Cordially, Jairo. El sáb., 1 de ago. de 2020 a la(s) 14:01, Jairo A. del Rio

Re: [NTG-context] consistent index entries

2020-08-01 Thread Jairo A. del Rio
Hi, Henning. According to the garden, something like: \def\Ort#1{\index[#1]{\ctxlua{user.Lookup("#1")}}} as long as #1 is capable of being sorted in the normal way, should work. Regards, Jairo El sáb., 1 de ago. de 2020 a la(s) 13:49, Henning Hraban Ramm ( te...@fiee.net

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 13:22 schrieb Henning Hraban Ramm : > > Hi, > > besides the CG journal I’m working on a scientific biography with huge person > and locality indexes (named Person and Locality for the examples). > > In many cases, the author wants additional infor

Re: [NTG-context] limit of index entries?

2020-08-01 Thread Hans Hagen
On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node): stack overflow mtx-context | fatal error: return code: 256 Is there a hard limit? Can I

[NTG-context] limit of index entries?

2020-08-01 Thread Henning Hraban Ramm
Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node): stack overflow mtx-context | fatal error: return code: 256 Is there a hard limit? Can I change it? Hraban

[NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
Hi, besides the CG journal I’m working on a scientific biography with huge person and locality indexes (named Person and Locality for the examples). In many cases, the author wants additional information in the index, e.g. \Locality{Altona (Hamburg)} \Locallity{Breslau (pol. Wrocław)} or

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
mpletecontent • \em, \bf, \cap, • \startitemize, \startitem, \starthead, • \placefigure, \externalfigure, • \placetable, \starttable,\starttabulate, \setupTABLE, \bTABLE • \index, \completeindex • \setuplayout, \setupfootertexts et \setupheadertexts • \definedescription, \defineenumeration • \at, \in

Re: [NTG-context] ConTeXt source browser website update

2020-07-05 Thread Taco Hoekwater
tion that uses Hans Hagen’s SciTE lexers for syntax >>> highlighting and a Lua-generated search index. >>> Suggestions for improvements are welcome. >> The download feature for binary files is broken, at least a leading >> newline i

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