Hi, Thanks for having had a look into the t-vim. At least the document compiles fine (I get a PDF), although multiple complaints from the lua end when I use "$" or "#" in my source, for example #!/usr/bin/bash etc. culminating in Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn''t ask for it. If you're in the wrong mode, you might be able to return to the right one by typing 'I}' or 'I$' or 'I\par'. Seems as if LMTX tried to interpret something literally here … Further, I get a lot of fonts > beware: no fonts are loaded yet, using 'lm mono' in box fonts > checking > char i (U+00069) in font '' with id 0: missing fonts > checking > char n (U+0006E) in font '' with id 0: missing warnings. Maybe some things need to be adjusted? (Second mail with another error in LMTX follows.) Cheers Benjamin
On Aug 20, 2021, at 12:00, ntg-context-request@ntg.nl wrote:
Hi,
Here are the highlights of todays update:
- somewhat more compact tuc files, not for all documents, but it can accumulate; also less memory used then; i could bring down an extreme 2000 page 5 column doc tuc file down to 5% -- it was 70 MB; for the luametatex manual it reducec the tuc more than 30%; hard to tell if there will be an associated performance hit, but i'm sure thomas will complain if that's the case
- more mp-tex-lua interfacing upgraded plus extra preliminary chapter for luametafun about extensions - for taco
- a slightly more compact cache files for fonts with many (pseudo) ligatures; hopefully no side effects (nothing that can't be fixed fast if noted); quite probably no performance hit and maybe even some room for optimization (not done yet)
- a split in the cache directory for luametatex so that we can more easilly experiment without interference (so, although the above works in mkiv it's not enabled there currently)
- some minor things (also in the process of splitting the codebase)
- no real changes in / additions to the luametatex binary (we're in cosmetics mode now)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Benjamin Buchmuller via ntg-context schrieb am 23.08.2021 um 00:10:
Hi,
Thanks for having had a look into the t-vim.
At least the document compiles fine (I get a PDF), although multiple complaints from the lua end when I use "$" or "#" in my source, for example
#!/usr/bin/bash
etc. culminating in
Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn''t ask for it. If you're in the wrong mode, you might be able to return to the right one by typing 'I}' or 'I$' or 'I\par'.
Seems as if LMTX tried to interpret something literally here …
Further, I get a lot of
fonts > beware: no fonts are loaded yet, using 'lm mono' in box fonts > checking > char i (U+00069) in font '' with id 0: missing fonts > checking > char n (U+0006E) in font '' with id 0: missing
warnings. Maybe some things need to be adjusted?
(Second mail with another error in LMTX follows.)
Can you provide a minimal working (or in your case not working) example for the problem. Wolfgang
On 8/23/2021 12:10 AM, Benjamin Buchmuller via ntg-context wrote:
Hi,
Thanks for having had a look into the t-vim.
At least the document compiles fine (I get a PDF), although multiple complaints from the lua end when I use "$" or "#" in my source, for example
#!/usr/bin/bash
etc. culminating in
Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn''t ask for it. If you're in the wrong mode, you might be able to return to the right one by typing 'I}' or 'I$' or 'I\par'.
Seems as if LMTX tried to interpret something literally here …
Further, I get a lot of
fonts > beware: no fonts are loaded yet, using 'lm mono' in box fonts > checking > char i (U+00069) in font '' with id 0: missing fonts > checking > char n (U+0006E) in font '' with id 0: missing
warnings. Maybe some things need to be adjusted? THis normally means that you have someting before the \starttext that gets typeset (here the word "in")
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
This is the setup I have been using, but I'm unsure if the problem could be related to the other problem I had. (Not scaled to a MWE, but short enough.) I figured the issue by removing some of the lines. \usemodule[vim] \definetextbackground[codebkg] [ frame=on, framecolor=black, background=, location=paragraph, ] \definevimtyping[vimR] [ syntax=r, space=off, lines=split, numbering=yes, numberstep=5, alternative=pscolor, margin=.5em, style={\switchtobodyfont[type,small]\setupinterlinespace}, before={\blank[white,small]\startcodebkg}, % a bit of extra space after={\stopcodebkg}, directory=vimout/, % note: you must create this folder yourself! ] \starttext \startvimR #!/usr/bin/env R included_aa <- list( `6d1t` = 2:81, `6cnq` = 146:225, `6ccg` = 2:81, `4lg7` = 76:167, `3c2i` = 90:181) %>% enframe() %>% unnest(cols = "value") %>% rename(protein = "name", aa_pos = "value") %>% mutate(chain = "A") %>% mutate(include_aa = TRUE) \stopvimR \stoptext So, the first "i", "n" etc. come from "include_aa" after I remove the shebang statement. The lines with "#" and "$" (in other pieces not shown) cause the complaints. I also realized that I get output for each vim block, but instead of a "vimout", I get a "pdf" (error) and a "log" (some attached) now. Also, the blocks get recompiled with each run even if their content doesn't change which was the previous behavior.
On Aug 23, 2021, at 08:19, Hans Hagen
wrote: On 8/23/2021 12:10 AM, Benjamin Buchmuller via ntg-context wrote:
Hi, Thanks for having had a look into the t-vim. At least the document compiles fine (I get a PDF), although multiple complaints from the lua end when I use "$" or "#" in my source, for example #!/usr/bin/bash etc. culminating in Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn''t ask for it. If you're in the wrong mode, you might be able to return to the right one by typing 'I}' or 'I$' or 'I\par'. Seems as if LMTX tried to interpret something literally here … Further, I get a lot of fonts > beware: no fonts are loaded yet, using 'lm mono' in box fonts > checking > char i (U+00069) in font '' with id 0: missing fonts > checking > char n (U+0006E) in font '' with id 0: missing warnings. Maybe some things need to be adjusted? THis normally means that you have someting before the \starttext that gets typeset (here the word "in")
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote:
This is the setup I have been using, but I'm unsure if the problem could be related to the other problem I had. (Not scaled to a MWE, but short enough.) I figured the issue by removing some of the lines.
I get the same error. Most likely due to some grouping issue because there is also this: system > invalid \starttext ... \stoptext structure I'll look into it. Aditya
On 8/23/2021 7:42 PM, Aditya Mahajan wrote:
On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote:
This is the setup I have been using, but I'm unsure if the problem could be related to the other problem I had. (Not scaled to a MWE, but short enough.) I figured the issue by removing some of the lines.
I get the same error. Most likely due to some grouping issue because there is also this:
system > invalid \starttext ... \stoptext structure
I'll look into it. Hopefully I didn't mess up something.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, 23 Aug 2021, Aditya Mahajan via ntg-context wrote:
On Mon, 23 Aug 2021, Benjamin Buchmuller via ntg-context wrote:
This is the setup I have been using, but I'm unsure if the problem could be related to the other problem I had. (Not scaled to a MWE, but short enough.) I figured the issue by removing some of the lines.
I get the same error. Most likely due to some grouping issue because there is also this:
system > invalid \starttext ... \stoptext structure
I'll look into it.
The error was due to the change in job.files.run macro. I have adapted the t-filter module to use the new interface. So, the error should go away if you update your installed modules. Thanks for the bug report. Aditya
participants (4)
-
Aditya Mahajan
-
Benjamin Buchmuller
-
Hans Hagen
-
Wolfgang Schuster