Re: [NTG-context] Calculating Best Box Width?

2021-06-09 Thread Hans Hagen
\hfuzz#3\hfuzz \rightaligned{\ssa\sl --- #2} \else \rightaligned{\ssa\sl --- #2, \tf\ssa\symbol[leftquote]#3\symbol[rightquote]} \fi } \starttext Testing epigraph \epigraph{% para \quotation{My birthday-present!} he whispered to himself, as he had often done in the endless dark days

[NTG-context] Calculating Best Box Width?

2021-06-09 Thread Michael Urban
\rightaligned{\ssa\sl --- #2, \tf\ssa\symbol[leftquote]#3\symbol[rightquote]} \fi } \starttext Testing epigraph \epigraph{% para \quotation{My birthday-present!} he whispered to himself, as he had often done in the endless dark days. \quotation{That's what we\unknown} }{J.R.R. Tolkien}{The Hobbit

[NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
01 seconds, 1 fonts mkiv lua stats > result saved in file: mwe.pdf, compresslevel 1, objectcompresslevel 3 mkiv lua stats > used platform: linux-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats > used engine: luametatex version: 2.0911, functionality level: 20210527, forma

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-27 Thread Nicola
iv lua stats > loaded fonts: 4 files: latinmodern-math.otf, lmmono10-regular.otf, lmmono12-regular.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.116, afm 1.513, tfm 1.000, 9 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.148 seconds mkiv lua

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

2021-05-27 Thread Duncan Hothersall
\usemodule[newmml] > > \starttext > > \xmlprocessdata{}{ > > > >E > > > > π > > > > > > }{} > > \stoptext > > > > The π symbol does not show in red. > Kind of trivial ... i'll send you a patched module.

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

2021-05-27 Thread Hans Hagen
On 5/27/2021 6:30 PM, Duncan Hothersall wrote: Apologies Hans. MWE: \usemodule[newmml] \starttext \xmlprocessdata{}{     E       π     }{} \stoptext The π symbol does not show in red. Kind of trivial ... i'll send you a patched module. If you want you can check with the standard

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

2021-05-27 Thread Duncan Hothersall
Apologies Hans. MWE: \usemodule[newmml] \starttext \xmlprocessdata{}{ E π }{} \stoptext The π symbol does not show in red. Duncan On Thu, 27 May 2021 at 17:18, Hans Hagen wrote: > On 5/27/2021 5:47 PM, Duncan Hothersall wrote: > > Hello list. > > > &

Re: [NTG-context] Define new symbol by stitching two symbols together

2021-05-24 Thread Nicola
On 2021-05-24, Aditya Mahajan wrote: > On Sun, 23 May 2021, Hans Hagen wrote: > >> On 5/22/2021 8:23 PM, Nicola wrote: >> > I would like to define new symbols by stitching together existing >> > glyphs. This is what I have come up so far: >> > >> >

Re: [NTG-context] Define new symbol by stitching two symbols together

2021-05-24 Thread Aditya Mahajan
On Sun, 23 May 2021, Hans Hagen wrote: > On 5/22/2021 8:23 PM, Nicola wrote: > > I would like to define new symbols by stitching together existing > > glyphs. This is what I have come up so far: > > > > \define[1]\Transition{-\!\![#1]\!\!\rightarrow} > > \starttext > >

Re: [NTG-context] Unwanted upright math in MkIV

2021-05-23 Thread Gavin
hashes, load time 0.200 > seconds > mkiv lua stats > used platform: osx-64, type: unix, binary subtree: > texmf-osx-64 > mkiv lua stats > used engine: luatex version: 1.13, functionality level: > 7420, banner: this is luatex, version 1.13.0 (tex live 2021) > mkiv lua

Re: [NTG-context] Define new symbol by stitching two symbols together

2021-05-23 Thread Hans Hagen
On 5/22/2021 8:23 PM, Nicola wrote: I would like to define new symbols by stitching together existing glyphs. This is what I have come up so far: \define[1]\Transition{-\!\![#1]\!\!\rightarrow} \starttext \m{L\Transition{A}R} \stoptext This should render as -[ ]->, ideally

[NTG-context] Define new symbol by stitching two symbols together

2021-05-22 Thread Nicola
I would like to define new symbols by stitching together existing glyphs. This is what I have come up so far: \define[1]\Transition{-\!\![#1]\!\!\rightarrow} \starttext \m{L\Transition{A}R} \stoptext This should render as -[ ]->, ideally with no space between the dash or the

Re: [NTG-context] TeX capacity exceeded

2021-05-19 Thread Hans Hagen
max: unknown MB, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 22.310 seconds, 1068 processed pages, 1068 shipped pages, 47.871 pages/second so I suppose in lmtx it's a bit faster and using less mem. Still less mem than the GB's that e.g. firefox consumes after a few

Re: [NTG-context] TeX capacity exceeded

2021-05-18 Thread Hans Hagen
> used engine: luatex version: 1.13, functionality level: 7420, banner: this is luatex, version 1.13.0 (tex live 2021) mkiv lua stats  > used hash slots: 47131 of 65536 + 25 mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 601 MB, ctx: 579 MB, max: unknown MB, hash cha

Re: [NTG-context] \char not working with private unicodes

2021-05-18 Thread Sergio Callegari
experiment and if that works, I'll make a small package for that. Did you try to use the regular variant: \starttext     \definefontfeature[materialicons][default][rlig=yes]     \definedfont[file:materialiconsregular.ttf*materialicons]     baby_changing_station % selects symbol as ligature \stoptext

[NTG-context] TeX capacity exceeded

2021-05-17 Thread Thomas A. Schmitz
inux-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats > used engine: luatex version: 1.13, functionality level: 7420, banner: this is luatex, version 1.13.0 (tex live 2021) mkiv lua stats > used hash slots: 47131 of 65536 + 25 mkiv lua stats > lua properties: engine: lua 5.3

Re: [NTG-context] \char not working with private unicodes

2021-05-13 Thread Hans Hagen
tex-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 intentional (in ConTeXt)? A bug? Hi! As the original poster of the stackexchange question, I have

[NTG-context] \char not working with private unicodes

2021-05-13 Thread Sergio Callegari
licate 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 intentional (in ConTeXt)? A bug? Hi! As the original poster of the stackexchange question, I have found this thread and I am quite grateful fo

Re: [NTG-context] \char not working with private unicodes

2021-05-12 Thread Taco Hoekwater
;>> https://tex.stackexchange.com/questions/596610/how-to-use-luatex-with-large-unicode-codepoint >>>> >>>> <https://tex.stackexchange.com/questions/596610/how-to-use-luatex-with-large-unicode-codepoint>, >>>> I tried to replicate it in ConTeX

Re: [NTG-context] \char not working with private unicodes

2021-05-12 Thread luigi scarso
-luatex-with-large-unicode-codepoint > < > 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, ther

Re: [NTG-context] \char not working with private unicodes

2021-05-11 Thread Hans Hagen
tps://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 intentional (in ConTeXt)? A bug? Minimal (non-)working e

Re: [NTG-context] \char not working with private unicodes

2021-05-11 Thread Taco Hoekwater
ackexchange.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 intentional (in ConTeXt)?

Re: [NTG-context] \char not working with private unicodes

2021-05-11 Thread Hans Hagen
licate 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 intentional (in ConTeXt)? A bug? Minimal (non-)working example: %Font available here: https://materialdesignicons.com/ <https://materialdesign

[NTG-context] \char not working with private unicodes

2021-05-11 Thread Jairo A. del Rio
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

Re: [NTG-context] \prime is too high

2021-05-10 Thread Otared Kavian
del Rio wrote: > > 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

[NTG-context] \prime is too high

2021-05-08 Thread Jairo A. del Rio
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

Re: [NTG-context] Bug: missing Lua API in binaries

2021-04-23 Thread Sylvain Hubert
>> API: >> >> $ context --forcecld --permitloadlib testlabel.lua >> ... >> fatal lua error: >> registered function call [1542]: >> ...tx/tex/texmf-context/tex/context/base/mkiv/l-package.lua:348: error >> loading module 'lpeglabel' from file './lpeglabel.

Re: [NTG-context] Bug: missing Lua API in binaries

2021-04-23 Thread luigi scarso
ontext/tex/context/base/mkiv/l-package.lua:348: error > loading module 'lpeglabel' from file './lpeglabel.so': > ./lpeglabel.so: undefined symbol: lua_gettop > > hm, lua_gettop is a global symbol in latest luatex, it's not undefined... > > nor does LuaTeX: > $ luatex -luaonly te

[NTG-context] Bug: missing Lua API in binaries

2021-04-23 Thread Sylvain Hubert
ks certain Lua API: $ context --forcecld --permitloadlib testlabel.lua ... fatal lua error: registered function call [1542]: ...tx/tex/texmf-context/tex/context/base/mkiv/l-package.lua:348: error loading module 'lpeglabel' from file './lpeglabel.so': ./lpeglabel.so: undefined symbol: lua_gettop ...

Re: [NTG-context] No space between \cite and next word.

2021-04-18 Thread Mikael Sundqvist
r] > > > > \starttext > > > > Text \cite[a] text. > > > > \placelistofpublications > > > > \stoptext > Wolfgang and I agreed upon the following com

Re: [NTG-context] No space between \cite and next word.

2021-04-18 Thread Hans Hagen
ces \cite (and variants) \citation (and variants) \date \figuresymbol \note \notesymbol \symbol \typeinlinebuffer \externalfigure Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061

Re: [NTG-context] Ligature suppression word list

2021-04-12 Thread denis.maier
auf-Alternative Auflaufbremse Auflaufs Auflaufschäden Aufleben Auflegen-Symbol Aufleger Auflegung Aufleuchten Auflichtbildverarbeitung Auflichtmikroskopie Aufloesung Auflösezeit Auflösung der Ehe Auflösungs-Dreisatz Auflösungs-Erscheinungen Auflösungsantrag Auflösungsarbeit Auflösungsbeschluß Auflösu

Re: [NTG-context] \startcomponent [*]

2021-03-10 Thread Hans Hagen
On 3/10/2021 5:56 PM, Wolfgang Schuster wrote: Hi, when the wildcard symbol is used as argument to \startcomponent (or \startproduct) the name of the folder is now used and not the file name. \startcomponent * \quotation{\currentcomponent} \stopcomponent it's programmed that way (must have

[NTG-context] \startcomponent [*]

2021-03-10 Thread Wolfgang Schuster
Hi, when the wildcard symbol is used as argument to \startcomponent (or \startproduct) the name of the folder is now used and not the file name. \startcomponent * \quotation{\currentcomponent} \stopcomponent Wolfgang

[NTG-context] Warning: "nodes: unable to store reference from lua in tex"

2021-02-26 Thread Lukas/ConTeXt
le: t.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmmono12-regular.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.113, afm 1.513, tfm 1.000, 8 instan

Re: [NTG-context] Lua code and table

2021-02-19 Thread Fabrice Couvreur
gt; Hi all, Thanks to you, I'm not at your level with Lua, but I'm learning >>> thanks to you >>> Hans, I compiled your code and I get an error message : >>> >>> lua error > lua error on line 50 in file ./table_1.tex: >>> >>> token call,

Re: [NTG-context] Lua code and table

2021-02-18 Thread Fabrice Couvreur
rning >> thanks to you >> Hans, I compiled your code and I get an error message : >> >> lua error > lua error on line 50 in file ./table_1.tex: >> >> token call, syntax: [ctxlua]:11: unexpected symbol near '=' >> >> 13 \startluacode &g

Re: [NTG-context] Lua code and table

2021-02-18 Thread Jano Kula
e_1.tex: > > token call, syntax: [ctxlua]:11: unexpected symbol near '=' > > 13 \startluacode > 14 function document.MyTable(specification) > 15 > 16 local pattern= specification.pattern > 17 local action = specification

Re: [NTG-context] Lua code and table

2021-02-18 Thread Fabrice Couvreur
Hi all, Thanks to you, I'm not at your level with Lua, but I'm learning thanks to you Hans, I compiled your code and I get an error message : lua error > lua error on line 50 in file ./table_1.tex: token call, syntax: [ctxlua]:11: unexpected symbol near '=' 13 \startluacode

Re: [NTG-context] Bib support broken in lmtx

2021-01-30 Thread Philipp A.
nique task lists, 7 >>> instances (re)created, 38 calls >>> mkiv lua stats > used backend: pdf (backend for directly generating pdf >>> output) >>> mkiv lua stats > jobdata time: 0.001 seconds saving, 0.001 seconds >>> loading >>>

Re: [NTG-context] Inline Fractions

2021-01-25 Thread Hans Hagen
On 1/25/2021 1:58 PM, Johann Birnick wrote: Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext $\frac

Re: [NTG-context] fancybreak module

2021-01-25 Thread Clyde Johnston
tupfancybreak[symbol=star] \starttext Paragraph \fancybreak Paragraph \stoptext Thanks, Clyde -Original Message- From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] Sent: Monday, January 25, 2021 7:22 PM To: mailing list for ConTeXt users Cc: Clyde Johnston Subj

Re: [NTG-context] fancybreak module

2021-01-25 Thread Wolfgang Schuster
Clyde Johnston schrieb am 25.01.2021 um 17:55: I just realized that \starbreak was one of my own macros (defined ages ago) so the MWE should be: \usemodule[fancybreak] \define\starbreak{     \fancybreak{ \strut\hfill\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\hfill

Re: [NTG-context] fancybreak module

2021-01-25 Thread Clyde Johnston
I just realized that \starbreak was one of my own macros (defined ages ago) so the MWE should be: \usemodule[fancybreak] \define\starbreak{ \fancybreak{ \strut\hfill\hfill\symbol[star]\hfill\symbol[star]\hfill\symbol[star]\hfill\ hfill\strut }} \starttext \input ward

[NTG-context] Inline Fractions

2021-01-25 Thread Johann Birnick
Recently inline fractions stopped working correctly. For example symbol spacing, sub-/superscripts, the line is too short,... You can see the 3 named problems and how they sometimes appear and sometimes not in this two fractions: \starttext $\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2} \frac

Re: [NTG-context] demo-symbols not working with LMTX

2021-01-19 Thread Hans Hagen
On 1/19/2021 12:18 PM, Jairo A. del Rio wrote: Hi, list. I was looking for information about fonts in ConTeXt defined using MetaPost and I found demo-symbols.tex for an Unicode (?) character. However, it doesn't work. While LMTX just doesn't print the symbol, MkIV complains from the Lua side

[NTG-context] demo-symbols not working with LMTX

2021-01-19 Thread Jairo A. del Rio
Hi, list. I was looking for information about fonts in ConTeXt defined using MetaPost and I found demo-symbols.tex for an Unicode (?) character. However, it doesn't work. While LMTX just doesn't print the symbol, MkIV complains from the Lua side. Has something changed? Jairo

Re: [NTG-context] Bib support broken in lmtx

2021-01-03 Thread Philipp A.
0 per page) >> mkiv lua stats > randomizer: resumed with value 0.37495928832999 >> mkiv lua stats > loaded patterns: en::1, load time: 0.000 >> mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, >> lmroman12-regular.otf >> mkiv lua stats > fo

Re: [NTG-context] Bib support broken in lmtx

2020-12-26 Thread Philipp A.
1 > definitions, 0 shortcuts > mkiv lua stats > font embedding time: 0.006 seconds, 1 fonts > mkiv lua stats > result saved in file: test.pdf, compresslevel 1, > objectcompresslevel 3 > mkiv lua stats > u

Re: [NTG-context] Bib support broken in lmtx

2020-12-25 Thread denis.maier
id: 551, compiler: clang mkiv lua stats > tex properties: 740027 hash slots used of 2097152, 45811 control sequences, approximate memory usage: 28 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 45 MB, ctx: 43 MB, max: 46 MB, symbol mask: utf

[NTG-context] Bib support broken in lmtx

2020-12-25 Thread Philipp A.
> tex properties: 740027 hash slots used of 2097152, 45811 control sequences, approximate memory usage: 28 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 45 MB, ctx: 43 MB, max: 46 MB, symbol mask: ut

Re: [NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Hans Hagen
On 12/10/2020 6:44 PM, Aditya Mahajan wrote: On Thu, 10 Dec 2020, Otared Kavian wrote: Hi all, In Metafun when representing a point I woul dlike to have some dots represented by a square (or even by another scalable symbol): for instance in the following I would like the dot at the point B

Re: [NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Otared Kavian
I woul dlike to have some dots >> represented by a square (or even by another scalable symbol): for instance >> in the following I would like the dot at the point B to be a square: >> >> \starttext >> \startMPcode >> draw (2cm,3cm) -- (3cm,5cm) ; >> dotla

Re: [NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Aditya Mahajan
On Thu, 10 Dec 2020, Otared Kavian wrote: > Hi all, > > In Metafun when representing a point I woul dlike to have some dots > represented by a square (or even by another scalable symbol): for instance in > the following I would like the dot at the point B to be a square:

[NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Otared Kavian
Hi all, In Metafun when representing a point I woul dlike to have some dots represented by a square (or even by another scalable symbol): for instance in the following I would like the dot at the point B to be a square: \starttext \startMPcode draw (2cm,3cm) -- (3cm,5cm) ; dotlabel(textext

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 2/2

2020-12-02 Thread Stephen Gaito
is to ensure that there is NO wishful thinking > > that the code is "correct" ("just trust me")... all results would be > > directly visible in the PDF). > > > > Alas, while, for other reasons, trying to use the Lua-CJSON Lua > > module from within Con

[NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 2/2

2020-11-30 Thread Stephen Gaito
e of a shared library written in C), I find that the current ConTeXt-LMTX is missing (among potentially others) the `lua_checkstack` symbol: > ...Xt/tex/texmf-context/tex/context/base/mkiv/l-package.lua:333: error > loading module 'cjson' from file '/usr/local/lib/lua/5.4/cjson.so': > /usr/lo

Re: [NTG-context] new upload

2020-11-25 Thread Hans Hagen
t; tex properties: 740024 hash slots used of 2097152, approximate memory usage: 44 MB mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 140 MB, ctx: 123 MB, max: 123 MB, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats  > runtime: 20.182 seconds, 396 processed pages,

Re: [NTG-context] new upload

2020-11-25 Thread Giulio Bertellini
ximate memory usage: 44 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 140 MB, ctx: 123 MB, max: 123 MB, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 20.182 seconds, 396 processed pages, 396 shipped pages, 19.621 pages/second giulio b. On Tue,

Re: [NTG-context] UTF-8 characters being dropped from typefile

2020-11-11 Thread Wolfgang Schuster
on ConTeXt ver: 2020.11.05 23:01 LMTX) ? Latin Modern are the default fonts in ConTeXt. BTW, TeX Gyre Cursor doesn’t seem to contain the character you mention. DejaVu has the symbol and can be a option either as main font or just as fallback (but this can break the alignment) for another font

Re: [NTG-context] fancybreak fails in LMTX

2020-11-07 Thread Hans Hagen
indicates that the module is loaded. It gives no other clues. The output has a blank line where the break should be, as shown in the included snips. I guess it's the same bug (related to a symbol check) as Pablo mentioned for the itemize environment. yes, symbol checking

Re: [NTG-context] fancybreak fails in LMTX

2020-11-07 Thread Wolfgang Schuster
no other clues. The output has a blank line where the break should be, as shown in the included snips. I guess it's the same bug (related to a symbol check) as Pablo mentioned for the itemize environment. Wolfgang

[NTG-context] fancybreak fails in LMTX

2020-11-07 Thread Rik Kabel
the break should be, as shown in the included snips. \usemodule  [fancybreak] \definesymbol   [asterisms][*\qquad fancybreak\qquad *] \setupfancybreak[indentnext=no,symbol=asterisms] \starttext   Before \fancybreak   After \stoptext MkIV output: LMTX output

Re: [NTG-context] math symbol for "is an element of"

2020-11-06 Thread Sylvain Hubert
question for the ConTeXt mailing list: > > Other than typing it directly (or cutting and pasting it), how does one get > the character ∈ (in case this gets garbled in emailing, this is supposed to > be the mathematical symbol that looks more or less like an epsilon, and > which is

Re: [NTG-context] math symbol for "is an element of"

2020-11-06 Thread type
: Friday, November 6, 2020 12:10 AM To: mailing list for ConTeXt users ; t...@projectivespace.com Subject: Re: [NTG-context] math symbol for "is an element of" On 11/6/2020 12:24 AM, t...@projectivespace.com wrote: > In this particular case, as Wolfgang pointed out, \in actually does w

Re: [NTG-context] math symbol for "is an element of"

2020-11-06 Thread Hans Hagen
On 11/6/2020 12:24 AM, t...@projectivespace.com wrote: In this particular case, as Wolfgang pointed out, \in actually does work to get the desired symbol in math mode. But it is good to know how to use text substitutions too. WHen you are in doubt you can do this: \meaning\in it will show

Re: [NTG-context] math symbol for "is an element of"

2020-11-05 Thread type
Thank you, Hans! The links you gave me provide me with another useful tool in my toolbox (which I had not been aware of before). In this particular case, as Wolfgang pointed out, \in actually does work to get the desired symbol in math mode. But it is good to know how to use text substitutions

Re: [NTG-context] math symbol for "is an element of"

2020-11-05 Thread type
al Message- From: Wolfgang Schuster Sent: Thursday, November 5, 2020 12:36 PM To: mailing list for ConTeXt users Cc: t...@projectivespace.com Subject: Re: [NTG-context] math symbol for "is an element of" t...@projectivespace.com schrieb am 05.11.2020 um 21:22: > A quick ques

Re: [NTG-context] math symbol for "is an element of"

2020-11-05 Thread Hans Åberg
> On 5 Nov 2020, at 21:22, t...@projectivespace.com wrote: > > Other than typing it directly (or cutting and pasting it), how does one get > the character ∈ (in case this gets garbled in emailing, this is supposed to > be the mathematical symbol that looks more or less

Re: [NTG-context] math symbol for "is an element of"

2020-11-05 Thread Wolfgang Schuster
t...@projectivespace.com schrieb am 05.11.2020 um 21:22: A quick question for the ConTeXt mailing list: Other than typing it directly (or cutting and pasting it), how does one get the character ∈ (in case this gets garbled in emailing, this is supposed to be the mathematical symbol that looks

[NTG-context] math symbol for "is an element of"

2020-11-05 Thread type
A quick question for the ConTeXt mailing list: Other than typing it directly (or cutting and pasting it), how does one get the character ∈ (in case this gets garbled in emailing, this is supposed to be the mathematical symbol that looks more or less like an epsilon, and which is the mathematical

Re: [NTG-context] library 'uni' is unknown

2020-10-01 Thread Jairo A. del Rio
Typo: poor man's. Whatever. Jairo :) El jue., 1 de oct. de 2020 a la(s) 16:31, Jairo A. del Rio ( jairoadelr...@gmail.com) escribió: > Hi, Susanne. > > I think you're confusing ConTeXt symbol sets with LaTeX ones. Except for > symb-imp-emj, which is for emoji support, files w

Re: [NTG-context] library 'uni' is unknown

2020-10-01 Thread Jairo A. del Rio
Hi, Susanne. I think you're confusing ConTeXt symbol sets with LaTeX ones. Except for symb-imp-emj, which is for emoji support, files with symb-imp prefixes list symbol sets supported by ConTeXt (see /tex/texmf-context/tex/context/base/mkiv): symb-imp-cc symb-imp-cow symb-imp-eur symb-imp

[NTG-context] library 'uni' is unknown

2020-10-01 Thread Susanne G. Loeber
Dear Reader, https://wiki.contextgarden.net/Symbols shows predefined symbol sets. The uni and wasysym are unknown. Hereby my example: \usesymbols[mvs] \usesymbols[uni] \usesymbols[wasysym] %% \usesymbols[ifsym] \starttext \par Show entire set martinvogel 1 \showsymbolset[martinvogel 1

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Hans Hagen
etween MKIV and LMTX? C) Is there a font in the distribution for which I can have a "check"-symbol in both MKIV and LMTX? Dingbats are old school t1 without proper names so we can't use unicodes. However, there is a goodie that should do that so that in principle it should work with unicodes b

[NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
h in ZapfDingbats for both MKIV and LMTX uniformly, e.g. by glyph index? (By glyph name does not seem to work: MKIV reports glyph names, LMTX does not.) B) Is there a conditional that I can build into the source to distinguish between MKIV and LMTX? C) Is there a font in the distribution for which

[NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Andres Conrado Montoya
nts/Phaistos.otf usedmethod=direct However, the glyph is not displayed in the pdf. I've tried both in MKIV and LMTX with no luck. Maybe someone here will have a clue. MWE: %% \definesymbol[arbol] [\getnamedglyphdirect{phaistos}{u101F2}] \starttext \switchtobodyfont[72pt] \sym

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> Am 04.09.2020 um 16:20 schrieb Wolfgang Schuster > : > > \startsetups [userdata:myquote] > \startnarrow [left=2em,right=1.5em] > %\dontleavehmode\llap{\symbol[leftquotation]}\getinlineuserdata\symbol[rightquotation] > \symbol[leftquotation]\getinlineuserdata\

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Wolfgang Schuster
? \startsetups [userdata:myquote]     \startnarrow [left=2em,right=1.5em] %\dontleavehmode\llap{\symbol[leftquotation]}\getinlineuserdata\symbol[rightquotation]     \symbol[leftquotation]\getinlineuserdata\symbol[rightquotation]     \doifsomething{\userdataparameter{source}} {\footnote[\userdataparameter

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-31 Thread Fabrice Couvreur
titutions on MacOS: a sequence of characters can be > automatically translated into another. So for example, ".subset" might > translate into "⊂" as you type along. To find the ⊂ the first time, there > is a Unicode symbol table. Other platforms and editors have similar >

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-30 Thread Hans Åberg
quot; might translate into "⊂" as you type along. To find the ⊂ the first time, there is a Unicode symbol table. Other platforms and editors have similar features. There are other ways, but I have found this easiest and

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-30 Thread Fabrice Couvreur
Hello, Thank you for your answers. @Hans My ignorance is total : how to write symbols from the keyboard ? Fabrice Le sam. 29 août 2020 à 20:41, Hans Åberg a écrit : > > > On 29 Aug 2020, at 19:58, Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > > > > Fabrice Couvreur schrieb

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-29 Thread Hans Åberg
> On 29 Aug 2020, at 19:58, Wolfgang Schuster > wrote: > > Fabrice Couvreur schrieb am 29.08.2020 um 19:27: >> Hello, >> The result is not what you expected. >> How can I correct this problem? > > 1. Wait for a fix. > > 2. Use \nsubset. > > \starttext > \m{A \nsubset B} > \stoptext One can

Re: [NTG-context] Mathematical symbol of non-inclusion

2020-08-29 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 29.08.2020 um 19:27: Hello, The result is not what you expected. How can I correct this problem? 1. Wait for a fix. 2. Use \nsubset. \starttext \m{A \nsubset B} \stoptext Wolfgang ___

[NTG-context] Mathematical symbol of non-inclusion

2020-08-29 Thread Fabrice Couvreur
Hello, The result is not what you expected. How can I correct this problem? Thank you Fabrice \starttext \m{A \not\subset B} \stoptext ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Otared Kavian
ead >>>> of 27.1 and 27.2. It's not a combination - they are separate figures on >>>> different pages. >>>> >>>> I've experimented with the options I can see, but it's not obvious if >>>> there is a facility to override the numbering of

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
of the old \sym{symbol} command that used to work as a way to override a single item in an otherwise sequential list. I guess there's a brute force method of setting up a new type of figure with the label "Figure 27.1" and having them numbered as lowercase alpha, but if there's an easier way

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
e the numbering of two figures in a stream of >>> normally numbered figures like this. I was thinking of the equivalent of >>> the old \sym{symbol} command that used to work as a way to override a >>> single item in an otherwise sequential list. >>>

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
with the options I can see, but it's not obvious if there is a facility to override the numbering of two figures in a stream of normally numbered figures like this. I was thinking of the equivalent of the old \sym{symbol} command that used to work as a way to override a single item in an otherwise

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
he options I can see, but it's not obvious if there > is a facility to override the numbering of two figures in a stream of > normally numbered figures like this. I was thinking of the equivalent of the > old \sym{symbol} command that used to work as a way to override a single item > in

[NTG-context] Overriding the number on a float

2020-08-23 Thread Duncan Hothersall
of normally numbered figures like this. I was thinking of the equivalent of the old \sym{symbol} command that used to work as a way to override a single item in an otherwise sequential list. I guess there's a brute force method of setting up a new type of figure with the label "Figure

[NTG-context] Defining \qed (was: Bug with \wordright...)

2020-08-08 Thread Otared Kavian
Hi Wolfgang, Thanks for your explanations and the correct definition of the close symbol in an enumeration. Following up the discussions with Hans, in order to put a close sympbol at the end of a formula, I have the following for the definition of \qed: %% begin example-qed.tex \showframe

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-05 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 05.08.2020 um 19:33: Hello, I also use a square to complete a demonstration. I tried this without success Thank you Fabrice \definesymbol[Fin][\mathematics{\square}] \def\qed{\strut\wordright{\symbol[Fin]}} \defineenumeration   [proof]   [...,    closesymbol

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-05 Thread Fabrice Couvreur
Hello, I also use a square to complete a demonstration. I tried this without success Thank you Fabrice \definesymbol[Fin][\mathematics{\square}] \def\qed{\strut\wordright{\symbol[Fin]}} \defineenumeration [proof] [text=Démonstration, alternative=serried, distance=\zeropoint, number

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Otared Kavian
Hi Hans, Thanks for the hint which consists in adding an \ifmmode to the definition of \qed. However, as you suggest, one needs some other mechanism in math mode, since with your new definition of \qed the alignment of the formula changes when one adds this close symbol: begin-example

Re: [NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-04 Thread Hans Hagen
seems to be \wordright, but although the following minimal example shows a bug it does not produce the same ERROR output page: the square ''end of proof'' \definesymbol[Fin][\mathematics{\square}] \def\qed{\wordright{\symbol[Fin]}} \starttext \startformula a^2 + b^2 = c^2 \stopformula \qed

[NTG-context] Bug with \wordright in LMTX version 2020-08-03 14:25

2020-08-03 Thread Otared Kavian
the following minimal example shows a bug it does not produce the same ERROR output page: the square ''end of proof'' \definesymbol[Fin][\mathematics{\square}] \def\qed{\wordright{\symbol[Fin]}} \starttext \startformula a^2 + b^2 = c^2 \stopformula \qed % the problem is here \stoptext

[NTG-context] Notation of the first derivative in mathematical mode (lmtx)

2020-08-03 Thread Fabrice Couvreur
Hello, I replaced the context engine with the lmtx engine but I find that the derivative symbol is too high regardless of the font used. I mainly use modern and pagella because I type many texts using mathematics: can we correct this problem, Thanks for your help. Fabrice \starttext \startitemize

Re: [NTG-context] Bug in latest LMTX

2020-07-22 Thread Hans Hagen
, and it typesets correctly with mkiv). In eralier versions, ConTeXt would tell the user undefined control sequence \cap and one could fix things very quickly. \cap is defined (just put \meaning in front), it just doesn't have the meaning you want in math (a symbol), so it scane

Re: [NTG-context] Symbol ' of the derived function + pagella + lmtx

2020-07-12 Thread Fabrice Couvreur
functions is not very nice with the symbol '. > Thank you. > Fabrice > > \setupbodyfont [pagella,11pt] > \starttext > \startitemize[n] > \startitem > \math{f'(x)=x²+4x+4} > \stopitem > \startitem > \math{f''(x)=2x+4

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