Re: Now look what you made me do

2007-10-02 Thread Sameer Sahasrabuddhe
On 10/2/07, Lars Clausen <[EMAIL PROTECTED]> wrote:
>
> However, I think the change should be of the entire editing of one
> object rather than everything edited in edit mode, since you can tab
> between objects without leaving edit mode.

Tabbing to other objects while in edit mode ... is that a good idea?
1) How do you insert a tab?
2) This reflects the action-object paradigm of interaction, like the
"cut tool" in xfig. You first select the cut tool and then go about
deleting an object. The object-action paradigm would be to select an
object, then select the action. Selecting a different object
automatically exits the action. Gnome is an action-object environment
(disclaimer: not an expert) and, retaining edit mode while tabbing to
a different object doesn't "fit in".
3) If tabbing to a different object in edit mode retains edit mode,
then what does clicking on a different object do? Disclaimer: this is
the first time I was exposed to the idea of tabbing to a different
object, whether modal or not. Dunno about the thoughts and arguments
that went into implementing this. Apologies for not doing my homework
yet again.
4) In edit mode, if you edit object1, then move to object2, edit it
and move back to object1, then which action is picked for undo ... the
last action on the current object (object1), or the last action in the
mode (object2)?
5) My pet analogies ... nautilus, explorer, spreadsheets ... they
don't work that way.

> It should be possible to hack the stack when ending edit for an object to 
> collapse
> all edit into a simple text change.

Allowing tabbing to different objects while in edit mode implies a
separate undo stack for each object, managed by the mode. When exiting
the mode, every stack will be collapsed into a per-object change,
pushed in the latest-interacted-first order for objects.

Sameer.
-- 
Research Scholar, Department of CSE, IIT Bombay
http://www.it.iitb.ac.in/~sameerds/
___
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



Re: Now look what you made me do

2007-10-02 Thread Sameer Sahasrabuddhe
On 10/2/07, Sameer Sahasrabuddhe <[EMAIL PROTECTED]> wrote:

> Allowing tabbing to different objects while in edit mode implies a
> separate undo stack for each object, managed by the mode. When exiting
> the mode, every stack will be collapsed into a per-object change,
> pushed in the latest-interacted-first order for objects.

Oops.
That would be latest-interacted-last when pushing, which results in
the latest changed object being restored first when undoing.

Sameer.
-- 
Research Scholar, Department of CSE, IIT Bombay
http://www.it.iitb.ac.in/~sameerds/
___
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



dia svg export: how do adjust size?

2007-10-02 Thread Zhang Weiwu
Dear all

After made a graph in dia 0.96.1, I export it to svg by "File -> Export
-> change extension name to .svg and click save".

Result file cannot be opened in firefox 2.0.0.6. Error:
This XML file does not appear to have any style information
associated with it. The document tree is shown below.

Then I export by repeating above operation while select "SVG Plain" as
export format, this time it works and created an SVG file open-able in
Firefox, but the graph is too big, and text is relatively bigger than
shapes, making many text in rectangles ends outside the rectangle.

I got 3 problem here:

   1. Why simply export by changing extension name doesn't work
  (resulted svg that doesn't work in Fx)? If it's not open-able in
  Fx people assume it's broken, then dia should by default use
  "Plain SVG" or whatever option that produce more compatible svg.
   2. Why text is relatively bigger?
   3. How can I reduce the size of exported svg? I have tried to find
  option for dpi (no such option) and I try to find option for
  exported svg size (no such option) and then I try to make the
  graph smaller (not possible, because after grouped all objects,
  the group is not resizeable).

Thanks! Note all of my 3 questions are probably bugs, let me know if I
should file them as bug please. Seriously, I consider proper export of
correct SVG is very important, DIA should have high quality control over
this particular part.

For sizing: user can reasonably expect exported svg image opens in
firefox the same size as in dia when zoom is 100%. While this might not
be easy as screen dpi may vary, at least it shouldn't be too far away
from user expectation. On a higher level of usability requirement, a
user might expect the diagram not exceeding the width of the screen
prints within the A4 page width (especially on XGA) unless a shape of A4
page is clearly placed as background, and even expect the same for svg
exported. This might not have to be satisfied but should be considered
at least.

For printing: just noticed user cannot select printer when printing in
dia. I hope this can be improved too:)

-- 
Real Softservice

Huateng Tower, Unit 1788
Jia 302 3rd area of Jinsong, Chao Yang

Tel: +86 (10) 8773 0650 ext 603
Mobile: 135 9950 2413
http://www.realss.com

___
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



pdf export / scaling - got lost

2007-10-02 Thread Helmut Jarausch
Hi,

I'm very new to Dia which looks very promising to me.
Yet, I don't understand Scaling and exporting to PDF.

Under Page Setup I have Scale:55.0 .
When I export as an .eps file which is used
within a TeX-file, I get a result which I expected.
(Surprisingly the Scaling applies to exporting, as well).
When I now use a (common) Perl script 'epstopdf'
I can use resulting .pdf file within pdftex without problems.

But when I export directly from Dia to a .pdf file, and
using that under pdftex, the image is shift to the left
(out of the page).

What am I missing?

Many thanks for a hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
___
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



Open source screenplay tool

2007-10-02 Thread Carol Lerche
>I want to use Dia to write a screenplay.

Everyone should use the tool of their fancy, but have you looked at:

http://www.celtx.com/overview.html
___
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



Re: pdf export / scaling - got lost

2007-10-02 Thread Lars Clausen
Helmut Jarausch said:
> Hi,
>
> I'm very new to Dia which looks very promising to me.
> Yet, I don't understand Scaling and exporting to PDF.
>
> Under Page Setup I have Scale:55.0 .
> When I export as an .eps file which is used
> within a TeX-file, I get a result which I expected.
> (Surprisingly the Scaling applies to exporting, as well).
> When I now use a (common) Perl script 'epstopdf'
> I can use resulting .pdf file within pdftex without problems.
>
> But when I export directly from Dia to a .pdf file, and
> using that under pdftex, the image is shift to the left
> (out of the page).
>
> What am I missing?

What you need to do is share your PDF exporter, as Dia doesn't come with
one. If you're making PDFs by printing to a PDF printer driver, you get
extra margins (which I would have expected to shift the image to the
right, but you never know).

-Lars
___
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



Re: pdf export / scaling - got lost

2007-10-02 Thread Helmut Jarausch
On  3 Oct, Lars Clausen wrote:
> Helmut Jarausch said:
>> Hi,
>>
>> I'm very new to Dia which looks very promising to me.
>> Yet, I don't understand Scaling and exporting to PDF.
>>
>> Under Page Setup I have Scale:55.0 .
>> When I export as an .eps file which is used
>> within a TeX-file, I get a result which I expected.
>> (Surprisingly the Scaling applies to exporting, as well).
>> When I now use a (common) Perl script 'epstopdf'
>> I can use resulting .pdf file within pdftex without problems.
>>
>> But when I export directly from Dia to a .pdf file, and
>> using that under pdftex, the image is shift to the left
>> (out of the page).
>>
>> What am I missing?
> 
> What you need to do is share your PDF exporter, as Dia doesn't come with
> one. 

Really?
Here, with Dia 0.96 (even SVN) I can say EXPORT, I select the
extension .pdf and leave the pull down menu "Determine file type:"
at the preset value "By extension".
And it does export to a .pdf file.

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
___
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



Scene graph shapes by Alejandro Aguilar Sierra available in the Dia Shape Repository

2007-10-02 Thread Steffen Macke
Hello All,

Alejandro Aguilar Sierra has contributed some scene graph shapes,
which have been added
to the Dia shape repository:

http://dia-installer.de/shapes/scenegraph/

Thanks to Alejandro for sharing these shapes!

Regards,

Steffen
___
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



Re: pdf export / scaling - got lost

2007-10-02 Thread Hans Breuer
On 02.10.2007 16:54, Helmut Jarausch wrote:
> On  3 Oct, Lars Clausen wrote:
>> Helmut Jarausch said:
>>> Hi,
>>>
>>> I'm very new to Dia which looks very promising to me.
>>> Yet, I don't understand Scaling and exporting to PDF.
>>>
>>> Under Page Setup I have Scale:55.0 .
>>> When I export as an .eps file which is used
>>> within a TeX-file, I get a result which I expected.
>>> (Surprisingly the Scaling applies to exporting, as well).
>>> When I now use a (common) Perl script 'epstopdf'
>>> I can use resulting .pdf file within pdftex without problems.
>>>
>>> But when I export directly from Dia to a .pdf file, and
>>> using that under pdftex, the image is shift to the left
>>> (out of the page).
>>>
>>> What am I missing?
http://bugzilla.gnome.org/show_bug.cgi?id=353433

>> What you need to do is share your PDF exporter, as Dia doesn't come with
>> one. 
> 
> Really?
> Here, with Dia 0.96 (even SVN) I can say EXPORT, I select the
Lars: you should finally start building dia --with-cairo ...

> extension .pdf and leave the pull down menu "Determine file type:"
> at the preset value "By extension".
> And it does export to a .pdf file.
> 
... and of course the cairo version needs to be new enough to have PDF.

Hans

 Hans "at" Breuer "dot" Org ---
Tell me what you need, and I'll tell you how to
get along without it.-- Dilbert
___
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



Re: pdf export / scaling - got lost

2007-10-02 Thread W. Martin Borgert
On Wed, Oct 03, 2007 at 12:52:20AM +0200, Hans Breuer wrote:
> ... and of course the cairo version needs to be new enough to have PDF.

Which is? Is 1.4.10 sufficient? TIA!

___
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



Re: dia svg export: how do adjust size?

2007-10-02 Thread Sameer Sahasrabuddhe
On 10/2/07, Zhang Weiwu <[EMAIL PROTECTED]> wrote:
>
> After made a graph in dia 0.96.1, I export it to svg by "File -> Export
> -> change extension name to .svg and click save".

When you changed the extension name to ".svg", did you also select the
option that says "Determine file type By Extension"?

> Result file cannot be opened in firefox 2.0.0.6. Error:
> This XML file does not appear to have any style information
> associated with it. The document tree is shown below.

If you are running Linux, you can check the actual type of the file
using the "file" command.

> Thanks! Note all of my 3 questions are probably bugs, let me know if I
> should file them as bug please.

Snipped the rest of the issues mentioned since I am not knowledgeable
in that. Maybe some of these issues are already filed in related bugs.
A search on existing bugs might throw some light.

Sameer.
-- 
Research Scholar, Department of CSE, IIT Bombay
http://www.it.iitb.ac.in/~sameerds/
___
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