On 1/16/2021 12:33 AM, Hans Hagen wrote:
On 1/15/2021 1:33 PM, Jack Hill wrote:
Hi,
I've been having some trouble with ConTeXt not typesetting math
correctly when using the Pagella font (I do not know if the same issue
occurs with other fonts as I haven't tested them).
If I compile with
On Sun, 17 Jan 2021 at 21:27, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:
> > Do you know how to force expansion of userdata?
>
> You can drop "expansion=yes" when you use
>
> \normalexpanded{\startsection[..,..=..,..][..,..=..,..]}
>
> Wolfgang
>
Wow, this was fater then
Jano Kula schrieb am 17.01.2021 um 21:22:
Hello to everybody!
\setuphead[section][expansion=yes] expands xml reference to the actual
content in TUC file:
\xmlatt {xml:name::4}{title} → First section
for titles & bookmarks. The same is not true for userdata (mkiv & mkxl).
Do you know how to
Hello to everybody!
\setuphead[section][expansion=yes] expands xml reference to the actual
content in TUC file:
\xmlatt {xml:name::4}{title} → First section
for titles & bookmarks. The same is not true for userdata (mkiv & mkxl). Do
you know how to force expansion of userdata?
MWE attached.
Hi, list.
I want to get some dimensions in Lua. See, for instance
\starttext
\the\dimexpr\availablehsize\relax %say, 426pt
\stoptext
Is there an equivalent in ConTeXt for Lua, i.e. without passing values from
TeX or, at least, using only Lua commands? Thank you in advance.
Best wishes,
Hi,
I have some troubles with understanding metafun's macro mechanism.
Given this MWE:
\starttext
\startMPpage
vardef Test (expr ab,cd)=
%numeric ab;
%numeric cd;
draw unitsquare scaled 10 xshifted ab;
draw unitsquare scaled 10 yshifted cd;
enddef;
Test (50,100);
\stopMPpage
Dear Damien Thiriet,
If you change ‘vardef’ to ‘def’, you will get the figure.
There is a difference between ‘vardef’ and ‘def’.
AFAIK, vardef returns the value of the last statement in the macro.
Please see the examples in Metafun manual from page 32 ~ .
I hope that you find your answer there.