The following:
\starttext
$s''$ %or $s^{\prime}$
\stoptext
gives a too high symbol in ConTeXt LMTX 2021.05.06 23:35. ConTeXt MkIV
isn't affected for such an issue.
Jairo
___
If your question is of interest to others
Hi, list! Following this thread:
https://tex.stackexchange.com/questions/596610/how-to-use-luatex-with-large-unicode-codepoint,
I tried to replicate it in ConTeXt. Both LMTX and LMTX fail to display the
right symbol and, as it's discussed in the linked page, there's an offset
by 14. Is this intenti
For simple pens, you may define your own (section 9.7 of MetaPost manual).
For complicated strokes, something along these lines could be useful as a
starting point (I'm not taking cyclic paths in consideration, btw). I did
something similar with duck footprints some weeks ago:
%Sorry for the ugly
-- Forwarded message -
De: Jairo A. del Rio
Date: mié, 12 de may. de 2021 a la(s) 14:08
Subject: Re: [NTG-context] Fuzzy lines
To: mailing list for ConTeXt users
El mié, 12 de may. de 2021 a la(s) 13:03, Henning Hraban Ramm (
te...@fiee.net) escribió:
> Hi Jairo,
>
&
In ConTeXt LMTX this works just fine (try mtxrun --generate and context
--make first):
\definefontfeature[Emoji][default][sbix=yes]
\starttext
\definedfont[file:NotoColorEmoji.ttf*Emoji]\char"1F91D
\stoptext
However, when one tries to convert it with ImageMagick the following
happens:
te background (page 5,
> bachotex-2017-emoji.pdf).
>
> I also do not get a white background with LibreOfiice.
>
>
>
I'd wait for Hans to fix it, as I don't really understand font management
in ConTeXt...
Jairo
> Adam
>
> On Fri, May 14, 2021 at 12:51 AM Jair
Hi!
Do
p[102] := (origin--dir(194)*10mm) shifted Pkt[1];
and
p[103] := (origin--dir(166)*10mm) shifted Pkt[2];
do what you need?
Jairo
El vie, 21 de may. de 2021 a la(s) 05:57, Willi Egger (cont...@boede.nl)
escribió:
> Hello MP Gurus!
>
> I wanted to make a technical drawing. However the e
Hi. Is \thewithproperty documented elsewhere? Is this a new primitive? It
looks interesting.
Jairo
El vie, 21 de may. de 2021 a la(s) 08:15, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> Hi,
>
>
> I uploaded an lmtx update (only m-mathfun added).
>
> Attached a short description of this (windy stor
El dom, 23 de may. de 2021 a la(s) 04:51, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 5/22/2021 11:34 PM, Jairo A. del Rio wrote:
> > Hi. Is \thewithproperty documented elsewhere? Is this a new primitive?
> > It looks interesting.
> In the case of the \sin trick particular
loaded.
Jairo
El dom, 23 de may. de 2021 a la(s) 09:35, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 5/23/2021 3:45 PM, Jairo A. del Rio wrote:
> > El dom, 23 de may. de 2021 a la(s) 04:51, Hans Hagen (j.ha...@xs4all.nl
> > <mailto:j.ha...@xs4all.nl>) escribió:
> &
Hi, Adam. There are some ways to do it. I'm sure there are many more, but I
don't remember them right now. Hi, Hans. There's a bug (?) in syst-lua.lua
related to \expression in MkIV (xmath and xcomplex aren't defined). Please
fix that
%Temporary hack for MkIV
%Only use it in case \expression ...
It seems \startstarticMPfigure ... \stopstaticMPfigure is now a wrapper for
reusable MP graphics, so auxiliary files are no longer generated. I don't
think this counts as an answer but you could use \typesetbuffer and
\startMPpage ... \stopMPpage instead. Two auxiliary PDF files with funny
names ar
When I try to install ConTeXt with install.sh (Linux 64 bit), the following
happens:
lua error : function call: /home/coragyps/lmtx/bin/mtxrun.lua:299: bad
argument #2 to 'popen' (invalid mode)
cp: no se puede efectuar `stat' sobre
'/home/coragyps/lmtx/tex/texmf-linux-64/bin/mtxrun': No existe el
It prints:
uname -m rb
Jairo
El jue, 24 de jun. de 2021 a la(s) 16:14, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 6/24/2021 11:02 PM, Jairo A. del Rio wrote:
> > When I try to install ConTeXt with install.sh (Linux 64 bit), the
> > following happens:
> >
> > lua e
@xs4all.nl)
escribió:
> On 6/24/2021 11:02 PM, Jairo A. del Rio wrote:
> > When I try to install ConTeXt with install.sh (Linux 64 bit), the
> > following happens:
> >
> > lua error : function call: /home/coragyps/lmtx/bin/mtxrun.lua:299: bad
> > argument #2 to
El jue, 24 de jun. de 2021 a la(s) 16:30, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 6/24/2021 11:20 PM, Jairo A. del Rio wrote:
> > It prints:
> >
> > uname -m rb
> hm, that is a real last resort attempt to determine what system it is
> running on (we try to avoid
El jue, 24 de jun. de 2021 a la(s) 16:42, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 6/24/2021 11:35 PM, Jairo A. del Rio wrote:
> >
> >
> > El jue, 24 de jun. de 2021 a la(s) 16:30, Hans Hagen (j.ha...@xs4all.nl
> > <mailto:j.ha...@xs4all.nl>) escribió:
El jue, 24 de jun. de 2021 a la(s) 16:55, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 6/24/2021 11:47 PM, Jairo A. del Rio wrote:
> >
> >
> > El jue, 24 de jun. de 2021 a la(s) 16:42, Hans Hagen (j.ha...@xs4all.nl
> > <mailto:j.ha...@xs4all.nl>) escribió:
It works again! Thank you very much
Jairo
El jue, 24 de jun. de 2021 a la(s) 17:23, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 6/24/2021 11:58 PM, Jairo A. del Rio wrote:
> >
> >
> > El jue, 24 de jun. de 2021 a la(s) 16:55, Hans Hagen (j.ha...@xs4all.nl
> >
Hi, list! Is this already fixed in a new upload? I'm compiling old
documents and having the same problem as Thomas, although Wolfgang's
comment fixes it nicely.
Cordially,
Jairo
El lun, 12 de jul. de 2021 a la(s) 11:18, Wolfgang Schuster (
wolfgang.schuster.li...@gmail.com) escribió:
> Thomas A
Hi, list! I want to know how to make numbers in text item groups run along
with text (for instance, wrt indentation) regardless of their position in
text. In the following example:
\setupindenting[yes,medium]
\starttext
\startitemize[a,text][textdistance=none]
\startitem \input{jojomayer}\stopi
El sáb, 29 jul 2023 a la(s) 02:50, Pablo Rodriguez (oi...@gmx.es) escribió:
> Dear list,
>
> trying to generate the format for current latest (2023.07.28 20:04), I
> get this error message:
>
> tex error > tex error on line 280 in file lang-lab.mkxl: Control
> sequence expected instead of un
Hi, beloved list. Since sources are in the distribution, I've tried
compiling luametatex by setting LMT_STRIP in CMakeLists.txt to 0, yet the
resulting binary still warns about undefined symbols, such as lua_gettop,
when an external library is loaded in Lua. Any ideas on how to solve it?
Thank you
Hi, list. The following fails with a "Missing number, treated as zero"
error prompt:
\starttext
\expandedrepeat2{\expandedrepeat2{\the\numexpression#I+#P\relax\ }}
\stoptext
OTOH, \numexpr works seamlessly. Tested on ConTeXt 2023.09.03 19:03. Thanks
in advance.
Best regards,
Jairo
_
Hi, list! My question is just like that: how do I pass buffers or \input
content to \processtokens. What I have done so far:
\tolerant\protected\def\foo#={\ifparameter#1\or\oof{#1}\fi}
\protected\def\oof#1{<#1>}
\startbuffer[ofo]
% Output: Ths not a anymore!
Th{i{s {is} not a {question} anymore!
Hi, dear list. Is there a proper "ConTeXt way" to do the following?
\integerdef\lmao=0
\starttext
Sum: \in[trick] % 10 from the result below
+1\advance\lmao\plusone
+2\advance\lmao\plustwo
+3\advance\lmao\plusthree
+4\advance\lmao\plusfour
\normalexpanded{\reference[trick]{\the\lmao}} % 10 pr
Cool. It works once \startlines ... \stoplines is removed. Thank you
very much!
Jairo
El mié, 13 dic 2023 a la(s) 3:40 a.m., Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 12/13/2023 4:05 AM, Jairo A. del Rio wrote:
> > Hi, dear list. Is there a proper "ConTeXt way"
Hi, list! I'm writing a small module to print word corrections, e.g.,
things like "irregardless" > "regardless"or "alverja" > "arveja" ('pea' in
Spanish) with overstrikes and underlines, but I want feedback to make a
module in the ConTeXt fashion. I hope the PDF attached explains better what
I mean
Hi, list
\startMPpage
draw outlinetext.d("\mathematics{\sqrt{2}-1}")(withcolor black withpen
currentpen) scaled 1;
\stopMPpage
fails (radicals are not drawn at all). As for context --version,
mtx-context | ConTeXt Process Management 1.06
mtx-context |
mtx-context | main context fil
As for the current ConTeXt, the example above still produces the wrong
output. Can anyone reproduce this case? Thank you in advance.
Jairo
El sáb, 4 may 2024 a la(s) 7:23 p.m., Jairo A. del Rio (
jairoadelr...@gmail.com) escribió:
> Hi, list
>
> \startMPpage
> draw outlinetext.d(&
-- Forwarded message -
De: Jairo A. del Rio
Date: lun, 13 may 2024 a la(s) 9:53 p.m.
Subject: Re: outlinetext broken?
To: Hans Hagen
Hi, Hans! Thank you for the update! I'm curious about the following issue:
when I use Latin Modern (by default), a thick, filled line is
I tried the following
\setuphead[chapter][align=middle,header=empty,footer=empty]
\setuphead[section][align=middle,number=no]
\setuphead[subsection][align=middle,number=yes,sectionsegments=subsection,conversion=g]
\mainlanguage[spanish]
\definefallbackfamily[mainface][rm][newgardiner][range=egypti
I know ConTeXt TOC is quite customizable. However, I don't figure out how
to include a page range next to section labels. For instance, something
like that:
1. Chapter . . . 1 - 4
1.1 Section . . . 1 - 3
1.2 Section . . . 3 - 4
2. Chapter . . . 4 - 7
I've seen a LaTeX implementation here:
http
I want to know if it's possible use HarfTeX/LuaHBTeX with ConTeXt (MKIV),
mainly for what can be done with them (the "mode=harf" feature and Lua
language features).
Although this is pretty easy with LaTeX:
\usepackage{harfload}
\setmainfont{font}[RawFeature={mode=harf}]
I have no idea of how to m
Hi. How do I build the format? I try
context --make
ANd nothing special happens. How do I set up the new engine. Thank you in
advance.
___
If your question is of interest to others as well, please add an entry to the
I'm defining item groups in ConTeXt and I find the following issue:
combining the "text" parameter with others automatically disables "left"
and "right" keys, so numbers always appear enclosed in parentheses.
%What I expect:
%I. This ain't right
%What I get:
%(I) This ain't right
\defineitemgroup[
I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua
libraries and bindings (defining \ctxlua and the like). For instance, I
have the file foo.lua with some macros and I want to use them in my
project. Something like this:
\startproject project
%\component foo.lua %This does no
;m attaching a test
project.
El dom., 5 de abr. de 2020 a la(s) 09:28, Wolfgang Schuster (
wolfgang.schuster.li...@gmail.com) escribió:
> Jairo A. del Rio schrieb am 05.04.2020 um 15:00:
> > I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua
> > librari
-- 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 fa
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
> &g
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
bug\unexpanded\def\pdflastxpos{\numexpr\clf_lastxpos\relax}\unexpanded\def\pdflastypos{\numexpr\clf_lastyp
tpage #1
\relax \setbox #1\emptybox \global ...
...
l.22 \stoptext
El mar., 7 de abr. de 2020 a la(s) 02:32, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 4/7/2020 4:07 AM, Jairo A. del Rio wrote:
> > I've tried using the fix in
> > https://tex.stackexchange.com/a/4
Hi everyone! I'm using the ConTeXt version packaged with TeX Live 2020 and
recently I have downloaded LMTX. Both of them work, but when I call
"context" from terminal, I compile with the TeX Live version, whereas I
have to use a fully specified path to get LMTX output. Is there a way to
call both f
Sorry, I tested again and it worked. Thank you very much.
El mar., 7 de abr. de 2020 a la(s) 06:18, Jairo A. del Rio (
jairoadelr...@gmail.com) escribió:
> It does not work. I get the following error message:
>
> You can't use `the character 6' after \the
>
>
> l.
I've seen the following solution in Stack Exchange to add referenceable
enumeration labels to a framed enumeration environment:
https://tex.stackexchange.com/questions/438588/context-and-metafun-framed-enumeration-with-counter-as-part-of-overlay
It uses \wrappedcurrentconstruction. However, it on
Sorry, I resend my question because I forgot the subject
-- Forwarded message -
De: Jairo A. del Rio
Date: sáb., 18 de abr. de 2020 a la(s) 23:53
Subject:
To: mailing list for ConTeXt users
I've seen the following solution in Stack Exchange to add referenceable
enumer
Hi. Maybe there's an easier way to do it without changing any file or via
mtxrun's command line, but the following is what I do:
In l-pdfview.lua (mkiv folder, lines from 38) PDF view options are
available. I've added
['evince']= [[evince "%filename%"]] -- My favorite viewer
And then, after
"sumatra" -- faster and more complete
I haven't edited textadept settings btw, so it works for me with --autopdf
alone.
> Julian
>
>
> On 27/9/21 1:06 pm, Jairo A. del Rio wrote:
>
> Hi. Maybe there's an easier way to do it without changing any file or via
>
Hi, list. The following works for MkIV, but not LMTX (adapted from here:
https://tex.stackexchange.com/questions/617597/how-can-i-use-luas-string-len-inside-a-metapost-function
):
\startMPinclusions
vardef MotMystere(expr taille, speciale, index) =
save avant,apres,case;
numeric avant,apres;
p
Nice, thanks.
Jairo
El lun, 4 de oct. de 2021 a la(s) 13:23, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 10/3/2021 9:28 PM, Jairo A. del Rio via ntg-context wrote:
> > Hi, list. The following works for MkIV, but not LMTX (adapted from here:
> >
> https://tex.stackexchange.co
Ugly hack: add this before loading transliterator:
\startluacode
unicode = unicode and unicode or _G
\stopluacode
I get the following output:
kakon anagkē, all' udemia anagkē zēn meta anagkēs
I hope this helps. I also think you should mail Philipp so that he fixes it
(the Lua code looks pretty
Hi, Pablo. I have no idea of what you need to do, but in grph-inc.lua you
find the following (line 709):
implement { name = "figurestatus", actions = { get, context }, arguments
= { "'status'", "string", "string" } }
So that \figureheight calls this function via \clf_figurestatus and, in
turn,
") --space added.
Would a "\relax " do better?
digits = gsub(digits,"\\-$",filler)
context(digits)
end
would fix it.
Best regards,
Jairo
El jue, 28 de ene. de 2021 a la(s) 09:00, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 1/28/2021 12:50 PM, Ja
Hi. Reading at mult-aux.mkxl, I've seen command handlers define, among
others, \installparameterhashhandler, However, in files such as those
related with symbol management, only \installparameterhandler and
\installsetuphandler are. When writing basic modules, sometimes only the
"raw" macros above
If I understand it correctly, you may need something like this...?
% Protection is key
\protected\def\inner[#1]{\empty}
% \outer is (or was) already defined in \CONTEXT
% Please use another name
\def\Outer{\inner[123] and \inner[some text] etc.}
\startluacode
local implement = interfaces.implement
Hola.
Maybe you need \commalistsentence?
\def\Autores{%
{Luis David Gómez-Méndez, Ph. D.},
{Adriana del Pilar Pulido-Villamarín, M. Sc.},
{Rubiela Castañeda-Salazar, M. Sc.},
{Juan Carlos Ulloa-Rubiano, Ph. D.},
{Adriana Matiz-Villamil, M. Sc.},
{Fidson Juarismy Vesga-Pérez, Ph. D}%
}
Hi, list. I want to know how I should handle alphabetically sorted data in
ConTeXt. So far, I'm abusing registers in order to get simple glossaries,
but I prefer to manage data with tools such as JabRef rather than manually
typing entries inside a document. I attach an example of what I achieved:
Nice. Looks interesting and, if I understand correctly, entries are
open-ended, which turns out to be useful to customize dictionaries. It
would be a profitable addition! Thank you very much.
Regards,
Jairo
El vie, 26 de nov. de 2021 a la(s) 08:16, Hans Hagen via ntg-context (
ntg-context@ntg.nl
Hi, Hans. I've got a question. Negative steps are treated as positive:
\starttext
\expandedloop 10 0 -2 {\the\currentloopiterator\ }
\stoptext
gives
0 2 4 6 8 10
Is this expected behavior? If so, it would be fine to have something more
alike to MetaPost's "for ... step ... until" loop. Thank yo
Hi, list. See the following:
\starttext
$\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$}
\stoptext
Thank you in advance.
Best regards,
Jairo
___
If your question is of interest to others as well, please add
just slightly less bold)?
>
>
> On Tue, Dec 7, 2021 at 9:45 AM Hans Hagen via ntg-context
> wrote:
> >
> > On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote:
> > > Hi, list. See the following:
> > >
> > > \starttext
> > > $\alpha
Hi, Hans. In Ubuntu 20.04:
resolvers > lua > loading file
'/home/coragyps/lmtx/tex/texmf-context/tex/context/base/mkxl/node-cmp.lmt'
succeeded
fatal error: storage cannot be marked
Jairo
El vie, 24 dic 2021 a la(s) 13:45, Hans Hagen via ntg-context (
ntg-context@ntg.nl) escribió:
> Hi,
El sáb, 1 ene 2022 a la(s) 15:37, jbf via ntg-context (ntg-context@ntg.nl)
escribió:
> Am typesetting a book that has 'STUDY ONE', 'STUDY TWO' etc. in place of
> CHAPTER ONE, etc. I have no difficulty getting 'STUDY' with
> \setuplabeltext[chapter=STUDY~], and I can achieve 'STUDY One' with the
>
Hi everyone! I've just installed ConTeXt on an old machine running Windows
8.1 (x86) and I've noticed the format is regenerated each time I process a
file. It can be read on the log (third line):
warning: engine mismatch (luv: This is LuaMetaTeX 2.09.36 <> bin: This is
LuaMetaTeX 2.09.34), forcing
Hi, list! I've tested the Harfbuzz plugin in ConTeXt and it works nicely
for most cases. However, color doesn't seem to work. Is this intended? I
know this plugin won't be supported, but I'll be fine with pointers to
solve this issue. Thanks in advance.
\usemodule[fonts-plugins]
\definefontfeature
Hi, list!
Sorry, I don't have a MWE, but it looks like interactive references for
formulas (via \in) are not working after the update. I mean, labels are
fine, but they do nothing when clicked. References for tables and figures
are fine, though.
Best regards,
Jairo
__
Hi. Sorry. I didn't see your message and I had forgotten the very existence
of the module. I'll check it later (final exam weeks for me) so that it
works with MkIV and LMTX properly again. By the way, thanks for the
interest.
Best regards
Jairo
El lun., 18 de jul. de 2022 10:00 a. m., Otared Kav
Hi, list.
Last time I installed my ConTeXt distribution from scratch, I've noticed
Textadept files are no longer in the distribution. I've tried SciTE but
it's broken in Ubuntu as code highlighting just doesn't work. Has something
changed? Is it possible to get those files from an older version? T
Sorry for the noise. I found Textadept files in the GitHub repo. However,
it would be nice to have them in the distribution. Have a nice day.
Cordially,
Jairo
El vie, 26 ago 2022 a la(s) 19:01, Jairo A. del Rio (jairoadelr...@gmail.com)
escribió:
> Hi, list.
>
> Last time I ins
Hi, Hans. The following happens with the last update:
loading > ConTeXt Node Macros / Page Building
resolvers > lua > unknown file 'node-pag.lua'
error loading file: node-pag.lua (aborting)
Indeed, the file is missing in the distribution (there's only
node-pag.mkxl). Regards
El mi
-04-26 19:54, Jairo A. del Rio via ntg-context wrote:
> > Hi, Hans. The following happens with the last update:
> >
> > loading > ConTeXt Node Macros / Page Building
> > resolvers > lua > unknown file 'node-pag.lua'
> >
> > error l
Hi, Hraban. I updated the sudoku module to remove the top redundant folder
and added LICENSE, README, and VERSION files. What should I do if I want my
module in CTAN? I asked two years ago and it was told to me synchronization
with ConTeXt was automatic. Any comments? Thanks in advance.
Best regar
El lun, 15 may 2023 a la(s) 11:45, Henning Hraban Ramm via ntg-context (
ntg-context@ntg.nl) escribió:
> Am 15.05.23 um 17:51 schrieb Jairo A. del Rio via ntg-context:
> > Hi, Hraban. I updated the sudoku module to remove the top redundant
> > folder and added LICENSE, README, an
Hi, list. There's lang-rep.mkxl and lang-tra.mkxl in the distribution which
allows replacing a list of words and applying transliteration,
respectively. Both are based on tables. I want to know if there's a way to
use a function instead, say
local function nice(str)
return str .. " is nice"
end
Hi everyone!
I want to know the proper way to load ConTeXt Lua modules/libraries *en
masse*. such as those listed in cld-mkiv, without actual typesetting in
order to write some scripts. I thought about creating a .cld file with no
output, but I suspect there's a better way. Thanks in advance.
Reg
Hi, list!
I want to know if there's a handy way to pass predefined colors, either RGB
or CMYK, e.g. those in svg or crayola, to Metafun's bitmapimage. Say,
something like:
\startMPpage
% svg's gold definition
draw bitmapimage(2, 2, "ffd700 ffd700 ffd700 00") scaled 3cm;
\stopMPpage
using "
201 - 276 of 276 matches
Mail list logo