[NTG-context] Index range with page number suffix

2020-09-24 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
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 right when

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

2020-09-21 Thread Christoph Reller
t 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 glyph index.) > __

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

2020-09-21 Thread Jeong Dal
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} >>>> \stoptext >>>> >>>D

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

2020-09-21 Thread Otared Kavian
> 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: >>>> >>> \definefontsyno

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

2020-09-21 Thread Jairo A. del Rio
n <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{ZapfDingbats}{61491}\crlf % MKIV log

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

2020-09-21 Thread Hans Hagen
[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 glyph index.)

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

2020-09-21 Thread Christoph Reller
ngbats 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) > > > > For nwo a

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

2020-09-19 Thread Hans Hagen
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{ZapfDingbats}{\tochar{n:a34}}  \par       n:a

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

2020-09-18 Thread Christoph Reller
ssing > > \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 there is some interference

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

2020-09-18 Thread Hans Hagen
IV 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 distinguish b

[NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
h 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 distribution for which

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

2020-09-09 Thread mylists
> > > > 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: > > > > mtxrun

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

2020-09-09 Thread Matthijs van der Wild
ave 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 harddisk starting with &g

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

2020-09-05 Thread mylists
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.lua -- they were insta

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
thing 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 text of the perso

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
;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 without "

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

2020-09-03 Thread Henning Hraban Ramm
, Hraban 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
/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/context/base/mkiv/font-cff.lua +++ b/tex/context/base/mkiv/f

[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
gt;> inbetween={\checkpage[willi][lines=4]} >> Thank you for advice! >> Kind regards >> Willi >> ] > Here's an example of an actually already quite old mechanism .. > > \showinjector > > \setinjector[register][3][\column] > \setinjector[list][2][{\blank

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

2020-08-11 Thread Wolfgang Schuster
} \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 Wiki! maillist

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

2020-08-11 Thread Hans Hagen
[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} \stopsection

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

2020-08-11 Thread Otared Kavian
t; 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

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

2020-08-11 Thread Hans Hagen
; 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 modern in the tex ecosysys

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 help, Pab

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

[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, inbetween=

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

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

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 t

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

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

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

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

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

2020-07-05 Thread Hans Hagen
On 7/5/2020 9:11 PM, Leah Neukirchen wrote: Taco Hoekwater writes: Hi all, I just replaced the software of https://source.contextgarden.net/ by a Lua implementation that uses Hans Hagen’s SciTE lexers for syntax highlighting and a Lua-generated search index. Suggestions for improvements

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

2020-07-05 Thread Leah Neukirchen
Taco Hoekwater writes: > Hi all, > > I just replaced the software of https://source.contextgarden.net/ by a > Lua implementation that uses Hans Hagen’s SciTE lexers for syntax > highlighting and a Lua-generated search index. > Suggestions for improvements are welcome. Th

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Hans Hagen
On 6/26/2020 4:30 PM, Jan-Erik Hägglöf wrote: function call [844]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle') i'll add a catch there but the issue is likely that you enable synctex while at the same time enable page

Re: [NTG-context] error running wiki example with labels

2020-06-26 Thread Jan-Erik Hägglöf
n call [844]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle') 1 >> \newdimen\LWidth 2 \newdimen\LHeight 3 \newdimen\LDistanceX 4 \newdimen\LDistanceY 5 6 \LWidth=75mm 7 \LHeight=30mm 8

Re: [NTG-context] spacing before items

2020-06-25 Thread David Rogers
scrolling through the index of a manual, and sometimes it's hard to figure out "What keyword do I search on? If I knew the correct keyword, I'd be done this already!" - but quite often I've "hit the jackpot" and found exactly what I needed, or close enough that I only had to

Re: [NTG-context] error running wiki example with labels

2020-06-25 Thread Jan-Erik Hägglöf
tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')___If your question is of interest to others as well, please add an entry to the Wiki!maillist : ntg-context@ntg.nl / http://www.nt

Re: [NTG-context] error running wiki example with labels

2020-06-25 Thread Taco Hoekwater
;> ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to >> index a nil value (upvalue 'filehandle') > > ___ > If your question is of interest to others as well, please add an entr

Re: [NTG-context] spacing before items

2020-06-24 Thread Henning Hraban Ramm
t;> advanced with InDesign or Word. Styling your work is much easier in a visual >> programm – while you do it manually. > > Hmmm... I don't find those things to be at all advanced in Word. ??? It’s easier in Word (or LibreOffice) than in InDesign, true. Never tried to make an in

Re: [NTG-context] error running wiki example with labels

2020-06-24 Thread Jan-Erik Hägglöf
tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle’)But when I take a sample code like this it went success, strange.\mainlanguage[sv]\starttext\input tufte\page\input tufte\stoptextIs the difference when I’m running mtxrun … inside macviminstead of just cont

[NTG-context] error running wiki example with labels

2020-06-24 Thread Jan-Erik Hägglöf
tluaerror"]="function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')", ["lasttexerror"]="?", ["linenumber"]=70, ["luaerrorline"]="435", [&qu

Re: [NTG-context] METAPOST's uniformdeviate is not truly random (seed)

2020-06-23 Thread Wolfgang Schuster
other (two LMTX runs) gets me the same result. This is on purpose because ConTeXt needs multiple runs to create the index, toc etc. and fixed values are used to avoid changes in the layout between these runs. What is a good way to get better random numbers in METAPOST (LMTX)? When you delete th

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

2020-06-15 Thread Henning Hraban Ramm
> Am 07.06.2020 um 16:25 schrieb Taco Hoekwater : > > > * On the plus side, because of the SciTE lexer, “contextversion’ and > “\contextversion” are separate entries in the search index. And you can > search for “\@@kldirection”. > This is quite great! I was often an

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

2020-06-10 Thread Willi Egger
yntax highlighting > and a Lua-generated search index. > > There is no official documentation yet (because I may want to change some > stuff still) but here is some relevant information: > > * The search field uses a Lua string pattern to match a single word (no > multi-

[NTG-context] ConTeXt source browser website update

2020-06-07 Thread Taco Hoekwater
Hi all, I just replaced the software of https://source.contextgarden.net/ by a Lua implementation that uses Hans Hagen’s SciTE lexers for syntax highlighting and a Lua-generated search index. There is no official documentation yet (because I may want to change some stuff still) but here

Re: [NTG-context] paperformat=landscape not working

2020-05-20 Thread Peter Münster
> --extra=select --selection=2 file.pdf --redirected >> mtx-context | processing extra: mtx-context-select.tex >> mtx-context | warning: lua mismatch (luv: 0 <> bin: 5.2), forcing remake >> /usr/share/texmf/scripts/context/lua/mtx-context.lua:1176: attempt to index >> f

Re: [NTG-context] paperformat=landscape not working

2020-05-20 Thread Hans Hagen
d mtx-context | processing extra: mtx-context-select.tex mtx-context | warning: lua mismatch (luv: 0 <> bin: 5.2), forcing remake /usr/share/texmf/scripts/context/lua/mtx-context.lua:1176: attempt to index field 'instance' (a nil value) that's not lmtx, but mkiv

[NTG-context] paperformat=landscape not working

2020-05-20 Thread Peter Münster
lua/mtx-context.lua:1176: attempt to index field 'instance' (a nil value) Kind regards, -- Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-co

Re: [NTG-context] Definition of \registerpagerange (Henning Hraban Ramm)

2020-05-06 Thread Hynek, Stefan
Am Mittwoch, den 06.05.2020, 06:55 +0200 schrieb ntg-context- requ...@ntg.nl: > This doesn’t answer your question, but I found: > > \setupregister[index][compress=yes] % 14, 15 becomes 14-15 > \setupregister[index][compress=text] % 14, 15 becomes 14f. > > To change the "f.

Re: [NTG-context] Definition of \registerpagerange

2020-05-05 Thread Henning Hraban Ramm
answer your question, but I found: \setupregister[index][compress=yes] % 14, 15 becomes 14-15 \setupregister[index][compress=text] % 14, 15 becomes 14f. To change the "f."/"ff." text, you’d use: \setuplabeltext[de][following:singular=sq.,following:plural=sqq.] This is define

Re: [NTG-context] register entries in footnotes

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

[NTG-context] register entries in footnotes

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

Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-16 Thread denis . maier . lists
anybody know of any scientific publisher or single journals > >>> which accept papers/book chapters typeset in ConTeXt yet > >> > >> I will use ConTeXt to typeset the Jewish Studies journal *Judaica* > >> (https://bop.unibe.ch/index.php/judaica/index). (The f

Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-16 Thread Hans Hagen
journal *Judaica* (https://bop.unibe.ch/index.php/judaica/index). (The first issue should appear soon.) However, we do not accept ConTeXt sources as we use jats xml as our production format. (Actually, I don't expect any of our authors is using ConTeXt.) Interesting. Is ConTeXt handling

Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-16 Thread denis . maier . lists
> Henning Hraban Ramm hat am 16. April 2020 09:02 geschrieben: > > I will use ConTeXt to typeset the Jewish Studies journal *Judaica* > > (https://bop.unibe.ch/index.php/judaica/index). (The first issue should > > appear soon.) However, we do not accept ConTeXt sourc

Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-16 Thread Henning Hraban Ramm
es journal *Judaica* > (https://bop.unibe.ch/index.php/judaica/index). (The first issue should > appear soon.) However, we do not accept ConTeXt sources as we use jats xml as > our production format. (Actually, I don't expect any of our authors is using > ConTeXt.) Interesting.

Re: [NTG-context] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-15 Thread denis . maier . lists
Hi, > 1) Does anybody know of any scientific publisher or single journals > which accept papers/book chapters typeset in ConTeXt yet I will use ConTeXt to typeset the Jewish Studies journal *Judaica* (https://bop.unibe.ch/index.php/judaica/index). (The first issue should appear soon.) H

Re: [NTG-context] macOS

2020-03-31 Thread Willi Egger
If I understand the policy of Apple correctly, then it is that \usr is not meant to be a directory to be used by the user and therefore spotlight by default will not index anything in that directory. When opening Finder then the mentioned folder is not even shown i.e. it is hidden and spotlight

Re: [NTG-context] Problem with long indices in LMTX

2020-03-30 Thread Christian Prim
Hello For reference: Here is the ConTeXt way of entering a long text-Index, which works with lmtx: \starttext \m{F_{\text{long Index}}=m_{\text{long Index}}a} \stoptext Sorry for the noise. (Perhaps a change correlated to the prime discussion...) Christian Am Mi., 25. März 2020 um 09:53 Uhr

Re: [NTG-context] Problem with long indices in LMTX

2020-03-25 Thread Christian Prim
Hello list Sorry to ask again. What do I miss in following MWE? \starttext \m{F_{\rm longIndex}=m_{\rm longIndex}a} \stoptext The index longIndex overlaps the following characters "=" and "a" when processed with lmtx. No problems with mkiv. Thanks for your help Christian A

[NTG-context] Problem with long indices in LMTX

2020-03-21 Thread Christian Prim
Hello Following MWE produces strange output in latest LMTX. mkiv (also latest) output is ok. \usetypescript[palatino] \setupbodyfont[palatino,11pt] \starttext \m{F_{\rm longIndex}=m_{\rm longIndex}a} \stoptext The spacing in the index is wrong. What am I missing? Thanks in advance Christian

[NTG-context] Need help processing XML in luacode

2020-03-10 Thread Axel Kielhorn
into a table and write auxiliary functions to access the data and insert them into the TeX output. When I process the included files with context --environment=prozess-style-ecm.tex prozess.xml I get [ctxlua]:19: table index is nil 12 13 doc = xml.load(doclistfile, settings) 14 15

Re: [NTG-context] ePub issues: XML structure

2020-03-06 Thread Henning Hraban Ramm
> Am 2020-03-04 um 07:55 schrieb Henning Hraban Ramm : > > While the first book in a series of four is now ready with a lot of manual > corrections, in the second one the XML structure is messed up: the chapter > title structure comes only after the chapter content, and i

Re: [NTG-context] Second derivative ''

2020-03-05 Thread Mikael P. Sundqvist
cket.org/phg/context-mirror/commits/ > > wiki : http://contextgarden.net > > > > ___ > > > > > > And what is the way if one also want indices: > > > &g

Re: [NTG-context] Second derivative ''

2020-03-05 Thread Hans Hagen
\setupmathematics [collapsing=1] both work but (i'm no mathematician) i'd opt for $f_{xx}''$ as it says take the second something from f_{whatever} unless of course the index applies the second something But i bet that Aditya can give the real answer. Hans ---

Re: [NTG-context] ePub issues: XML structure

2020-03-04 Thread Hans Hagen
PDFs as eBooks. While the first book in a series of four is now ready with a lot of manual corrections, in the second one the XML structure is messed up: the chapter title structure comes only after the chapter content, and index entry tags are empty with the actual entry behind like this: Ein

[NTG-context] ePub issues: XML structure

2020-03-03 Thread Henning Hraban Ramm
of four is now ready with a lot of manual corrections, in the second one the XML structure is messed up: the chapter title structure comes only after the chapter content, and index entry tags are empty with the actual entry behind like this: Ein sentimentales Rührstück ist Rico, Oskar und die

[NTG-context] [error] web-server font-test fails

2020-03-01 Thread Floris van Manen
index file: unknown mtx-server | scripts subpath: /home/vm/data/context/tex/texmf-context/scripts/context/lua mtx-server | context services: http://localhost:8088/mtx-server-ctx-startup.lua mtx-server | request from: 127.0.0.1 mtx-server | request data: GET /mtx-server-ctx

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-12 Thread Rik Kabel
Following up on my viewer observations, I downloaded Evince for Windows version 2.32 and see something that might be meaningful. Evince has a side-panel with a drop-down for selecting Thumbnails, Index, Attachments, Layers, or Annotations. Those that are not present in the document are greyed

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

2020-01-27 Thread 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 moved? Just the high level command: figures.getinfo(name,p

[NTG-context] img.scan in lmtx?

2020-01-26 Thread Henning Hraban Ramm
Hi, 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 moved? HR ___ If your question is of interest to others as we

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Rik Kabel
]["004A][left=.15,alternative=1] % 004A is the unicode hex index of letter J \starttext     normal: AJB\par     \setcharacterspacing[distantJ] more space on the left: AJB\par     \resetcharacterspacing normal again: AJB\par \stoptext Thank you for that, Massi. Unfortunately, that is too

Re: [NTG-context] Adjust kern for one character

2019-12-23 Thread Rik Kabel
004A is the unicode hex index of letter J \starttext     normal: AJB\par     \setcharacterspacing[distantJ] more space on the left: AJB\par     \resetcharacterspacing normal again: AJB\par \stoptext Thank you for that, Massi. Unfortunately, that is too blunt an instrument in this case -- in add

  1   2   3   4   5   6   7   8   9   10   >