Re: color stack overflow

luigi scarso <[email protected]>
Newsgroups gmane.comp.tex.metapost
Message-ID <CAG5iGsBqJUZ_kyGqbnsdxs634f2h5aFLB0D-FyWt40_K5opAkA@mail.gmail.com>
On Mon, Apr 10, 2017 at 10:04 AM, Akira Kakuto <[email protected]> wrote:
>> ok, but before to patch the code I have  to see why we go beyond the
>> max_color_stack_depth.
>> Could be a problem of macro package.
>
>
> The example by Christophe seems to be correct.
>
> I show below results of my experiment (by using MetaPost 0.641).
>
> [1] change of dvitomp
> max_color_stack_depth = 11
>  color stack overflow occurs
> max_color_stack_depth = 12
>  There is no error. Resulting EssaiNew.1 is OK.
>
> [2] consistency of the example
> mpto -tex mptextmp.mp >mptextmp.tex
> latex mptextmp.tex
> dvitype mptextmp.dvi >mptextmp.txt
>
> The file mptextmp.txt shows:
>
> Number of 'color push' command = 16
> Number of 'color pop'  command = 16
>
> I attach the file mptextmp.txt.
yes, but the point is that perhaps I can find another
chain like
\opOp{\opSimple{\opMouv{\opAp
and have another stack overflow.
-- 
luigi
--
http://tug.org/metapost/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.