Re: [NTG-context] Bad argument #1 to 'prehypenchar'

2020-09-15 Thread Aditya Mahajan
> > argument #1 to 'prehyphenchar' (luatex.lang expected, got no value) > > stack traceback: > > [C]: in function 'lang.prehyphenchar' > > ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: in > > field 'prehyphenchar' > > ...met

Re: [NTG-context] Bad argument #1 to 'prehypenchar'

2020-09-15 Thread Wolfgang Schuster
callback error: ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: bad argument #1 to 'prehyphenchar' (luatex.lang expected, got no value) stack traceback: [C]: in function 'lang.prehyphenchar' ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509:

[NTG-context] Bad argument #1 to 'prehypenchar'

2020-09-14 Thread Aditya Mahajan
ntext/base/mkiv/lang-ini.lua:509: bad argument #1 to 'prehyphenchar' (luatex.lang expected, got no value) stack traceback: [C]: in function 'lang.prehyphenchar' ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: in field 'prehyphenchar' ...metatex/texmf-context/t

[NTG-context] Verbatim typing and compound breakpoints

2020-09-01 Thread Christoph Reller
:509: in field 'prehyphenchar' ...est/tex/texmf-context/tex/context/base/mkiv/typo-brk.lua:171: in local 'method' ...est/tex/texmf-context/tex/context/base/mkiv/typo-brk.lua:392: in upvalue 'typesetters_breakpoints_handler' [string "local tonut = nodes.tonut..."]:16: in function <[string

[NTG-context] keeping content chunks on same page

2020-08-24 Thread Mike Cooper
rtachoices \startitem Inadequate case history data and poorly completed field records and NO trend charts \stopitem \startitem Mud company representatives are only calling on drilling superintendents and managers \stopitem \startitem Drilling engineers cannot read "be

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Alan Braslau
Thank you all. No modes, no funniness in the environment file. The test case works (Acroread/properties shows the Title, Author, Subject, and Keywords fields). However, my real case does get the other fields (Author, Subject, and Keywords) but contains in the Title field the filename

Re: [NTG-context] Multiple cases of unexpected behaviour in luametatex

2020-07-03 Thread Hans Hagen
le is made available in luametatex) But especially the mode field sometimes has values which do not correspond to the mode of the actual primitives: indeed. I tried running the following in an almost iniTeX setting where all primitives aside from \shipout and \Umathcodenum have the

[NTG-context] Multiple cases of unexpected behaviour in luametatex

2020-07-03 Thread Marcel Fabian Krüger
k it is awesome that such a table is made available in luametatex) But especially the mode field sometimes has values which do not correspond to the mode of the actual primitives: I tried running the following in an almost iniTeX setting where all primitives aside from \shipout and \Um

Re: [NTG-context] Yet another cornercase of ^^ handling in LuaMetaTeX

2020-06-17 Thread Hans Hagen
On 6/17/2020 4:24 PM, Marcel Fabian Krüger wrote: How does this work with mark nodes? Their mark field has a table containing triples of command, character and "cs" value. How can the actual csname of a controlsequence be extracted from this in LuaMetaTeX? at the token ends marks

Re: [NTG-context] Yet another cornercase of ^^ handling in LuaMetaTeX

2020-06-17 Thread Marcel Fabian Krüger
local t1 = token.new(string.byte("{"),token.command_id("letter")) > local t2 = token.new(string.byte("}"),token.command_id("letter")) > tex.print(t1) > tex.print(t2) > } > > Properties like cs_token_flag are not user level and

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
is some relevant information: * The search field uses a Lua string pattern to match a single word (no multi-word search as of yet). See https://www.lua.org/manual/5.3/manual.html#6.4.1 for the syntax of lua string patterns. * The search index only contains 7-bit ASCII ‘words’ that contain

[NTG-context] LMTX lua xml interface: xml.tag()?

2020-06-02 Thread Gerben Wierda
According to the mkiv manual, there is a \xmltag which I think should translate to xml.tag() in lua. But while xml.name() works, xml.tag() fails: attempt to call a nil value (field 'tag') Should xml.tag() work

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] Question: Are there any ConTeXt aware scientific pulishers yet

2020-04-16 Thread denis . maier . lists
es 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 Hebrew well? Well, it's not field tested yet. But yes, the demo files work. > > > > >> 2) If the

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-15 Thread r . ermers
n the command. >>> >>> Pre-command: >>> XML: >>> contains file name “foo” >>> there is no .tex file >>> >>> Command: >>> produces foo.tex (gets the name from the XML) and “foo.pdf&

Re: [NTG-context] Using command line values in a TeX document; writing a script?

2020-04-15 Thread Gerben Wierda
>> >> Pre-command: >> XML: >> contains file name “foo” >> there is no .tex file >> >> Command: >> produces foo.tex (gets the name from the XML) and “foo.pdf" > > The TeX file in Tacos example contains the xmlsetu

Re: [NTG-context] Multistandard PDF

2020-02-28 Thread Pablo Rodriguez
ve a PDF-1.7 document that only uses features already defined in PDF-1.4. Also you might have a PDF/A document with features already available in PDF/UA and PDF/X. But in any case, you only have one field for document version (or standard). Just in case it helps, Pablo -- http://

Re: [NTG-context] BUG: module loading is broken

2020-01-13 Thread Hans Hagen
a nil value (field 'uselibrary') Here are the steps by which I can reproduce on my machine: rm -rf /opt/context/tex/texmf-cache mtxrun --generate context --make context test.mkvi Same for LMTX. Cheers, Henri

Re: [NTG-context] BUG: module loading is broken

2020-01-12 Thread Henri Menke
semodule[letter] > \starttext > \stoptext > > fails with > > ...texmf-modules/tex/context/third/letter/base/s-cor-00.lua:88: attempt to > call a nil value (field 'uselibrary') > > Here are the steps by which I can reproduce on my machine: > > rm -rf /opt/context/tex/

[NTG-context] BUG: module loading is broken

2020-01-12 Thread Henri Menke
Dear Hans, Recent updates to ConTeXt broke my CV. This MWE \usemodule[letter] \starttext \stoptext fails with ...texmf-modules/tex/context/third/letter/base/s-cor-00.lua:88: attempt to call a nil value (field 'uselibrary') Here are the steps by which I can reproduce on my machine: rm -rf

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-19 Thread Paul Mazaitis
able to gather, there are three ways to get JavaScript into a PDF using Acrobat (or other software that uses the Acrobat way of doing things): - Predefined Calculations (use a UI to build a simple recipe) - Calculations built with Simplified Field Notation (operators and field names - I don't

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-18 Thread Hans Hagen
interfere) (and calculate doens't seem to be called at all) HTH. Sorry, no time for further investigation. Hraban Am 2019-11-17 um 21:13 schrieb Paul Mazaitis : Hi everyone, First: apologies for the long email; this got a little complicated. Summary: there may be a bug in setting up calcu

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-18 Thread Henning Hraban Ramm
> > Hi everyone, > > First: apologies for the long email; this got a little complicated. > > Summary: there may be a bug in setting up calculate field for widgets? > > Parts: > > - calculator.tex > - A M(N)WE > - The MWE Only Sort of Works > > # calculato

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-18 Thread Hans Hagen
On 11/17/2019 9:13 PM, Paul Mazaitis wrote: Hi everyone, First: apologies for the long email; this got a little complicated. Summary: there may be a bug in setting up calculate field for widgets? it's more that javascript in pdf is kind of unreliable and can interfere in all kind of ways

Re: [NTG-context] Widgets: Any good examples for developing JS-enabled PDFs that calculate?

2019-11-17 Thread Paul Mazaitis
Hi everyone, First: apologies for the long email; this got a little complicated. Summary: there may be a bug in setting up calculate field for widgets? Parts: - calculator.tex - A M(N)WE - The MWE Only Sort of Works # calculator.tex On 13 Nov 2019, at 10:26, Pablo Rodriguez wrote: Hi

Re: [NTG-context] Issue with text running into footnotes

2019-11-09 Thread Pablo Rodriguez
g the > whitespace, solved the issue of the text running into the footnote. Hi Otared, I’m afraid that I have to add two more paragraphs to get rid of text running into the footnote space. But notes are my most problematic field in ConTeXt (I hate to admit). Many thanks for your reply,

[NTG-context] typo in publications-customized.tex

2019-10-28 Thread Damien Thiriet
@@ diagnostics as described in the Appendices. Their functional meaning is rather \quote {handled} in contrast to \index {field+ignored}\quote {ignored}. \stopfootnote Note that if a category is \emphasis {not} declared in this \LUA\ -table, then \emphasis {all} of its fields will be considered \index

Re: [NTG-context] PDF viewer poll

2019-10-15 Thread Hans Hagen
ce pdf viewers. It's not the most complex stuff so it probably indicates that no one cares much about these features. I wouldn’t say "no problem", because JS causes security problems everywhere. Depends: enabling a layer? checking a value in a field? turning a button appearance on /

Re: [NTG-context] radiobuttons

2019-08-15 Thread Hans Hagen
me=off] \definefield[WHAT][radio][WHATEVER][WHATONE,WHATTWO][WHATONE] \definesubfield[WHATONE][][YES,NOP] \definesubfield[WHATTWO][][YES,NOP] \starttext \startTEXpage[offset=2cm] \field[whatone]\space\field[whattwo] \field[WHATONE]\space\field[WHATTWO] \field[WHATONE]\space

Re: [NTG-context] radiobuttons

2019-08-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 05.08.2019 um 15:10: Of course the behaviour depends on the PDF viewer… :-( In Acrobat Pro 9 the radiobuttons work while I highlight form fields; if I switch that off, all options are checked. In Adobe Reader DC you can’t switch off form field highlighting

Re: [NTG-context] radiobuttons

2019-08-14 Thread Hans Hagen
][horizontal][width=50mm,height=15mm,offset=0pt,option={printable},offset=overlay] \definefield[whatthree][text][textstuff] \starttext \startTEXpage[offset=2cm] \field[whatone]\space\field[whattwo]\space\field[whatthree] \stopTEXpage % \startTEXpage[offset=2cm] % \field[whatone]\space\field

Re: [NTG-context] radiobuttons

2019-08-13 Thread Henning Hraban Ramm
width=1em, > align=bottom, > ] > > \definefield[chooseTeX][radio][MMradio][rbContext,rbLatex,rbOther][rbContext] > \definesubfield[rbContext][][] > \definesubfield[rbLatex][][] > \definesubfield[rbOther][][] > > \starttext > > I want to use \field[rbContext] \CONTEXT\

Re: [NTG-context] radiobuttons and other widgets

2019-08-05 Thread Henning Hraban Ramm
This is a feature request or wish: I would be glad to have a module (e.g. "fakefields") as a drop-in replacement that overwrites the field commands (\setupfield, \definefield, \definesubfield, \field) with a version that doesn’t create form fields but just \inframeds that loo

Re: [NTG-context] radiobuttons

2019-08-05 Thread Henning Hraban Ramm
Of course the behaviour depends on the PDF viewer… :-( In Acrobat Pro 9 the radiobuttons work while I highlight form fields; if I switch that off, all options are checked. In Adobe Reader DC you can’t switch off form field highlighting. Preview.app only highlights on mouseover and checks all

[NTG-context] radiobuttons

2019-08-05 Thread Henning Hraban Ramm
, frame=overlay, corner=round, height=1em, width=1em, align=bottom, ] \definefield[chooseTeX][radio][MMradio][rbContext,rbLatex,rbOther][rbContext] \definesubfield[rbContext][][] \definesubfield[rbLatex][][] \definesubfield[rbOther][][] \starttext I want to use \field[rbContext] \CONTEXT

Re: [NTG-context] Fwd: [garden] debug getinfo error

2019-07-10 Thread Hans Hagen
 > latin modern fonts are not preloaded languages   > language 'en' is active open source > level 2, order 3, name '/tmp/uhd8RE/texweb.tex' fonts   > preloading latin modern fonts (second stage) fonts   > 'fallback modern-designsize rm 12pt' is loaded lua error

[NTG-context] Fwd: [garden] debug getinfo error

2019-07-10 Thread Taco Hoekwater
> files > jobname 'texweb', input './texweb', result 'texweb' > fonts > latin modern fonts are not preloaded > languages > language 'en' is active > open source > level 2, order 3, name '/tmp/uhd8RE/texweb.tex' > fonts > preloading latin modern

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Alan Braslau
e was present and when it was published for the first time. > > Is it possible to insert something like "last accessed on the internet > on -MM-DD" in that field automatically if no publication year is > provided but a urldate? urldate is a non-standard field that Zoter

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Jan U. Hasecke
Hi Alan, thanks a lot for these hints. Am 16.05.19 um 02:05 schrieb Alan Braslau: > On Wed, 15 May 2019 14:27:21 +0200 > "Jan U. Hasecke" wrote: > >> is there an option to eliminate the "unpublished" in aps bibliography? > > I suppose you mean

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-15 Thread Alan Braslau
On Wed, 15 May 2019 14:27:21 +0200 "Jan U. Hasecke" wrote: > is there an option to eliminate the "unpublished" in aps bibliography? I suppose you mean the APS setup when NO date field is given ("to be published" for an article, "in press" for a b

Re: [NTG-context] gnuplot-module broken under lmtx

2019-04-10 Thread Hans Hagen
ded mtxrun          | mtxrun          | executing: gnuplot gnuplot-gnuplot-1.plt mtxrun          | mtxrun          | /home/user/lmtx/tex/texmf-linux-64/bin/mtxrun.lua:26166: attempt to call a nil value (field 'exec') aaa             > mtxrun --direct gnuplot gnuplot-gnuplot-1.plt floatblocks     

[NTG-context] gnuplot-module broken under lmtx

2019-04-10 Thread Christian Prim
> preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded mtxrun | mtxrun | executing: gnuplot gnuplot-gnuplot-1.plt mtxrun | mtxrun | /home/user/lmtx/tex/texmf-linux-64/bin/mtxrun.lua:26166: attempt to call a

Re: [NTG-context] Expanding text across two table cells

2019-04-08 Thread Aditya Mahajan
On Mon, 8 Apr 2019, Todd DeVries wrote: Hello, I use a progress note format which contains information that doesn't change much from session to session. Items like date, location, people attending a session. I would like to include two longer items, a diagnostic field and info about

[NTG-context] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
Hello, I use a progress note format which contains information that doesn't change much from session to session. Items like date, location, people attending a session. I would like to include two longer items, a diagnostic field and info about guardianship at the end of a table. Both

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

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

[NTG-context] ConTeXT install failing

2019-03-11 Thread Hans van der Meer
resolvers | resolving | not saving runtime tree '/Users/hansm/TeX/context-49/tex' resolvers | resolving | not saving runtime tree '/Users/hansm/TeX/texmf' ...49/tex/texmf-context/scripts/context/lua/mtx-context.lua:1194: attempt to index a nil value (field 'filenames') 31 xml-xtable: contextrun xtable

Re: [NTG-context] Drops Module

2018-12-13 Thread Peter Rolf
ber has no integer representation) > stack traceback: >     [C]: in function 'string.format' >     /home/adityam/texmf/tex/context/third/drops/t-drops.lua:1098: in > upvalue 'get_IM_paths' >     /home/adityam/texmf/tex/context/third/drops/t-drops.lua:1380: in > field 'sha

[NTG-context] Drops Module

2018-12-10 Thread Aditya Mahajan
/tex/context/third/drops/t-drops.lua:1098: in upvalue 'get_IM_paths' /home/adityam/texmf/tex/context/third/drops/t-drops.lua:1380: in field 'shadow' [ctxlua]:1: in main chunk This is due to the change in Lua5.3 with respect to floating point numbers. The simplest solution is to change '%d

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

2018-12-07 Thread Alan Braslau
buy the time to read them in: but as a rule the >purchase of books is mistaken for the appropriation >of their contents. > > % \placebtxrendering [method=dataset] > \stoptext > > I understood §5.4 of the m

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

2018-12-07 Thread Rik Kabel
definitions (created by \definebtxrendering and related setups) do not have an effect on \placecitation (and \cite[field][tag]) commands. Rereading it, I wonder if the meaning is supposed to be more than that, and to cover this situation? Surely this can be changed! -- Rik

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

2018-12-07 Thread Rik Kabel
List, As a followup, here is a close-to-minimal example which demonstrates the failure when \placebtxrendering is omitted. When run as given, the extract field content is not displayed. When the commented line is uncommented, the result includes the content. \startbuffer[quotedatabase

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

2018-12-06 Thread Rik Kabel
able to resolve. First, what goes into a specification lua file (I think that is what the document suggests I need) that says my author field should be handled as a bibliographic author field? There is some processing: {Schopenhauer, Arthur} gets displayed as ArthurSchopenhauer (with no space

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

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 4:15 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: > > >> > >> A palette entry index value of 0x is a special case indicating > >> that the text foreground color (defined by a higher-level client) > >> should be used and

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

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso: >> >> A palette entry index value of 0x is a special case indicating >> that the text foreground color (defined by a higher-level client) >> should be used and shall not be treated as actual index into CPAL >> ColorRecord array. >>

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

2018-11-22 Thread Hans Hagen
On 11/22/2018 2:12 PM, Ulrike Fischer wrote: A palette entry index value of 0x is a special case indicating that the text foreground color (defined by a higher-level client) should be used and shall not be treated as actual index into CPAL ColorRecord array. unrelated ... 0x

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

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:13 PM Ulrike Fischer wrote: > Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: > > >> When I use this definitions I still get partly blue glyphs with this > >> preamble. Don't you get them? > > > well, i don't know what to expect > > Khaled mentioned this link

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

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen: >> When I use this definitions I still get partly blue glyphs with this >> preamble. Don't you get them? > well, i don't know what to expect Khaled mentioned this link which shows how (harfbuzz-based) browsers like firefox interpret the

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

2018-11-22 Thread Hans Hagen
On 11/21/2018 9:04 PM, Ulrike Fischer wrote: Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso: \definefontfeature[quran][mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, ccmp=yes,locl=yes,calt=yes, liga=yes,clig=yes,dlig=yes,rlig=yes,

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

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso: > \definefontfeature[quran][mode=node,language=dflt,script=arab, > init=yes,medi=yes,fina=yes,isol=yes, >ccmp=yes,locl=yes,calt=yes, >liga=yes,clig=yes,dlig=yes,rlig=yes, >mark=yes,mkmk=yes,kern=yes,curs=yes, >

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

2018-11-21 Thread luigi scarso
On Wed, Nov 21, 2018 at 7:04 PM Ulrike Fischer wrote: > Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > > > I'm not sure what yoy mwan with 0x as that's intercepted > > With this example (font from > https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) > > a part of

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

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 18:46:44 +0100 schrieb Hans Hagen: > I'm not sure what yoy mwan with 0x as that's intercepted With this example (font from https://github.com/alif-type/amiri/blob/master/AmiriQuranColored.ttf) a part of the glyphs are in blue. Khaled claims that this is wrong, that the

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

2018-11-21 Thread Hans Hagen
On 11/21/2018 1:37 PM, Ulrike Fischer wrote: Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer: Khaled wrote that "is that [the code] uses the last palette color A bit too much deleted. It should say "it is a bug that ..." in context use the context interface (which uses a

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

2018-11-21 Thread Ulrike Fischer
Am Wed, 21 Nov 2018 13:01:47 +0100 schrieb Ulrike Fischer: > Khaled wrote that "is that [the code] uses the last palette color A bit too much deleted. It should say "it is a bug that ..." -- Ulrike Fischer http://www.troubleshooting-tex.de/

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

2018-11-21 Thread Ulrike Fischer
I tried to register a demo colorpalette: \starttext \directlua{fonts.handlers.otf.registerpalette("demo", { { g=1 }, %accents { b=1 }, %06dd { r=0.5, g=0.5, b=0.5 }, %unused? { g = 0.5, b=0, r=1 }, } )} blub \stoptext and got the error font-ocl.lua:76: attempt to call a nil va

Re: [NTG-context] OT: mupdf 1.14

2018-10-09 Thread luigi scarso
s useful to inspect pdf . > > I’m experiencing a weird issue with mupdf-1.14. > > According to https://mupdf.com/release_history.html, I understand that > mupdf-gl is able to sign PDF documents (in both Windows and Linux). > > Well, I have this minimal document with a sign f

Re: [NTG-context] OT: mupdf 1.14

2018-10-09 Thread Pablo Rodriguez
ording to https://mupdf.com/release_history.html, I understand that mupdf-gl is able to sign PDF documents (in both Windows and Linux). Well, I have this minimal document with a sign field (https://bugs.ghostscript.com/attachment.cgi?id=15715) and a certificate (https://bugs.ghostscript.com/attachme

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

2018-10-02 Thread Hans Hagen
(primitive) access are commands like \char which expect a number; the name field of a character is marked as "unused" in the manual. sure, as one can write lua code to provide that feature .. there is no benefit in having that code in the engine (in fact, even more could go) N

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

2018-10-02 Thread Ulrike Fischer
ike \char which expect a number; the name field of a character is marked as "unused" in the manual. Neither has the generic fontloader imho some suitable primitive command for name access. All the examples in the generic folder uses numbers or direct input: e.g. \Uchar"1D49D or \Ur

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

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

[NTG-context] Error running first-setup.bat

2018-08-25 Thread Joseph Canedo
Hi all, When trying to install latest beta for ConTeXt I get the Following error : sent 55901 bytes received 21842221 bytes 306267.44 bytes/sec total size is 26889592 speedup is 1.23 c:\ConTeXt\test\bin\mtxrun.lua:612: module 'socket.http' not found: no field package.preload

Re: [NTG-context] 12th ConTeXt Meeting (2018)

2018-08-09 Thread Jano Kula
ou have, it is always a great source of inspiration. Of course, you will not become a master in the field in five days, but you will see how others are using ConTeXt, what are their workflows and tools and can learn a lot. If you show the audience, how you are using ConTeXt in 15-30 minutes

Re: [NTG-context] SHA512 for LuaTeX-5.2

2018-07-23 Thread Hans Hagen
{\ctxlua{context(utilities.sha2.hash512("#1"))}} \hashfive{a} \stoptext ConTeXt complains: [ctxlua]:1: attempt to index field 'sha2' (a nil value) What am I doing wrong? require("util-sha") Many thanks for your reply, Hans. It works like a charm. Would i

Re: [NTG-context] SHA512 for LuaTeX-5.2

2018-07-23 Thread Pablo Rodriguez
> \starttext >> \def\hashfive#1{\ctxlua{context(utilities.sha2.hash512("#1"))}} >> \hashfive{a} >> \stoptext >> >> ConTeXt complains: >> >> [ctxlua]:1: attempt to index field 'sha2' (a nil value) >> >> What am I d

Re: [NTG-context] SHA512 for LuaTeX-5.2

2018-07-23 Thread Hans Hagen
t ConTeXt complains: [ctxlua]:1: attempt to index field 'sha2' (a nil value) What am I doing wrong? require("util-sha") Many thanks for your help, Pablo -- - Han

Re: [NTG-context] SHA512 for LuaTeX-5.2

2018-07-23 Thread Pablo Rodriguez
On 07/22/2018 10:56 PM, Hans Hagen wrote: > why not use > > utilities.sha2.hash512(str) Many thanks for your reply, Hans. \starttext \def\hashfive#1{\ctxlua{context(utilities.sha2.hash512("#1"))}} \hashfive{a} \stoptext ConTeXt complains: [ctxlua]:1: att

Re: [NTG-context] font pathes with colons

2018-06-09 Thread Hans Hagen
font- pond/texmf/fonts/misc/luafont/luafont-duckchess.lua]:mode=node" unknown. I investigated a bit. I'm on windows and imho this looks as if the syntax parser is splitting after the C: of the drive and putting the rest in the specification.detail field. As far as I can see the code which does

[NTG-context] font pathes with colons

2018-06-08 Thread Ulrike Fischer
ckchess.lua]:mode=node" unknown. I investigated a bit. I'm on windows and imho this looks as if the syntax parser is splitting after the C: of the drive and putting the rest in the specification.detail field. As far as I can see the code which does the splitting is in font-def.lua and so par

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Hans Hagen
[C]: in function 'string.find' ...inimals/texmf-context/tex/context/base/mkiv/file-res.lua:147: in upvalue 'action1'     [string "local action = tokens._action..."]:4: in field 'getreadfilename'     [ctxlua]:1: in main chunk Not sure why #1 is being passed to t

Re: [NTG-context] Problem with Filter Module in latent context beta

2018-04-16 Thread Aditya Mahajan
-context/tex/context/base/mkiv/file-res.lua:147: in upvalue 'action1' [string "local action = tokens._action..."]:4: in field 'getreadfilename' [ctxlua]:1: in main chunk Not sure why #1 is being passed to the lua function instead

Re: [NTG-context] mtxrun uses 'nil' for platform

2018-04-16 Thread Vladimir Lomov
** Hans Hagen [2018-04-16 10:47:32 +0200]: > On 4/16/2018 6:08 AM, Vladimir Lomov wrote: >> Hello list, >> recent update of context suite (beta) changed something in the code of >> 'mtxrun' so now it shows me a warning: >>${CONTEXT}/bin/mtxrun:20683: attempt to con

Re: [NTG-context] mtxrun uses 'nil' for platform

2018-04-16 Thread Hans Hagen
On 4/16/2018 6:08 AM, Vladimir Lomov wrote: Hello list, recent update of context suite (beta) changed something in the code of 'mtxrun' so now it shows me a warning: ${CONTEXT}/bin/mtxrun:20683: attempt to concatenate a nil value (field 'platform') I didn't notice this warning earilier

[NTG-context] mtxrun uses 'nil' for platform

2018-04-15 Thread Vladimir Lomov
Hello list, recent update of context suite (beta) changed something in the code of 'mtxrun' so now it shows me a warning: ${CONTEXT}/bin/mtxrun:20683: attempt to concatenate a nil value (field 'platform') I didn't notice this warning earilier. The line 20683 in 'mtxrun' is local texos

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Rik Kabel
ult' from source 'C:/ConTeXt/tex/texmf-context/doc/context/sources/general/manuals/publications/mkiv-publications.bib' publications    > duplicates > tag 'article' is present multiple times: default:1, assigning hashtag 'article-1' publications    > duplicates > redundant field 'title' is ig

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Alan Braslau
'C:/ConTeXt/tex/texmf-context/doc/context/sources/general/manuals/publications/mkiv-publications.bib' > publications    > duplicates > tag 'article' is present multiple > times: default:1, assigning hashtag 'article-1' > publications    > duplicates > redundant field '

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Rik Kabel
manuals/publications/mkiv-publications.bib' publications    > duplicates > tag 'article' is present multiple times: default:1, assigning hashtag 'article-1' publications    > duplicates > redundant field 'title' is ignored for tag 'book' in dataset 'default' publications    > duplicates > r

Re: [NTG-context] Combine overlapping margin notes with separator

2018-03-29 Thread Henri Menke
> Desired output: https://i.imgur.com/oWKigTX.png >>> >>> Is there a reliable way to implement this?  Any help would be >>> appreciated! >>> >>> *** >>> >>> \starttext >>> &

Re: [NTG-context] Combine overlapping margin notes with separator

2018-03-29 Thread Hans Hagen
?  Any help would be appreciated! *** \starttext \inmargin{1}Now we are engaged in a great civil war. \inmargin{2}We are testing whether that nation or any nation so conceived and so dedicated, can long endure. \inmargin{3}We are met on a great battle-field

Re: [NTG-context] Combine overlapping margin notes with separator

2018-03-28 Thread Henri Menke
t; > \inmargin{1}Now we are engaged in a great civil war. > \inmargin{2}We are testing whether that nation or any nation so conceived  > and so dedicated, can long endure. > \inmargin{3}We are met on a great battle-field of that war. > > \stoptext > > *** >

[NTG-context] Combine overlapping margin notes with separator

2018-03-19 Thread Benjamin Epstein
g endure. \inmargin{3}We are met on a great battle-field of that war. \stoptext *** Thank you, Benjamin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.n

[NTG-context] ANNOUNCEMENT: Notepad++ for ConTeXt - Version 0.98

2018-03-05 Thread Idris Samawi Hamid ادريس سماوي حامد
a list of text strings and their replacements: In the edit field of Notepad++ the user types and Alt-'\'; is replaced by . The rules are the same as for those of the user's macros set under [Markup]. Finally, the standard Notepad++ right-click mechanism offers the usual insert text menu. Use Plugins - ConTeXt - U

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Hans Hagen
in titles i guess (and tex math is sort of standard); we can think of having a "textitle" field, or abuse "title:en" for the formatted ones On Sat, 17 Feb 2018 15:27:03 +0100 Otared Kavian <ota...@gmail.com> wrote: Dear all, I am in the process of learning how to use

Re: [NTG-context] \setupinteraction "author" adds '"'

2018-01-06 Thread Hans Hagen
On 1/6/2018 10:12 AM, Procházka Lukáš Ing. wrote: Hello, once the "author" member in \setupinteraction contains ",", Ctx adds (unwanted) quation marks into "author" field in PDF. So - how to avoid these '"'? My MWE: \setupinteraction[author={Fo

[NTG-context] \setupinteraction "author" adds '"'

2018-01-06 Thread Procházka Lukáš Ing .
Hello, once the "author" member in \setupinteraction contains ",", Ctx adds (unwanted) quation marks into "author" field in PDF. So - how to avoid these '"'? My MWE: \setupinteraction[author={Foo, Bar}] \starttext A \stoptext Result - see

Re: [NTG-context] Question to Lua and Postgres (and ConTeXt)

2017-12-20 Thread Hans Hagen
! LuaTeX error :3: module 'luasql.postgres' not found: no field package.preload['luasql.postgres'] no file './luasql/postgres.so' no file '/usr/local/lib/lua/5.1/luasql/postgres.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './luasql.so

Re: [NTG-context] Question to Lua and Postgres (and ConTeXt)

2017-12-20 Thread Henning Hraban Ramm
stgresql-dev? > ! LuaTeX error :3: module 'luasql.postgres' not found: > no field package.preload['luasql.postgres'] > no file './luasql/postgres.so' > no file '/usr/local/lib/lua/5.1/luasql/postgres.so' > no file '/usr/local/lib/lua/5.1/loadall.so' &

[NTG-context] Question to Lua and Postgres (and ConTeXt)

2017-12-20 Thread Tomas Hala
package.path = '/usr/lib/lua/5.1/luasql;', not copying the postgres.so to the current directory did not help. I have any clue how to fix it. Have you any ideas? Thanks in advance, Tomáš ! LuaTeX error :3: module 'luasql.postgres' not found: no field package.preload

Re: [NTG-context] \setuplist with numbercommand renders wrongly

2017-12-11 Thread Henri
}]   blabla \stopsection \startsection[title={blabla}]   blabla \stopsection \startsection[title={blabla}]   blabla \stopsection \stoptext If you want to use numbercommand anyway, then make sure that you use it correctly.  It only takes one argument and you have increase the width of number field

  1   2   3   4   5   6   7   8   9   10   >