TTeXDump and kFullTriangleDown

Hi,
I’ve noticed that TTeXDump does not properly render a filled upside down triangle marker for a TGraph. This issue is due to the fact that the marker options are separated in the output and according to the tikz manual the last set of options is followed and all previous options ignored.

The following demonstrates the issue:

[code]void texTest() {
//Canvas to print from
TCanvas *c = new TCanvas(“c”,“Canvas”);

//Graph with arbitrary point
TGraph *gr = new TGraph();
gr->SetPoint(0,0.5,0.5);

//TTeXDump will not correctly render the following downward green triangle.
gr->SetMarkerStyle(kFullTriangleDown);
gr->SetMarkerColor(kGreen);

//Draw and print
gr->Draw("AP");
c->Print("texTest.tex");

}[/code]
Line 134 of texTest.tex:

\foreach \P in {(3.33333,2.27011)}{\draw[mark options={color=c,fill=c},mark size=2.402402pt,mark=triangle*,mark options={rotate=180}] plot coordinates {\P};}

The correct output should have included the rotate=180 in the first set of options as shown below.

\foreach \P in {(3.33333,2.27011)}{\draw[mark options={color=c,fill=c,rotate=180},mark size=2.402402pt,mark=triangle*] plot coordinates {\P};}

Thanks

Thanks. Now fixed in 5.34 and trunk.

BTW: 23 and 32 had the same problem