Re: PGF export
- From: Cong-Kien DANG <kiendc gmail com>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: PGF export
- Date: Tue, 16 Dec 2008 00:20:09 -0500
Thank Moritz for your answer
I have the idea of setting du because, I always to modify this thing
manually for scaling my big diagram fit into a4 page. Moreover, the
text size properties has no influence to the exported tex file so each
time want to scale a big diagram I have to do 2 things manually
- Set size of font to small or tiny
- change the du
Anyone has idea to simplify this procedure
Anyway, I really want to continue Moritz's work. We can expand this
work to show mathematical function graph like an additional feature of
Dia.
Best regards
Kien
On 14-Dec-08, at 3:59 PM, momo wrote:
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, Moritz
On 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, I
don'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/
_______________________________________________
dia-list mailing list
dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]