[NTG-context] Evaluating a lua expression at the end (again)

2017-02-09 Thread Kumar Appaiah
: /usr/share/texmf/tex/context/base/mkiv/core-uti.lua:165: attempt to index upvalue 'tobesavedmacros' (a nil value) Thanks. Kumar -- Kumar Appaiah ___ If your question is of interest to others as well, ple

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread MF
> > Now an alternative approach I thought, because the index I'm > > working on > > is a biographical index, I mean a index of cited people, with a > > biographical profile. So every entry is a few lines long. > > That's why I thought to index only the ids

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Hans Hagen
ht. Is it really the same? no, but the effect can be the same (just compare the tuc files) Now an alternative approach I thought, because the index I'm working on is a biographical index, I mean a index of cited people, with a biographical profile. So every entry is a few lines long. That

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Alan Braslau
On Sat, 14 Jan 2017 15:52:25 +0100 MF wrote: > Now an alternative approach I thought, because the index I'm working > on is a biographical index, I mean a index of cited people, with a > biographical profile. One can create an index with the publications module as follows: \

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread MF
* * * Now an alternative approach I thought, because the index I'm working on is a biographical index, I mean a index of cited people, with a biographical profile. So every entry is a few lines long. That's why I thought to index only the ids in the text and use a textcommand in the index to

Re: [NTG-context] index(register) from an XML source

2017-01-14 Thread Hans Hagen
and a horse. Cat Dog Horse \stopbuffer \defineregister[Animal][Animals] \startxmlsetups xml:mysetup \xmlsetsetup{#1}{text|div|p|name|i|index|entry}{xml:*} \stopxmlsetups \xmlregistersetup{xml:mysetup} \startxmlsetups xml:text \xmlflush{#1} \stopxmlsetups \startxmls

[NTG-context] index(register) from an XML source

2017-01-13 Thread MF
  Dog Horse   \stopbuffer \defineregister[Animal][Animals] \startxmlsetups xml:mysetup   \xmlsetsetup{#1}{text|div|p|name|i|index|entry}{xml:*} \stopxmlsetups \xmlregistersetup{xml:mysetup} \startxmlsetups xml:text   \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:div   \xmlflush{#1}

[NTG-context] Error while trying to generate font database

2016-11-06 Thread Sergey
texmf-context/tex/context/base/mkiv/font-otr.lua:102: attempt to index local 'streamreader' (a nil value) I run FreeBSD 11-CURRENT. Any clues as to what might cause the error message? Regards, Sergey ___ If your

Re: [NTG-context] update/install error

2016-09-24 Thread Jean-Pierre Delange
/context/base/mkiv/node-rul.lua:369: table index is nil stack traceback: ...eXt/tex/texmf-context/tex/context/base/mkiv/node-rul.lua:369: in function 'code' ...eXt/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:84: in function 'loadedluacode' ...eXt/tex/texmf-context/tex/co

Re: [NTG-context] update/install error

2016-09-24 Thread Pablo Rodriguez
ts on: > > lua error > lua error on line 74 in file > /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/mkiv/node-rul.mkiv: > > ...eXt/tex/texmf-context/tex/context/base/mkiv/node-rul.lua:369: table > index is nil > stack traceback: > ...eXt/tex/texmf-context/

[NTG-context] installation error

2016-09-24 Thread Csikos Bela
/context/base/mkiv/node-rul.lua:369: table index is nil stack traceback: ...eta/tex/texmf-context/tex/context/base/mkiv/node-rul.lua:369: in function 'code' ...eta/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:84: in function 'loadedluacode'

[NTG-context] update/install error

2016-09-23 Thread Mikael P. Sundqvist
kiv/node-rul.lua:369: table index is nil stack traceback: ...eXt/tex/texmf-context/tex/context/base/mkiv/node-rul.lua:369: in function 'code' ...eXt/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:84: in function 'loadedluacode' ...eXt/tex/texmf-context/tex/context/base/mk

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-06 Thread Robert Blackstone
sept 2015 till july 2016, the >>> result shows no page break in the ToC. >>> What can be done about this? >> >> \showinjector >> >> \setinjector[register][3][\column] >> \setinjector[list][2][{\blank[3*big]}] >> >> \starttext >>

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Robert Blackstone
;> \stoptext >> >> % >> Compiled with a recent mkiv, from between sept 2015 till july 2016, the >> result shows no page break in the ToC. >> What can be done about this? > > \showinjector > > \setinjector[register][3][\column] > \setinj

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Hans Hagen
] \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} \stopsection \startsection[title=Beta] second \index{second} \stopsection

Re: [NTG-context] Problems with indexing (+feature requests)

2016-08-27 Thread Mohammad Hossein Bateni
can increase the > linespacing (line key) or change the height/depth (height and depth keys) > values for \strut. > > \startsetups[register:interlinespace] > \setupinterlinespace[height=0.6,depth=0.4,line=3.2ex] > \stopsetups > > \setupmixedcolumns > [index] &

Re: [NTG-context] Evaluating a Lua expression at the end (repeat)

2016-08-25 Thread Kumar Appaiah
t > run into a »attempt to index a nil value« error without some manual error > checking. Therefore I recommend assigning the temp value to > job.variables.tobesaved["document:temp:"..name]. Perhaps Hans joins this > discussion and schools me about why this could be a bad i

Re: [NTG-context] Evaluating a Lua expression at the end (repeat)

2016-08-25 Thread Henri Menke
Hi Kumar, the function job.variables.save seems to save the key in job.variables.collected.macros instead of job.variables.collected. The problem is that macros is not created unconditionally, which is why you might run into a »attempt to index a nil value« error without some manual error

[NTG-context] Evaluating a Lua expression at the end (repeat)

2016-08-25 Thread Kumar Appaiah
tmp/test.tex: /usr/share/texmf/tex/context/base/mkiv/core-uti.lua:165: attempt to index upvalue 'tobesavedmacros' (a nil value) stack traceback: /usr/share/texmf/tex/context/base/mkiv/core-uti.lua:165: in function 'save' [ctxlua]:14: in function &

[NTG-context] another font loading error

2016-08-22 Thread Mohammad Hossein Bateni
e below. (I did test on a fresh standalone version as well.) \starttext \definedfont[HMXNiloofar*arabic] Salam \stoptext ...ext/tex/texmf-context/tex/context/base/mkiv/font-ots.lua:3764: attempt to index field '?' (a nil value) stack traceback: ...ext/tex/texmf-context/tex/context/base

Re: [NTG-context] Problems with indexing (+feature requests)

2016-08-22 Thread Wolfgang Schuster
espace] \setupinterlinespace[height=0.6,depth=0.4,line=3.2ex] \stopsetups \setupmixedcolumns [index] [direction=reverse, setups=register:interlinespace] Wolfgang ___ If your question is of interest to others a

Re: [NTG-context] Problems with indexing (+feature requests)

2016-08-22 Thread Mohammad Hossein Bateni
][direction=reverse] \setupregister[index][ before=,after=, command=\MyCommand, alternative=b, color=red, ] \def\MyCommand#1{#1} %\def\MyCommand#1{\inframed[frame=no]{#1}} % this fixes the problem \showboxes \starttext \index{آب} \index{عذر} \index[تک]{TEX} testing \placeindex \stoptext any

[NTG-context] Problems with indexing (+feature requests)

2016-08-17 Thread Mohammad Hossein Bateni
Hello, For a few days I have been playing with registers to generate an RTL index. Beside sorting, I ran into the following. 1) How can I get the index section using \subject? In some styles, I do not want to see the section number. 2) How can I get the Persian comma used instead of the

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
', type 'gsub_contextchain', chain lookup 'mpf': rule 1 matches at char U+0002E (period) for (1,1,1) chars, lookuptype 'gsub_multiple' error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-ots.lua:1232: attemp

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Mohammad Hossein Bateni
t; Notice that I could not get it to work, so I commented out the >> fallback for Persian digits, to make things simpler. To get the >> proof of concept, I am trying to change period to forward slash (see >> below). >> >> Is the syntax I use for having two features

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
s follows. fonts > otf chain > feature 'mpf', type 'gsub_contextchain', chain lookup 'mpf': rule 1 matches at char U+0002E (period) for (1,1,1) chars, lookuptype 'gsub_multiple' error: ...ext/tex/texmf-context/tex/context/base/mkiv/fo

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
ub_contextchain', chain lookup 'mpf': rule 1 matches at char U+0002E (period) for (1,1,1) chars, lookuptype 'gsub_multiple' error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-ots.lua:1232: attempt to index field '?' (a nil value) tex error

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-02 Thread Mohammad Hossein Bateni
nd it does not work, > either. > > When I change 0x2F (slash) to 0x066B in "replacements", I get an error as > follows. > > > fonts > otf chain > feature 'mpf', type 'gsub_contextchain', > chain lookup 'mpf':

[NTG-context] Changing decimals points to Persian ones via font features

2016-08-01 Thread Mohammad Hossein Bateni
ule 1 matches at char U+0002E (period) for (1,1,1) chars, lookuptype 'gsub_multiple' error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-ots.lua:1232: attempt to index field '?' (a nil value) tex error > tex error on line 1 in file /Users/bate

Re: [NTG-context] (perhaps benign) difference in ebgaramond12-regular.tma after upgrade to 2016.07.30 00:26 beta

2016-07-30 Thread Hans Hagen
similar entries in the description table which were not changed at all) in descriptions table in ebgaramond12-regular.tma (in tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/ directory) has changed from [983766]={ ["boundingbox"]=519, ["index&quo

[NTG-context] (perhaps benign) difference in ebgaramond12-regular.tma after upgrade to 2016.07.30 00:26 beta

2016-07-30 Thread Joseph Canedo
not changed at all) in descriptions table in ebgaramond12-regular.tma (in tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/ directory) has changed from [983766]={ ["boundingbox"]=519, ["index"]=2684, ["name"]=&quo

Re: [NTG-context] ntg-context Digest, Vol 145, Issue 61

2016-07-21 Thread Hans Hagen
nstalled recently (version 2016.07.18 16;26). It gives me an error warning hat I don’t understand: + tex error > tex error on line 191 in file TD-Ch0-R1-index-UTF8-4CUP.tex: ! Missing number, treated as zero .. l.191 \stopintro + The processed file

Re: [NTG-context] What is wrong with \stopintro?

2016-07-21 Thread Robert Blackstone
cently (version 2016.07.18 16;26). >> It gives me an error warning hat I don’t understand: >> + >> tex error > tex error on line 191 in file >> TD-Ch0-R1-index-UTF8-4CUP.tex: ! Missing number, treated as zero >> >> .. >>

Re: [NTG-context] ntg-context Digest, Vol 145, Issue 61

2016-07-21 Thread Robert Blackstone
cently (version 2016.07.18 16;26). >> It gives me an error warning hat I don’t understand: >> + >> tex error > tex error on line 191 in file >> TD-Ch0-R1-index-UTF8-4CUP.tex: ! Missing number, treated as zero >> >> .. >>

[NTG-context] What is wrong with \stopintro?

2016-07-21 Thread Robert Blackstone
ex error on line 191 in file TD-Ch0-R1-index-UTF8-4CUP.tex: ! Missing number, treated as zero \23>>currentnamedsection \popmacro ...m_syst_helpers_push_macro \endcsname \global \advance \lastname... l.191 \stopintro +

Re: [NTG-context] What is wrong with \stopintro?

2016-07-21 Thread Hans Hagen
stand: + tex error > tex error on line 191 in file TD-Ch0-R1-index-UTF8-4CUP.tex: ! Missing number, treated as zero \23>>currentnamedsection \popmacro ...m_syst_helpers_push_macro \endcsname \global \advance \las

Re: [NTG-context] Specifying font style variant with \definefontfamily

2016-06-09 Thread Wolfgang Schuster
following MWE I tried the following without success: 1. [sc=* SC Regular] 2. [sc=Andada SC Regular] 3. [sc=* SC-Regular] 4. [sc=Andada SC-Regular] All give the following (or similar) error to stdout: ...ext/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:121: attempt to index local 'file&

[NTG-context] Specifying font style variant with \definefontfamily

2016-06-09 Thread Pavneet Arora
r] 2. [sc=Andada SC Regular] 3. [sc=* SC-Regular] 4. [sc=Andada SC-Regular] All give the following (or similar) error to stdout: ...ext/tex/texmf-context/tex/context/base/mkiv/font-sel.lua:121: attempt to index local 'file' (a nil value) stack traceback: ...ext/tex/texmf-cont

Re: [NTG-context] index-register automatic sorting

2016-05-25 Thread luigi scarso
On Tue, May 24, 2016 at 6:13 PM, Manuel Conzelmann wrote: > hi everybody, > > if i place a register at the end of my document its sorted by page numbers > and not alphabetically. someone has an idea how to achieve this (from A to > Z)? > > if it would be sorted alphabetically there would be only

[NTG-context] index-register automatic sorting

2016-05-25 Thread Manuel Conzelmann
hi everybody, if i place a register at the end of my document its sorted by page numbers and not alphabetically. someone has an idea how to achieve this (from A to Z)? if it would be sorted alphabetically there would be only one indicator per letter: A B C D E F G at the moment it lo

Re: [NTG-context] Sorting index register

2016-05-24 Thread Wolfgang Schuster
Manuel Conzelmann 24. Mai 2016 um 16:10 How can i sort the register alphabetically, so that all indexes are sorted under max. 26 entries (a-z) instead of the default behaviour: sorted alphabetically per page order? At the moment it looks like GATKABF instead o

[NTG-context] Sorting index register

2016-05-24 Thread Manuel Conzelmann
How can i sort the register alphabetically, so that all indexes are sorted under max. 26 entries (a-z) instead of the default behaviour: sorted alphabetically per page order? At the moment it looks like GATKABF instead of ABFGKT Thx! Am 24.05.2016 15:08 schrieb "Meer, Hans van der" : Can some

Re: [NTG-context] Alignment/line break in a TABLE cell

2016-05-19 Thread Mari Voipio
\bTD \dontleavehmode\externalfigure[box3mm] 1 \eTD \bTD Pharma refractometer PR-43-PC calibrated with raw measurement data, refractive index (nD) and temperature (T) \eTD \eTR % \bTR \bTD \don

Re: [NTG-context] Problems with ttc-fonts

2016-05-01 Thread Hans Hagen
version of lm is used, but I don't care now) Looking at the tma I see one difference between both fonts: glyphs in cambria have no "name". A typical entry looks like this [46]={ ["boundingbox"]={ 109, 0, 311, 232 }, ["index"]=484, ["unicode"]=

[NTG-context] Luatex 0.95.0 error with bidi and Hebrew

2016-04-30 Thread Rik Kabel
Version information: ConTeXt ver: 2016.04.30 18:59 MKIV beta fmt: 2016.4.30 int: english/english luajittex, 0.95.0 and luatex, 0.95.0 running on Windows 10 x64 Error message: error: ...eXt/tex/texmf-context/tex/context/base/mkiv/font-otj.lua:1205: attempt to index

Re: [NTG-context] Problems with ttc-fonts

2016-04-29 Thread Hans Hagen
cambria have no "name". A typical entry looks like this [46]={ ["boundingbox"]={ 109, 0, 311, 232 }, ["index"]=484, ["unicode"]=46, ["width"]=420, }, while with latin modern it looks like this: [46]={ ["boundingbox"]=

[NTG-context] Problems with ttc-fonts

2016-04-29 Thread Ulrike Fischer
entry looks like this [46]={ ["boundingbox"]={ 109, 0, 311, 232 }, ["index"]=484, ["unicode"]=46, ["width"]=420, }, while with latin modern it looks like this: [46]={ ["boundingbox"]={ 81, 0, 237, 156 }, ["index&qu

Re: [NTG-context] Server is up again

2016-04-27 Thread Mohammad Hossein Bateni
The > source browser on the website does not work properly: it looks like the > index is not up to date with the new directory structure after the > separation of MkII and MkIV code. For instance, if I search for "sort" in > source.contextgarden.net, the following appears am

Re: [NTG-context] Server is up again

2016-04-27 Thread Taco Hoekwater
Hi, > On 27 Apr 2016, at 10:52, Mohammad Hossein Bateni wrote: > > Thanks, Mojca! > > This may be off-topic but may be fixable easily while you're at it. The > source browser on the website does not work properly: it looks like the index > is not up to date with t

Re: [NTG-context] Server is up again

2016-04-27 Thread Mohammad Hossein Bateni
Thanks, Mojca! This may be off-topic but may be fixable easily while you're at it. The source browser on the website does not work properly: it looks like the index is not up to date with the new directory structure after the separation of MkII and MkIV code. For instance, if I search for

Re: [NTG-context] xml input

2016-04-21 Thread Mica Semrick
otes:include >\writestatus{DEBUG}{enter notes: include file >\xmlattribute{#1}{../include}{file}} >\xmlinclude{#1}{../include}{file} >\stopxmlsetups >\starttext >\type{\xmlprocessbuffer{notes

Re: [NTG-context] xml input

2016-04-21 Thread Meer, Hans van der
ml}{notes:notes} \crlf prints in the log: \crlf \type{DEBUG > enter notes: include file minimal-example.xml} \crlf \type{lxml > tex > including file 'minimal-example.xml'} \crlf \type{lua error ... attempt to index field 'settings' (a nil value)

Re: [NTG-context] Problem with Cambria (in Windows)

2016-04-21 Thread Mari Voipio
On Tue, Apr 19, 2016 at 3:43 PM, Wolfgang Schuster wrote: > 1. You can try to reload the font database with "mtxrun --script fonts > --reload --force" >and try it again. This did the trick! Now I get cambriaregular cambria c:/windows/fonts/cambria.ttc

Re: [NTG-context] Problem with Cambria (in Windows)

2016-04-19 Thread Wolfgang Schuster
briabolditalic cambriabolditalic c:/windows/fonts/cambriaz.ttf cambriaitalic cambriaitalic c:/windows/fonts/cambriai.ttf cambriamath cambriamath c:/windows/fonts/cambria.ttc index: 2 cambriamathnormal cambriamath c:/windows/fonts/cambria.ttc index: 2 cambriamathregular cambriamath c:/windows/fonts/cambri

Re: [NTG-context] ntg-context Digest, Vol 142, Issue 52

2016-04-18 Thread Brian Ballsun-Stanton
#x27; and calling it from a project. > -- > > Message: 5 > Date: Mon, 18 Apr 2016 22:11:28 +0200 > From: Hans Hagen > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Table index is nil > Message-ID: <57153f70.6050...@wxs.nl> > Content-Typ

Re: [NTG-context] Problem with Cambria (in Windows)

2016-04-18 Thread Mari Voipio
ws/fonts/cambriaz.ttf cambriaitaliccambriaitalic c:/windows/fonts/cambriai.ttf cambriamath cambriamath c:/windows/fonts/cambria.ttc index: 2 cambriamathnormalcambriamath c:/windows/fonts/cambria.ttc index: 2 cambriamathregular cambriamath c:/windo

Re: [NTG-context] Table index is nil

2016-04-18 Thread Hans Hagen
On 4/18/2016 3:59 AM, Brian Ballsun-Stanton wrote: I'm getting (suddenly) an error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table index is nil And I have a bunch of tables: \placetable[here][tab01]{Kazanlak site numbers, aggregate area and average area th

Re: [NTG-context] copy/paste text broken with certain ligatures

2016-04-18 Thread Brian R. Landy
tex example (TL2016 pretest) it works fine. So imho it is not a viewer problem. i looked into it and it's two things combined ... (1) when we explicitly pass tounicodes luatex mistakenly falls back to the index (a next release repairs this) (2) this happens here because calibri lacks the i

Re: [NTG-context] Table index is nil

2016-04-18 Thread Wolfgang Schuster
Brian Ballsun-Stanton <mailto:denub...@gmail.com> 18. April 2016 um 03:59 I'm getting (suddenly) an error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table index is nil And I have a bunch of tables: \placetable[here][tab01]{Kazanlak site numbers, aggrega

[NTG-context] Table index is nil

2016-04-17 Thread Brian Ballsun-Stanton
I'm getting (suddenly) an error: ...ext/tex/texmf-context/tex/context/base/mkiv/font-hsh.lua:124: table index is nil And I have a bunch of tables: \placetable[here][tab01]{Kazanlak site numbers, aggregate area and average area through through time}{ \setupTABLE[c][each][align=middle,

Re: [NTG-context] copy/paste text broken with certain ligatures

2016-04-16 Thread Hans Hagen
mho it is not a viewer problem. i looked into it and it's two things combined ... (1) when we explicitly pass tounicodes luatex mistakenly falls back to the index (a next release repairs this) (2) this happens here because calibri lacks the information (no names to deduce ligature from

Re: [NTG-context] xml input

2016-04-14 Thread Mica Semrick
7;, how 'uri', >> handler 'file', argument 'notes-example.xml' >> resolvers > files > file loader: 'notes-example.xml' loaded >> het lijkt erop dat de gezochte file wel geladen is en dat pas daarna >> ConTeXt het opgeeft met de err

Re: [NTG-context] xml input

2016-04-14 Thread Pablo Rodriguez
solvers > files > file loader: 'notes-example.xml' loaded > het lijkt erop dat de gezochte file wel geladen is en dat pas daarna > ConTeXt het opgeeft met de error. > > De log geeft me hier: > > HVDM-NOTE-DEBUG > enter notes:include > HVDM-NOTE-DEBUG &

Re: [NTG-context] xml input

2016-04-14 Thread luigi scarso
lijkt erop dat de gezochte file wel geladen is en dat pas daarna > ConTeXt het opgeeft met de error. > > De log geeft me hier: > > HVDM-NOTE-DEBUG > enter notes:include > HVDM-NOTE-DEBUG > ..looking for file notes-example.xml > lxml> tex > including file 

Re: [NTG-context] xml input

2016-04-14 Thread Meer, Hans van der
t de gezochte file wel geladen is en dat pas daarna ConTeXt het opgeeft met de error. De log geeft me hier: HVDM-NOTE-DEBUG > enter notes:include HVDM-NOTE-DEBUG > ..looking for file notes-example.xml lxml> tex > including file 'notes-example.xml' lua error >

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-12 Thread Jan Tosovsky
On 2016-04-12 Wolfgang Schuster wrote: > On 2016-04-12 Jan Tosovsky wrote: > > > I am completely lost. I found page-grd.mkiv, but I have > > no idea what to tweak here. > > > By simple putting \showgrid[reset] at the beginning of > > the document no grid is shown, but those colored areas > > a

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-12 Thread Wolfgang Schuster
Jan Tosovsky 12. April 2016 um 20:07 I am completely lost. I found page-grd.mkiv, but I have no idea what to tweak here. By simple putting \showgrid[reset] at the beginning of the document no grid is shown, but those colored areas are present. You can’t disable th

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-12 Thread Jan Tosovsky
e: > >>>>> On 4/9/2016 11:22 PM, Jan Tosovsky wrote: > >>>>>> > >>>>>> since LuaTeXt 0.81 my back-of-the-book index (register) is > >>>>>> with generated strange background colors. The index title > >>>>&

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-11 Thread Hans Hagen
On 4/11/2016 8:13 PM, Jan Tosovsky wrote: On 2016-04-10 Hans Hagen wrote: On 4/10/2016 11:26 PM, Pablo Rodriguez wrote: On 04/10/2016 11:00 PM, Jan Tosovsky wrote: On 2016-04-10 Hans Hagen wrote: On 4/9/2016 11:22 PM, Jan Tosovsky wrote: since LuaTeXt 0.81 my back-of-the-book index

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-11 Thread Jan Tosovsky
On 2016-04-10 Hans Hagen wrote: > On 4/10/2016 11:26 PM, Pablo Rodriguez wrote: > > On 04/10/2016 11:00 PM, Jan Tosovsky wrote: > >> On 2016-04-10 Hans Hagen wrote: > >>> On 4/9/2016 11:22 PM, Jan Tosovsky wrote: > >>>> > >>>> since LuaT

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Hans Hagen
On 4/10/2016 11:26 PM, Pablo Rodriguez wrote: On 04/10/2016 11:00 PM, Jan Tosovsky wrote: On 2016-04-10 Hans Hagen wrote: On 4/9/2016 11:22 PM, Jan Tosovsky wrote: since LuaTeXt 0.81 my back-of-the-book index (register) is with generated strange background colors. The index title is typeset

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Pablo Rodriguez
On 04/10/2016 11:00 PM, Jan Tosovsky wrote: > On 2016-04-10 Hans Hagen wrote: >> On 4/9/2016 11:22 PM, Jan Tosovsky wrote: >>> >>> since LuaTeXt 0.81 my back-of-the-book index (register) is >>> with generated strange background colors. The index title >&g

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Jan Tosovsky
On 2016-04-10 Hans Hagen wrote: > On 4/9/2016 11:22 PM, Jan Tosovsky wrote: > > > > since LuaTeXt 0.81 my back-of-the-book index (register) is > > with generated strange background colors. The index title > > is typeset in yellowish background and the left column of

Re: [NTG-context] Weird background colors in autogenerated index

2016-04-10 Thread Hans Hagen
On 4/9/2016 11:22 PM, Jan Tosovsky wrote: Dear All, since LuaTeXt 0.81 my back-of-the-book index (register) is generated with strange background colors. The index title is typeset in yellowish background and the left column of the last index page has a blue background, see the attachment. I&#x

Re: [NTG-context] Protrusion cancellation by index term

2016-04-10 Thread Hans Hagen
r the title is not usually indented, but now it is. Additionaly, even if indenting is disabled, there is a bigger distance between title and the following para. \setupindenting[yes, 2em] \starttext \section{The first section}\index{the first section} The first para.\par The second para. \sectio

Re: [NTG-context] Protrusion cancellation by index term

2016-04-10 Thread Jan Tosovsky
node is ignored > I found a nasty drawback of this method. If that hbox is used, the first paragraph is not evaluated correctly and considered as the second one. When indentation is enabled, the first paragraph after the title is not usually indented, but now it is. Additionaly, even if inde

[NTG-context] Weird background colors in autogenerated index

2016-04-09 Thread Jan Tosovsky
Dear All, since LuaTeXt 0.81 my back-of-the-book index (register) is generated with strange background colors. The index title is typeset in yellowish background and the left column of the last index page has a blue background, see the attachment. I've thought I reported it, but it is

Re: [NTG-context] Protrusion cancellation by index term

2016-04-03 Thread Hans Hagen
On 4/1/2016 9:59 PM, Jan Tosovsky wrote: On 2016-04-01 Hans Hagen wrote: On 3/31/2016 10:47 PM, Wolfgang Schuster wrote: On 2016-03-31 Jan Tosovsky wrote: I couldn't find any details for that \leftboundary spac-ver.mkiv: \unexpanded\def\leftboundary {\boundary\plusone} \unexpanded\def\rig

Re: [NTG-context] Protrusion cancellation by index term

2016-04-01 Thread Jan Tosovsky
On 2016-04-01 Hans Hagen wrote: > On 3/31/2016 10:47 PM, Wolfgang Schuster wrote: > > > On 2016-03-31 Jan Tosovsky wrote: > > > > > > I couldn't find any details for that \leftboundary > > > > spac-ver.mkiv: > > > > \unexpanded\def\leftboundary {\boundary\plusone} > > \unexpanded\def\rightboundar

Re: [NTG-context] Protrusion cancellation by index term

2016-04-01 Thread Hans Hagen
Tosovsky wrote: when a punctuated phrase appears at the beginning of the line, it is not protruded correctly when preceded by an index term. ... \index{foo}>Bar< ... A minimal example is available at http://drifted.in/other/sample.tex I'd be grateful for ignoring any non document conten

Re: [NTG-context] Protrusion cancellation by index term

2016-04-01 Thread Hans Hagen
On 3/31/2016 10:47 PM, Wolfgang Schuster wrote: Jan Tosovsky 31. März 2016 um 21:28 Wow, I am quite satisfied with this solution. Btw, I couldn't find any details for that \leftboundary command either in TeX [1] or ConTeXt [2] command references. The \leftboundary

Re: [NTG-context] Protrusion cancellation by index term

2016-03-31 Thread Wolfgang Schuster
Jan Tosovsky 31. März 2016 um 21:28 Wow, I am quite satisfied with this solution. Btw, I couldn't find any details for that \leftboundary command either in TeX [1] or ConTeXt [2] command references. The \leftboundary command uses a new LuaTeX primitive which means y

Re: [NTG-context] Protrusion cancellation by index term

2016-03-31 Thread Jan Tosovsky
ote: > >>>>> On 2014-02-22 Jan Tosovsky wrote: > >>>>>> > >>>>>> when a punctuated phrase appears at the beginning of the > >>>>>> line, it is not protruded correctly when preceded by an > >>>>>> ind

Re: [NTG-context] Protrusion cancellation by index term

2016-03-30 Thread Hans Hagen
is not protruded correctly when preceded by an index term. ... \index{foo}>Bar< ... A minimal example is available at http://drifted.in/other/sample.tex It is more serious issue than expected. Consider next two variants: (1) sentence, \index{primary}>Primary< (2) sentence,\i

Re: [NTG-context] Protrusion cancellation by index term

2016-03-30 Thread Jan Tosovsky
hrase appears at the beginning of the line, > >>>> it is not protruded correctly when preceded by an index term. > >>>> > >>>> ... \index{foo}>Bar< ... > >>>> > >>>> A minimal example is available at > >>>>

Re: [NTG-context] Protrusion cancellation by index term

2016-03-22 Thread Hans Hagen
On 3/21/2016 10:59 PM, Jan Tosovsky wrote: On 2014-02-23 Hans Hagen wrote: On 2/22/2014 2:38 PM, Jan Tosovsky wrote: On 2014-02-22 Jan Tosovsky wrote: when a punctuated phrase appears at the beginning of the line, it is not protruded correctly when preceded by an index term. ... \index{foo

Re: [NTG-context] Protrusion cancellation by index term

2016-03-21 Thread Jan Tosovsky
On 2014-02-23 Hans Hagen wrote: > On 2/22/2014 2:38 PM, Jan Tosovsky wrote: > > On 2014-02-22 Jan Tosovsky wrote: > > > > > > when a punctuated phrase appears at the beginning of the line, > > > it is not protruded correctly when preceded by an index t

[NTG-context] issue with focusoffset and \start.. \stop structures

2016-03-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start,focus=standard, focusoffset=5pt] \starttext \index[setuppapersize]{\type{\setuppapersize}} \startTEX \setuppapersize[A][A4, landscape] \setuparranging[2UP, doublesided] \stopTEX \blank

Re: [NTG-context] PDF Signature Fields

2016-03-10 Thread Hans Hagen
tream: object 167, index 37; original object ID: 475 << /AP << /N 188 0 R >> /DA (/Helv 0 Tf 0 g) /F 4 /FT /Sig /Lock 187 0 R /MK << >> /P 196 0 R /Rect [ 253.965 163.306 525.056 186.143 ] /Subtype /Wid

Re: [NTG-context] PDF Signature Fields

2016-03-10 Thread Andreas Schneider
dictionary created by Acrobat also specifies the optional /Type /SigFieldLock (eforms doesn't, but when in doubt, I trust Adobe more than eforms ;-)) Here is an example from the PDF stream of a document manually forged with Acrobat: %% Object stream: object 167, index 37; original obje

Re: [NTG-context] issue with font loading

2016-03-03 Thread Wolfgang Schuster
ch are in the same directory as your document works only with typescripts but \definefontfamily has to look in the index even when you the file-method to ensure the requested font is available. Wolfgang ___ If your qu

Re: [NTG-context] footnotes and links

2016-03-02 Thread Pablo Rodriguez
for links and so .. just macro magic mixed with lua code Well, I was simply wrong. Could we have some more magic for indices? \setupinteraction[state=start, focus=standard] \enabledirectives[references.border] \starttext This is \index{text}text.\footnote{This is a footnot

[NTG-context] new lua error (latest beta)

2016-02-29 Thread Alan Bowen
I have a number of docs that have processed properly until the latest beta. Now I get this complaint in each very early in the processing: lua error > lua error on line 39 in file xxx: ...eXt/tex/texmf-context/tex/context/base/mkiv/strc-not.lua:324: attempt to index field '

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-25 Thread Hans Hagen
using page references as they don't contain dimensions is really great. Because you don’t chenge zooming or page view at all. This is extremely wise (as ConTeXt itself). It is only a pity that it doesn’t work for footnotes, endnotes and index entries. most of the needed code is there; i only

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-25 Thread Hans Hagen
But footnotes (endnotes, linenotes, index references and similar ones) have destination links generated by lpdf-epa.lua. I may be misreading your comment from line 85 in lpdf-epa.lua. But this is what I get after grepping for "/Fit" in tex/texmf-context/tex/context/base/ from the beta.

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-24 Thread Pablo Rodriguez
lua. But footnotes (endnotes, linenotes, index references and similar ones) have destination links generated by lpdf-epa.lua. I may be misreading your comment from line 85 in lpdf-epa.lua. But this is what I get after grepping for "/Fit" in tex/texmf-context/tex/context/base/ from the beta. Woul

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Thomas A. Schmitz
namespace tg : tag (@..@ names indicate special tags) dt : text text is a table of strings and elements (there are a few extra private fields and when applying searched there are index fields added) Ah wonderful, that's already very useful to have! Thanks for pointing it

Re: [NTG-context] TEI to context XML mappings?

2016-02-24 Thread Hans Hagen
code \stoptext at : attributes ns : namespace rn : remapped namespace tg : tag (@..@ names indicate special tags) dt : text text is a table of strings and elements (there are a few extra private fields and when apply

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-24 Thread Wolfgang Schuster
cus=standard] as: ["<< /D [ %i 0 R /XYZ %0.3F %0.3F null ]>>"] is really great. Because you don’t chenge zooming or page view at all. This is extremely wise (as ConTeXt itself). It is only a pity that it doesn’t work for footnotes, endnotes and index entries. the hyperli

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-24 Thread Pablo Rodriguez
of \setupinteraction[focus=standard] as: ["<< /D [ %i 0 R /XYZ %0.3F %0.3F null ] >>"] is really great. Because you don’t chenge zooming or page view at all. This is extremely wise (as ConTeXt itself). It is only a pity that it doesn’t work for footnotes, endnotes and in

<    4   5   6   7   8   9   10   11   12   13   >