Skip to content

Asymptote can't draw figures #575

@Pur4Vessel

Description

@Pur4Vessel

Recently i updated my windows and after some compilations, my asymptote setup started to give that error

Image

after launching the file, i tried to reinstall ghostscript and asymptote itself but that doesn't help

if(!settings.multipleView) settings.batchView=false;
settings.tex="pdflatex";
defaultfilename="Grid Coloring-1";
if(settings.render < 0) settings.render=4;
settings.outformat="";
settings.inlineimage=true;
settings.embed=true;
settings.toolbar=false;
viewportmargin=(2,2);

import geometry;
size(2.5cm);
for(int i=0; i<10; ++i){
for(int j=0; j<10; ++j){
path p=(i,j)--(i+1,j)--(i+1,j+1)--(i,j+1)--cycle;

if(i%2==0){
fill(p, gray+opacity(0.5));}

draw(p);}}

I tried to compile that file

I have gs10.06.00, but MiKTeX doesn't understand,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions