[NTG-context] Conflict between MetaPost (LMTX) and cmarrows
The following: \starttext \startMPinitializations input cmarrows; setup_cmarrows(arrow_name = "texarrow"; parameter_file = "cmr6.mf"; macro_name = "nicearrow"); \stopMPinitializations \startMPpage nicearrow (origin -- (1cm*left)); \stopMPpage \stoptext compiles perfectly with ConTeXt MkIV. With LMTX, however, the following happens: metapost > initializing instance 'metafun:1' using format 'metafun' and method 'default' metapost > loading 'metafun' as 'metafun.mpxl' using method 'default' metapost > initializing number mode 'scaled' metapost > message : Loading cmarrows 2006/12/18, v0.9 metafun > log > overloading immutable 'eps' metafun > log > metafun > log > error: Equation cannot be performed (numeric=pair) metafun > log > metapost > log > metapost > log > metapost > log > ; metapost > log > z_[incr.n]:=(EXPR0); metapost > log > ENDFOR metapost > log > ...nt(length(path))of(path),z2,point.ttt.of(path),z9-(0,3rule_thickness#),point.tt.of(path)-3rule_thickness#*(unitvector(direction.tt.of(path))rotated90):z_[incr.n]:=z;endfor metapost > log > ;transform.T... metapost > log > hide->exitif.numeric.begingroup(TEXT0) metapost > log > ;endgroup; metapost > log > mapto->begingroup.hide(numeric.n;n:=0;numeric.x,x_[],y,y_[];for.z=(TEXT2):z_[incr.n]:=z;endfor;transform.T;z_2=z_1transformed.T;z_4=z_3transformed.T;z_6=z_5transformed.T;) metapost > log > T.endgroup metapost > log > nicearrow__sgbxww->...(z0,point(length(EXPR2))of(EXPR2),z2,point.ttt.of(EXPR2),z9-(0,3rule_thickness#),point.tt.of(EXPR2)-3rule_thickness#*(unitvector(direction.tt.of(EXPR2))rotated90)) metapost > log > ;fi.save.f,s... metapost > log > metapost > log > ; metapost > log > <*> nicearrow (origin -- (1cm*left)); metafun > log > metafun > log > I'm sorry, but I don't know how to make such things equal. (See the two expressions just above the error message.) metafun > log > metapost > log > ; metapost > log > What's happening? Is that intended or a bug? Jairo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fwd: Corrupt PDF files with LMTX?
Thank you a lot for the fix! Regards, Jairo El sáb, 24 de abr. de 2021 a la(s) 11:18, Hans Hagen (j.ha...@xs4all.nl) escribió: > On 4/24/2021 3:05 PM, Jairo A. del Rio wrote: > > gives > > > > Error: stream Length incorrect. > > Output may be incorrect. > > Error: stream Length incorrect. > > Output may be incorrect. > > I'll check it > > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] clubs and widows in columns
Dear list, is there a way to avoid clubs and widows in columns? I don't know, how it would be implemented, if the task is splitting typeset vertical list. \setuppapersize[A7] \starttext \startcolumns[separator=rule, align={right,nothyphenated}] \dorecurse{12}{→ one two three four five\par} \stopcolumns \stoptext For a different task: are there some higher level commands in ctx than \vsplit primitive to play with vbox splitting? Thank you, Jano ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] arm osx
Great! I'm glad it worked OK! Best Wishes Keith On Sun, 25 Apr 2021, 09:59 Charles Doherty, wrote: > Dear Keith and Mojca, > > I followed the information provided buy Keith below and everything is > working just fine. Mojca I directed my request to Keith in the first > instance since I felt it was most likely my lack of knowledge of how to get > things going that was the problem (as usual). So thank you for your quick > response and offer to test. And thank you Keith for your example below it > did the trick. > > Very best wishes, > Charlie > > On 23 Apr 2021, at 15:53, Keith McKay wrote: > > Sorry. I put a typo in the engine file in my reply. It should be > > #!/bin/bash > > export > PATH=/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin:/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin > > /Users/pothole/data/contextarm64/tex/texmf-osx-64/bin/mtxrun > --autogenerate --script context --autopdf "$1" > > Best Wishes > > Keith > > > *** > CHARLES DOHERTY > 13 BANCROFT ROAD > TALLAGHT > DUBLIN > D24 YH2V > home: +353 1 2447483 > Mobile: +353 863868629 > charles.dohe...@icloud.com > > > > > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] arm osx
Dear Keith and Mojca, I followed the information provided buy Keith below and everything is working just fine. Mojca I directed my request to Keith in the first instance since I felt it was most likely my lack of knowledge of how to get things going that was the problem (as usual). So thank you for your quick response and offer to test. And thank you Keith for your example below it did the trick. Very best wishes, Charlie > On 23 Apr 2021, at 15:53, Keith McKay wrote: > > Sorry. I put a typo in the engine file in my reply. It should be > > #!/bin/bash > > export > PATH=/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin:/Users/pothole/data/contextarm64/tex/texmf-osx-64/bin > > /Users/pothole/data/contextarm64/tex/texmf-osx-64/bin/mtxrun --autogenerate > --script context --autopdf "$1" > > Best Wishes > > Keith > *** CHARLES DOHERTY 13 BANCROFT ROAD TALLAGHT DUBLIN D24 YH2V home: +353 1 2447483 Mobile: +353 863868629 charles.dohe...@icloud.com ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to write readable source files?
On 4/25/2021 2:12 PM, Nicola wrote: On 2021-04-25, juh wrote: I am married to Emacs but have an affair with Vim. ;-) Eventually, you will abandon the dark side of the Force ;-) I real IDE-like support for ConTeXt would be nice: setup-en.pdf is always open when I write environments as I cannot remember all commands and options. If my editor would give me a list of possible commands when I just type some letters and then give possible options when I edit inside a command – that would be great. If there is a way to automatically get a list of all ConTeXt commands and options (and, ideally, MetaFun defs, types, and other keywords), I'd be happy to improve omni-completion for ConTeXt in Vim. All is in xml files (i-*.xml) in the distribution maintained by Wolfgang. We ship with this for editors: >dir t:\texmf\context\data 04/21/2021 11:40 AM scite 04/21/2021 11:40 AM textadept 04/21/2021 11:40 AM texworks 04/21/2021 11:40 AM vscode these lists are generated by mtx-interface so we can add more if needed 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to write readable source files?
On 2021-04-25, juh wrote: > I am married to Emacs but have an affair with Vim. ;-) Eventually, you will abandon the dark side of the Force ;-) > I real IDE-like support for ConTeXt would be nice: setup-en.pdf is > always open when I write environments as I cannot remember all commands > and options. If my editor would give me a list of possible commands when > I just type some letters and then give possible options when I edit > inside a command – that would be great. If there is a way to automatically get a list of all ConTeXt commands and options (and, ideally, MetaFun defs, types, and other keywords), I'd be happy to improve omni-completion for ConTeXt in Vim. Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to write readable source files?
Hi Nicola, Am Sat, Apr 24, 2021 at 07:25:27PM - schrieb Nicola: > I maintain the ConTeXt plugin for Vim. Currently, there are no > indentation rules (except for embedded MetaPost code), and that is > intentional: as the examples above show, there is no commonly accepted > indentation style, so forcing one on the user is not a good idea. I am married to Emacs but have an affair with Vim. ;-) I use it from time to time including your plugin. I don't have a strong opinion about indentation. So I won't mind if a tool would just do it for me. But I understand your point. And I tend to say that not indenting text between start-stop-commands is the way I want my text. I don't like to reflow paragraphs as I want to have one line for each sentence. This is my only opinion about formatting text. Not indenting is a good idea because sometimes I have really long lines and identation would make them even longer. I real IDE-like support for ConTeXt would be nice: setup-en.pdf is always open when I write environments as I cannot remember all commands and options. If my editor would give me a list of possible commands when I just type some letters and then give possible options when I edit inside a command – that would be great. Thanks a lot for your help Jan Ulrich Hasecke -- Autoren-Homepage: . http://literatur.hasecke.com Satiren & Essays: . http://www.sudelbuch.de Privater Blog: http://www.hasecke.eu Netzliteratur-Projekt: http://www.generationenprojekt.de signature.asc Description: PGP signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___