Re: PGF export



At 14.12.2008 21:47, momo wrote:
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
Probably because you are using old sources. This issue should be gone by:

2007-10-13  Hans Breuer  <hans breuer org>

  * lib/diarenderer.[ch] lib/textline.[ch] lib/libdia.def : instead
  of throwing away the alignment information in DiaRenderer::draw_text
  pass it through DiaRenderer::draw_text_line so it is still available
  for renderers just implementing DiaRenderer::draw_string


- 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 ...
I'd prefer a different way to scale than another export dialog. IMO no export filter shoud create it's own GUI, e.g. they are supposed to work in batch mode, too.

Anyone know to do it
Please look at plug-ins/libart/export_png.c for the only example for an extra dialog during export.

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert



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