Hi Kien,I wrote that export plugin a long time ago and I find it quite cool that you are using it again.
It's been a while, so I don't remember very well the rationale for some design decisions.
I like that escape sequence for tex $...$, thanks.Unfortunately, I don't remember why all text is left aligned, maybe it was just left out in the first version.
For the unitlength stuff, I included this setting du=15/unitlength at the very beginning to be able to easily scale the diagram manually in the tex source if things are not displayed nicely. I chose 15/unitlength-to get something with a useable size right at the beginning, for most cases (?) A dialog would be a great thing, however I don't know if there is any global philosophy for dia interfaces and if an extra export dialog matches this philosophy. An other way to go would be to introduce a coupling with page settings and dpi settings (just an idea).
So 2 questions for me (to the great masters of dia):-is it a good idea to introduce a dialog for the scaling of the exported file? -is it possible to couple it with a page resolution setting in print options???
best regards, MoritzOn Thu, 11 Dec 2008 17:43:23 +0100, Cong Kien Dang <kiendc gmail com> wrote:
Hi all, I ve tried modify a litle in PGF export plugins - in tex_escaps_string. I changed in such a way that it could keep the mathematical formula in the text like $\alpha \leq \beta$. It's done.- In draw_string(), I would like to modify the aligment but it do nothing, Idon't know why every text is exported with anchor=WEST - I would lke to add a dialog to set some parameter of exporting like the variable du (by default it is always 15/unitlength, we may want to 10/unitlength for example) or scale ... Anyone know to do it Thank Kien
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/