On 9/7/2021 10:38 AM, Sylvain Hubert via ntg-context wrote:
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.
nasty border
On 9/7/2021 11:02 AM, Henning Hraban Ramm via ntg-context wrote:
(Latest LMTX, yesterday’s luametatex binary)
The MWE shows no transparency with LMTX, it works with MkIV:
'''
\setupexternalfigures[location=default]
\definetransparency[light][a=1,t=.05]
\definelayer[bg][x=0mm,y=0mm]
Dear Sylvain,
I am using ’\startalign’
>
> \starttext
> \startformula
> \eqalign{
> ax^2+bx+c &= 0 \cr
> x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr
> }
> \stopformula
> \stoptext
>
\starttext
\startformula
\startalign
\NC ax^2 + bx + c \NC = 0 \NR
\NC x \NC = = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
Since I got zint running (thanks, Hans!), there’s now a wiki page:
https://wiki.contextgarden.net/Barcodes
Have fun!
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
Thanks, but this doesn't seem to work on my laptop:
\starttext
\startitemize[A,text][left=,right=,stopper=]
\item 1
\item 2
\stopitemize
\stoptext
%output: (A) 1 (B) 2
On 07/09/2021, fv leung via ntg-context wrote:
> I add
>
> left=,right=,
>
> in the second option
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 this doesn't seem to work on my laptop:
>>
>>
(Latest LMTX, yesterday’s luametatex binary)
The MWE shows no transparency with LMTX, it works with MkIV:
'''
\setupexternalfigures[location=default]
\definetransparency[light][a=1,t=.05]
\definelayer[bg][x=0mm,y=0mm]
\setupbackgrounds[text][background={bg},state=start]
\starttext
Use
distance=...
instead of
margin=...
.
在 2021年9月7日週二 16:58,Sylvain Hubert via ntg-context 寫道:
> 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
>
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-context 寫道:
>
>> Dear List,
>>
>> Does anyone
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 this doesn't seem to work on my laptop:
>
> \starttext
> \startitemize[A,text][left=,right=,stopper=]
> \item 1
>
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
In my magazine and book projects, I sometimes fix pagebreaking by stretching
paragraphs with \looseness=1
Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no
effect with LMTX.
I tried different examples (e.g. the attached file) and can’t reproduce the
problem,
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]
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
On 9/7/2021 11:49 AM, Henning Hraban Ramm via ntg-context wrote:
In my magazine and book projects, I sometimes fix pagebreaking by stretching
paragraphs with \looseness=1
Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no
effect with LMTX.
I tried different
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
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 14:29:
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
Henning Hraban Ramm via ntg-context schrieb am 07.09.2021 um 11:49:
In my magazine and book projects, I sometimes fix pagebreaking by stretching
paragraphs with \looseness=1
Unfortunately this works _in my project_ only with MkIV, i.e. \looseness has no
effect with LMTX.
I tried different
Sylvain Hubert schrieb am 07.09.2021 um 13:38:
Thanks Wolfgang, this solves my problem.
But now I'm wondering why \starttyping[before=,after=] cannot do the same job?
Works here.
\starttext
Remove space below
\starttyping[before=,after=]
some
code
\stoptyping
\stoptext
Wolfgang
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 13:32:
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}]
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 11:49:
Dear List,
How should we remove the vertical space above and below the following typing?
\starttext
Remove space below
\starttyping
some
code
\stoptyping
\stoptext
\setuptyping [before=,after=]
Wolfgang
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]
> Am 07.09.2021 um 14:07 schrieb Hans Hagen :
>
> On 9/7/2021 11:49 AM, Henning Hraban Ramm via ntg-context wrote:
>> In my magazine and book projects, I sometimes fix pagebreaking by stretching
>> paragraphs with \looseness=1
>> Unfortunately this works _in my project_ only with MkIV, i.e.
> Am 07.09.2021 um 13:15 schrieb Wolfgang Schuster
> :
>
> Henning Hraban Ramm via ntg-context schrieb am 07.09.2021 um 11:49:
>> In my magazine and book projects, I sometimes fix pagebreaking by stretching
>> paragraphs with \looseness=1
>>
>> Unfortunately this works _in my project_ only
On 9/7/2021 3:13 PM, Henning Hraban Ramm via ntg-context wrote:
But \updateparagraphproperties (see Hans’ message) helps, it’s just
inconvenient.
depends ... if you're in some group before a \par is given you won't get
looseness which is way harder to track down, and carrying that on eover
25 matches
Mail list logo