On Thu, 9 Apr 2020 20:44:16 +0200
Geert Dobbels wrote:
> Hello,
>
> Maybe I did not understand the problem, but doesn't the code below
> give you the expected result?:
Hmm, unfortunately no. Using [top,force] just causes context to
break the text flow at the place where the image is specified.
Hello,
Maybe I did not understand the problem, but doesn't the code below give
you the expected result?:
\setupexternalfigures[location={local,default}]
\starttext
\dorecurse{3}{\input{knuth}}
\placefigure[force]{cow}{\externalfigure[cow][width=150mm]}
\input{knuth}
On 4/9/2020 4:58 PM, Gerben Wierda wrote:
\starttext
\startMPpage[instance=doublefun]
vardef Foo( expr w, h, fillColor, fillTransparency) =
show "FOO:", w, h, fillColor, fillTransparency;
save pic; picture pic;
save circ; path circ;
circ := (fullcircle xyscaled (h,h));
pic :=
I have refactored my code to use withtransparency and separate parameters for
colors, sizes, transparency, etc. But I’m running into a problem. The
fillTransparency parameter is a pair primary (as can be seen from the show
command)
Here is a pretty minimum example (in reality there are
Dear list,
I have the following sample:
\setupuserpagenumber[way=chapter]
\starttext
\dorecurse{5}{\chapter{Chapter}}
\stoptext
I need to restart user page numbers in each part (I use real page to
number the complete document).
But the main problem is this way also restarts
It would be really great if you'd stop wasting people's time by not
crossposting.
Cheers, Henri
On 09/04/20, 09:04, Gerben Wierda wrote:
> Nobody?
>
> > On 8 Apr 2020, at 12:20, Gerben Wierda wrote:
> >
> > I would like to use the result of transparent() straight in my macros, so I
> > can
On 4/9/2020 11:01 AM, Taco Hoekwater wrote:
Hi,
Using multiple (text ) arguments in macros doesn’t work, you would
need to convert all but the last argument into (expr ) somehow.
That means that you probably cannot do a call like the one below at all.
(I, at least, do not see how you could
Hi,
Using multiple (text ) arguments in macros doesn’t work, you would
need to convert all but the last argument into (expr ) somehow.
That means that you probably cannot do a call like the one below at all.
(I, at least, do not see how you could convert one of those transparent
colours into
Thank you.
> On 9 Apr 2020, at 10:01, Taco Hoekwater wrote:
>
> Hi Gerben,
>
> Changing the macro header to this will work:
>
> vardef SampleText (expr t)(text c) =
>
> or you can use the answer from stackexchange, same approach.
> BTW Hans would like people to use “withtransparency”
Hi Gerben,
Changing the macro header to this will work:
vardef SampleText (expr t)(text c) =
or you can use the answer from stackexchange, same approach.
BTW Hans would like people to use “withtransparency” instead as that is a
newer, more flexible approach (but that would also need the
Nobody?
> On 8 Apr 2020, at 12:20, Gerben Wierda wrote:
>
> I would like to use the result of transparent() straight in my macros, so I
> can pass the colors with transparency using a single parameter. That should
> be possible if I understand the MetaFun manual (where I’ve copy-pasted this
11 matches
Mail list logo