[NTG-context] Re: Illustrations in running text.

2025-08-10 Thread Mikael Sundqvist
Hi Matthias, On Sun, Aug 10, 2025 at 2:58 PM Matthias Weber wrote: > > Hi John, > > You can use the inline option: > > > \setupexternalfigures[location=default] > \starttext > Is it this \externalfigure[hacker.jpg][height=2ex,inline]{} or > \externalfigure[co

[NTG-context] Re: Illustrations in running text.

2025-08-10 Thread Matthias Weber
Hi John, You can use the inline option: \setupexternalfigures[location=default] \starttext Is it this \externalfigure[hacker.jpg][height=2ex,inline]{} or \externalfigure[cow][height=2ex,inline]{} what you mean? \stoptext Matthias > On Aug 10, 2025, at 5:26 AM, John Was wr

[NTG-context] Re: export and tagging

2025-07-26 Thread Matthias Weber
] \goodriddancemath Yes, that is what I was looking for, but it looks like it is only working for inline math? > On Jul 26, 2025, at 5:23 PM, Hans Hagen via ntg-context > wrote: > > On 7/26/2025 4:14 PM, Matthias Weber wrote: >> Thank you, I look forward to testing any n

[NTG-context] Re: Patch to use ls-R files with TeX Live

2025-07-25 Thread Hans Hagen via ntg-context
with repeated runs (so the OS has cached everything) and I have really fast disks. I've included a diff inline below, and I've also attached the modified files. I didn't attach mtxrun.lua since the file is so large, so you'll need to manually copy the changes from the diff.

[NTG-context] Patch to use ls-R files with TeX Live

2025-07-24 Thread Max Chernoff via ntg-context
have really fast disks. I've included a diff inline below, and I've also attached the modified files. I didn't attach mtxrun.lua since the file is so large, so you'll need to manually copy the changes from the diff. Also, can you please rename m-texlive.mkxl to m-texlive.mkiv? Lu

[NTG-context] Re: Position of formula

2025-07-14 Thread Shiv Shankar Dayal
ed below the list enumerator and mid-aligned. How > > > can I align it to left and in the same line as list enumerator. I > > > tried replacing \startformula with $ but then it goes above the list > > > enumerator and is still mid-aligned. I tried setting flushlef

[NTG-context] Re: Position of formula

2025-07-14 Thread Shiv Shankar Dayal
tartformula with $ but then it goes above the list > > enumerator and is still mid-aligned. I tried setting flushleft and > > align attributes but they did not work. > > You need a couple of things: > > - \startformula ... \stopformula uses the full local width. You need to us

[NTG-context] Re: Position of formula

2025-07-14 Thread Aditya Mahajan
tor and is still mid-aligned. I tried setting flushleft and > align attributes but they did not work. You need a couple of things: - \startformula ... \stopformula uses the full local width. You need to use inline math $ ... $ (I use \startimath ... \stopimath below so that it looks nicer). - Y

[NTG-context] Re: testing tagging for UA-2

2025-07-12 Thread Hans Hagen via ntg-context
e familiar with TeX anyways. Well, i never meet people who are familiar with latex input ... or expect that from us ... do you expect me to generate something latex math from less verbose context math? And what about all kind of (educational) stuff inside there. We try to accomodate what users ex

[NTG-context] Re: testing tagging for UA-2

2025-07-12 Thread Max Chernoff via ntg-context
iar with latex input ... or > expect that from us ... do you expect me to generate something latex > math from less verbose context math? And what about all kind of > (educational) stuff inside there. We try to accomodate what users expect > and challenge us to because that's the world

[NTG-context] Re: Strange display of math when enabling export xml/html/xhtml

2025-03-05 Thread Christoph Hintermüller via ntg-context
Dear Hans [Inline Response to message by Hans Hagen, Di, 2025-03-04 17:44 +0100: Answers and comments below corresponding cited paragraphs.] > On 3/4/2025 5:14 PM, Christoph Hintermüller via ntg-context wrote: > > Dear Hans, Dear all > > > > Once angain me trying to convert

[NTG-context] Re: Strange display of math when enabling export xml/html/xhtml

2025-03-04 Thread Christoph Hintermüller via ntg-context
Dear Hans [Inline Response to message by Hans Hagen, Di, 2025-03-04 17:44 +0100: Answers and comments below corresponding cited paragraphs.] > On 3/4/2025 5:14 PM, Christoph Hintermüller via ntg-context wrote: > > Dear Hans, Dear all > > > > Once angain me trying to convert

[NTG-context] Re: Mathdigits fallback does not work

2025-02-23 Thread Mohammad Hossein Bateni
4 : {3 + 2 = 5 \bf 3 + 2 = 5 text Arabic diigts} > 5 : \dm{\sum_{i=1}^{8} x^2 = \pi\alpha + e^{-\beta}} > \stoplines > \stoptext > > > %$$\sum_{i=1}^{8} x^2 = \pi\alpha + e^{-\beta}$$ > > > > If the last line is uncommented, I ran into the followin

[NTG-context] Re: Mathdigits fallback does not work

2025-02-12 Thread Hans Hagen via ntg-context
is uncommented, I ran into the following error. In ConTeXt the $$ is just seen as $ (inline math). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Neth

[NTG-context] Re: Example, the formular is too much in the middle, should be mor left

2025-02-11 Thread Ursula Hermann
g, the command is used to create inline math and shouldn't be needed (with a few exceptions) in a formula environment. Change the formula to \starttext \startformula u × (v × w) = u × \startmathmatrix[fences=parenthesis] \NC v_2w_3 \NC - \NC v_3w_2 \NR \NC v_3w_1 \NC - \NC v

[NTG-context] Re: Example, the formular is too much in the middle, should be mor left

2025-02-11 Thread Wolfgang Schuster
command is used to create inline math and shouldn't be needed (with a few exceptions) in a formula environment. Change the formula to \starttext \startformula u × (v × w) = u × \startmathmatrix[fences=parenthesis] \NC v_2w_3 \NC - \NC v_3w_2 \NR \NC v_3w_1 \NC - \NC v_3w_2\NR

[NTG-context] Re: How hard should something get \smash-ed ?

2025-01-13 Thread Jim
text >> $$\sum^0_n$$ >> \stoptext >> is in (of course(?)) \displaystyle. >> Is this difference intentional? >> Thanks for reporting. I don't think it is intentional. (Can you show >> your real world example where \smash is needed? It seems to not reall

[NTG-context] Re: How hard should something get \smash-ed ?

2025-01-13 Thread Jim
n imagine someone wanting to do something like that in another type of table, even using a non-deprecated type of table. (I added \displaystyle to the example yesterday to make it do what the example's author intended.) > PS $$ is not meant to be used in ConTeXt. If you want inline math

[NTG-context] Re: How hard should something get \smash-ed ?

2025-01-12 Thread Hans Hagen via ntg-context
world example where \smash is needed? It seems to not really be used in any macro in ConTeXt.) /Mikael PS $$ is not meant to be used in ConTeXt. If you want inline math in display style, use \dm {}, and if you want displayed formulas in display style, use \startformula \stopformula. % pu

[NTG-context] Re: How hard should something get \smash-ed ?

2025-01-12 Thread Mikael Sundqvist
eeded? It seems to not really be used in any macro in ConTeXt.) /Mikael PS $$ is not meant to be used in ConTeXt. If you want inline math in display style, use \dm {}, and if you want displayed formulas in display style, use \startformula \stopformula. __

[NTG-context] Re: equation to right margin

2024-10-12 Thread Alan Bowen
informative. Many thanks! Alan On Thu, Oct 10, 2024 at 1:36 AM Mikael Sundqvist wrote: > Hi, > > A. Bowen: The cases are meant for when you divide something into > cases, as in the example below with the absolute value. It is a kind > of inline part of a formula, and I would claim that

[NTG-context] Re: equation to right margin

2024-10-10 Thread Otared Kavian
ist wrote: > > Hi, > > A. Bowen: The cases are meant for when you divide something into > cases, as in the example below with the absolute value. It is a kind > of inline part of a formula, and I would claim that when you number an > equation, you do not number one case of a cas

[NTG-context] Re: equation to right margin

2024-10-09 Thread Mikael Sundqvist
Hi, A. Bowen: The cases are meant for when you divide something into cases, as in the example below with the absolute value. It is a kind of inline part of a formula, and I would claim that when you number an equation, you do not number one case of a cases, but the equation. If you refer to it

[NTG-context] suitable macros for Pandoc custom styles for paragraphs, spans and tables

2024-09-23 Thread mf
ragraph or character style in DOCX, ICML or ODT when exported to those formats - e.g. when you have a Span with custom-style="myStyle" around some inline text, you'll get a character style "myStyle" in those formats - for paragraphs, it's a bit different: since they ha

[NTG-context] Inline equations and html export

2024-09-18 Thread Florent Michel
Hello, Thanks Hans and everyone who has worked on it for the new upload! I have noticed a change which seems to break XML/html export for inline equations; although I don't know if the issue is with the new version or with how I'm using it. Minimal example: ``` \setupbackend[

[NTG-context] Re: Same font for metafun as document

2024-09-16 Thread Shiv Shankar Dayal
w can I have > > metafun use the same fonts for labelling. All the metafun code is > > inline. > > MetaFun usually uses the main font. If it doesn’t, check if you set it > up before you create your graphics. > > If there’s a problem, m

[NTG-context] Re: Same font for metafun as document

2024-09-16 Thread Henning Hraban Ramm
Am 17.09.24 um 08:05 schrieb Shiv Shankar Dayal: Suppose I use dejavu fonts for the main document then how can I have metafun use the same fonts for labelling. All the metafun code is inline. MetaFun usually uses the main font. If it doesn’t, check if you set it up before you create your

[NTG-context] Same font for metafun as document

2024-09-16 Thread Shiv Shankar Dayal
Suppose I use dejavu fonts for the main document then how can I have metafun use the same fonts for labelling. All the metafun code is inline. -- Respect, Shiv Shankar Dayal ___ If your question is of interest to

[NTG-context] \xmlinlineverbatim not inline

2024-06-16 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startbuffer[demo] text \stopbuffer \startxmlsetups xml:sample \xmlsetsetup{#1}{text}{xml:*} \stopxmlsetups \xmlregistersetup{xml:sample} \startxmlsetups xml:text block: a \xmlverbatim{#1} b\\ inline: a

[NTG-context] Re: Cite-proc Lua - Following up

2024-06-12 Thread Max Chernoff
n/none"] = false, ["@text-decoration/underline"] = [[\underline{%s}]], ["@vertical-align/sup"] = [[\high{%s}]], ["@vertical-align/sub"] = [[\low{%s}]], ["@vertical-align/baseline"] = false, ["

[NTG-context] suggestion: two templates for the wiki

2024-06-10 Thread Pablo Rodriguez via ntg-context
Dear Taco and Hraban, trying to improve the XML page from the wiki, I think it would be extremely useful to have two templates for inline code: {{xml|…}}: inline XML highlighted as for blocks. {{tex|…}}: inline TeX code highlighted as for blocks. As for the second, {{cmd|…}} includes a link

[NTG-context] Re: setuphead in connection with the command argument

2024-06-01 Thread Wolfgang Schuster
. The example below demonstrates a few of them and you can create your own styles with \defineheadalternative. The command key provides a different method to create your own style/layout and in most cases it doesn't mattter which method you use, only when you want an inline

[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-09 Thread Wolfgang Schuster
egime {\currentregime}% method {\p_buff_option}% nature {inline}% is default anyway \relax \dostoptagged} Wolfgang ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] weird \inlinetypebuffer interaction

2024-05-06 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][tt][TeX Gyre Termes] \setupbodyfont[mainface] \starttext \startbuffer context --purgeall \stopbuffer inline \typeinlinebuffer block: \typebuffer \stoptext As long as there is no defined font family for mono

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
isible in the >> component chapter-14 : >> >> It is probably not related to the figure itself. Something may be >> different in this component compared to the other ones. I cannot really >> say, of course. Still, using external image instead of inline metapost may >> b

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Fabrice Couvreur
ly not related to the figure itself. Something may be > different in this component compared to the other ones. I cannot really > say, of course. Still, using external image instead of inline metapost may > be fix it. Not elegant, but if it works it works! > > Good luck, > Taco > >

[NTG-context] Re: The graph is not visible.

2024-04-25 Thread Taco Hoekwater
e itself. Something may be different in this component compared to the other ones. I cannot really say, of course. Still, using external image instead of inline metapost may be fix it. Not elegant, but if it works it works! Good luck, Taco > > \startcomponent[chapter-14] > \startMPpage &

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jeroen
}] Also the inline options seems to unbold the inline text nicely: \margindata[inouter]{\rm \it example} Op di 19 mrt 2024 om 16:17 schreef Marco Patzer : > On Tue, 19 Mar 2024 15:38:16 +0100 > Jeroen wrote: > > > Can this text be placed in the margin in regular text or possibly

[NTG-context] Re: Japanese

2024-03-14 Thread Otared Kavian
justment > > https://www.w3.org/TR/jlreq/#term.line-adjustment > > • aligning of the lines to the Kihon-hanmen (optimizing the code below in > > this regard) > > • positioning and realm of headings https://www.w3.org/TR/jlreq/#fig3_1_9 > > https://www.w3.org/TR/jlreq/#f

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
igning of the lines to the Kihon-hanmen (optimizing the code below in > > this regard) > > • positioning and realm of headings https://www.w3.org/TR/jlreq/#fig3_1_9 > > https://www.w3.org/TR/jlreq/#fig3_1_15 et al, and > > https://www.w3.org/TR/jlreq/#fig3_1_4 > > • p

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
the Kihon-hanmen (optimizing the code below > in this regard) > • positioning and realm of headings > https://www.w3.org/TR/jlreq/#fig3_1_9 https://www.w3.org/TR/jlreq/#fig3_1_15 > et al, and https://www.w3.org/TR/jlreq/#fig3_1_4 > • positioning of yokugo-ruby https://www.w3.o

[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster
/jlreq/#fig2_3_24 * inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1 * emphasis with sesame dot or bullet * itemization https://www.w3.org/TR/jlreq/#fig2_5_6 Circled numbered are easy and achieved by adding additional number conversions. * indenting of quotation

[NTG-context] Re: Japanese

2024-03-10 Thread Jean-Pierre Delange
_3_24 * inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1 * emphasis with sesame dot or bullet * itemization https://www.w3.org/TR/jlreq/#fig2_5_6 * indenting of quotation paragraphs https://www.w3.org/TR/jlreq/#fig2_5_7 * tab setting https://www.w3.org/TR/

[NTG-context] Re: How can I do this?

2024-03-10 Thread Otared Kavian
Hi Hans and Hraban, Thank you both for your remarks: indeed I am aware of the commands \m{} and \dm{} in ConTeXt, but for my work with math stuff I use the usual dollar signs for inline maths, since in this way it is easier for me to read the source on the one hand, and and on the hand when

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
/#fig2_3_24 inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1 emphasis with sesame dot or bullet itemization https://www.w3.org/TR/jlreq/#fig2_5_6 indenting of quotation paragraphs https://www.w3.org/TR/jlreq/#fig2_5_7 tab setting https://www.w3.org/TR/jlreq/#fig2_6_1 furiwake https

[NTG-context] Re: How can I do this?

2024-03-10 Thread Hans Hagen via ntg-context
modern ConTeXt approach of \m{}. for regular inline math we just use \im{...} (which has an \dm{...} companion with displaystyle Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
sent me: the formulas run into >> the text just above them, as you can see in the attached PDF. I am using >> ConTeXt LMTX version 2024.01.08 on MacOS 11.7.10. I don’t see what is wrong >> with my installation… >> >> Best regards: Otared >> >> >&g

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
escription: Adobe PDF document On 17 Jan 2024, at 09:47, Mikael Sundqvist <mic...@gmail.com> wrote:Hi Otared,I'm not sure how you get that code, since you do not show the source.From last upload, there is location=packed for align, so now that canbe used "inline" in formulas. See

[NTG-context] Re: error with definestartstop and startmode

2023-12-18 Thread Aditya Mahajan
gt; >> \keepblocks[H] > > Thanks for this solution. > > > > Is there also something for inline-mode? Example: > > > > test \beginH TEST\endH test > > You can create different versions of your environment and let context choose > one whether the mode is enab

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Wolfgang Schuster
Peter Münster schrieb am 17.12.2023 um 10:09: On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: \usemodule[abbreviations-logos] \defineblock [H] [before=\startcolor[blue],after=\stopcolor] \keepblocks[H] Thanks for this solution. Is there also something for inline-mode? Example: test

[NTG-context] Re: error with definestartstop and startmode

2023-12-17 Thread Peter Münster
On Sat, Dec 16 2023, Hans Hagen via ntg-context wrote: > \usemodule[abbreviations-logos] > \defineblock [H] [before=\startcolor[blue],after=\stopcolor] > \keepblocks[H] Thanks for this solution. Is there also something for inline-mode? Example: test \beginH TEST\endH

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Wolfgang Schuster
Unter diesen Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar. \stoptext \par \starttext 1. Use the itemize environment to create numbered blocks. 2. Learn the correct usage of inline math mode, i.e. \m{...} 1. \m\forall m ∈M : ∃f ∈F : h(m, f).\par 2. ∃f ∈F : ∀m ∈M

[NTG-context] Re: Fractions

2023-12-10 Thread Gavin via ntg-context
lfgang. I am not sure I have something >> valuable to say in addition to Adityas suggestion \frac{1/3} in inline >> math. In any case, I attach a passage, with suggestions inspired by >> Lansburgh's book (iin Swedish). Not sure the file size makes it >> through to the li

[NTG-context] Re: Fractions

2023-12-10 Thread Henning Hraban Ramm
answered by Mikael or Aditya! Thank you for your trust, Wolfgang. I am not sure I have something valuable to say in addition to Adityas suggestion \frac{1/3} in inline math. In any case, I attach a passage, with suggestions inspired by Lansburgh's book (iin Swedish). Not sure the file size mak

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-10 Thread Hans Hagen via ntg-context
{\sfrac{1}{3}} \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\dfrac{1}{3}}: \m{\dfrac{1}{3}} \type{\cfrac{1}{3}}: \m{\cfrac{1}{3}} \type{\vfrac{1}{3}}: \m{\vfrac{1}{3}} \type{\hfrac{1}{3}}: \m{\hfrac{1}{3}} \stoplines \stoptext Or, for inline math, $\sqrt{1/3}$. radicals are somewhat special to deal with

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Aditya Mahajan
}{3}} > \type{\frac{1}{3}}: \m{\frac{1}{3}} > \type{\dfrac{1}{3}}: \m{\dfrac{1}{3}} > \type{\cfrac{1}{3}}: \m{\cfrac{1}{3}} > \type{\vfrac{1}{3}}: \m{\vfrac{1}{3}} > \type{\hfrac{1}{3}}: \m{\hfrac{1}{3}} > \stoplines > > \stopt

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
\setupinterlinespace or you use a different fraction command which uses smaller numbers or creates inline fractions. \starttext \startlines \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\xfrac{1}{3}}: \m{\xfrac{1}{3}} \type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}} \type{\tfrac{1}{3}}: \m{\tfrac{1}{3}} \type{\sfrac{1}{3

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 2:42 PM, Alexandre Christe wrote: Hi Hans, Thanks for your answer. It helps a lot. Would there be a way to only add space when inline math is not followed by punctuation, i.e., when inline math is followed by a space? A. Christe Le 4 déc. 2023 à 14:08 +0100, Hans Hagen , a

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Alexandre Christe
Hi Hans, Thanks for your answer. It helps a lot. Would there be a way to only add space when inline math is not followed by punctuation, i.e., when inline math is followed by a space? A. Christe Le 4 déc. 2023 à 14:08 +0100, Hans Hagen , a écrit : > > \setupmathematics[textdistance=.25e

[NTG-context] Re: Inline math spacing

2023-12-04 Thread Hans Hagen via ntg-context
On 12/4/2023 6:43 AM, Alexandre Christe wrote: Hi, Here’s a MWE: \setupinterlinespace[line=3ex] \definefontfeature[default][default][lnum=yes,tnum=yes] \usetypescriptfile[alegreya_libertinus] \setupbodyfont[alegreya-light,ss,10pt] \setupmathematics[autopunctuation={all}] % math definitions \e

[NTG-context] Re: Inline math spacing

2023-12-03 Thread Alexandre Christe
ote: > > Dear list, > > > > I’m facing some strange spacing with inline maths. Sometimes the space > > is ok (like around the first two fractions), but sometimes it is way too > > little. Do I miss to configure something? > your spacing is little between words too

[NTG-context] Re: Inline math spacing

2023-12-03 Thread Hans Hagen
On 12/3/2023 10:31 PM, Alexandre Christe wrote: Dear list, I’m facing some strange spacing with inline maths. Sometimes the space is ok (like around the first two fractions), but sometimes it is way too little. Do I miss to configure something? your spacing is little between words too

[NTG-context] Inline math spacing

2023-12-03 Thread Alexandre Christe
Dear list, I’m facing some strange spacing with inline maths. Sometimes the space is ok (like around the first two fractions), but sometimes it is way too little. Do I miss to configure something? Thanks in advance, A. Christe

[NTG-context] Re: Inline mathematics is stretched

2023-10-30 Thread Hans Hagen via ntg-context
On 10/30/2023 8:05 AM, Mia Bikey wrote: Yes well of course no issue arises if I just change the whole font. But I wanted to keep using the mono font thus reporting issues with it. In that case you have to go for flushleft \setupalign[verytolerant,nothyphenated,flushleft] because otherwise tex

[NTG-context] Re: Inline mathematics is stretched

2023-10-29 Thread Hans Hagen via ntg-context
On 10/29/2023 1:33 PM, Mia Bikey wrote: Hi, I was using \setupalign[verytolerant,stretch] so that the mono font does not go inside the right inline image but after using that command the inline math seems to spread. how about just using this \setupbodyfont[concrete] \starttext When $a, b

[NTG-context] Inline mathematics is stretched

2023-10-29 Thread Mia Bikey
Hi, I was using \setupalign[verytolerant,stretch] so that the mono font does not go inside the right inline image but after using that command the inline math seems to spread. Here is a Minimal Working Example: ConTeXt ver: 2023.09.26 18:19 LMTX \setupbodyfont[10pt, mono] This is how it

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
Thanks, that works great. On Sat, Oct 28, 2023 at 7:10 PM Hans Hagen wrote: > On 10/28/2023 2:25 PM, Henning Hraban Ramm wrote: > > Am 28.10.23 um 14:17 schrieb Mia Bikey: > >> Hi, > >> I was using mono font as my default font but it appears to have issues > &g

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Hans Hagen
On 10/28/2023 2:25 PM, Henning Hraban Ramm wrote: Am 28.10.23 um 14:17 schrieb Mia Bikey: Hi, I was using mono font as my default font but it appears to have issues with right side inline images. Here is a Minimal Working Example: ConTeXt  ver: 2023.09.26 18:19 LMTX \setupbodyfont[mono

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
issues > > with right side inline images. > > > > Here is a Minimal Working Example: > > > > ConTeXt ver: 2023.09.26 18:19 LMTX > > > > \setupbodyfont[mono] > > > > \starttext > > > > Image on the right side gets issues. > > \pla

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Henning Hraban Ramm
Am 28.10.23 um 14:17 schrieb Mia Bikey: Hi, I was using mono font as my default font but it appears to have issues with right side inline images. Here is a Minimal Working Example: ConTeXt  ver: 2023.09.26 18:19 LMTX \setupbodyfont[mono] \starttext Image on the right side gets issues

[NTG-context] Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
Hi, I was using mono font as my default font but it appears to have issues with right side inline images. Here is a Minimal Working Example: ConTeXt ver: 2023.09.26 18:19 LMTX \setupbodyfont[mono] \starttext Image on the right side gets issues. \placefigure[right]{}{\externalfigure[dummy

[NTG-context] Re: breakpoints in verbatim text

2023-08-18 Thread Hans Hagen
on is the use of the \everyinitializeverbatim register because it is used for inline and display verbatim. A better place to add the option is \buff_verbatim_initialize_typing_two for \starttyping and \buff_verbatim_initialize_type

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

2023-08-12 Thread Hans Hagen
On 8/12/2023 11:33 PM, Hamid,Idris wrote: On Aug 12, 2023, 2:11 PM -0600, Hans Hagen via ntg-context , wrote: impossible to reply as impossible to see what is your and mine text here Hm.. This new/modern email client (forced to update by the university) supports inline replies, and I can

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

2023-08-12 Thread Hamid,Idris
On Aug 12, 2023, 2:11 PM -0600, Hans Hagen via ntg-context , wrote: > impossible to reply as impossible to see what is your and mine text here Hm.. This new/modern email client (forced to update by the university) supports inline replies, and I can see the levels, but the distinctions betw

Re: [NTG-context] font style and size interaction

2023-05-30 Thread Hans Hagen via ntg-context
conscience;-) normally for soem inline change where one doesn not have side effects (like interline spacing etc) \itx is okay as smaller \it (\itxx for even smaller sizes) Of course you can go on an adventure trip: test {\it test \glyphscale \numexpr \glyphscale * 700 / 1000 \relax test

[NTG-context] upload

2023-05-27 Thread Hans Hagen via ntg-context
Hi, I uploaded a new lmtx. Apart from the modules installer (that Hraban has to check) and subtle improvements in math (we're now in tweaking penalties mode) there are a few changes: - The endstrut in framed got lost but is back again; there is now alao a location=inline option. - S

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Aditya Mahajan via ntg-context
On Fri, 19 May 2023, Jeroen via ntg-context wrote: > Many thanks. Is there a proper way to add some space (a couple of pt or em) > to the left and the right of the text itself so the frame does not get so > close to the text? \framed[loffset=0.2ex, roffset=0.2ex]{...} Also see: https://wiki.cont

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
chrieb am 19.05.2023 um 14:22: > > In order to get some inline framed verbatim text, I have in the past > > always used the following: > > > > \starttext > > > > This is an > > \inframed > > [frame=on, > > corner=00, > > radius=2mm,of

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Wolfgang Schuster via ntg-context
Jeroen via ntg-context schrieb am 19.05.2023 um 14:22: In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed   [frame=on,   corner=00, radius=2mm,offset=-1.5pt]   {\ttx \bf example} \stoptext Since this has come-up

[NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed [frame=on, corner=00, radius=2mm,offset=-1.5pt] {\ttx \bf example} \stoptext Since this has come-up more and more often, I created the following: \define[1

Re: [NTG-context] Non-standard font alternatives

2023-04-19 Thread Pawel Urbanski via ntg-context
etuphead[chapter][style={\switchtobodyfont[roboto,20pt]\ss}] I will be glad to join forces and create the typescript file but maybe missing something obvious. While I could use an inline definition suggested by Hans in the other thread, Roboto is a great font and I or other people would like to us

[NTG-context] ConTeXt features in pandoc 3

2023-01-20 Thread Albert Krewinkel via ntg-context
ct to highlight source code. This already worked with HTML, LaTeX, and formats like docx, and is now also supported for ConTeXt. - *Inline code*: older versions of pandoc had some weird behavior wrt inline code in ConTeXt, switching between `\type` and `\mono`, which made it difficult to cust

[NTG-context] Is the Society of Biblical Literature (SBL) style files for ConTeXt incompatible with \setupinteraction[state=start]?

2023-01-15 Thread Joel via ntg-context
ngroup \letbtxparameter {punct}\empty \def \currentbtxcitealternative {inline}\def \currentbtxcategory {\btxfield {category}}\def \currentbtxloctext     {\btxparameter {loctex \normalexpanded     \Word {\fastsetup {btx:sbl:cite:inline}     }\doif {\btxparameter {righttext}}{\empty } {\btx

Re: [NTG-context] Adding support for German language to the Words conversion

2022-12-31 Thread Henning Hraban Ramm via ntg-context
n be added for all to use. So, now that I'm confident my code works well, I would like to do just that. 😄 How should I proceed? Should I just send the file including my new code as an attachement to the mailing list? Or would it be preferrable to paste only the new parts of the code inline

Re: [NTG-context] annotated equations

2022-11-17 Thread Hans Hagen via ntg-context
plenty with annotating formulas as part of all this math stuff (part of exploring interference with spacing which is something we don't want cq. bother users with); for inline, display and matrices but as usual it's demand driven so it is pending 'documenting' and &#x

Re: [NTG-context] Adding support for German language to the Words conversion

2022-10-31 Thread Wolfgang Schuster via ntg-context
new code as an attachement to the mailing list? Or would it be preferrable to paste only the new parts of the code inline into an e-mail? Is that even the correct mailing list or would it be better to send this to dev-cont...@ntg.nl? just mail them to me and wolfgang and we'll hav

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-21 Thread Gavin via ntg-context
The first, units-spacing.tex, is for testing spacing for \unit used in text, inline math, and display math. The second, units-linebreaks.tex, tests line breaks when \unit. is used in text or in inline math. Line breaks were not my primary interest, but Max and Alan were quite interested. My proposed f

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-13 Thread Oliver Sieber via ntg-context
> > MWE: > > \setuppapersize[A5] > > \starttext > > The \type{\unit} command in text produces \unit{1.23e5 kg m^2/s^2}. > > Inline math \type{$\unit$} produces $\unit{1.23e5 kg m^2/s^2}$. > > Display math produces > \startformula > \unit{1.23e5 kg m^2/s

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Rik Kabel via ntg-context
! Gavin MWE: \setuppapersize[A5] \starttext The \type{\unit} command in text produces \unit{1.23e5 kg m^2/s^2}. Inline math \type{$\unit$} produces $\unit{1.23e5 kg m^2/s^2}$. Display math produces \startformula \unit{1.23e5 kg m^2/s^2} + \unit{8.64e5 newton m} = \unit{987,000 joule} \stopformula

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Gavin via ntg-context
{\unit} command in text produces \unit{1.23e5 kg m^2/s^2}. Inline math \type{$\unit$} produces $\unit{1.23e5 kg m^2/s^2}$. Display math produces \startformula \unit{1.23e5 kg m^2/s^2} + \unit{8.64e5 newton m} = \unit{987,000 joule} \stopformula Line breaking in math: {\hsize=0pt $G = \unit

Re: [NTG-context] Adding support for German language to the Words conversion

2022-10-10 Thread Hans Hagen via ntg-context
w that I'm confident my code works well, I would like to do just that. 😄 How should I proceed? Should I just send the file including my new code as an attachement to the mailing list? Or would it be preferrable to paste only the new parts of the code inline into an e-mail? Is that ev

[NTG-context] Adding support for German language to the Words conversion

2022-10-10 Thread Marcus Christopher Ludl via ntg-context
that. 😄 How should I proceed? Should I just send the file including my new code as an attachement to the mailing list? Or would it be preferrable to paste only the new parts of the code inline into an e-mail? Is that even the correct mailing list or would it be better to send this to dev

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-22 Thread Hans Hagen via ntg-context
27;ve made 3 modules that support Chinese (about vertical-typesetting, Jiazhu or inline cutting note and punctuation) and I'd be happy to contribute them to the ConTeXt project repository when they're ripe, if that's in line with the project policy. Your comments and guidance are very

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread 黄复雄 via ntg-context
nd as mentioned partly in an earlier email, I've made 3 modules that support Chinese (about vertical-typesetting, Jiazhu or inline cutting note and punctuation) and I'd be happy to contribute them to the ConTeXt project repository when they're ripe, if that's in line with th

Re: [NTG-context] error with sbl bibliography on latest LMTX

2022-07-09 Thread Joey McCollum via ntg-context
cessible, and thus, it does not get defined. If I patch the btx:sbl:cite:footnote setup as follows, then I no longer get the "Undefined control sequence \currentbtxloctext" error: ``` % Inline footnote citation setup (with intelligent trailing punctuation replacement) \startsetups

Re: [NTG-context] upload

2022-07-09 Thread Hans Hagen via ntg-context
7;use this instead of that' as you're playing with it ... there is a lot we haven't yet introduced but we will do that stepwise .. here's one inline formulas like $(x + a + 2)$ will break across lines but traditionally \left( .. \right) doesn't which is why these \b

Re: [NTG-context] two issues with \sciteinlinebuffer

2022-07-08 Thread Hans Hagen via ntg-context
}% \fi \tt \installscitecommandsdisplay \module_scite_inherit_typing \dontcomplain \raggedright \startscitelines \getbuffer[lex] \stopscitelines \endgroup} Many thanks for your code, Hans. I’m afraid I cannot make it work for the inline buffer

Re: [NTG-context] two issues with \sciteinlinebuffer

2022-07-08 Thread Pablo Rodriguez via ntg-context
; \else > \clf_scitelexbuffer{#1}{tex}% > \fi > \tt > \installscitecommandsdisplay > \module_scite_inherit_typing > \dontcomplain > \raggedright > \startscitelines > \getbuffer[lex] > \stopscitelines > \endgroup} Many thanks for

[NTG-context] error with sbl bibliography on latest LMTX

2022-07-08 Thread Henning Hraban Ramm via ntg-context
n line 34 in file ./bibtest.tex: Undefined control sequence \currentbtxloctext \22>:btx:sbl:cite:inline #1->\fastsetup {\s!btx :\s!cite :concat}\fastsetup {btx:sbl:cite:lefttext}\begingroup \letbtxparameter {punct}\empty \def \currentbtxcitealternative {inline}\def \currentbtxca

Re: [NTG-context] upload

2022-07-07 Thread Hans Hagen via ntg-context
ckled into previous uploads) -- settling on one model for display math but with alignment variants as well as improving inline math (e.g. wrt linebreaks) -- redoing bit of the (sub) numbering -- improving the alignment features (the traditional one and the text/page mode one) -- fixing the math font

  1   2   3   4   5   6   7   8   9   >