[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Wolfgang Schuster
e left this definition just for comparison with the soln below. Is there a better way to define a highlight that sets a style (color, font) _and_ a prefix (symbol)? Another way, I know of, would be just a plain def, something like \def{\hl}{\groupedcommand{>\,\switchtobodyfont[tt]}{}}, but actual

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Gerion Entrup
ch a command as '>' is not part of the > style. I have left this definition just for comparison with the soln below. Is there a better way to define a highlight that sets a style (color, font) _and_ a prefix (symbol)? Another way, I know of, would be just a plain def, something like \def{\hl}{\groupedco

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context
> tex properties: 807106 hash slots used of 2097152, 52050 control sequences, approximate memory usage: 49 MB mkiv lua stats  > lua properties: engine: lua 5.5, used memory: 57 MB, ctx: 54 MB, max: 54 MB, symbol mask: utf (τεχ) mkiv lua stats  > runtime: 0.488 seconds, 1 processed pages, 1 shipp

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Bryan Kaplan via ntg-context
tex properties: 807106 hash slots used of 2097152, > 52050 control sequences, approximate memory usage: 49 MB > mkiv lua stats > lua properties: engine: lua 5.5, used memory: 57 MB, > ctx: 54 MB, max: 54 MB, symbol mask: utf (τεχ) > mkiv lua stats > runtime: 0.488 seconds, 1 process

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Hans Hagen via ntg-context
ctx: 54 MB, max: 54 MB, symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.488 seconds, 1 processed pages, 1 shipped pages, 2.050 pages/second Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Re: Arranging bullets within tabulate and itemize

2024-06-19 Thread Wolfgang Schuster
this? You have to set the width for the item symbol/counter to 0pt to get rid of the space before the table. begin example \showframe[text][text] \starttext \startitemize \starttabulate[|||] \NI First item \NC\NR \NI Second item \NC\NR \stoptabulate \stopitemize \startitemize[width=0pt

[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Hans Hagen
On 6/16/2024 12:04 AM, Gerion Entrup wrote: Hmm, you are right, like a little frayed. 02713 and 02714 are similar. I guess, this should look like they were drawn with a brush. none of the other glyphs has that (afaiks in fontforge) ... more looks like some conversion error, also because a

[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Gerion Entrup
and x marks. > >> \checkmark exists but is there a predefined x mark symbol (\xmark does > >> not work)? > >> > >> In general: For LaTeX there exists the very helpful comprehensive LaTeX > >> symbol list [1]. > >> Is there a similar documentation

[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Hans Hagen
On 6/15/2024 11:02 AM, Gerion Entrup wrote: Am Freitag, 13. Oktober 2023, 14:33:24 MESZ schrieb Gerion Entrup: Hi, I recently tried to typeset a table with checkmarks and x marks. \checkmark exists but is there a predefined x mark symbol (\xmark does not work)? In general: For LaTeX

[NTG-context] Re: x mark symbol and general symbol guide

2024-06-15 Thread Gerion Entrup
Am Freitag, 13. Oktober 2023, 14:33:24 MESZ schrieb Gerion Entrup: > Hi, > > I recently tried to typeset a table with checkmarks and x marks. > \checkmark exists but is there a predefined x mark symbol (\xmark does > not work)? > > In general: For LaTeX there ex

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-11 Thread Gerion Entrup
Am Montag, 10. Juni 2024, 15:53:19 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 10.06.2024 um 13:16: > > Hi, > > > > I'd like to scale something (actually a symbol drawn in TikZ) to the exact > > high of the char 'M'. I found the scale environment for it

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread Wolfgang Schuster
Gerion Entrup schrieb am 10.06.2024 um 13:16: Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measured"

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread seyal zavira
Also you can use this: assuming that you have a fixed size figure such as a pdf page: \definesymbol[Bsymbol][{\scale[width=1.6ex]{\externalfigure[myfile.pdf][page=1]}}] \define\mysym{\kern 0.2em \symbol[Bsymbol] \kern 0.3em} \starttext this is a sample\mysym text. \tfa{this is a sample\mysym

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread Hans Hagen
On 6/10/2024 1:16 PM, Gerion Entrup wrote: Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measured"

[NTG-context] Scale content to height of the font, measure font height

2024-06-10 Thread Gerion Entrup
Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measured" commands but they define a dimension and are not

[NTG-context] Re: missing space with French quotation

2024-06-07 Thread Alan Braslau via ntg-context
(and not having some space in the source looks awkward when reading French text). I use: \setupcharacterspacing [frenchpunctuation] [language=fr] \mainlanguage [fr] \setcharacterspacing [frenchpunctuation] % why necessary? \setupitemize [symbol=2] % dash rather than bullet This gives proper

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
; appears before \starttext is shown as expected but this isn't recommended. >> If you (or some other knowledgeable person reading this) don't (doesn't) >> mind another question,... >> Is the bullet symbol not from some font? If so, why is that font loaded in >> time to see the bullet

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
(doesn't) mind another question,... Is the bullet symbol not from some font? If so, why is that font loaded in time to see the bullet? When no font has been loaded yet with \setupbodyfont ConTeXt prints text which is put in a \hbox in a monospaced font as shown in the example below. begin

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
(most?) cases. But I'd argue that it is not always a good thing, such as in this case. (If nothing else, it might mislead a n00b into thinking that you should get output for text preceding \starttext.) If you (or some other knowledgeable person reading this) don't (doesn't) mind another quest

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
-0x2] % look up the right Unicode ranges!    [check=no,force=no] \definetypeface [myfonts] [rm] [serif] [times] [default] [fallbacks=SymbolFB] And then copy the character from a symbol table, no need for a macro. Hmm, that's a great idea. But I can't seem to get a minimal to work with https

[NTG-context] Re: Number in a circle

2024-05-28 Thread Kip Warner
e: > > \definefontfallback[SymbolFB] >    [file:symbola.otf] >    [0x00300-0x003FF,0x02100-0x02800,0x1F000-0x2] % look up the > right > Unicode ranges! >    [check=no,force=no] > > \definetypeface [myfonts] [rm] [serif] [times] [default] > [fallbacks=SymbolFB

[NTG-context] Re: Number in a circle

2024-05-28 Thread Henning Hraban Ramm
the character from a symbol table, no need for a macro. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Bruce Horrocks
t;> * state (start stop): what does this en-/disable? collecting entries? >> * label (yes no none Name): language dependent labels? as a prefix or what? >> * location (none, here): disable placement? when makes this sense? >> * symbol (one two three none default): where is this u

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Henning Hraban Ramm
): language dependent labels? as a prefix or what? * location (none, here): disable placement? when makes this sense? * symbol (one two three none default): where is this used? One solved, still 4 to go… Please, anyone who used these? Hraban

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Duncan Hothersall
s this en-/disable? collecting entries? > * label (yes no none Name): language dependent labels? as a prefix or what? > * location (none, here): disable placement? when makes this sense? > * aligntitle (yes no): align which part to what? > * symbol (one two three none default): where i

[NTG-context] documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
? * location (none, here): disable placement? when makes this sense? * aligntitle (yes no): align which part to what? * symbol (one two three none default): where is this used? Expect more questions… Hraban ___ If your

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Hans Hagen
s. You can activate these ligatures as a font feature though (AFAIR "latexhyphens", can’t find it…). The name of the option has changes a few times and the current setting is textcontrol=collapsehyphens. Some editors and some fonts do automatical replacements. In this case it could

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Wolfgang Schuster
ure though (AFAIR "latexhyphens", can’t find it…). The name of the option has changes a few times and the current setting is textcontrol=collapsehyphens. Some editors and some fonts do automatical replacements. In this case it could be the wrong symbol in the document, th

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
text: 0, script: 393, log: 1138), memory: 4.017 M mkiv lua stats > math tweaking time: 0.097 seconds, 12 math goodie tables mkiv lua stats > graphics processing time: 0.003 seconds including tex, 1 processed images, 1 unique asked, 0 bad names mkiv lua stats > font embedding time: 0.007

[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Hans Hagen
On 2/24/2024 4:28 PM, Mojca Miklavec wrote: Dear Roger, On Sat, 24 Feb 2024 at 15:34, Roger Mason wrote: After unpacking, running the install scripts results in: ld-elf.so.1: /home/rmason/Software/Context/bin/mtxrun: Undefined symbol "__libc_start1@FBSD_1.7" I assume this is beca

[NTG-context] Re: FreeBSD 13.2

2024-02-24 Thread Mojca Miklavec
Dear Roger, On Sat, 24 Feb 2024 at 15:34, Roger Mason wrote: > > After unpacking, running the install scripts results in: > > ld-elf.so.1: /home/rmason/Software/Context/bin/mtxrun: Undefined symbol > "__libc_start1@FBSD_1.7" > > I assume this is because mtxr

[NTG-context] Re: FreeBSD 13.2

2024-02-24 Thread Henning Hraban Ramm
/Context/bin/mtxrun: Undefined symbol "__libc_start1@FBSD_1.7" I assume this is because mtxrun is compiled for FreeBSD 14.0. Thus, I need (I think) to compile it for 13.2. Are there instructions somewhere on how to do this? If I get a working installation I'm happy to contribute the Fr

[NTG-context] FreeBSD 13.2

2024-02-24 Thread Roger Mason
Hello, I've been away from ConTeXt for some time but now I want to install it on my FreeBSD 13.2 system(s) (I have not switched any machines to 14.0 yet). After unpacking, running the install scripts results in: ld-elf.so.1: /home/rmason/Software/Context/bin/mtxrun: Undefined symbol

[NTG-context] Re: New upload doesn't work on macOS 10.13.6

2024-02-18 Thread Gavin via ntg-context
run > anymore. > > According to the output the new version requires a more recent system. I > still use macOS 10.13.6 (High Sierra). > > This is what I get: > > ===== > context TestCode.tex > dyld: lazy symbol binding failed: Symbol n

[NTG-context] New upload doesn't work on macOS 10.13.6

2024-02-18 Thread Ralf Heinrich Arning
Hi list, after having tried to update with the new upload, ConTEXt doesn't run anymore. According to the output the new version requires a more recent system. I still use macOS 10.13.6 (High Sierra). This is what I get: = context TestCode.tex dyld: lazy symbol binding failed

[NTG-context] Re: Best way to input UTF-8

2024-02-18 Thread Marco Patzer
tor. The characters end up in the tex file and that's what's processed by context. \starttext Ωµ±åö←§… \stoptext Methods: - custom keyboard layout (my preferred way) - compose key - symbol input tables (provided by your OS) - copy-pasting symbols from somewhere else - … > If I use the

[NTG-context] Re: Square right aligned

2024-02-09 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 09.02.2024 um 20:07: On 2/8/24 22:37, Otared Kavian wrote: Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED

[NTG-context] Re: Square right aligned

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/8/24 22:37, Otared Kavian wrote: > Hi Ursula, > > I think you mean the so-called end of the proof sign, or QED (Quod Erat > Demonstrandum). You can use this: > > \definesymbol[QED][\mathematics{\square}] > \def\qed{\wordright{\symbol[QED]}} > \starttext > This is

[NTG-context] Re: Square right aligned

2024-02-09 Thread Ursula Hermann
this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED]}} \starttext This is the end of our proof. \qed \stoptext In principle it is included in ConTeXt, but it seems that in the latest version I have (2024.01.23), the command \qed is broken. Best regards: Otared On 8 Feb 2024

[NTG-context] Re: Square right aligned

2024-02-08 Thread Ursula Hermann
2024 22:37:08 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Square right aligned Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED

[NTG-context] Re: Square right aligned

2024-02-08 Thread Otared Kavian
Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED]}} \starttext This is the end of our proof. \qed \stoptext In principle it is included in ConTeXt

[NTG-context] Re: upload

2024-01-18 Thread Hans Hagen
, in the second case a prime symbol in a superscript; in lmtx we have for each nucleus a presubscript, presuperscript, subscript, superscript and primescript (plus index ones) Hans - Hans

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-18 Thread Gerion Entrup
> Sure, it was my interest to understand, if the error lays in my > installation or is due to the predefined files. Especially, since I did > not manage to display a single symbol of FontAwesome at all, not even > the one that seems to be explicitly defined. > > For me, it is not r

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
x-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats > used engine: luametatex version: 2.10.11, functionality level: 20231231, format id: 698, compiler: gcc mkiv lua stats > tex properties: 807097 hash slots used of 2097152, 50666 control sequences, approxim

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-11 Thread Gerion Entrup
dated fonts will break. > > In a next upload we'll define a list of names [5-9] so that we're more > future proof. Thanks. Sure, it was my interest to understand, if the error lays in my installation or is due to the predefined files. Especially, since I did not manage to display a sing

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Hans Hagen
On 1/9/2024 8:31 PM, Gerion Entrup wrote: My system awesome font is version 6 but isn't the one bundled with ConTeXt version 5 (FontAwesome.otf)? This one: tex/texmf/fonts/data/fonticons/fontawesome/FontAwesome.otf: OpenType font data I would assume that ConTeXt is using the bundled file by

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
quot;check" for me > > (see 1.pdf). I also tried: > > > > ``` > > \usesymbols[fontawesome] > > > > \starttext > > \showsymbolset[fontawesome-solid] > > \stoptext > > ``` > > and get a list of symbols that do not belong to fontawesome (

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Wolfgang Schuster
et[fontawesome-solid] \stoptext ``` and get a list of symbols that do not belong to fontawesome (see 2.pdf). I also tried to find the symbol file directly in the context distribution and found: tex/texmf-context/tex/context/base/mkiv/symb-imp-fontawesome.mkiv However, most parts are commented out t

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
t of symbols that do not belong to fontawesome (see 2.pdf). I also tried to find the symbol file directly in the context distribution and found: tex/texmf-context/tex/context/base/mkiv/symb-imp-fontawesome.mkiv However, most parts are commented out there, one of the few remaining symbols is wheel

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 30.12.2023 um 09:40: I tried this for old style factorial, but it appears much below the line in which it is used. How can I bring it up? Replace the \inmframed command with \mcframed. \define[1]\oldfact  

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Shiv Shankar Dayal
I tried this for old style factorial, but it appears much below the line in which it is used. How can I bring it up? On Wed, Dec 27, 2023 at 6:18 PM Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > > > A simple alternative to tikz is the usage of \framed. >> >> \define[1]\oldfact >>

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
crit : >> >>> Hi, >>> >>> On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur >>> wrote: >>> > >>> > Thank you for your suggestion but in the following example the >>> operational symbol is too big as well as the number

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
> >> On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur >> wrote: >> > >> > Thank you for your suggestion but in the following example the >> operational symbol is too big as well as the number 1. >> > >> > \mapfontsize[modern][scr

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Well, actually I get the same thing . [image: test.png] Le ven. 29 déc. 2023 à 16:00, Mikael Sundqvist a écrit : > Hi, > > On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur > wrote: > > > > Thank you for your suggestion but in the following example the > operationa

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
ing example the operational > > symbol is too big as well as the number 1. > > > > \mapfontsize[modern][script] [.4] > > \mapfontsize[modern][scriptscript][.2] > > > > \setupbodyfont[modern,12pt] > > > > \startTEXpage[offset=1DK] > &

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 4:49 PM Fabrice Couvreur wrote: > > Thank you for your suggestion but in the following example the operational > symbol is too big as well as the number 1. > > \mapfontsize[modern][script] [.4] > \mapfontsize[modern][scriptscript][.2] > > \s

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Thank you for your suggestion but in the following example the operational symbol is too big as well as the number 1. \mapfontsize[modern][script] [.4] \mapfontsize[modern][scriptscript][.2] \setupbodyfont[modern,12pt] \startTEXpage[offset=1DK] \m{z_{n+1}} \stopTEXpage Le ven. 29 déc. 2023 à

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread lynx
By "old style" factorial, do you mean the inside corner notation (shaped like an L )? If so, Why? On 2023-12-27 05:01, Shiv Shankar Dayal wrote: > Hi, > > How can I typeset old style factorial symbol and theorems in ConTeXt. I found > https://www.ntg.nl/maps/36/09.pd

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Mikael Sundqvist
Hi! Not by computer, and I'm sure Hans (or Wolfgang) has already shown a way to do the old factorial with the actuarian mechanism when I'm back to the computer... /Mikael Den ons 27 dec. 2023 13:49Shiv Shankar Dayal skrev: > > > A simple alternative to tikz is the usage of \framed. >> >>

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
A simple alternative to tikz is the usage of \framed. > > \define[1]\oldfact > {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} > > \starttext > > \m{\oldfact{n}} > > \stoptext > > Wolfgang > > Thanks a lot. It should work nicely. -- Respect, Shiv Shankar Dayal

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:31: What do you expect here to pass as argument to the oldfact command? I will pass something like n, 5, 10 etc. A simple alternative to tikz is the usage of \framed. \define[1]\oldfact  

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
What do you expect here to pass as argument to the oldfact command? > I will pass something like n, 5, 10 etc. > > This works here: > > \defineenumeration > [proof] > [closesymbol={\mathematics{\square}}] > > \starttext > > \startproof > \samplefile{lorem} > \stopproof > > \stoptext >

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:19: I use following in Latex to generate old factorial symbol: \newcommand{\oldfact}[1]{% \tikz[baseline]{\node[anchor=base,inner sep=0.3ex](mynode){\ensuremath{#1}};\draw(mynode.north west)--(mynode.south west)--(mynode.south east);\path[use

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
I use following in Latex to generate old factorial symbol: \newcommand{\oldfact}[1]{% \tikz[baseline]{\node[anchor=base,inner sep=0.3ex](mynode){\ensuremath{#1}};\draw(mynode.north west)--(mynode.south west)--(mynode.south east);\path[use as bounding box]($(mynode.south west)+(-0.3ex,-0.3ex

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:01: Hi, How can I typeset old style factorial symbol and theorems in ConTeXt. I found https://www.ntg.nl/maps/36/09.pdf but it does not work. What adaptation should I do for it to work? Can you be more precise what you have tried and doesn't

[NTG-context] old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
Hi, How can I typeset old style factorial symbol and theorems in ConTeXt. I found https://www.ntg.nl/maps/36/09.pdf but it does not work. What adaptation should I do for it to work? -- Respect, Shiv Shankar Dayal

[NTG-context] LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Gerion Entrup
[itemize:1][symbol=3,itemalign=middle]`: How are the arguments handled and is this a generic process or specific to each command? Is there a simple way to define a new command/environment and handle the keyword arguments in Lua? For example defining a frontend command like this: \startsomething

[NTG-context] Vertically aligned alternating fillers

2023-11-16 Thread Marco Patzer
if the text has variable width? Example: \usemodule [visual] \definefiller [pavel-0] [alterntive=symbol, method=global, width=2em, leftmargin=.5em, rightmargin=.5em, symbol=\clap{.}] \definefiller [pavel-1] [pavel-0] [align=left] \definefiller [pavel-2] [pavel-0

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-07 Thread Andres Conrado Montoya
A possible reason for this is that the use of xlink:href, the attribute used to render the text glyphs created by symbol elements in https://wiki.contextgarden.net/images/5/54/layout.svg, has been deprecated since SVG 2.0, as you can see in https://developer.mozilla.org/en-US/docs/Web/SVG

[NTG-context] Re: command to process CSV file (database module)

2023-11-05 Thread Pablo Rodriguez via ntg-context
On 11/5/23 13:56, Pablo Rodriguez via ntg-context wrote: > [...] > I get an error about an unexpected symbol near "\" in the line of > "\processdatabasefile". > > Could anyone enlighten me about what I am missing here? Replying to myself, thanks to the w

[NTG-context] command to process CSV file (database module)

2023-11-05 Thread Pablo Rodriguez via ntg-context
ile=#2]% \doiftext{#3}{ (also available at #3)}.}} \defineseparatedlist [test] [separator={,}, % tab quotechar={"}, % tab before={\startitemize[n]},after={\stopitemize}, first={\ItemContents},last={.}, left={\{},right={\}}] \processdatabasefile[test

[NTG-context] Several math features broke for me in new Debian version

2023-11-03 Thread Kumar Appaiah
\NR 6\NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR 7 \stopcases 8 \stopformula 9 \stoptext 10 I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. mtx-context | fatal error: return code: 1 Just another note: some exa

[NTG-context] Fwd: Re: x mark symbol and general symbol guide

2023-10-16 Thread Gerion Entrup
Hans already answered my question. Thank you! Gerion -- Forwarded Message -- Subject: Re: [NTG-context] x mark symbol and general symbol guide Date: Freitag, 13. Oktober 2023, 18:13:42 CEST From: Hans Hagen To: Gerion Entrup On 10/13/2023 2:33 PM, Gerion Entrup wrote: >

[NTG-context] x mark symbol and general symbol guide

2023-10-13 Thread Gerion Entrup
Hi, I recently tried to typeset a table with checkmarks and x marks. \checkmark exists but is there a predefined x mark symbol (\xmark does not work)? In general: For LaTeX there exists the very helpful comprehensive LaTeX symbol list [1]. Is there a similar documentation for ConTeXt somewhere

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-23 Thread Hamid,Idris
-- Original Message -- From "Hans Hagen via ntg-context" mailto:ntg-context@ntg.nl>> To "ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>" mailto:ntg-context@ntg.nl>> Cc "Hans Hagen" mailto:j.ha...@freedom.nl>> Date 9/22/2023 10:

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
On 9/22/2023 3:51 PM, Hamid,Idris wrote: -- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>" mailto:ntg-context@ntg.nl>> Date 9/22/2023 7:15:25 AM Subject [NTG-context] Re: Togglin

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hamid,Idris
-- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>" mailto:ntg-context@ntg.nl>> Date 9/22/2023 7:15:25 AM Subject [NTG-context] Re: Toggling the symbol for the zero-width joiner a

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hamid,Idris
-- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>" mailto:ntg-context@ntg.nl>> Date 9/22/2023 7:03:34 AM Subject [NTG-context] Re: Toggling the symbol for the zero-width joiner a

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen
On 9/22/2023 2:39 PM, Hamid,Idris wrote: b. we want all Unicode control symbols to be suppressed in final pdf output (for, e.g., printing). they basically are unless some font features keeps them around which is out of our control irr it was you who wanted them to be wiped decades ago as

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen
Hi, I found it ... \startbuffer \definedfont[almfixed*default]hello w\zwnj o\zwj r\zwnj l\zwj d \stopbuffer \getbuffer \start \setcharacterstripping[1] \getbuffer \stop so now, being its only user, you have to wikify it ... Hans

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hamid,Idris
-- Original Message -- From "Hans Hagen via ntg-context" mailto:ntg-context@ntg.nl>> To "ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>" mailto:ntg-context@ntg.nl>> Cc "Hans Hagen" mailto:j.ha...@freedom.nl>> Date 9/22/2023 3:

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
/21/2023 3:29:22 PM Subject Re: [NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters Many thanks, Hans. The method appears to work only for nbsp, not zwj etc. Here is the updated MWE: === \startTEXpage[offset=1em] \disabletrackers[typesett

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
-- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "Hamid,Idris" mailto:idris.ha...@colostate.edu>>; "mailing list for ConTeXt users" mailto:ntg-context@ntg.nl>> Date 9/21/2023 3:29:22 PM Subject Re: [NTG-context] R

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hans Hagen
On 9/21/2023 10:53 PM, Hamid,Idris wrote: -- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>" mailto:ntg-context@ntg.nl>> Date 9/21/2023 8:52:45 AM Subject [NTG-context] Re:

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
-- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>" mailto:ntg-context@ntg.nl>> Date 9/21/2023 8:52:45 AM Subject [NTG-context] Re: Toggling the symbol for the zero-width joiner a

[NTG-context] problems with comments

2023-09-21 Thread Henning Hraban Ramm
hat doesn’t matter. "location=inmargin": the symbol is at the edge of the text, but not in the margin. Hraban \setupinteraction[ state=start, ] \setupcomment[ author=Don, location=inmargin, ] \starttext \samplefile{knuth} \comment[author=Me

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hans Hagen
nyone know or recall where the symbol-toggling mechanism is? If not, what would be the simplest way to implement it? Here is a MWE (note that the three control chars might be invisible in your email client): == \startTEXpage[offset=1em] \definedfont[almfixed at 14pt] ZWJ: ‌ ZWN

[NTG-context] Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
), there is the option "Show Unicode control characters" which toggles the symbols and keeps the effects. I seem to recall that ConTeXt has/had a similar mechanism for toggling the symbols for Unicode control characters but cannot find it. Does anyone know or recall where the symbo

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Henning Hraban Ramm
the hood, I think there’s just a “reference” key missing in \attachment or \setupattachment: \setupinteraction[state=start] \starttext \samplefile{lorem} \attachment[ file={hacker.jpg}, title={Hacker}, symbol=Paperclip, author=Hans, location=inmargin, reference=foobar, ] As you can see

[NTG-context] Re: Building luametatex with Lua symbols exposed

2023-09-02 Thread Michal Vlasák
luametatex's source files, it does export _all_ symbols, which makes binaries bigger, and symbol resolution slower. It also exports also symbols that are not intended to be used by external modules, like "tex_get_x_token". Back when luametatex source code wasn't available, I created a demo whi

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Pablo Rodriguez
nface][rm][DejaVu Sans] >>[sl≃style:bf] > > You're using the wrong symbol (you have a math operator in your example) > to assign a value to a key. Many thanks for your reply, Wolfgang. As always, many thanks for your valuable help. Somehow I copied the assymptopically equal to char

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 02.09.2023 um 12:35: [...] Sorry, but I don‘t know why this doesn‘t get the slanted font as bold (I know I should know better, but I‘m stuck at this): \definefontfamily[mainface][rm][DejaVu Sans] [sl≃style:bf] You're using the wrong symbol (you have a math

[NTG-context] Re: XML: Correct usage of hash symbol in url / new upload

2023-08-27 Thread Hans Hagen via ntg-context
(with cc parameter) so that the user is not confused (an alternative could have been to indicate a parameter reference differently but changing that now is no real option - what symbol to use anyway?) with lua(meta)tex opening up matters this duplication becomes a bit annoying so i decided

[NTG-context] Re: XML: Correct usage of hash symbol in url

2023-08-25 Thread Hans Hagen via ntg-context
On 8/25/2023 10:16 AM, denis.ma...@unibe.ch wrote: Hi, I need to process URLs in XML documents differently depending on the target. Thanks to Hans and Thomas I can now deal with the attributes. Now I need to prefix certain kind of targets with a certain URL (a web viewer for IIIF images in

[NTG-context] XML: Correct usage of hash symbol in url

2023-08-25 Thread denis.maier
Hi, I need to process URLs in XML documents differently depending on the target. Thanks to Hans and Thomas I can now deal with the attributes. Now I need to prefix certain kind of targets with a certain URL (a web viewer for IIIF images in this particular case). The prefix contains a #, which,

[NTG-context] An error which is not in .log file

2023-08-15 Thread Xavier B.
used engine: luametatex version: 2.10.10, functionality level: 20230803, format id: 697, compiler: gcc mkiv lua stats > tex properties: 806417 hash slots used of 2097152, 70025 control sequences, approximate memory usage: 82 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
exercici[reference=...,title=...] > >     - \placetable[][]{}{...} -->  > \startplacetable[reference=...,location=...,title=...] ... \stopplacetable > >     - Llimones \hfill 6  -->  Llim

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
,title=...]     - \placetable[][]{}{...} -->  \startplacetable[reference=...,location=...,title=...] ... \stopplacetable     - Llimones \hfill 6  -->  Llimones \filler[symbol] 6     - \bigskip  -->  \blank[

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
More precise \rlaps for the previous MWE: \hbox{\rlap{\ruledhbox {\transparentgreen\tfx c\symbol{glottalhamzah}c}}% \hskip-.075em \ruledhbox {\transparentred c\symbol{glottalhamzah}c}} \hbox{\rlap{\ruledhbox {\transparentgreen\tfx c\symbol{glottalayn}c}}% \hskip-.075em

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
th=2cm] % \ruledhbox {\tfx T \symbol{iTee}} \par % \ruledhbox {T \symbol{iTee}} \par % \ruledhbox {\tfa T \symbol{iTee}} \par % \ruledhbox {\bfd T \symbol{iTee}} % \stopTEXpage \definefontsynonym[MinionRegular][MinionPro-Regular.otf*default] \startsetups glyph:glottal

  1   2   3   4   5   6   7   8   9   10   >