ur point with the following sample:
\showframe
\setupinteraction[state=start]
\starttext
\startbuffer[abc]
def foo(x):
if x == 0:
bar()
else:
baz(x)
foo(x - 1)
\stopbuffer
\comment[location=leftmargin,
space=yes,
buffer=abc,
title={Python code}]
On 1/27/2023 4:22 AM, Joel via ntg-context wrote:
Assuming I have an input file with an essay:
\starttext
\input essay
\stoptext
Is there any command to tell ConTeXt to print a specific sentence, e.g.
the first sentence from paragraph 2, or the last sentence from paragraph
1, etc?
depends
Assuming I have an input file with an essay:
\starttext
\input essay
\stoptext
Is there any command to tell ConTeXt to print a specific sentence, e.g. the
first sentence from paragraph 2, or the last sentence from paragraph 1, etc?
--Joel
ael for all this work!
>>>
>>> Regarding the details of vertical alignment in math, I wonder whether the
>>> column « : » in front of the equal sign « = », in the combination « := »
>>> (used to define for instance a new variable) should be alos centered
combination « := » (used
to define for instance a new variable) should be alos centered around the math
axis, as explained in the article. For instance in the following example
\setupbodyfont[lucidaot,12pt]
\starttext
\startformula
f(x) := -(u|x) := - \langle u, x \rangle
\stopformula
\stopformula
nation « := »
> (used to define for instance a new variable) should be alos centered around
> the math axis, as explained in the article. For instance in the following
> example
>
> \setupbodyfont[lucidaot,12pt]
> \starttext
> \startformula
> f(x) := -(u|x) := - \langle u, x \
. For instance in the following example
\setupbodyfont[lucidaot,12pt]
\starttext
\startformula
f(x) := -(u|x) := - \langle u, x \rangle
\stopformula
\stopformula
\startformula
f : A \longrightarrow B
\stopformula
\stoptext
it seems to me that the lower dot (or square…) in the semicolumn of the
p -x "**/t-*.*" so that no t- modules from tikz are
> unzipped but still get the following error on a simple hello world example:
>
> \usemodule[tikz]
>
> \starttext
> Hello
> \stoptext
>
> gives the attached log.
FWIW, the above example also fails on 2023.0
ontfamily[mainface][ss][TeX Gyre Heros]
\definefontfamily[mainface][tt][TeX Gyre Cursor]
\definefontfamily[mainface][hw][Lucida Casual]
\definefontfamily[mainface][cg][Lucida Casual]
\setupbodyfont[mainface]
\starttext
\doloopoverlist{\rm,\ss,\tt,\hw,\cg}
{{\recursestring%
The quick
xt
wrote:
>
>
>
> On 1/23/23 19:04, Mattias Märka via ntg-context wrote:
>
> > Hi,
> >
> > I'm trying to access Lucida Casual.
>
>
> Hi Matthias,
>
> With a relatively recent version of ConTeXt (LMTX or MkIV), the
> following should wor
On 1/23/23 19:04, Mattias Märka via ntg-context wrote:
> Hi,
>
> I'm trying to access Lucida Casual.
Hi Matthias,
With a relatively recent version of ConTeXt (LMTX or MkIV), the
following should work:
\definefontfamily[myserif][rm][Lucida Casual]
\starttext
The quick brown
[font:fallback:serif]
\definefontsynonym[Serif] [LucidaCasual-Regular] [features=default]
\stoptypescript
\starttypescript [myserif]
\definetypeface [myserif] [rm] [serif] [myserif] [default]
\stoptypescript
\setupbodyfont[12pt]
\starttext
The quick brown fox jumps over the lazy dog
do at the end of each year, I upgraded my ConTeXt installation.
> I noticed a change in \vec behavior which doesn't extend the arrow anymore.
> Here is my example:
>
> \starttext
> Engine: \texenginename\ \texengineversion
>
> \ConTeXt: \contextversionnumber
>
>
Dear list,
using current latest (from 2023.01.15 14:04), the just released version
of Source Serif 4 Variable
(https://github.com/adobe-fonts/source-serif/releases/latest) and the
following sample:
\usemodule[fonts-variable]
\starttext
\showfontvariations[font=file:SourceSerif4Variable
won't work}
\starttext
%
\setcoreidea{this works}
\input knuth
\input knuth
\input knuth
\input knuth
\setcoreidea{\getvalue{secret1}}
\startchapter[title=Core Ideas]
\placecoreidea
\stopch
\starttext
Test Test
\definefont[bahnlight][name:bahnschriftlight*default]
\startMPcode
picture pic;
pic := thelabel(textext("\bahnlight This is Bahnschrift light in Metafont
0123456789"), (0, 0));
draw pic;
\stopMPcode
\stoptext
Am 20. Januar 2023 18:28:23 MEZ schrieb Guido Bart
And how do you set the light variation?
On Fri, Jan 20, 2023 at 2:08 AM Lutz Haseloff via ntg-context <
ntg-context@ntg.nl> wrote:
> Hi Guido,
>
>
> this works here:
>
> \starttext
> Test Test
>
> \usemodule[fonts-variable]
> \definefontfamily [mainface]
t;
> >
> >
> > Le ven. 20 janv. 2023 à 14:37, Alan Braslau via ntg-context <
> ntg-context@ntg.nl> a écrit :
> >>
> >> MWE:
> >>
> >> \starttext
> >>
> >> $\vec{k}$
> >>
> >> \stoptext
> >>
he 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
> a écrit :
>>
>> MWE:
>>
>> \starttext
>>
>> $\vec{k}$
>>
>> \s
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
>
> $\
MWE:
\starttext
$\vec{k}$
\stoptext
places the arrow *before* the symbol "k", latest download.
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : n
Hi Guido,
this works here:
\starttext
Test Test
\usemodule[fonts-variable]
\definefontfamily [mainface] [ss] [bahnschrift]
\setupbodyfont[mainface]
\ss 123456789 Wild! \medskip
\startMPcode
picture pic;
pic := thelabel(textext("\ss This is in Metafont 0123456789"), (0, 0))
I haven't been able to find working examples. Here is some sample code. I
would really like to be able to use the light variation of this DIN-like
font.
\usemodule[fonts-variable]
\definefontfamily [mainface] [ss] [bahnschrift]
\setupbodyfont[mainface]
\starttext
\ss 123456789 Wild! \me
t;> aspect of allowing embedded Lua.
>> \startluacode
>> -- \dummycommand
>> \stopluacode
>> \starttext
>> Hello
>> \stoptext
>
> a bang-head-against-the-wall case:
>
> \let\dummycommand\relax
>
> \startluacode
> -- \dummycommand
> \
artluacode
-- \dummycommand
\stopluacode
\starttext
Hello
\stoptext
a bang-head-against-the-wall case:
\let\dummycommand\relax
\startluacode
-- \dummycommand
\stopluacode
\starttext
Hello
\stoptext
or:
\ifdefined\dummycommand \else \let\dummycommand\relax \fi
a document-on-the-wiki challenge for P
Hi Bruce,
I think your code should read:
\startluacode
-- \\dummycommand
\stopluacode
\starttext
Hello
\stoptext
BTW, in pure Lua:
a = "\a"
b = "\\b"
print(a..b)
outputs "\b".
Sorry, I lack the knowledge to explain this, but backslash seems
p -x "**/t-*.*" so that no t- modules from tikz are
> unzipped but still get the following error on a simple hello world example:
>
> \usemodule[tikz]
>
> \starttext
> Hello
> \stoptext
>
> gives the attached log.
In case anyone else needs a temp workaround
ConTeXt ver: 2023.01.04
The following MWE won't compile because of the \dummycommand line even though
it is a comment. Not sure whether it's a minor bug or an unavoidable aspect of
allowing embedded Lua.
\startluacode
-- \dummycommand
\stopluacode
\starttext
Hello
\stoptext
—
Bruc
following error on a simple hello world example:
\usemodule[tikz]
\starttext
Hello
\stoptext
gives the attached log.
Does the latest pgf/tikz run at your end?
Adityajob > passes > version mismatch: 1.32 <> 1.33
system >
system > ConTeXt ver: 2
there
\usemodule[tikz]
\usemodule[pgfplots]
\starttext
Hello
\stoptext
seems to work here
I did a fresh install of context and downloaded the latest version of
pgf/tikz and pgfplots from ctan. Now, something is wrong with tikz:
\usemodule[tikz]
\starttext
Hello
\stoptext
gives the attached log
e
> > >
> > > \usemodule[tikz]
> > > \usemodule[pgfplots]
> > >
> > > \starttext
> > > Hello
> > > \stoptext
> > >
> > > seems to work here
> >
> > I did a fresh install of context and downloaded the latest versi
On Mon, 2023-01-16 at 11:56 -0500, Aditya Mahajan wrote:
>
> On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote:
>
> > just load tikz first so that the right loader helpers are there
> >
> > \usemodule[tikz]
> > \usemodule[pgfplots]
> >
> > \sta
On Mon, 16 Jan 2023, Hans Hagen via ntg-context wrote:
> just load tikz first so that the right loader helpers are there
>
> \usemodule[tikz]
> \usemodule[pgfplots]
>
> \starttext
> Hello
> \stoptext
>
> seems to work here
I did a fresh install of context and do
twidth, height=\textwidth,
framecolor=red]
\userendering[#1][video/mp4][#1]
[embed=yes, auto]
\placerenderingwindow[#1][#1]}
\starttext
\null\page
\startTEXpage[offset=1em, pagestate=start]
\IncludeVideo[video-1.mp4]
\stopTEXpage
\null\page
\startTEXpage[offset=1em, pagestate
]
\usemodule[pgfplots]% PGFPlots module for graphs
\starttext
\starttikzpicture
\draw (0, 0) circle (3cm);
\stoptikzpicture
\stoptext
Without loading the pgfplots module, this draws a circle. With the
\usemodule[pgfplots] line, this has the error below before doing
> \usemodule[tikz]
> > \usemodule[pgfplots] % PGFPlots module for graphs
> >
> > \starttext
> >
> > \starttikzpicture
> > \draw (0, 0) circle (3cm);
> > \stoptikzpicture
> >
> > \stoptext
> >
> >
> >
from scrn-wid.mklx):
>
> \setupinteraction[state=start]
> \starttext
> \null\page
> \definerenderingwindow[myrenderingwindow]
> [width=\textwidth, height=\textwidth,
> %openpageaction=StartCurrentRendering,
> %closepageaction=StopCurrentRendering,
> op
Dear list,
I’m planning to add an explanation about multimedia inclusion to the
wiki, but first I wanted to discuss an issue I have found.
I have the following sample (adapted from scrn-wid.mklx):
\setupinteraction[state=start]
\starttext
\null\page
\definerenderingwindow
1
\stopitemize
}
}
\starttext
\chapter{Recipe 1}
\materialsneeded{\needsoven}
\subject{Instructions}
Spread peanut butter on sandwich.
\chapter{Recipe 2}
\materialsneeded{\item pizza cutter \item st
One trick is to wrap the matrices inside a framed environment and putting the
location parameter there:
\starttext
\startformula
\startmatrix[left={\left(},right={\right)}]
\NC A \NC B \NR \NC C \NC D \NR
\stopmatrix
=
\startframed[location=top,frame=no,offset=none]
\startmatrix[left={\left
> >> TEST FILE:
> >> \usemodule[tikz]
> >> \usemodule[pgfplots] % PGFPlots module for graphs
> >> \starttext
> >> \starttikzpicture
> >> \draw (0, 0) circle (3cm);
> >> \stoptikzpicture
> >> \starttikzpicture
> >&g
=bottom and location=top, but both give the same
error.
Do you have any ideas on how I can get the matrix in the desired locations?
Thank you in advance for your help.
Best regards,
Jacob
\starttext
\startformula
\startmatrix[left={\left(},right={\right)}]
\NC A \NC B \NR \NC C \NC D \NR
M, Gavin via ntg-context wrote:
> >> ...I can try with the latest LMTX later today. The test file works with
> TeXLive 2022
> >> Gavin
> >> TEST FILE:
> >> \usemodule[tikz]
> >> \usemodule[pgfplots] % PGFPlots module for graphs
> >>
er useful.
>
> Thanks in advance and happy new year,
> Alex
Hi Alex,
Maybe there are other ways, but one can use \includeMPgraphic. One
simple example given below.
/Mikael
\starttext
\startuseMPgraphic{vanderwaerdenbas}
u:=3cm ;
def vdwbas(expr x) = abs(x-round x) enddef ;
def vdw
\usemodule[tikz]
>> \usemodule[pgfplots] % PGFPlots module for graphs
>> \starttext
>> \starttikzpicture
>> \draw (0, 0) circle (3cm);
>> \stoptikzpicture
>> \starttikzpicture
>> \startaxis
>>\addplot+[domain=0:360]
>>{sin(x)};
>
: 2022.12.29 14:32
LMTX fmt: 2022.12.29 int: english/english. I can try with the latest LMTX
later today. The test file works with TeXLive 2022
Gavin
TEST FILE:
\usemodule[tikz]
\usemodule[pgfplots]% PGFPlots module for graphs
\starttext
\starttikzpicture
\draw (0, 0
ror are below. I used ConTeXt ver: 2022.12.29 14:32
LMTX fmt: 2022.12.29 int: english/english. I can try with the latest LMTX
later today. The test file works with TeXLive 2022
Gavin
TEST FILE:
\usemodule[tikz]
\usemodule[pgfplots]% PGFPlots module for graphs
On 1/5/2023 12:16 AM, Michael Guravage via ntg-context wrote:
While typesetting a document containing a small tabulated table with the
latest release I noticed that the tabulate \TH command hadn't added any
vertical space between the rows. Here's a mwe.
\starttext
\starttab
While typesetting a document containing a small tabulated table with the
latest release I noticed that the tabulate \TH command hadn't added any
vertical space between the rows. Here's a mwe.
\starttext
\starttabulate[|l|l|]
\NC Γ \NC Gamma \NC\NR
\NC Θ \NC Theta \NC\NR
expected in many cases. As the first examples after \starttext show,
the problem appears to be with \autoinsertedspace, but perhaps I am
using it incorrectly in the macro as well.
\starttexdefinition unexpanded BD
\dodoublegroupempty
\doBD
\stoptexdefinition
On 1/4/2023 2:29 PM, Jacob Kauffmann via ntg-context wrote:
The problem is that now that \bf, \it and so on stopped working outside
math mode.
A workaround is to add \rm after \starttext.
Maybe the developers can shed some light :)
\definefontfeature[mathextra][moderntocalligraphic=yes]
you
Am 04.01.23 um 14:29 schrieb Jacob Kauffmann via ntg-context:
The problem is that now that \bf, \it and so on stopped working outside
math mode.
A workaround is to add \rm after \starttext.
\setupbodyfont[mainface]
Did you try \setupbodyfont[mainface,rm] ?
Hraban
The problem is that now that \bf, \it and so on stopped working outside math
mode.
A workaround is to add \rm after \starttext.
Maybe the developers can shed some light :)
Please find MWE below.
Cheers,
Jacob
\definefontfallback[cal-fallback][name:modern][uppercasescript,lowercasescript
netypeface[mainface][tt][mono] [modern] [default][rscale=1.075]
\definetypeface[mainface][mm][math]
[palatino][default][fallbacks=cal-fallback]
\stoptypescript
\definefontfamily[mainface][math][]
\usetypescript[mainface]
\setupbodyfont[mainface]
\starttext
{\rm \input ward }
{\ss \input ward }
{
Am 03.01.23 um 07:38 schrieb Thangalin via ntg-context:
Hi list!
% SOT
\starttext
\externalfigure[https://upload.wikimedia.org/wikipedia/commons/f/fd/Ghostscript_Tiger.svg]
\externalfigure[https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Ghostscript_Tiger.svg/1024px
Hi list!
% SOT
\starttext
\externalfigure[https://upload.wikimedia.org/wikipedia/commons/f/fd/Ghostscript_Tiger.svg]
\externalfigure[https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/Ghostscript_Tiger.svg/1024px-Ghostscript_Tiger.svg.png]
\stoptext
% EOT
Is there a way to have
Dear List,
The following example is from the mailing list:
I would like to have double vertical Lines with $\Vert instead of \VL, and also
\HL.
How can I do this with an Math Modus?
\setupcolors[state=start]
\starttext
\null\vskip15ex
\hskip1em\framed[orientation=90,frame=off]{\bf
[reverse-section] [section,chapter] []
\defineprefixset [reverse-subsection] [subsection,section,chapter] []
\setuphead
[section]
[sectionset=reverse-section]
\setuphead
[subsection]
[sectionset=reverse-subsection]
\starttext
\startchapter [title={A}]
\startsection [title={B
On 1/1/2023 11:55 AM, Pablo Rodriguez via ntg-context wrote:
Hans,
I have the following sample.
\starttext
\definedfont[TruetypewriterPolyglott-mELa.ttf]
\input zapf
\stoptext
I get a fatal error in the font file (both LMTX and MkIV).
Font is https://www.fontspace.com
Hans,
I have the following sample.
\starttext
\definedfont[TruetypewriterPolyglott-mELa.ttf]
\input zapf
\stoptext
I get a fatal error in the font file (both LMTX and MkIV).
Font is https://www.fontspace.com/truetypewriter-polyglott-font-f14955
(direct donwnload from https
]
[sectionset=reverse-subsection]
\starttext
\startchapter [title={A}]
\startsection [title={B}]
\startsubsection [title={C}] \stopsubsection
\startsubsection [title={D}] \stopsubsection
\startsubsection [title={E}] \stopsubsection
\stopsection
\startsection [title={F}]
\startsubsection [title={G
; New Month.
>
> \dorecurse{5}{
> \startDay
> Another day.
>
> \stopDay
> }
>
> \stopMonth
> }}
>
> \starttext
>
> \startYear[ownnumber=2023,title=This]
> A new year begins.
>
> \Dummycontent
>
> \stopYear
>
>
}
\stopMonth
}}
\starttext
\startYear[ownnumber=2023,title=This]
A new year begins.
\Dummycontent
\stopYear
\startYear
Next year.
\Dummycontent
\stopYear
\stoptext
-
Hraban
___
If your question is of interest to
]
\registerhyphenationexception[any][macOS]
\registerhyphenationexception[it][macOS]
\startbuffer
\currentlanguage: \hyphenatedword{macOS}
\stopbuffer
\starttext
\startTEXpage[offset=1em]
\getbuffer
\language[it]\getbuffer
\stopTEXpage
\stoptext
I think this is better than having other commands
On 12/30/2022 12:40 AM, Gavin via ntg-context wrote:
Hi List,
The TikZ related module “pgfplots” is causing a fatal error in the latest
ConTeXt. Here is a MWE:
\usemodule[tikz]
\usemodule[pgfplots]% PGFPlots module for graphs
\starttext
\starttikzpicture
\draw
repaired.
The following code, run under the latest (and recent previous) version,
produces an incorrect result, with no space inserted where expected in
many cases. As the first examples after \starttext show, the problem
appears to be with \autoinsertedspace, but perhaps I am using it
incorrectly in
Hi List,
The TikZ related module “pgfplots” is causing a fatal error in the latest
ConTeXt. Here is a MWE:
\usemodule[tikz]
\usemodule[pgfplots]% PGFPlots module for graphs
\starttext
\starttikzpicture
\draw (0, 0) circle (3cm);
\stoptikzpicture
\stoptext
>
> > I uploaded a noto-cjk font file, NotoSerifCJKsc-Regular.otf, to the
> > root directory.
> > Also, my typography file, test.tex, is in the root directory, and it reads
> >
> > ```context
> > \definefont[myfont][file:NotoSerifCJKsc-Regular.otf*default at 12
,
thanks for the tip.
I uploaded a noto-cjk font file, NotoSerifCJKsc-Regular.otf, to the
root directory.
Also, my typography file, test.tex, is in the root directory, and it reads
```context
\definefont[myfont][file:NotoSerifCJKsc-Regular.otf*default at 12pt]
\starttext
{\myfont 我我}
\stoptext
nt[myfont][file:NotoSerifCJKsc-Regular.otf*default at 12pt]
\starttext
{\myfont 我我}
\stoptext
```
Then I did not get the correct PDF file, i.e. the two Chinese
characters are not displayed on it. and the log shows:
```log
..
fonts > defining > forced type 'otf' of 'NotoSerifCJ
On 12/27/2022 6:33 PM, Alan Braslau via ntg-context wrote:
MWE:
\starttext
$a^2′$
$a′^2$
$\mathord{a′}^2$
$a^*^2$
\stoptext
Should the \mathord{} be necessary to get the desired result?
(I would expect the second line to work, just like $a^*^2$.)
primes are kind of special and a pain in
):
\starttext
\null
\stoptext
resolvers | formats | executing runner 'run luametatex format':
~/context/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex"
--fmt=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en
On 12/27/22 18:04, Hans Hagen via ntg-context wrote:
> Hi,
>
> I uploaded lmtx. There have been some additions to tabulate.
Hi Hans,
many thanks for the new upload, but I’m afraid I get this error in LMTX
(MkIV works fine):
\starttext
\null
\stoptext
resolvers
MWE:
\starttext
$a^2′$
$a′^2$
$\mathord{a′}^2$
$a^*^2$
\stoptext
Should the \mathord{} be necessary to get the desired result?
(I would expect the second line to work, just like $a^*^2$.)
Alan
___
If your
i get an error running the sample code:
\starttext
\defineorientation[test][orientation=down,vertical=top]
\startbuffer[b]
\definetabulatemove[a][xoffset=40pt]
\definetabulatemove[b][orientation=test,yoffset=depth]
\starttabulate[|c|c|]
\TM[a] \NC \darkred cell one \NC \darkgray cell one
Hi,
I uploaded lmtx. There have been some additions to tabulate.
\starttext
% \showboxes
% \showstruts
\starttabulate[|w(top,3cm)|w(top,3cm)|]
\NC test \NC test \par test \NC \NR
\NC test \NC test \par test \NC \NR
\stoptabulate
\starttabulate[|w(top,packed,3cm)|w(top,packed,3cm)|]
\NC test
][footerdistance=100mm, ]
\definelayout[odd][reset] % ??
\definelayout[even][reset]
\starttext
\dorecurse{3}{\input{knuth} } % change to \dorecurse{2} - it works properly
\definelayout[2][mypage]
\dorecurse{2}{\input{knuth} }
\placefigure [leftmargin]
{} {\externalfigure[greybox][width
On 12/23/22 13:50, Pablo Rodriguez via ntg-context wrote:
> On 12/23/22 12:00, Alain Delmotte via ntg-context wrote:
> Color should be fine. I’m checking what may be wrong with weight.
Alain,
nothing is wrong with weight (https://pdf.ousia.tk/wght.pdf):
\starttext
\startTEXpage[offs
On 12/22/2022 9:14 PM, Rik Kabel via ntg-context wrote:
With the latest (2022-12-21) LMTX I see a regression in xtables. The
following code:
\starttext
\startxtable
\startxrow
\startxcell
This is a line of text.
\stopxcell
\startxcell
With the latest (2022-12-21) LMTX I see a regression in xtables. The
following code:
\starttext
\startxtable
\startxrow
\startxcell
This is a line of text.
\stopxcell
\startxcell
\contextversion
\stopxcell
\stopxrow
” added into the
formula (“c3” was the anchor’s tag).
MWE and unexpected output below.
Thanks,
Gavin
\starttext
\startboxanchoring[+]
\connectboxanchors[top][top][distance=1ex,arrow=no] {c1}{c2}
%\connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3} % <-- I
decided
).
MWE and unexpected output below.
Thanks,
Gavin
\starttext
\startboxanchoring[+]
\connectboxanchors[top][top][distance=1ex,arrow=no] {c1}{c2}
%\connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3} % <-- I
decided not to use this connector, producing unexpected resu
ds of connections!
Gavin
\starttext
\startboxanchoring[+]
\connectboxanchors[top][top][distance=1ex,arrow=no] {c1}{c2}
\connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3}
\startformula
\mathboxanchored[nucleus]{c1}{e}^{\dot\alpha}
%\mathboxanchored[nucleus]{c2}{e}
[ '¿' ] = 1000,
[ '¡' ] = 1000,
}
}
\stopluacode
\definefontfeature[ktest][gpost_tes=yes]
\starttext
\startTEXpage[offset=1em]
\feature[+][gpos_test]
¿? ¡!
\stopTEXpage
\stoptext
This tries to move vertically the opening questi
00,
}
}
\stopluacode
\definefontfeature[ktest][gpost_tes=yes]
\starttext
\startTEXpage[offset=1em]
\feature[+][gpos_test]
¿? ¡!
\stopTEXpage
\stoptext
This tries to move vertically the opening question and exclamation
marks, so they are at the same height that its closing coun
Hi Hans,
There's an uncommented linebreak in the definition of
\pack_framed_text_start that's introducing an unwanted space just before
\startframedtext.
Minimal example:
\showmakeup[space]
\starttext
\hbox{.\startframedtext.\stopframedtext}
\stoptext
Patch:
\stopsetups
\setuphead[chapter]
[style=\tfa,
after={\blank\setups{chapter:headings}},
]
\starttext
\startchapter[title=Nothing special]
\dorecurse{10}{\input knuth\par}
\stopchapter
\startchapter[title=Something special][custom={Hi there!}]
\do
Hello,
As I usually do at the end of each year, I upgraded my ConTeXt installation. I
noticed a change in \vec behavior which doesn't extend the arrow anymore. Here
is my example:
\starttext
Engine: \texenginename\ \texengineversion
\ConTeXt: \contextversionnumber
\type{$\vec{AB}$} :
ontext wrote:
> Hi Marco,
>
> If I create a file named « bar.txt » then
>
> \starttext
> Nothing to say\dots
>
> \typefile{bar.txt}
>
> \stoptext
>
> gives the correct result. However ConTeXt seems to dislike \typefile{bar}
> when the filename has no suff
I get a decidedly odd (or, at least, unexpected by me) result from this, based
on the example on the contextgarden page for definestartstop:
\starttext
\defineblank[ExtractDistance][3pt]
\definestartstop[Extract][
style=slanted,
before={\blank[ExtractDistance]
\setupnarrower[left
On Sat, 17 Dec 2022 16:25:01 +0100
Otared Kavian via ntg-context wrote:
> If I create a file named « bar.txt » then
>
> \starttext
> Nothing to say\dots
>
> \typefile{bar.txt}
>
> \stoptext
>
> gives the correct result.
I can confirm that.
> However ConTe
Hi Marco,
If I create a file named « bar.txt » then
\starttext
Nothing to say\dots
\typefile{bar.txt}
\stoptext
gives the correct result. However ConTeXt seems to dislike \typefile{bar} when
the filename has no suffix.
Best regards : Otared
> On 17 Dec 2022, at 16:06, Marco Patzer via
Hi!
In the following example the file “bar” is not included:
# create file “bar”
echo Bar > bar
# t.tex
\starttext
Foo
\typefile{bar}
\stoptext
Then run
context --errors='*' t.tex
The text “bar” is not included in the PDF, only Foo is. The log file
shows:
verbatims
Gavin).
Best regards: Otared
% begin anchoring-integrals.tex
\starttext
\startMPpositiongraphic{mypos:boxanchor:top}
begingroup ;
save f, t, p ;
pair f, t ;
path p ;
f := positionxy(mpvars("from")) ;
ethod=traditional]%
\sethyphenationfeatures[underscore]%
\setuplanguage
[explicitrighthyphenchar=-1]
\setupinteractionscreen[option=singlesided]
\starttext
\doloopoverlist
{es,en,uk,de,nl,pt,fr,it,deo,da,sv,af,no,nb,pl,cs,sk,hr,sl,fi,et,hu}
{\mainlanguage[\recursestring]
\startTEXpage
}]
\definefontfamily[mainface][hw][Recursive]
[features={default, handy}]
\definefontfamily[mainface][cg][Recursive]
[features={default, cali}]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
\scale[width=\textwidth]
{\rm áéíóúijrf}
\scale[width=\textwidth
--
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
\continuewhenlmtxmode
\usemodule[
7.77 -18.4)"
> > gradientUnits="userSpaceOnUse"/> > offset="0"/> > stop-opacity="0"/> > transform="translate(-48.91 -90.879)"> > fill-opacity=".5" d="M48.769 90.936H164.64V206.96H48.769z"/> > cx="106.745" cy
On 12/14/2022 5:46 AM, Thangalin via ntg-context wrote:
Hi there!
Any thoughts on implementing SVG gradients in MetaPost?
% SOF
\startbuffer[csvg]
http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink"; viewBox="0 0 115.669
115.669">
\stopbuffer
Hi there!
Any thoughts on implementing SVG gradients in MetaPost?
% SOF
\startbuffer[csvg]
http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink"; viewBox="0 0 115.669
115.669">
\stopbuffer
\starttext
\placefigure{}{\includesvgbuffer[csvg][conversi
1601 - 1700 of 5496 matches
Mail list logo