Re: [NTG-context] "Remember picture" does not work (again)

2020-04-06 Thread Aditya Mahajan
On Mon, 6 Apr 2020, Jairo A. del Rio wrote: A Metapost alternative would be fine, too. See Chapter 5 of the metafun manual, which describes how anchors and position graphics. Aditya ___ If your question is of

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-06 Thread Henri Menke
The problem is that pgfplots uses the ^^ syntax to access characters but this relies on ^ having catcode 7 which is not the case by default in ConTeXt. I had a similar issue in PGF before and that was fixed by just replacing the ^^ syntax with the ascii code constants from syst-ini.mkxl. Cheers,

[NTG-context] "Remember picture" does not work (again)

2020-04-06 Thread Jairo A. del Rio
I've tried using the fix in https://tex.stackexchange.com/a/492197/193767 in order to make TikX's remember picture feature usable, Code below, just in case: \unprotect% This fixes the present

[NTG-context] Lmtx + pgfplots compilation error

2020-04-06 Thread Fabrice Couvreur
Hi, Still with the idea of using lmtx, I get a compilation error when I use pgfplots. Thank you. Fabrice open source > level 9, order 92, name 'pgfplotsbinary.data.code.tex' tex error > tex error on line 42 in file

Re: [NTG-context] Fwd: Using Lua files in project structure

2020-04-06 Thread Jairo A. del Rio
This worked for me. Thank you very much. El lun., 6 de abr. de 2020 a la(s) 11:11, Aditya Mahajan (adit...@umich.edu) escribió: > > On Mon, 6 Apr 2020, Jairo A. del Rio wrote: > > > > Well, I'll be more specific. I attach a zip file showing a minimal > example > > of what I achieved so far and

Re: [NTG-context] Using Lua files in project structure

2020-04-06 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 06.04.2020 um 15:58: Well, I'll be more specific. I attach a zip file showing a minimal example of what I achieved so far and its output (labelled "Works") and what I actually want, but does not work (labelled "Doesnotwork"). I've tried different commands and

Re: [NTG-context] Fwd: Using Lua files in project structure

2020-04-06 Thread Aditya Mahajan
On Mon, 6 Apr 2020, Jairo A. del Rio wrote: Well, I'll be more specific. I attach a zip file showing a minimal example of what I achieved so far and its output (labelled "Works") and what I actually want, but does not work (labelled "Doesnotwork"). I've tried different commands and

Re: [NTG-context] Float positioning

2020-04-06 Thread Tomas Hala
Hi Alexey, # Yes, I tried leftpage/rightpage: this removes the blank page, but may # cause images to be reordered (so that e. g. 3 goes before 2), which is # completely unacceptable IMO. Yes, you are right. But -- I do not know why -- your code you attached gives on my computer (TL2019) the

[NTG-context] Fwd: Using Lua files in project structure

2020-04-06 Thread Jairo A. del Rio
-- Forwarded message - De: Jairo A. del Rio Date: lun., 6 de abr. de 2020 a la(s) 08:58 Subject: Re: [NTG-context] Using Lua files in project structure To: Wolfgang Schuster Well, I'll be more specific. I attach a zip file showing a minimal example of what I achieved so far and

Re: [NTG-context] startMPpage..stopMPpage written to a separate PDF?

2020-04-06 Thread Wolfgang Schuster
Gerben Wierda schrieb am 05.04.2020 um 12:27: On 5 Apr 2020, at 11:34, Hans Hagen wrote: On 4/5/2020 12:29 AM, Gerben Wierda wrote: I have a series of startMPpage—stopMPpage pairs (with MP code inbetween). These now become separate pages in a single PDF. But I need them to become separate

Re: [NTG-context] Float positioning

2020-04-06 Thread Alexey Kryukov
Hi Tomas, thank you for your answer. Yes, I tried leftpage/rightpage: this removes the blank page, but may cause images to be reordered (so that e. g. 3 goes before 2), which is completely unacceptable IMO. Also, this doesn't help with the text flow at the page where the first image is

Re: [NTG-context] Float positioning

2020-04-06 Thread Tomas Hala
Hi Alexey, I do not how free are you in decision where figures should be located but I tried with "leftpage" and "rightpage" instead of "page" and it seems to be ok. \placefigure[rightpage]{one more cow}{\externalfigure[cow][width=150mm]} \placefigure[leftpage]{cow

[NTG-context] Float positioning

2020-04-06 Thread Alexey Kryukov
Hi all, Suppose I have the following document: \setupexternalfigures[location={local,default}] \starttext \dorecurse{3}{\input{knuth}} \placefigure[top]{cow}{\externalfigure[cow][width=150mm]} \input{knuth} \placefigure[page]{one more cow}{\externalfigure[cow][width=150mm]}

Re: [NTG-context] Trying to understand this ctxlua error

2020-04-06 Thread Gerben Wierda
On 6 Apr 2020, at 02:54, Wolfgang Schuster wrote: > > Gerben Wierda schrieb am 06.04.2020 um 00:41: >> I got this error after I had changed some lua code: >> tex error > tex error on line 272 in file archimate-lua.new: ! >> Undefined control sequence >> warnIfVerbose( "Breaking

Re: [NTG-context] startMPpage..stopMPpage written to a separate PDF?

2020-04-06 Thread Taco Hoekwater
> On 5 Apr 2020, at 12:27, Gerben Wierda wrote: > > Alternatively, I could have a step before this to turn the input XML into > many separate XMLs and have many ConTeXt runs. Probably that is the best way > to do it. Each generated XML would have all of the original XML except it > would