Dear list,
It seems with one of the latest lmtx this old reported issue
(https://www.mail-archive.com/ntg-context@ntg.nl/msg84988.html) is back.
MWE:
\setupinteraction[state=start,color=red,style=]
\setupbtx[aps:cite][alternative=entry]
\usebtxdefinitions[aps]
\startbuffer [bib]
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=.25em plus
% \enablemathautofencing % more global
\enablemathautonumbers % more global
% \autofences % more local
\usemodule[ipsum]
\starttext
\ipsum
\stoptext
And I attach the two files to setup the font.
A. Christe
Le 3 déc. 2023 à 22:44 +0100, Hans Hagen , a écrit :
> On 12/3/2023 10:31 PM, Alexandre Christe wr
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
Hi Paul,
Actually in the assets on Github it’s indicating a Typst extensions, not a
ConTeXt one...
BR.
A. Christe
Le 11 nov. 2023 à 18:49 +0100, Paul Mazaitis , a écrit :
>
> Hello, list!
>
> I'm working on a ConTeXt language extension for the Nova editor by Panic
> software
quot;sin",
angleVal = a
}
end
\stopluacode
\stoptext
In particular, it fails as soon as \startsympy and \stopsympy are part of the
template. Should I protect these?
A. Christe
Le 25 oct. 2023 à 21:56 +0200, Aditya Mahajan , a écrit :
> On Wed, 25 Oct 2023, Alexandre Christe w
Dear list,
I’d like to know the best approach to make this a bit more usable. I’m trying
to typeset a table with sin/cos/tan values. I’d like to be able to convert the
angles in degrees into radians (with math notation) and to compute the
trigonometric function leading to sin(pi/4) = 1/2, or
Hi Fabrice,
I have this from former exchanges
% Cancel command for use in equations.
\startuniqueMPgraphic{cross out}
picture cross;
cross := image(draw (0,0)--(1,1); draw (0,1)--(1,0););
draw cross xscaled \overlaywidth yscaled \overlayheight withpen pencircle
scaled .8pt ;
}{2}$ \stopitem
\stopalextable
\stopitem
\stopitemize
\samplefile{ward}
\stoptext
A. Christe
Le 22 août 2023 à 07:12 +0200, Alexandre Christe , a
écrit :
> It’s true that \vtop{…} does the job for a single line of items, but it
> doesn’t in the case there’re multiple (\vtop{})
2 + \dfrac{1}{3}$
> \stopitem
> \startitem
> $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$
> \stopitem
> \startitem
> $-\dfrac{1}{2}(x + 2)^2 + \dfrac{9}{2}$
> \stopitem
> \stopitemize
> }
> \stopitemize
>
> \stoptext
>
&
\item\godown[-\lineheight]
>
> \startitemize[a,columns,packed][before={\blank[nowhite]},n=4,right=\),stopper=]
> \item bla
> \item bla
> \item bla
> \item bla
> \item bla
> \item bla
> \item bla
> \item bla
> \stopitemize
> \stopitemize
>
>
Hi Otared,
I encountered the same issue the other day. Could it be that you run mtxrun
from the /bin folder instead of /tex/texmf-YOUR_ARCH/bin/ ? Somehow they seem
to be different.
Best regards,
Alex
Le 7 mai 2023 à 17:07 +0200, Otared Kavian via ntg-context
, a écrit :
> Hi Hans,
>
>
Dear list,
In case someone else stumbles upon this issue, the following code works.
MWE:
\autofences
\starttext
$\left]-\infty; a\right[$
\stoptext
Best regards,
Alex
Le 22 sept. 2022 à 12:59 +0200, Alexandre Christe , a
écrit :
> Hi Hans,
>
> Thanks a lot for the example. It wo
Sorry, \setupmathematics[ucgreek=normal] does the job. Nothing to do with the
last upload.
Le 14 avr. 2023 à 17:16 +0200, Alexandre Christe , a
écrit :
> Dear Hans,
>
> In the latest upload, I see that uppercase greek letters in the math
> environment are displayed in italic. Is
Dear Hans,
In the latest upload, I see that uppercase greek letters in the math
environment are displayed in italic. Is there a way to force them to appear as
upright letters instead?
Thanks in advance,
Alex
Le 11 avr. 2023 à 23:08 +0200, Hans Hagen via ntg-context ,
a écrit :
> Hi,
>
> I
Dear ConTeXt users,
I'm wondering what kind of typesetting system / syntax highlighting /
completion you're using.
I've been using myself the simple_Context package for SublimeText which I
scavenged a while ago before it was made unavailable (I wanted to attach
but it's too big for the list).
Hi Willi,
A dead simple solution would be
\starttext
\startformula
{\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad
{{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo}
\stopformula
\stoptext
Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <
el
>
> On Fri, Jan 20, 2023 at 2:45 PM Alexandre Christe via ntg-context
> wrote:
> >
> > I confirm the behavior.
> >
> > Also possibly linked is that the spacing around $\overrightarrow{k}$
> seems pretty weird, so atm there is no fallback solution.
> &g
I confirm the behavior.
Also possibly linked is that the spacing around $\overrightarrow{k}$ seems
pretty weird, so atm there is no fallback solution.
Le ven. 20 janv. 2023 à 14:37, Alan Braslau via ntg-context <
ntg-context@ntg.nl> a écrit :
> MWE:
>
> \starttext
>
> $\vec{k}$
>
> \stoptext
Thank you so much Alan, that was exactly what I was looking for.
Le ven. 20 janv. 2023 à 01:56, Alan Braslau a
écrit :
> On Thu, 19 Jan 2023 22:40:13 +0100
> Alexandre Christe via ntg-context wrote:
>
> > def labelT(expr pos)(text t) =
> > ...
> > enddef;
Dear list,
Is there a way in a Meta(post)/(fun) macro to specify the label position as
an argument?
def labelT(expr pos)(text t) =
...
enddef;
Thanks a lot in advance,
Alex
___
If your question is of interest to
Aye, thanks Mikael and Gavin. Hard 2023 re-start...
Le ven. 6 janv. 2023 à 15:58, Gavin a écrit :
> Hi Alex,
>
> > Is there a way to "continue" an MP figure? Like keeping the axes, etc.
> and just adding code to the figure?
>
> Buffers might be what you want. From the MetaFun manual:
>
> >
Dear list,
Is there a way to "continue" an MP figure? Like keeping the axes, etc. and
just adding code to the figure?
Maybe I missed something, otherwise I'd find it super useful.
Thanks in advance and happy new year,
Alex
Hi Hans,
On osx-64 I'm not getting a single connector printed when compiling
anchor-002.tex. I've attached the log in case. Am I doing something wrong
on my end?
Le ven. 16 déc. 2022 à 17:56, Hans Hagen via ntg-context
a écrit :
> On 12/15/2022 10:54 PM, Otared Kavian via ntg-context wrote:
>
Dear list,
With the following MWE I end up with big gaps between margin figures in an
itemized list. Is there a way to remove that space in the text and place
the figures in the margin one below the other the best one can?
\setuppagenumbering
[alternative=doublesided, location=margin]
Dear list,
Is there a trick to not apply the leftoffset to the header of a
defineenumeration?
MWE:
\definetextbackground
[textFrameEx]
[
frame=off,
framecolor=darkgreen,
rulethickness=2ex,
background=,
location=paragraph,
leftoffset=2.25ex,
rightoffset=2.25ex,
Hi Jan-Erik,
One way I came across searching the mailing list is the following:
\starttext
\startitemize [a,columns,joinedup] [n=3,grid=line]
\item $ 56 + 2 \cdot 3 $
\item $ 5-(7) $
\item $ \frac{21}{7} $
\stopitemize
\stoptext
Could be that there is a *better* way.
Le jeu. 22 sept. 2022 à
...
By the way, if I define in the preamble \autofences, is there a command to
disable it locally? Would be very helpful to deal with the above situations.
Best regards,
Alex
Le dim. 11 sept. 2022 à 20:42, Hans Hagen via ntg-context <
ntg-context@ntg.nl> a écrit :
> On 9/10/2022 9:45 AM, Alexandre Ch
Hi Hans,
Will \mvert and \mid also be included in the \autofence logic? It would be
quite useful.
Le jeu. 25 août 2022 à 18:18, Hans Hagen via ntg-context
a écrit :
> Hi,
>
> I uploaded a new lmtx. Again some updated math of which details will be
> revealed later. Apart from some details we
Thanks Hans!
For sake of completeness a MWE is attached, in case someone needs it one
day.
Le sam. 3 sept. 2022 à 20:10, Hans Hagen via ntg-context
a écrit :
> On 9/3/2022 6:48 PM, Alexandre Christe via ntg-context wrote:
> > Dear all,
> >
> > I'm trying to reuse som
Dear all,
I'm trying to reuse some MP code for several custom enumeration.
However I can't make the overall setup work, needless to say different
border colors for each enumeration though setupMPvariables. What am I
missing?
MWE: see attachment
testColorParagraphs.tex
Description: TeX
Hmmm it seems the trick lies in adding
\setupfloats
[freeregion=no]
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Hi,
I just came across nofmultipars (which is great for splitting frames across
pages, unlike a simple framed). Is there an equivalent for floats?
The MWE would contain
\startuseMPgraphic{mp:textFrame}
begingroup;
path p ;
for i = 1 upto nofmultipars :
p := (ulcorner multipars[i]) -- (llcorner
Dear all,
I'm struggling to setup a nested itemize with no blank line and several
columns.
What I mean is something like
1. a) bla c) bla
b) bla d) bla
The following MWE is my starting point
\starttext
\startitemize[n]
\item \blank[-line]
\startitemize[a,horizontal,two] [margin=2cm]
Dear list,
I've come across that the new math (which by the way looks really nice)
requires some additional properties to be set in the font definition.
If I take the example file provided by Mikael and add the following lines
\usetypescriptfile[alegreya]
\setupbodyfont[alegreya,11pt]
It fails
Hi Pablo,
Thank you so much. That was indeed the issue!
Le mer. 11 mai 2022 à 19:14, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> a écrit :
> On 5/11/22 18:42, Alexandre Christe via ntg-context wrote:
> > Dear list,
> >
> > I've played a bit with a custom typ
Dear list,
I've played a bit with a custom type-imp file (partly inspired from the
wiki https://wiki.contextgarden.net/Alegreya_Typescript). However, the file
I ended up with seems to create some empty lines at the beginning of the
document (if I use the default or another font this vanishes, so
Sorry for spamming again, but I've underlooked the message from śrīrāma who
mentioned a workaround: use only lowercase letters in the . Then it works.
I think this bib issue could be downgraded to a low priority.
Le lun. 9 mai 2022 à 18:17, Hans Hagen via ntg-context
a écrit :
> On 5/9/2022
Sadly I have to report the bibliography is still broken. Could someone else
confirm? It's an unfortunate timing since I need to hand in some report
really soon.
Le lun. 9 mai 2022 à 17:56, mf via ntg-context a
écrit :
> I'm downloading it and I see a lot of mkii files and even some Ruby files.
Hi Hans,
While the typesetting issue in Metafun disappeared, another popped up in
the bibliography.
For an entry with \usebtxdefinitions[apa], it is printing ": [author:
Robert L. Boylestad] [date-added: 2022-04-15 14:43:59 +0200]
[date-modified: 2022-04-15 14:45:15 +0200] [edition: 13e]
Dear list,
I've noticed that in my document the linespacing (verified
with \the\baselineskip) is not consistent across the whole document.
In the first section, it's fine (no maths). Later on, it gets increased by
some amount, which tends to depend on what kind of mathematics are in
between, so
Just came across a weird behavior with the latest upload.
The following doesn't print as it should
\startformula 4^{2x} - 4^x - 25 = 0 \stopformula
I don't think it's normal (I see the spacing to make room for anything that
comes after the first character in the exposant, but it is not printed).
Dear all,
I'd like to know what is the status of Asymptote in Context. To my
knowledge, metapost/metafun only support 2D (except with the additional
libraries from Roegel, which would have to be cleaned up a bit).
Otherwise, what shall be used for 3D drawings in Context? TikZ? Something
else?
Dear list,
[image: image.png]
What I've done is to play with mathalignment and \framed. Here is a MWE:
\starttext
\defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}]
\framed[frame=off,background=midrule,boffset=.65cm]{\startformula
Dear all,
I'm trying something out in LMTX, which is to combine itemize with a table.
Application could be to put a question and the answer in the next column.
A minimal example would be:
\starttext
\startitemize [a] [right=),stopper=]
\bTABLE[frame=off]
\setupTABLE[column][1]
Dear all,
I'd like to know how best to work with font features regarding adaptations
of math fonts.
For example, let's assume I'd like to use Minion Pro also for math
typesetting. I've referred myself to this page of the Wiki
https://wiki.contextgarden.net/Command/definefontfallback. I have
Update: after updating Context again today the issue is gone.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Indeed I can report similar issues with \getmarking after updating to the
latest version of Context. Did something change regarding its definition / use
recently?
context -version
mtx-context | ConTeXt Process Management 1.04
mtx-context |
mtx-context | main context file:
48 matches
Mail list logo