I believe it's a bug.
https://github.com/contextgarden/context/blob/d025bcdf995be6951f69fed6869048ab22491b9e/tex/context/base/mkxl/font-col.lmt#L278
the newchar[] table, which should contain all chars supported by the
fallback termes font if I'm not mistaken, turns out to have only 392 chars
Thanks, but I guess the space width would be fixed.
I just found a hack: 口口\hspace[big]\hbox{}口口 does the trick.
On Tue, 21 Feb 2023 at 06:46, fv leung via ntg-context
wrote:
> Maybe the ideographic space U+3000 works.
>
> 在 2023年2月21日週二 03:42,Sylvain Hubert via ntg-context
> 寫
Dear list,
Does anyone know how to insert a horizontal space in a CJK document with
\setscript[hanzi]?
\setscript[hanzi]
\definefontfamily[mainface][rm][notoserifcjkhk][]
\setupbodyfont[mainface]
\starttext
口口\hspace[big]口口 % with \setscript[hanzi], the \hspace is ignored
\dorecurse{100}{口}
On Mon, 20 Feb 2023 at 23:22, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> wrote:
> On 2/20/23 15:47, Sylvain Hubert via ntg-context wrote:
> > [...]
> > Btw, just in case if anyone shares this idea: is it possible to have a
> > zulip channel for ConTeXt
blo Rodriguez via ntg-context <
ntg-context@ntg.nl> wrote:
> On 2/19/23 20:34, Sylvain Hubert via ntg-context wrote:
> > Dear list,
> >
> > I have a long document (A4 * 170 pages) with some CJK fonts, where some
> > of the \subject{...} are placed at the end of the
Dear list,
I have a long document (A4 * 170 pages) with some CJK fonts, where some of
the \subject{...} are placed at the end of the corresponding pages, which
looks awkward. How can one flush those last-line titles to the next pages?
Currently I don't have a MWE, as trivial filling-up with 1-2
(heartbeat packet)
I think some kind of modern issue tracker on e.g.
https://github.com/contextgarden/context-mirror would be generally helpful.
On Wed, 28 Sept 2022 at 23:31, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> wrote:
> On 9/28/22 12:20, Sylvain Hubert via ntg-cont
Horrocks wrote:
>
>
> > On 28 Sep 2022, at 09:18, Sylvain Hubert via ntg-context <
> ntg-context@ntg.nl> wrote:
> >
> > Dear list,
> >
> > \usemodule[ipsum]
> > \setupinteraction[state=start]
> >
> > \starttext
> >
Dear list,
\usemodule[ipsum]
\setupinteraction[state=start]
\starttext
\completecontent
\section{s1}\ipsum
\section{s2}\ipsum
\section{s3}\ipsum
\section{s4}\ipsum
\section{s5}\ipsum
\section{s6}\ipsum
\stoptext
In the table of contents, s1 and s2 (at
Dear List,
Do we have something like "\pagenumbering{roman}" in latex, which sets the
pdf labels (page numbers for pdf viewers, not the ones rendered in the
footer) to roman numbers?
Here's a MWE for latex:
\documentclass{report}
\usepackage{hyperref}
\begin{document}
\pagenumbering{roman}
Dear List,
the red highlight block in the following example is not covering the two
40pt characters:
\definetextbackground[important][frame=no,background=color,backgroundcolor=red]
\starttext
abc\important{123{\switchtobodyfont[40pt]45}xy}z
\stoptext
Is there an option that fixes this?
Thanks!
Thanks Hans!
On Sun, 12 Sept 2021 at 19:02, Hans Hagen wrote:
> On 9/12/2021 6:54 PM, Sylvain Hubert via ntg-context wrote:
> > Dear List,
> >
> > The following code draws a circle at the center of the page, ignoring
> > the "shifted" part.
> >
Dear List,
The following code draws a circle at the center of the page, ignoring the
"shifted" part.
\startuniqueMPgraphic{concept}
draw fullcircle scaled 1cm shifted (10cm,10cm);
\stopuniqueMPgraphic
\defineoverlay[concept][\uniqueMPgraphic{concept}]
\setupbackgrounds[page][background=concept]
The problem also concerns \starttyping:
\starttext
.
\startluacode
context([[
\starttyping
\stoptyping
]])
\stopluacode
\stoptext
tex error > runaway error: end of file encountered
mtx-context | fatal error: return code: 256
%
\starttext
.
\startluacode
context([[
Dear List,
The following example of equation alignment copied from An Excursion
is not reproducible under my context 2021.03.05 shipped with texlive
2021:
\starttext
\startformula
\eqalign{
ax^2+bx+c &= 0 \cr
x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr
}
\stopformula
\stoptext
Both ampersands are
Dear List,
I'm using the chinese simsun font that has no builtin SerifBold.
I'm trying to define a fakebold feature for it, but the following code
does not work:
\definefontfeature[fakebold][effect={width=0.3, delta=0}]
\definefontfallback [sunfallback] [name:simsun] [cjkunifiedideographs]
Dear List,
How should we remove the vertical space above and below the following typing?
\starttext
Remove space below
\starttyping
some
code
\stoptyping
\stoptext
Thanks!
Best,
Sylvain
___
If your question is of
Thanks but I believe 'distance' means ' * <--> text',
while margin means '<--> * text'.
On 07/09/2021, fv leung via ntg-context wrote:
> Use
>
> distance=...
>
> instead of
>
> margin=...
>
> .
>
> 在 2021年9月7日週二 16:58,Sylvain Hubert via ntg-c
This works, thanks!
On 07/09/2021, fv leung via ntg-context wrote:
> Use
>
> \startitemize[A,text][lefttext=,righttext=,stopper=]
>
> then.
>
> Maybe that's the new way.
>
> Sylvain Hubert via ntg-context 於 2021年9月7日 週二
> 下午4:32寫道:
>
>> Thanks, but
Dear List,
Does anyone know how to set the margin of an inner item group? The
natural way does not seem to work:
\showframe
\starttext
\startitemize[margin=5em]
\item 1
\startitemize[margin=10em]
\item 1
\item 2
\item 3
\stopitemize
\item 2
\item 3
\stopitemize
\stoptext
In the doc above, only
Dear List,
I think I've just encountered a fragile bug. It is only reproducible
with exactly the same layout as the doc below. Any insertion or
removal of an item that changes the pagination would let the document
compile.
\defineitemgroup[choice][itemize]
\setupchoice[packed,columns,one]
e second option group.
>
> 在 2021年9月7日週二 07:02,Sylvain Hubert via ntg-context 寫道:
>
>> A few more information:
>>
>> For the 1st problem:
>>
>> It seems that \setupitemize accepts two option groups, to which
>> n,packed and margin belong accordingly. Ho
% context version: 2021.03.05 19:11
% This seems to be a bug of a very subtle layout problem.
% Inserting or removing anything will likely to suppress the bug
\defineitemgroup[choice][itemize]
\setupchoice[packed,columns,one]
\setupchoice[before={\blank[medium]}]
\starttext
.\blank[32*big]
A few more information:
For the 1st problem:
It seems that \setupitemize accepts two option groups, to which
n,packed and margin belong accordingly. However,
\setupitemize[n][margin=2em] does not seem to work.
For the 2nd problem:
\setupitemize[columns,one], although doing nothing in theory,
Dear List,
Here's a collection of four problems about item groups that I've just
encountered.
1. 'n' and 'packed' not playing well with other options.
This works:
\defineitemgroup[myitems][itemize][margin=2em,before=before]
\setupmyitems[n,packed]
\starttext
text
Thanks Hans!
On 06/09/2021, Hans Hagen via ntg-context wrote:
> On 9/6/2021 6:51 PM, Sylvain Hubert via ntg-context wrote:
>> Dear List,
>>
>> I'm trying to typeset an item group (itemize) with chinese numbering. It
>> is suggested in multiple older
Dear List,
I'm trying to typeset an item group (itemize) with chinese numbering. It is
suggested in multiple older documentations and answers that
\startitemize[c] should be used, for which \usemodule[chinese] is required.
But I can no longer find the 'chinese' module neither in texlive, in
Dear List,
I'm trying to make "\startchoice", "\stopchoice", and "\choice", such that:
\startchoice
\choice -1
\choice 0
\choice 1
\choice N/A
\stopchoice
results in (_ for whitespace)
A. -1__B. 0__C. 1__D. N/A
while
\startchoice
\choice not so
28 matches
Mail list logo