Re: [NTG-context] Bloody PDF boxes and cr*p marks!

2021-10-31 Thread Duncan Hothersall via ntg-context
Thank you for this, that's the first time this stuff has made any sense to me. On Sat, 30 Oct 2021 at 20:22, Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > I finally reworked the wiki page https://wiki.contextgarden.net/PDF_Boxes > and also extended

[NTG-context] \doifinstring: strange characters on the output

2021-10-31 Thread Tomas Hala via ntg-context
Hi all, I noticed that \doifinstring produces quite strange output if a command follows immediately (or with any amount of spaces) after the substring I am searching for: -MWE \starttext \def\xxx{asdf \bf Z:\bf asdf} % strange \def\xxx{asdf \bf Z:

Re: [NTG-context] \externafigure and \at do not work together

2021-10-31 Thread Otared Kavian via ntg-context
Hi, Your example has two issues, since you invoke \externalfigure before \starttext, and moreover you don’t use the place figure mechanism. The following gives the result you want: \setupinteraction[state=start] \starttext \startplacefigure[reference=clock] \externalfigure[clock.jpg]

Re: [NTG-context] Cannot access Lua function

2021-10-31 Thread kauśika cittūr via ntg-context
On Sunday, October 31, 2021 2:43:48 PM IST Hans Hagen wrote: > I bet that clever students can trace that down -) Just to clarify, I am a student at university. Have to make some documents as a teaching assistant in courses so many students use the same abbreviations. > > in that case you

Re: [NTG-context] \externafigure and \at do not work together

2021-10-31 Thread Bruce Horrocks via ntg-context
I thought it was necessary to use one of the derivations of \placefloat in order to get the reference generated. In your case this would be \placefigure thus: \starttext \placefigure [ ] [clock] { } {\externalfigure[clock.jpg]} \at[clock] refers to a clock \stoptext > On 31 Oct 2021, at

Re: [NTG-context] \externafigure and \at do not work together

2021-10-31 Thread a badin via ntg-context
The fix is not really a fix thought, as it makes the image of the figure disappear. Still don't know how to make a .jpg work with \at On Sun, 31 Oct 2021 at 13:07, a badin wrote: > > Hello, perhaps this is how it is supposed to work, but: > > \externalfigure[clock.jpg][clock] > \starttext >

[NTG-context] \externafigure and \at do not work together

2021-10-31 Thread a badin via ntg-context
Hello, perhaps this is how it is supposed to work, but: \externalfigure[clock.jpg][clock] \starttext \at[clock] refers to a clock \stoptext produces "?? refers to a clock", instead of "1 refers a clock" --- the wiki of \at says, that labels of figures can be refered to. Is this a bug, or can

[NTG-context] SyncTeX setup

2021-10-31 Thread Henning Hraban Ramm via ntg-context
Hi, has anyone a working SyncTeX setup with ConTeXt LMTX for anything else than TeXshop? With LaTeX, it works for me with Skim (+ Atom/Textadept/TeXworks) and TeXstudio. And in TeXshop we got our own parser. But can we expect others to adapt to our “superior” SyncTeX format? (I don’t

Re: [NTG-context] Cannot access Lua function

2021-10-31 Thread Hans Hagen via ntg-context
On 10/31/2021 5:35 AM, kauśika cittūr wrote: On Saturday, October 30, 2021 9:16:15 PM IST Hans Hagen wrote: cf the pdf speca: Creator: If the document was converted to PDF from another format, the name of the PDF processor that created the original document from which it was converted.