Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jeong Dal via ntg-context
{\rm{F}} > \def\henry {\rm{H}} > \def\second{\rm{s}} > \def\coulomb {\rm{C}} > \def\siemens {\rm{S}} > \def\radians {\rm{rad}} > \def\milli {\rm{m}} > \def\micro {\mu} > \def\nano {\rm{n

Re: [NTG-context] TeXWorks and synctex SOLVED

2021-12-13 Thread Bruce Horrocks via ntg-context
ces -> Engines -> Alternate path *must* be set to your LMTX installation. For me on an Intel Mac that is: /Users/bruce/Applications/context-osx-64/tex/texmf-osx-64/bin TeXShop uses this path to launch the program it needs to convert a synctex location into a file name and line number. If

Re: [NTG-context] adding module to ConTeXt basic installation

2021-11-11 Thread Denis Maier via ntg-context
Bruce, I think what the Amine is referring to with "render" is running the code through an external program, and including the result of that external process in your document. Something like this: % The result of 1 + 1 is \python

Re: [NTG-context] check installed program using Lua

2021-11-02 Thread Pablo Rodriguez via ntg-context
On 11/1/21 5:13 PM, Hans Hagen via ntg-context wrote: > On 11/1/2021 2:26 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Is there a way to wrap os.exec() in the sample so that it only runs if >> "dir" is available? >> >> I know that os.name would be an option here, but not in my real world

Re: [NTG-context] check installed program using Lua

2021-11-02 Thread Pablo Rodriguez via ntg-context
On 11/1/21 3:10 PM, Taco Hoekwater via ntg-context wrote: >> [...] >> Is there a way to wrap os.exec() in the sample so that it only runs if >> "dir" is available? > > if os.which(‘dir’) then > ... > end > > But note that os.which() may be unreliable in various cases (like it > will fail for

Re: [NTG-context] check installed program using Lua

2021-11-01 Thread Hans Hagen via ntg-context
On 11/1/2021 2:26 PM, Pablo Rodriguez via ntg-context wrote: Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filen

Re: [NTG-context] check installed program using Lua

2021-11-01 Thread Taco Hoekwater via ntg-context
> On 1 Nov 2021, at 14:26, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > is there a way if a program is installed on the computer using Lua. > > I have the following sample: > > \starttext > \startluacode > filename = tex.jobname ..

[NTG-context] check installed program using Lua

2021-11-01 Thread Pablo Rodriguez via ntg-context
Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filename) \stopluacode \stoptext Is there a way to wrap os.exec() in the sa

Re: [NTG-context] A book with sections

2021-10-24 Thread Duncan Hothersall via ntg-context
___ > 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

Re: [NTG-context] upload

2021-10-22 Thread Hans Hagen via ntg-context
mes. The PDF spec says: If no UT information is specified, the relationship of the specified time to UT shall be considered to be GMT. Regardless of whether the time zone is specified, the rest of the date shall be specified in local time. EXAMPLE: For example, December

Re: [NTG-context] upload

2021-10-22 Thread Michal Vlasák via ntg-context
local time. EXAMPLE: For example, December 23, 1998, at 7:52 PM, U.S. Pacific Standard Time, is represented by the string D:199812231952-08'00 A test program: \enabletrackers[backend.info] \enabledirectives[backend.date=1234-12-30]% 1234-12-30T00:00:00+02:00

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-12 Thread Rudd, Kevin via ntg-context
, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Program Laboratory for Physical Sciences (LPS) 443-654-7878 ke...@lps.umd.edu<mailto:ke...@lps.umd.edu> Visiting Research Professor United States Naval Academy r...@usna.ed

Re: [NTG-context] Clickable url problem with \useurl and \url

2021-10-12 Thread Rik Kabel via ntg-context
the value of \from) but in others, the \from is clickable but not the \url. It does seem sensitive to the urlL, but I cannot see a pattern. It is the pdf viewer program that automatically interprets the \url-produced text and 'invents' a link, it is not ConTeXt itself. The exact rules may therefore

Re: [NTG-context] Clickable url problem with \useurl and \url

2021-10-12 Thread Taco Hoekwater via ntg-context
of \from) but in others, the \from is clickable but > not the \url. > > It does seem sensitive to the urlL, but I cannot see a pattern. It is the pdf viewer program that automatically interprets the \url-produced text and 'invents' a link, it is not ConTeXt itself. The exact r

Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-10 Thread Hans Hagen via ntg-context
ideas, but none that I'm happy about. 1. Export LaTeX to MathML then import that into ConTeXt. I don't know    how to get this to work. latexmlmath only returns the first row of    `align` environments (for me anyway). Also, this would require users    to install another program. 2. Typeset

[NTG-context] Converting LaTeX math to ConTeXt

2021-10-09 Thread Jason Ross via ntg-context
to MathML then import that into ConTeXt. I don't know how to get this to work. latexmlmath only returns the first row of `align` environments (for me anyway). Also, this would require users to install another program. 2. Typeset equations with LaTeX as standalone pages and then include them

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-08 Thread Rudd, Kevin via ntg-context
thanks, Hans— that's so much simpler an approach. i'll have to look into text effects to see what else can be done. many many thanks! ---K Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Program Laboratory for Phys

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-08 Thread Hans Hagen via ntg-context
t{aaa} and {\red \effect[MyEffect]{Bbb}} \OutlinedText{Bbb} and {\green\effect[MyEffect]{ggg}} \OutlinedText{ggg} and {\blue \effect[MyEffect]{Yyy}} \OutlinedText{Yyy} finish \stoptext Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advan

[NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-07 Thread Rudd, Kevin via ntg-context
Any feedback or suggestions would be appreciated. ---K Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Program Laboratory for Physical Sciences (LPS) 443-654-7878 ke...@lps.umd.edu<mai

[NTG-context] Running the examples from METAFUN-p

2021-10-01 Thread Alain Delmotte via ntg-context
: \stopoverlay}} 1 >> %% !TeX program = ConTeXt 2 3 4 \starttext 5 6 \startbuffer[a] 7 def start_everything = enddef ; 8 def stop_everything = enddef ; 9 \stopbuffer 10 11 \startbu

Re: [NTG-context] running tikz

2021-10-01 Thread Henri Menke via ntg-context
ke to use tikz to benefit of the package "pgf-soroban" > > > I > > > did write for LaTeX (after adapting it and before, later, to > > > translate it to metapost). > > > > > > I did try the sample program from the tikz manual, but I get an

Re: [NTG-context] running tikz

2021-10-01 Thread Hans Hagen via ntg-context
TeX (after adapting it and before, later, to translate it to metapost). I did try the sample program from the tikz manual, but I get an error saying that "t-pgf.tex" is not found; but it is in the tree of ConTeXt-lmtx. How to make all the files in the distribution known to t

Re: [NTG-context] running tikz

2021-09-30 Thread Aditya Mahajan via ntg-context
g it and before, later, to > > translate it to metapost). > > > > I did try the sample program from the tikz manual, but I get an error > > saying that "t-pgf.tex" is not found; but it is in the tree of > > ConTeXt-lmtx. > > > > How to make a

Re: [NTG-context] running tikz

2021-09-30 Thread Aditya Mahajan via ntg-context
On Thu, 30 Sep 2021, Alain Delmotte via ntg-context wrote: > > Hi! > > I would like to use tikz to benefit of the package "pgf-soroban" I did write > for > LaTeX (after adapting it and before, later, to translate it to metapost). > > I did try the sample p

Re: [NTG-context] running tikz

2021-09-30 Thread Hans Hagen via ntg-context
On 9/30/2021 11:57 AM, Alain Delmotte via ntg-context wrote: Hi! I would like to use tikz to benefit of the package "pgf-soroban" I did write for LaTeX (after adapting it and before, later, to translate it to metapost). I did try the sample program from the tikz manual, but I ge

Re: [NTG-context] running tikz

2021-09-30 Thread Alain Delmotte via ntg-context
TeX (after adapting it and before, later, to translate it to metapost). I did try the sample program from the tikz manual, but I get an error saying that "t-pgf.tex" is not found; but it is in the tree of ConTeXt-lmtx. How to make all the files in the distribution known to the compiler?

Re: [NTG-context] running tikz

2021-09-30 Thread Henri Menke via ntg-context
On Thu, 2021-09-30 at 11:57 +0200, Alain Delmotte via ntg-context wrote: > Hi! > > I would like to use tikz to benefit of the package "pgf-soroban" I > did write for LaTeX (after adapting it and before, later, to > translate it to metapost). > > I did try the samp

[NTG-context] running tikz

2021-09-30 Thread Alain Delmotte via ntg-context
Hi! I would like to use tikz to benefit of the package "pgf-soroban" I did write for LaTeX (after adapting it and before, later, to translate it to metapost). I did try the sample program from the tikz manual, but I get an error saying that

Re: [NTG-context] Getting Textadept to open pdf?

2021-09-27 Thread Hans Hagen via ntg-context
My backup plan (in case it all stops working) is VScode but even that one keeps changing (e.g. the way extensions are enabled on the command line) and it doesn't have the convenient 'run some program based on suffix' feature that other editors have. So ... the question is: should I waste time on

Re: [NTG-context] getting line numbers

2021-09-05 Thread Fabrice Couvreur via ntg-context
se, here is what I > would like to do. > > > > Also look at the filter module. > > > > https://github.com/adityam/filter > > > > Behind the scenes, it works by saving the content in an external file > and then > > running it through any external pr

Re: [NTG-context] getting line numbers

2021-09-04 Thread thierry horsin via ntg-context
Subject: Re: [NTG-context] getting line numbers Message-ID: Content-Type: text/plain; charset=US-ASCII On Fri, 3 Sep 2021, Thierry Horsin via ntg-context wrote: https://github.com/adityam/filter Behind the scenes, it works by saving the content in an external file and then runnin

Re: [NTG-context] getting line numbers

2021-09-03 Thread Hans Hagen via ntg-context
. Also look at the filter module. https://github.com/adityam/filter Behind the scenes, it works by saving the content in an external file and then running it through any external program. It also allows for caching the result, and has many options for customizing the behavior. you forgot

Re: [NTG-context] getting line numbers

2021-09-03 Thread Aditya Mahajan via ntg-context
le. https://github.com/adityam/filter Behind the scenes, it works by saving the content in an external file and then running it through any external program. It also allows for caching the result, and has many options for customizing the be

Re: [NTG-context] error in mtxrun.lua line 4548 in August 24th update

2021-08-25 Thread mf via ntg-context
nd concat({ two,three,... },"/") or two) 4547 end 4548 if lpegmatch(isnetwork,one) then At line 4545 you check only for one being an empty string, but it happens to be nil, so the program fails at line 4548. Patching line 4545 like this: 4545 if not one or one=="&quo

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-27 Thread Michal Vlasák via ntg-context
gt; useful' set of support needed; mupdf has javascript but nto realaly for > annotations (for instance the ability to control layers and widget > states would be nice ... it's trivial to program in viewers i bet) I also looked into JavaScript. Exactly as you say MuPDF has JavaScript, but only for f

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-27 Thread Hans Hagen via ntg-context
a problem the command line program qpdf is one of the best programs to check (when luigi sand i were checking luatex pdf issues we used qpdf and mupdf mostly) Now to the different mechanisms: 1) Sound objects - First appeared in PDF 1.2 (1996), but had since been deprecated (PDF 1.5

[NTG-context] \setupinitial: style Parameter resets size

2021-07-25 Thread Axel Kielhorn
before LMTX, thus it is not a regression. % !TEX TS-program = ConTeXt (LuaTeX LMTX2021) % !TEX encoding = UTF-8 Unicode \starttext \setupinitial[color=red] \start \setupinitial[n=2,m=1] \placeinitial\input ward \stop \start \setupinitial[style=\tf,n=2,m=1] \placeinitial\input ward \stop

Re: [NTG-context] another MetaPost question (this time on ConTeXt->MetaPost color transfer)

2021-07-22 Thread Rudd, Kevin
dd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Program Laboratory for Physical Sciences (LPS) 443-654-7878 ke...@lps.umd.edu<mailto:k

[NTG-context] another MetaPost question (this time on ConTeXt->MetaPost

2021-07-22 Thread Rudd, Kevin
uot;orange" ]; \stopMPcode \stopplacefigure \stopalignment \color[Thin:orange]{goodbye} \stoptext Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing

[NTG-context] MP keyword function: string parameters no longer accept string variables directly

2021-07-21 Thread Rudd, Kevin
Test [ color = "fuschia" ]; show "string variable fuschia = " & fuschia & " ..."; Test [ color = fuschia ]; show "expression containing string variable fuschia = " & fuschia & " ..."; Te

[NTG-context] MP boxes: boxjoin not recognized?

2021-07-21 Thread Rudd, Kevin
% boxjoin(a.se<http://a.se/>=b.sw; a.ne=b.nw); boxit.a("a"); boxit.bb("bb"); boxit.ccc("ccc"); drawboxed(a,bb,ccc); \stopMPcode \stopplacefigure \stopalignment goodbye \stoptext %

Re: [NTG-context] ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,

2021-07-21 Thread Rudd, Kevin
Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Program Laboratory for Physical Sciences (LPS) 443-654-7878 ke...@lps.umd.edu<mailto:ke...@lps.umd.edu> Visiting Research Professor United States Naval Academy r.

Re: [NTG-context] ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,

2021-07-21 Thread Rudd, Kevin
et all of these spaces commands are used in math mode. Sure, and thet adaot to math mode. They will nto dissppear, it's just that in macros I like more verbose names. Hans Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Resear

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
and get two rows of ten boxes. They don't move so it's not like an animated GIF was put into the PDF and they don't appear to be consecutive frames that could be joined into an animated GIF. For me, this feature provides the same capability as 'layers' in a graphical program. Consider

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
and get two rows of ten boxes. They don't move so it's not like an animated GIF was put into the PDF and they don't appear to be consecutive frames that could be joined into an animated GIF. For me, this feature provides the same capability as 'layers' in a graphical program. Consider

Re: [NTG-context] weekend upload

2021-07-11 Thread Aditya Mahajan
d get two rows of ten boxes. They don't move so it's not like > an animated GIF was put into the PDF and they don't appear to be consecutive > frames that could be joined into an animated GIF. For me, this feature provides the same capability as 'layers' in a graphical program. Con

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Hans Hagen
. According to my tests LMTX doesn't work like you describe it should. i'll check it (in retrospect tex could better have enforced a suffix and not fallback on .tex but i suppose the usage scenarios were hard to foresee let alone the restart-the-program-time-penalty when you forgot to add .tex) Hans

[NTG-context] error luatex exceptions

2021-06-29 Thread Steffen Wolfrum
xmf-context/tex/context/base/mkiv/lang-ini.lua:566> (...tail calls...) 1 % engine=luatex 2 %!TEX TS-program = ConTeXt LMTX 3 4 \startexceptions 5 6 con-text 7 8 >> \stopexceptions 9 10 \starttext 11 12 context 13 14 \s

[NTG-context] lmtx upload

2021-06-24 Thread Hans Hagen
variant uses the basic decompressor of the engine (different in lmtx than in mkiv but that should not matterl i only tested lmtx). The xz one is a bit more special as it uses the external xz program unless one has limlzma installed, e.g. in: tex/texmf-win64/bin/lib/luametatex/lzma

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Henning Hraban Ramm
> Am 18.06.2021 um 04:08 schrieb Thangalin : > > Hraban, > > > In what kind of workflows does your program make sense? > > Have you looked around the web lately? > > KeenWrite (https://github.com/DaveJarvis/keenwrite), my plain text editor, > can neither con

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Hans Hagen
On 6/18/2021 4:08 AM, Thangalin wrote: Hraban, > In what kind of workflows does your program make sense? Have you looked around the web lately? KeenWrite (https://github.com/DaveJarvis/keenwrite <https://github.com/DaveJarvis/keenwrite>), my plain text editor, can neither co

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-17 Thread Thangalin
Hraban, > In what kind of workflows does your program make sense? Have you looked around the web lately? KeenWrite (https://github.com/DaveJarvis/keenwrite), my plain text editor, can neither convert nor easily type curly quotes into the application. Recently, I added ConTeXt integrat

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-17 Thread Hans Hagen
program make sense? (Please don’t be offended, my view is limited.) lua is normally fast enough to handle it wirh a few expresions or lpeg but in the end it depends on hwo far one will go for instance, if it is for converting gutenberg files that extensive conversion can help ... with intermediate

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-17 Thread Henning Hraban Ramm
, e.g. English marks in a German text, a mixture of curly/straight marks, traditional LaTeX q. marks and similar mistakes. Some programs have a default of English single quotes with German double quotes :( In what kind of workflows does your program make sense? (Please don’t be offended, my view

Re: [NTG-context] setup parameter problem

2021-06-07 Thread Hans Hagen
On 6/7/2021 6:17 PM, Hans van der Meer wrote: The code below seems ok in \startsection[title=] but not when I program the parameter collection with \def\setupparameters{\getparameters[prefix]} In that case even [title={enclosed value}] crashes with error message: Use of \doMacro doesn't match

[NTG-context] setup parameter problem

2021-06-07 Thread Hans van der Meer
The code below seems ok in \startsection[title=] but not when I program the parameter collection with \def\setupparameters{\getparameters[prefix]} In that case even [title={enclosed value}] crashes with error message: Use of \doMacro doesn't match its definition. Obviously I am missing something

Re: [NTG-context] mathcolor attribute in MathML (mkiv)

2021-05-27 Thread Duncan Hothersall
> 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

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-21 Thread Hans Hagen
file' because how does a tex file knows what pdf is related? When the 'call external program' approach is used I can have an alternative (lua) output that is easier and might do that (less work). Lets first go one direction. Dick prefers to tackle both directions at once: maybe you can

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-21 Thread Nicola
e a .tex file and a line number, and maybe also an optional column number, and mtxrun outputs a .pdf file, a page number and a coordinate pair or bounding box (I don't know what the best output is). > When the 'call external program' approach is used I can have an > alternative (lua) outp

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-20 Thread Hans Hagen
there, so you can try to convince the texshop creator to support this: -- call an external program with these arrguments (the texhop editor knows the positions as it has the viewer built in) -- go to reported file and line ...which could be as well this. Feel free to ask him, I've got

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-20 Thread Nicola
e info is just there, so you can try to convince the texshop >>> creator to support this: >>> >>> -- call an external program with these arrguments (the texhop editor >>> knows the positions as it has the viewer built in) >>> -- go to reported file

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-17 Thread Nicola
On 2021-05-16, Hans Hagen wrote: > On 5/16/2021 5:30 PM, Nicola wrote: > >>> see? the info is just there, so you can try to convince the texshop >>> creator to support this: >>> >>> -- call an external program with these arrguments (the texho

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-16 Thread Hans Hagen
try to convince the texshop creator to support this: -- call an external program with these arrguments (the texhop editor knows the positions as it has the viewer built in) -- go to reported file and line ...which could be as well this. Feel free to ask him, Hans

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-16 Thread Otared Kavian
ing generated stuff in the otr that makes no sense to > sync to because it has no file; we also protect styles from being accessed > that way) > > now, in my opinion, the biggest drawback of synctex is that one needs to > compile it into the editor/viewer. Far better would have

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-16 Thread Nicola
=min] I am not sure whether method=min is necessary. Anyway, search for useOldSyncParser in Help > Changes for the details. > now, in my opinion, the biggest drawback of synctex is that one needs to > compile it into the editor/viewer. Far better would have been to let the > viewer cal

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-16 Thread Hans Hagen
opinion, the biggest drawback of synctex is that one needs to compile it into the editor/viewer. Far better would have been to let the viewer call out to an external program (configurable) that reports back the file and line ... more flexible, better upward compatibility, no need to have the synctex

Re: [NTG-context] underscore hyphenation not working

2021-05-10 Thread Hans Hagen
, and think that a widely--praised program, called up on the screen, will make every- thing automatic from now on. but at the cost of runtime you can try \setupbackend [space=yes] Hans - Hans Hagen

Re: [NTG-context] Update setpath to set the path

2021-05-10 Thread Aditya Mahajan
r this change is because the Windows installation instructions > (on the wiki) are incomplete: technically, the user must run setpath.bat > for each new session. This is how setuptex works on linux as well. > This implies that any third-party program that wants > to make use of ConTeXt

[NTG-context] Update setpath to set the path

2021-05-09 Thread Thangalin
rather than system-wide. Perhaps two different batch files? The reason for this change is because the Windows installation instructions (on the wiki) are incomplete: technically, the user must run setpath.bat for each new session. This implies that any third-party program that wants to make use of

Re: [NTG-context] weird word breaking in Win64

2021-05-08 Thread Pablo Rodriguez
nes > or the instruction manuals which > they get with the purchase of a PC or software. > There is not so much basic instruction, > as of now, as there was in the old > days, showing the differences between good > and bad typographic design. Many people > are just fascinated by th

Re: [NTG-context] weird word breaking in Win64

2021-05-08 Thread denis.maier
. Many people are just fascinated by their PC's tricks, and think that a widely--praised program, called up on the screen, will make everything automatic from now on. > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Pablo > Rodriguez > Gesendet: Samstag, 8. Ma

[NTG-context] weird word breaking in Win64

2021-05-08 Thread Pablo Rodriguez
which they get with the purchase of a PC or software. There is not so much basic instruction, as of now, as there was in the old days, showing the differences between good and bad typographic design. Many people are just fascinated by their PC's tricks, and think that a widely--praised program

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

2021-05-01 Thread Nicola
changes -- and only your changes, not an % entire copy! -- in ../../texmf.cnf. That is, if this file is % installed in /some/path/to/texlive/2020/texmf-dist/web2c/texmf.cnf, % add your custom settings to /some/path/to/texlive/2020/texmf.cnf. % (Below, we use in place of the specific year.) % %

Re: [NTG-context] Set luatex cache directory path

2021-04-06 Thread Hans Hagen
<https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053>) * The temp directory is cleared on Linux (Unix?) system reboots; purged during regular Windows upkeep * The temp directory is writable by default * Changing the location requires calling an additional program, which

Re: [NTG-context] Set luatex cache directory path

2021-04-06 Thread Aditya Mahajan
tu/+source/snapd/+bug/1575053) >- The temp directory is cleared on Linux (Unix?) system reboots; purged >during regular Windows upkeep >- The temp directory is writable by default >- Changing the location requires calling an additional program, which >isn't obvious (p

Re: [NTG-context] Set luatex cache directory path

2021-04-06 Thread Thangalin
(Unix?) system reboots; purged during regular Windows upkeep - The temp directory is writable by default - Changing the location requires calling an additional program, which isn't obvious (principle of least astonishment) My text editor invokes ConTeXt like: if( TYPESETTER.canRun

Re: [NTG-context] Escaping reserved/problematic characters

2021-03-11 Thread Wolfgang Schuster
Benct Philip Jonsson schrieb am 11.03.2021 um 18:37: In a program I'm writing I have a function for escaping characters which are reserved or problematic in LaTeX. I would like to have a corresponding function for ConTeXt, so I'm wondering which ones are different/superfluous/missing from

[NTG-context] Escaping reserved/problematic characters

2021-03-11 Thread Benct Philip Jonsson
In a program I'm writing I have a function for escaping characters which are reserved or problematic in LaTeX. I would like to have a corresponding function for ConTeXt, so I'm wondering which ones are different/superfluous/missing from a ConTeXt perspective in the following list (sorry about

[NTG-context] Make LMTX load a custom library

2021-03-01 Thread Lukas/ConTeXt
Lukas\Lua\3rdParty\LuaXML\WinCon.lua' no file 'C:\Program Files (x86)\Lua\5.1\lua\WinCon.luac' no file 'd:\Lukas\Lua\Geom' ... " Surprisingly, loader tries to locate a *.lua* only, whilst here I nedd to load a .dll; and in genereal case, .lua, .luac and .dll may be required. So - how

Re: [NTG-context] Bug report: \setupbackend corrupts bibliography rendering

2021-02-28 Thread a badin
Forgot to mention that my program is LuaTeX 2.08 20210220 + ConTeXt MkIV 2021.02.23 17:47 Also I like \setupbacked for what it does (export html/xml/css), I just wasn't aware that it makes bibliography render strangely when outputting a pdf. On Sun, 28 Feb 2021 at 11:42, a badin wrote: > D

Re: [NTG-context] Questions for eTABLE

2021-02-23 Thread Alain Delmotte
20:09, Wolfgang Schuster a écrit : Alain Delmotte schrieb am 22.02.2021 um 19:58: Hi! I have the following program: \definecolor [tableheader] [x=00ADEF

Re: [NTG-context] Questions for eTABLE

2021-02-22 Thread Wolfgang Schuster
Alain Delmotte schrieb am 22.02.2021 um 19:58: Hi! I have the following program: \definecolor [tableheader] [x=00ADEF] \setupbodyfont[dejavu,10pt,ss] % setups and example thanks to Wolfgang Schuster \startsetups[tablesettings] \setupTABLE[start][framecolor=gray

[NTG-context] Questions for eTABLE

2021-02-22 Thread Alain Delmotte
Hi! I have the following program: \definecolor [tableheader] [x=00ADEF] \setupbodyfont[dejavu,10pt,ss] % setups and example thanks to Wolfgang Schuster \startsetups[tablesettings] \setupTABLE[start][framecolor=gray

Re: [NTG-context] Making text disappear depending on mode

2021-02-04 Thread Hans Hagen
, it should disappear, that’s the part that is not working. My idea was to put the text into a buffer and ignore it, that didn’t work. % !TEX TS-program = ConTeXt (LuaTeX 1.0.9) % !TEX encoding = UTF-8 Unicode %\enablemode[change] % Paragraph removed \definestartstop[ChangePR][ before={\doifmodeelse

[NTG-context] Making text disappear depending on mode

2021-02-04 Thread Axel Kielhorn
that is not working. My idea was to put the text into a buffer and ignore it, that didn’t work. % !TEX TS-program = ConTeXt (LuaTeX 1.0.9) % !TEX encoding = UTF-8 Unicode %\enablemode[change] % Paragraph removed \definestartstop[ChangePR][ before={\doifmodeelse{change} {\startsidebar[rulecolor=red

Re: [NTG-context] filter module / externalizing TikZ graphics

2021-01-30 Thread Henning Hraban Ramm
t; and "cd" to my filtercommand. >> I didn’t check yet if caching works. > > Caching should work if \definefilter is configured correctly. Thanks. > From the point of view of t-filter module, this is a bug in the external > program and you should contact upstream for a fix :-

Re: [NTG-context] filter module / externalizing TikZ graphics

2021-01-29 Thread Aditya Mahajan
I didn’t check yet if caching works. Caching should work if \definefilter is configured correctly. From the point of view of t-filter module, this is a bug in the external program and you should contact upstream for a fix :-) Most (all?) other programs are happy to write a file in any d

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

2021-01-26 Thread Rudd, Kevin
, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Program Laboratory for Physical Sciences (LPS) 443-654-7878 ke...@lps.umd.edu<mailto:ke...@lps.umd.edu> Visiting Research Professor United States Naval Academy r...@usna.ed

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

2021-01-26 Thread Rudd, Kevin
with kpse many many years ago. => if so, where do i find the info to set that up in my *shrc files? thanks, ---K Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Program Laboratory for Physical Scien

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

2021-01-26 Thread Rudd, Kevin
oxRow [ name = "Parent", label = "Parent Root Namespace", ]; \stopMPcode Thanks for any feedback, ---K Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Progr

Re: [NTG-context] Text editor support via Digestif

2021-01-02 Thread Saša Janiška
for your work on digestif and improving ConTeX support! > Digestif plugs into any editor that support the Language Server > Protocol I'd probably like to use it with SublimeText which I favour over VScode... > Another nice thing is that Digestif is a Lua program, and can run on > t

[NTG-context] Text editor support via Digestif

2020-12-31 Thread Augusto Stoffel
anything of help in this direction currently, right? Another nice thing is that Digestif is a Lua program, and can run on the LuaTeX interpreter with no extra dependencies. On the other hand, I didn't get the change to test it on Windows or editors other than Emacs, although both things should work

Re: [NTG-context] new upload

2020-11-26 Thread Keith McKay
to purchase it - definitely not available in my country - one had to enrol to the payed developer program - and then do a bunch of other bureaucracy (get some special business number etc.) - and it wasn't even guaranteed that you would get a device at the end I was contemplating what to do this time around

Re: [NTG-context] new upload

2020-11-26 Thread Mojca Miklavec
ased a piece of hardware yet. A few months back it was possible to purchase one, but: - it was just a one year rental fee rather than the ability to purchase it - definitely not available in my country - one had to enrol to the payed developer program - and then do a bunch of other bureaucracy (get

Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-11-05 Thread Hans Hagen
an eye on crazy elections), that program takes 650 MB memory and 44% GPU while edge (or chrome) takes 270 MB mem and 3% GPU. Add a few more tabs and firefox will easily eat up gigs of mem. Now, I don't know how it manages memory but the tex engine needs a few reasonable sized arrays

Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
ile a file with `context`, my terminal get stuck for ~1s. > > So I'm pretty sure this is a context bug, probably caused by unnecessary > excessive disk operations or something. > > But it seems to be a big problem only on your machine. What hardware are > you running on? Is it a

Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
> But it seems to be a big problem only on your machine I fail to see what this implies. > What hardware are you running on? Is it a Raspberry PI? No, it's Core i5 + 8G ram + ssd. > Like any TeX-related program, ConTeXt does a fair bit of disk access while starting up. But none of the

Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Taco Hoekwater
r I > compile a file with `context`, my terminal get stuck for ~1s. > So I'm pretty sure this is a context bug, probably caused by unnecessary > excessive disk operations or something. But it seems to be a big problem only on your machine. What hardware are you running on? Is it a Raspberry PI?

Re: [NTG-context] Citeproc

2020-10-05 Thread Denis Maier
ed in Rust will eventually replace citeproc-js at some point. Now, the new Haskell citeproc can be used as a standalone program as well, and that's why I was thinking it could be used together with ConTeXt in some way; essentially as Aditya described it in his response. B

[NTG-context] correct vertical alignment in ToC

2020-09-29 Thread jbf
exactly even so. Hope somebody can help - in the end I suppose I can open it in a PDF editing program and shift items under each other, but I want to achieve the correct result using ConTeXt, understandably. Julian toc.pdf Description: Adobe PDF document

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