[NTG-context] different preffixsegments for different reference formats

2021-08-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b]{Section} \itsc[b] and \in[b] \stoptext How can I get that \itsc gets

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2021-08-18 Thread Hans Hagen via ntg-context
font context agreed more often with uniscribe than xetex, but in the end on ehas to make the font okay for all i guess). When we started with opentype (luatex showed up in 2005) we took uniscribe as reference so that is our benchmark. And lack of specs made us figure out things stepwise. Now

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2021-08-16 Thread Joey McCollum via ntg-context
_Hebrew) discussing the issue, > providing a test, and briefly describing the fix. > > Joey > > On Thu, Apr 30, 2020 at 11:14 AM Hans Hagen wrote: > >> On 4/30/2020 4:28 PM, Joey McCollum wrote: >> > Thanks so much, Hans! I should be able to add a wiki page summarizing >

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Michal Vlasák via ntg-context
mf[label] = pdfreference(pdfflushobject(rendition)) @@ -761,6 +762,20 @@ function codeinjections.processrendering(label) end end +-- needed mapping for access from JS +local function flushrenderings() +if next(mf) then + local r = pdfarray()

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-10 Thread Michal Vlasák via ntg-context
On Mon Aug 9, 2021 at 8:32 AM CEST, Pablo Rodriguez via ntg-context wrote: > On 8/8/21 11:00 PM, Michal Vlasák via ntg-context wrote: > > Is there a newer document than "JavaScript for Acrobat API Reference" > > (May 2015)? > > Well, the link you provided > (ht

[NTG-context] footnote interaction in titles

2021-08-09 Thread Adam Reviczky via ntg-context
effect or intended like that? A half-workaround is to apply the styles directly, but not sure how I can force the numbering style (same-page reference). See MWE: \setupinteraction[state=start] \starttext \startchapter[title={Long question with footnote \footnote{see: \goto{ https

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

2021-08-09 Thread Joey McCollum via ntg-context
working on publ-imp-sbl.lua and publ-imp-sbl.mkvi files. I knew I would need this for my own project soon, and I felt it would be useful to myself and the ConTeXt community if I could at least get a rudimentary version working. I'm presently using the reference for examples from the *SBL Handbook of

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-09 Thread Pablo Rodriguez via ntg-context
ia.openPlayer", but the code is copied >> from the documentation Adobe released early this year. > > Is there a newer document than "JavaScript for Acrobat API Reference" > (May 2015)? Well, the link you provided (https://mailman.ntg.nl/pipermail/ntg-context/2021/

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-08 Thread Michal Vlasák via ntg-context
obe released early this year. Is there a newer document than "JavaScript for Acrobat API Reference" (May 2015)? Anyways, I thought that the culprit is that you only specify the rendition (what to play) and not screen (where to play): function GoToFirstSlide(label) {

[NTG-context] Short forms and abbreviations in bibliography

2021-08-07 Thread Joey McCollum via ntg-context
;List of Abbreviations" provided to cross-reference the abbreviations and full names. I think that these practices could be accommodated with multiple bibliographies that contain short and long forms for corresponding entries, but I wanted to ask: is there a simpler or preferred way to do this

Re: [NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-05 Thread Hans Hagen via ntg-context
[fn:def] \stoptext Generates a missing reference error for a reference provided on \startfootnote (and \startendnote) accessed by \note: references  > start missing references references  >    1  [][fn:def] references  > stop missing references Con

[NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-04 Thread Rik Kabel via ntg-context
The following example: \starttext abc\footnote[fn:abc]{footnote abc}\ abc def \startfootnote[fn:def]  footnote def \stopfootnote \ def No problem here: abc\note[fn:abc] Problem appears here: def\note[fn:def] \stoptext Generates a missing reference error

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-31 Thread Pablo Rodriguez via ntg-context
"hidden", ending up in /EmbeddedFiles, or as "annotation" ending up as > /FileAttachment annotation). > > Maybe "codeinjections.embedfile" can have the option to force the > reference, so that the file also ends up in /EmbeddedFiles? Should it be > default for

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-30 Thread Michal Vlasák via ntg-context
files" (either as "hidden", ending up in /EmbeddedFiles, or as "annotation" ending up as /FileAttachment annotation). Maybe "codeinjections.embedfile" can have the option to force the reference, so that the file also ends up in /Embedded

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-27 Thread Connor P. Jackson via ntg-context
[title=MyTitle,state=start] > > \setupinteractionscreen > [option={title}] > > \starttext > test > \stoptext > > > 2. "Tagged Annotations" fails, suggesting that the document’s links are > > not properly tagged. I believe the issue is missing &quo

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-27 Thread Hans Hagen via ntg-context
operly tagged. I believe the issue is missing "Link - OBJR” (object reference) tags. See here <https://amp.levelaccess.net/public/standards/view_best_practice.php?violation_id=807>, here <https://www.w3.org/TR/WCAG20-TECHS/PDF11.html>, and here <http://verapdf.or

[NTG-context] Adobe Acrobat accessibility criteria

2021-07-26 Thread Connor P. Jackson via ntg-context
ions" fails, suggesting that the document’s links are not properly tagged. I believe the issue is missing "Link - OBJR” (object reference) tags. See here <https://amp.levelaccess.net/public/standards/view_best_practice.php?violation_id=807>, here <https://www.w3.

[NTG-context] Multimedia, PDF and ConTeXt

2021-07-26 Thread Michal Vlasák via ntg-context
timedia though). This is nice because the result is integral -- the media file can't get lost and there is only a single file to distribute. - URL file. The reference to the file is solely the URL. Takes almost no space at all in the PDF file, but means that the availability of the media f

[NTG-context] Getting the local float reference within a float and reuse (?) it later (\somelocalfloat?)

2021-07-22 Thread Benjamin Buchmuller
Hi, Is there a more convenient way to get the current reference label (stably) from within a float? For example, I would like to make an "image credits" section at the end of a document, so I do something similar to: \defineblock[credits] \starttext \section[sec:to

Re: [NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Gavin
]% Lots of setup can go here! \startTEXpage \starttikzpicture \stopbuffer \startbuffer[stoptikz] \stoptikzpicture \stopTEXpage \stopbuffer \define[2]\marginTikZ{ \startplacefigure[location=margin, reference=fig:#1, title={#2}] \typesetbuffer[starttikz,#1,stoptikz

Re: [NTG-context] TikZ in buffers: My struggle with \definestartstop

2021-07-08 Thread Hans Hagen
ffer[BlueCircle] \draw [thick,blue] (0,0) circle (1.5cm)node{Ti{\it k}Z!}; \stopbuffer \startplacefigure[location=margin,reference=fig:BlueCircle,title={Example A.}] \typesetbuffer[starttikz,BlueCircle,stoptikz] \stopplacefigure \startplacefigure[location=margin,reference=fig:BlueCircle,t

[NTG-context] new lmtx upload

2021-07-06 Thread Hans Hagen
ect(metapost.getrecord("FooC")) inspect(metapost.getrecord("FooD")) \stopluacode \stoptext So, one can store structured data at the mp end, use it there, and access it also from lua (after all it's done in lua). It honors metapost grouping (which is what interim does with int

Re: [NTG-context] randomizer line-breaking

2021-06-08 Thread Steffen Wolfrum
uctures.references.collected={ ["02"]={ ["*101"]={ ["metadata"]=678, ["references"]={ ["block"]="bodypart", ["internal"]=102, ["prefix"]="02

[NTG-context] different prefixsegments for \in

2021-06-04 Thread Pablo Rodriguez
The output reads: As told in 1.1 and 2.1… I would like to be able to supress the section number in the reference, if the current section is the same as the referenced one. I mean, I would like that the output reads: As told in 1 and 2.1… Which would be the way to do it automatically? BTW

Re: [NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Jun 2021 14:17:15 -0600, Wolfgang Schuster wrote: \setupnote [footnote] [location=none] That did the trick; many thanks! == \setupnote [footnote] [location=none] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward

[NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
=bychapter] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \input ward \startfootnote \input ward \stopfootnote{} \stopsection \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \input ward

Re: [NTG-context] Side-by-side environment

2021-05-31 Thread Werner Hennrich
d play around, for the full list of options refer to the commands reference <http://www.pragma-ade.com/general/qrcs/setup-en.pdf>. All the best! Werner Am 31.05.21 um 09:52 schrieb Tommaso Gordini: Hello everybody. Some time ago, Wolfgang helped me write an environment to have code above

Re: [NTG-context] How to write readable source files?

2021-05-29 Thread Hans Hagen
g., the fact that `hlingrid` is a def? Looking at the Scite files, I see only internals and commands, and they seem to cover only the "main" MetaFun names. it is still on the agenda to make xml files for metafun but there is no timeline for that now, when it comes to highlighting, the refe

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Rik Kabel
n, there might be alternatives for when one does not need to adhere to those styles. Does ConTeXt (LMTX) currently provide anything else besides apa and aps? I have read the BibTeX manual looong time ago, but I remember that there were mandatory and optional fields for each reference type. My m

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Alan Braslau
l > for enforcing constraints if a given bibliographic style requires > them. But then, there might be alternatives for when one does not > need to adhere to those styles. Does ConTeXt (LMTX) currently provide > anything else besides apa and aps? > > I have read the BibTeX manual looong time

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Nicola
styles. Does ConTeXt (LMTX) currently provide anything else besides apa and aps? I have read the BibTeX manual looong time ago, but I remember that there were mandatory and optional fields for each reference type. My memory may fail me, but I think that Editor and Publisher were not mandatory fields for

[NTG-context] styling references

2021-05-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize \dorecurse{15} {\item[\recurselevel]whatever} \stopitemize As exposed in \in{item}[9]... \stoptext How can I add style to the item reference (9)? I mean, how can I get “As exposed in item {\em 9}”? Many thanks

Re: [NTG-context] TeX capacity exceeded

2021-05-19 Thread Hans Hagen
rry [reference count=32767] Can you check the latest upload? You should be able to go way higher. If you're worried about your lua macros performance you can always run with: --profile and look at the luatex-profile.log file ... it gives a rough impression. be prepared for a slow run (altho

Re: [NTG-context] TeX capacity exceeded

2021-05-18 Thread Hans Hagen
rry [reference count=32767] This is not the normal memory consumption that bothers you \enabletrackers[system.usage] will show you more detail. Normally the default context configuration will provide enough. In lmts memory is abit more dynamic so we start otu smaller and then stepwise grow. And one

[NTG-context] TeX capacity exceeded

2021-05-17 Thread Thomas A. Schmitz
Hi all, I have a rather large (almost 120,000 lines) xml file, processing pulls in another large xml file. The project compiles under mkiv; with lmtx, I get tex error > tex error on line 8 in file : TeX capacity exceeded, sorry [reference count=32767] \reallanguagetag just twe

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
be useful somewhere. % % Special addition -- we want to include one more directory: the % great-grandparent's texmf-local, because that is how TL is installed % by default. That is, given a binary % /usr/local/texlive//bin/PLATFORM/kpsewhich, it should find % /usr/local/texlive/texmf-local/web2

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
uld allows me to get as far as 66 (if I were to need every biblical book)? Julian On 16/4/21 5:24 pm, Hans Hagen wrote: On 4/15/2021 11:28 AM, jbf wrote: My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
On 4/15/2021 11:28 AM, jbf wrote: My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6 (and so one for each Genesis reference, then moving on to Leviticus with [b] etc.) In other words, I have used the key

Re: [NTG-context] register for biblical citations

2021-04-15 Thread jbf
My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6 (and so one for each Genesis reference, then moving on to Leviticus with [b] etc.) In other words, I have used the key option [] using the alphabet

Re: [NTG-context] Hyphenation patterns

2021-04-09 Thread Arthur Rosendahl
://mailman.ntg.nl/pipermail/ntg-context/2020/099695.html). First of all, I note that while Webster’s dictionary is a useful guide, and indeed a major reference for any American typographer, there’s no absolute rule that we have to follow it either. The break applic-able, for example, does look acceptable to me

Re: [NTG-context] Formulanumbers in margin

2021-03-23 Thread Adam Reviczky
e=Cow] \externalfigure[cow] \stopplacefigure > > \define[1]\MyFormulaNumber{\inleftmargin{#1}} > \setupformula[numbercommand=\MyFormulaNumber] > > \inleftmargin{Left Margin Text} > \inrightmargin{Right Margin Text} > > \startplaceformula[reference=eq1] \startformula c^2 =

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stoptext Adam On Sun, Mar 21, 2021 at 8:31 PM Henning Hraban Ramm wrote: > > > Am 21.03.2021 um 20:56 schrieb Adam Reviczky : > > > > Thanks Hraban, > > > > I've tried the numbercommand

[NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
[title=Cow] \externalfigure[cow] \stopplacefigure % this makes the formulanumber disappear % \setupformulas[location={rightmargin}] \startplaceformula[reference=eq1,location={rightmargin}] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stoptext But the setupformulas will make the number

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
gt; \starttext > > \setupcaption[figure][way=bytext,prefixsegments=1:*] > > \setupformulas[way=bytext,prefixsegments=1:*] > > \startsection[title=Section] > > \startsubsection[title=SubSection] > > \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure >

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
,prefixsegments=1:*] \setupformulas[way=bytext,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
,prefixsegments=1:*] \startsection[title=Section] \startsubsection[title=SubSection] \startplacefigure[list=cow] \externalfigure[cow] \stopplacefigure \startplaceformula[reference=eq1] \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \stopsubsection \stopsection \placelistoffigures[criterium=all

Re: [NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-17 Thread Adam Reviczky
. . . . . . . . . 1 \startplaceformula[reference=eq:one,title={Mass-energy equivalence}] \startformula e=mc^2 \stopformula \stopplaceformula % 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 % list option could g

[NTG-context] placenamedformula in placelist (MKII vs MKIV/LMTX)

2021-03-15 Thread Adam Reviczky
) shows what I would like to have. Using MKII I get the desired output (1 formulaname ... and 3b formulaname ...) but with MKIV and LMTX I only get the reference from the placeformula (as 1 and correctly not listed in the placelist) and none of the placenamedformula numbers. The placeformula number

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
] \authorstyle{The Author} \blank[13*big] \titlestyle{Title 1} \blank[5*small] \titlestyle{Title 2} \blank[2*big] \subtitlestyle{Subtitle} \blank[47*big] \publisherstyle{Publisher} \stopmakeup \startmakeup[copyrightpage] Title \crlf Subtitle \blank Geprint in Country. \crlf Document Reference ABC-ABC-001

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
] \authorstyle{The Author} \blank[13*big] \titlestyle{Title 1} \blank[5*small] \titlestyle{Title 2} \blank[2*big] \subtitlestyle{Subtitle} \blank[47*big] \publisherstyle{Publisher} \stopmakeup \startmakeup[copyrightpage] Title \crlf Subtitle \blank Geprint in Country. \crlf Document Reference ABC-ABC-001

Re: [NTG-context] Write to tuc file

2021-03-07 Thread Pablo Rodriguez
On 3/6/21 2:35 PM, Hans Hagen wrote: > On 3/6/2021 1:56 PM, Pablo Rodriguez wrote: >> [...] >> The select style could generate from start-identifier and >> stop-identifier, the result "identifier.pdf". > \startchapter[reference=whatever,title=foo] > \stopchapt

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Hans Hagen
could generate from start-identifier and stop-identifier, the result "identifier.pdf". \startchapter[reference=whatever,title=foo] \stopchapter \startchapter[reference=moreover,title=oof] \stopchapter and --pages=whatever,moreover will give you the info you need to call context --extra=c

Re: [NTG-context] Write to tuc file

2021-03-05 Thread denis.maier
alking chapters, a variants (with less overhead) is: > > >context --pages --list=one,two oeps > mtx-context | list : 0001 one > mtx-context | list : 0004 two > > Which of course assumes that you have a reference for the chapters. > > This --pages feature is in

[NTG-context] tex live code freeze

2021-03-05 Thread Hans Hagen
to for instance fonts and languages will be applied). I get the impression that most users already moved to LMTX which helped getting it in the state it is now (thanks for all the testing). Although MKII/MKIV serves a reference for functionality, new stuff got and gets added to LMTX. I could

[NTG-context] reference chapters from another doc in this doc's toc

2021-03-05 Thread denis.maier
Hi, is it possible to include structure elements from other documents in a toc? E.g. when your having a multivolume book where each book is an individual book, but you want to have a TOC that covers all volumes? Best, Denis

Re: [NTG-context] Write to tuc file

2021-03-05 Thread Hans Hagen
with less overhead) is: >context --pages --list=one,two oeps mtx-context | list : 0001 one mtx-context | list : 0004 two Which of course assumes that you have a reference for the chapters. This --pages feature is in the latest u

[NTG-context] Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
testproject \product testproduct000 \useexternaldocument[m001][master001][Test Product, Vol.~{\sc ii}] \chapter[oeps]{oeps} test \from[m001], \in{Ch.~}[m001::one], \at{page}[m001::one] {[}test page one{]} test \from[m001], \in{Ch.~}[m001::one], \at{page}[m001::page- reference] {[}test {\bf

Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
Thanks Wolfgang, Hans kindly sent me a simple minimal. I've adjusted it to include a call to \pagereference and it works. I'm currently trying to test my project to see why my own calls to \pagereference do not result in any output, despite the fact that all the calls to the reference ids

Re: [NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Wolfgang Schuster
as the reference is to the details associated with, say, a chapter, using \about, \in, and \at. Its doesn't seem to work though with \pagereference: no page number appears in the PDF whatsoever. I have  been following the material here: https://wiki.contextgarden.net/References

[NTG-context] LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
Readers, I'm working on a couple of volumes of papers set up and generated separately (though within the same project). Some of the papers in the second volume make cross references to papers in the first. Now this is working well so long as the reference is to the details associated with, say

[NTG-context] Incorrect css reference in exported html file

2021-02-27 Thread Aditya Mahajan
Hi, This message is prompted by a bug report for t-vim (https://github.com/adityam/filter/issues/43), but the issue is more general. Whenever, `cssfile` in `\setupexport` points to a file now in $PWD, the reference to the file in the exported CSS is incorrect: Consider the following directory

Re: [NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Hans Hagen
On 2/26/2021 6:58 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 26.02.2021 um 18:36: On 2/26/2021 6:01 PM, Lukas/ConTeXt wrote: Hello, after I renewed ConTeXt MkIV, I started to get the following warning: " ... luatex warning  > nodes: unable to store reference from lu

Re: [NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Wolfgang Schuster
Hans Hagen schrieb am 26.02.2021 um 18:36: On 2/26/2021 6:01 PM, Lukas/ConTeXt wrote: Hello, after I renewed ConTeXt MkIV, I started to get the following warning: " ... luatex warning  > nodes: unable to store reference from lua in tex ... (repeated more times) " This happe

Re: [NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Hans Hagen
On 2/26/2021 6:01 PM, Lukas/ConTeXt wrote: Hello, after I renewed ConTeXt MkIV, I started to get the following warning: " ... luatex warning > nodes: unable to store reference from lua in tex ... (repeated more times) " This happens when I try to typeset a looo...ong tab

[NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Lukas/ConTeXt
Hello, after I renewed ConTeXt MkIV, I started to get the following warning: " ... luatex warning > nodes: unable to store reference from lua in tex ... (repeated more times) " This happens when I try to typeset a looo...ong table (by \start/\stop-tabulate) over several pages. It

Re: [NTG-context] Arbitrary equation tags... again

2021-02-23 Thread Jairo A. del Rio
I found a workaround for anyone interested: \setupinteraction[state=start,focus=standard] \starttext \startplaceformula[title=$\alpha$,reference=alpha] \startformula 1 + 1 = 2 \stopformula \stopplaceformula \dorecurse{20}{\samplefile{knuth}} I'm in \in{$\alpha$}[alpha] %so the reference

Re: [NTG-context] Arbitrary equation tags... again

2021-02-22 Thread Jairo A. del Rio
Hi again. The following doesn't work (the tag is missing): \startTEXpage[offset=2bp] \startplaceformula[title=A,reference=alpha] \startformula 1 + 1 = 2 \stopformula \stopplaceformula I'm in \in[alpha] \stopTEXpage Jairo El lun, 22 de feb. de 2021 a la(s) 09:00, Jairo A. del

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-20 Thread Hans Hagen
to be obsolete now. hm, but it still makes sense to know if something fails .. keep en eye on it this integer message just means that some number reference ends up in the list while \the or something similar needs to be used; it's normally a signal of something wrong in a macro; in luamatatex we

Re: [NTG-context] tikzpicture in margin

2021-02-15 Thread Hans Hagen
ure ... \stoptikzpicture \stopbuffer \inmargin{\getbuffer[picture]} Another option (but better to do that in tikz module) is: \let\draw\relax \let\x\relax \inmargin{\starttikzpicture ... \stoptikzpicture} Actually the command \startmarginblock ... \stop... described in the ConText reference wo

Re: [NTG-context] tikzpicture in margin

2021-02-14 Thread Aditya Mahajan
ime \draw etc are undefined. One option is: \startbuffer[picture] \starttikzpicture ... \stoptikzpicture \stopbuffer \inmargin{\getbuffer[picture]} Another option (but better to do that in tikz module) is: \let\draw\relax \let\x\relax \inmargin{\starttikzpicture ... \stoptikzpicture} > Actually

[NTG-context] tikzpicture in margin

2021-02-14 Thread Jigé
} \stoptext -> Undefined control sequence I tried using \startfigure, \hbox... no success. Actually the command \startmarginblock ... \stop... described in the ConText reference works with a TikZ picture. But the picture, in the margin, gets near the top of the page. I don't understand the mean

[NTG-context] Fwd: Re: Hyphenation on digits

2021-01-28 Thread Richard Mahoney
Just to clarify. The new \hyphenateddigits means that witha couple of tightly packed columns of footnotes it is nowpossible to break a textual reference such as this acrosstwo lines. ({\it Ṛgveda}~\hyphenateddigits{1.114.10}) This is just great, and I can see it being used reasonablyoften. Best

Re: [NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

2021-01-26 Thread Rudd, Kevin
put as a figure: \startplacefigure[title={NS Hierarchy}, reference={f:ns-hierarchy}] \input ns_hierarchy \stopplacefigure and generate the error: metafun > log > error: Not implemented: (unknown numeric)=(string) metafun > l

Re: [NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

2021-01-26 Thread Rudd, Kevin
have a number of included figures that work in 20200920 but not in the current 20210124 version. There's a project structure that sets everything up but after that they are input as a figure: \startplacefigure[title={NS Hierarchy}, reference={f:ns-hie

Re: [NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

2021-01-26 Thread Hans Hagen
},                               reference={f:ns-hierarchy}]                 \input ns_hierarchy             \stopplacefigure and generate the error: metafun         > log > error: Not implemented: (unknown numeric)=(string) metafun         > log > metapost        > log > met

[NTG-context] possible problem with MPinstance or MPinclusions? works in 20200920 but not in the current 20210124 ...

2021-01-26 Thread Rudd, Kevin
Hi--- I have a number of included figures that work in 20200920 but not in the current 20210124 version. There's a project structure that sets everything up but after that they are input as a figure: \startplacefigure[title={NS Hierarchy}, reference

Re: [NTG-context] LMTX isn't typesetting math correctly with Pagella

2021-01-18 Thread Mikael Sundqvist
ol which work ok for virtual constructs that only use those 8 bit > fonts but often fail for gyre fonts) > > now, the gust foundation fonts are a mix: they are opentype, have its > parameters and properties but have the wrong width and assume the italic > hackery > > the microsoft cambria fon

Re: [NTG-context] LMTX isn't typesetting math correctly with Pagella

2021-01-17 Thread Hans Hagen
ust foundation fonts are a mix: they are opentype, have its parameters and properties but have the wrong width and assume the italic hackery the microsoft cambria font is the reference for opentype math (and to some extend microsoft word also is) afaik xetex uses the old tex approach also for ope

Re: [NTG-context] expansion of xml userdata

2021-01-17 Thread Wolfgang Schuster
Jano Kula schrieb am 17.01.2021 um 21:22: Hello to everybody! \setuphead[section][expansion=yes] expands xml reference to the actual content in TUC file: \xmlatt {xml:name::4}{title} → First section for titles & bookmarks. The same is not true for userdata (mkiv & mkxl). Do you

[NTG-context] expansion of xml userdata

2021-01-17 Thread Jano Kula
Hello to everybody! \setuphead[section][expansion=yes] expands xml reference to the actual content in TUC file: \xmlatt {xml:name::4}{title} → First section for titles & bookmarks. The same is not true for userdata (mkiv & mkxl). Do you know how to force expansion of userdata? MWE

[NTG-context] RE : Missing kern when using \feature

2021-01-08 Thread Joseph
OK makes sense. I’ll see if I can remove this \feature macro.Yes 2nd case was only for reference for working case.Thanks De : Hans HagenEnvoyé le :vendredi 8 janvier 2021 16:32À : mailing list for ConTeXt users; JosephObjet :Re: [NTG-context] Missing kern when using \feature On 1/8/2021 2:45 PM

Re: [NTG-context] LuaTeX and PDF.js

2021-01-08 Thread Vedran Miletić
to resync within certain tolerances, etc ... (often a print is a better reference as displays are seldom 600+ dpi) .. it's also why often expansion looks bad on screen because even a sub percentage difference can give such effects Another way to see it is just zoom in on the PDF. If the artifacts go

Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Aditya Mahajan
put in the text stream to resync > within certain tolerances, etc ... (often a print is a better reference > as displays are seldom 600+ dpi) .. it's also why often expansion looks > bad on screen because even a sub percentage difference can give such > effects Another way to see i

Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen
of glyphs depends on font scale, rounding of stems and such (hints in fonts but these get less relevant with high res displays), caching, inter glyph corrections (that pdftex/luatex/...) put in the text stream to resync within certain tolerances, etc ... (often a print is a better reference

Re: [NTG-context] Display reference number as Roman number

2021-01-06 Thread Rik Kabel
On 11/24/2020 22:09, Rik Kabel wrote: Hello all, What I thought should be a simple conversion escapes me. I have a reference (created originally via a label defined by \definelabel) that, when referenced as \in[label] or \ref[number][label] displays a number, and that is how I normally use

Re: [NTG-context] dutch calendars 3 months

2021-01-05 Thread luigi scarso
On Tue, Jan 5, 2021 at 1:14 PM Taco Hoekwater wrote: > > > Being Dutch, I never realised there was such a thing as a “Dutch > calendar”. > > These are just calendars? What makes them “Dutch” from an Italian > viewpoint? > > Best wishes, > Taco > > The

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

2021-01-05 Thread Hans Hagen
made in "TeX Reference Manual" by David Bausum (of which there is a web version at https://www.tug.org/utilities/plain/cseq.html). According to that text the number of primitives is exactly 326. In my document I rounded it to "approximately 300". That list is a bit old. In

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

2021-01-04 Thread Joaquín Ataz López
Really? I wouldn't see it this way. I wondered a bit about the number of primitives shown in the document of Joaquín, but that they are used certainly doesn't make context like plaintex. I have calculated the number of primitives from the list made in "TeX Reference Manual" by Da

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

2021-01-04 Thread Henning Hraban Ramm
don't hit a wall. Yes, and that’s again true for every system – you need to find your way through the documentation. E.g. GNU LilyPond’s docs are great, but you need to know what’s in the Learning Manual, Reference Manual or extension docs, and that you also might look into the snippet r

Re: [NTG-context] xrightarrow specific size issue

2021-01-02 Thread Johann Birnick
On Sat, 2021-01-02 at 17:08 +0100, Wolfgang Schuster wrote: > Johann Birnick schrieb am 02.01.2021 um 17:04: > > On Sat, 2021-01-02 at 14:30 +, Bruce Horrocks wrote: > > > I'm not sure which manual you are looking in to find a reference to the > > > ability

Re: [NTG-context] xrightarrow specific size issue

2021-01-02 Thread Wolfgang Schuster
Johann Birnick schrieb am 02.01.2021 um 17:04: On Sat, 2021-01-02 at 14:30 +, Bruce Horrocks wrote: I'm not sure which manual you are looking in to find a reference to the ability to add a specific dimension. In the source I can only find named sizes of 'none', 'normal', 'small', 'medium

Re: [NTG-context] xrightarrow specific size issue

2021-01-02 Thread Johann Birnick
On Sat, 2021-01-02 at 14:30 +, Bruce Horrocks wrote: > I'm not sure which manual you are looking in to find a reference to the > ability to add a specific dimension. > > In the source I can only find named sizes of 'none', 'normal', 'small', > 'medium' and 'big'.

Re: [NTG-context] xrightarrow specific size issue

2021-01-02 Thread Bruce Horrocks
} > > According to different manuals also specific lengths should be possible. But > they don't work. I think it's a bug. (because the example from a documentation > doesn't work) > > Best regards, > Johann I'm not sure which manual you are looking in to find a reference to the

Re: [NTG-context] Bib support broken in lmtx

2020-12-26 Thread Hans Hagen
On 12/26/2020 11:29 AM, Philipp A. wrote: Thank you, but whitespace is ignored in .bib file syntax. To prove that whitespace handling isn’t the bug, just try accessing it: A \cite is a reference ... without list it doesn't reference anything. The \cite command puts a anchor in the text stream

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-25 Thread Christoph Reller
; >>> \definedescription[desc] >>> \starttext >>> \startdesc[title={Long title},reference=foo,referencetext={Short >>> Title}] >>> \input jojomayer >>> \stopdesc >>> \about[foo] >>> \stoptext >>> >

[NTG-context] issue with \cite in ConTeXt ver: 2020.12.22 22:14 LMTX fmt: 2020.12.22

2020-12-22 Thread Alan Bowen
\cite no longer works as expected MWE: \startsetups[tightspace] \spaceskip 0.5\interwordspace plus.5\interwordstretch minus \interwordshrink \stopsetups \def\dostartbibitem[#1][#2]% {\doifsomethingelse{#2}% {\startBibItem[reference={#1},title={#2}]}% {\startBibItem[reference={#1},title={#1

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-21 Thread Christoph Reller
On Sat, Dec 19, 2020 at 10:43 PM Christoph Reller < christoph.rel...@gmail.com> wrote: > Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: > >> Actually, what you want is: >> >> \definedescription[desc] >> \starttext >> \startdesc[title={Long

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Christoph Reller
Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: > Actually, what you want is: > > \definedescription >[desc] > > \starttext > > \startdesc[title={Long title},reference=foo,referencetext={Short > Title}] > \input jojomayer > \stopdesc &

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Hans Hagen
On 12/19/2020 6:05 PM, Christoph Reller wrote: Hi, In ConTeXt MKIV, there are selectors (\defineselector, \select). In ConTeXt LMTX, they are gone. In LMTX, how can I achieve the following without using selectors: (Different heading and reference texts for descriptions) \defineselector

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