PStricks export bug ?





I am a 0.97 dia windows new user and trying to export the diagram into tex format and then have it rendered 
in a latex book.

One potential bug I found is that render_pstricks.c generate following tex file.
}\endpspicture in the end of exported tex file.


\psset{linecolor=dialinecolor}
\pspolygon(106.000000,8.200000)(106.000000,8.600000)(113.430000,8.600000)(113.43
0000,8.200000)
}\endpspicture

Looking at the C code and confirm it is designed this way.


static void
end_render(DiaRenderer *self)
{
    PstricksRenderer *renderer = PSTRICKS_RENDERER(self);

    fprintf(renderer->file,"}\\endpspicture");
    fclose(renderer->file);
}

According to R1,
Now the questiom, shouldn't it be generating \end{pspicture} instead of "}\endpspicture" ?


R1 : http://www.tn-home.de/Tobias/Soft/TeX/TUG040611/presentation.pdf

T.J. Yang


_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=PID23384::T:WLMTAGL:ON:WL:en-US:NF_BR_sync:082009


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]