Hello!
I would like to run dia from the command line and have it print the
diagram provided as command line argument.
I found an old post form 2010 [1], which describes an acceptable method
for having dia run python scripts on startup automatically. Assuming
this still works, what does a pyt
Thanks for the hint! -t pdf -e resulting.pdf works perfectly ... if combined
with pdfcrop!
Yes, I used to create PDFs with one or two corners. My last approach was
%.pdf: %.fig:
awk '/^4/{$$6+=4; $$7=8; $$10=135; $$11=1; $$13+=5; print $$0;}{print
$$0;}' $< |\
fig2dev -L pdf -F |\
Hello list,
while exploring ways to generate beautiful(TM) PDFs from dia diagrams
(cf.
https://mail.gnome.org/archives/dia-list/2014-August/msg6.html), I
noticed there isn't an acceptable way of telling dia to execute a python
script from the command line.
Working with the python consol
Hi Hans,
I'm having "dia_is_interactive = FALSE" if the -i option is provided,
however I already have half a mind to remove this limitation, but
there are
implications to consider first.
Could elaborate a bit more about the implications? Or is it just that
you don't have a use case yet?
Ther
Hello list!
I think I have a viable patch now, for command line provided python
scripts in dia. Going over the changes:
... moved the definition of struct _PluginInfo from lib/plug-ins.c to
lib/plug-ins.h, because I need this struct in app/app_procs.c.
not ok. To avoid this please use dia_plug