Re: How to change page size to selection size SOLVED WITH WORKAROUND

2013-04-13 Thread Steve Litt
On Sat, 13 Apr 2013 19:38:16 +0200
Hans Breuer h...@breuer.org wrote:

 At 11.04.2013 06:26, Steve Litt wrote:
  On Wed, 10 Apr 2013 23:43:02 +0200
  Hans Breuerh...@breuer.org  wrote:
 
  At 10.04.2013 20:48, Steve Litt wrote:
 [...]
 
  As you know, previous Dia versions had a size to selection
  button for page size, but current versinos got rid of that
  feature.[...]
 
  You said that before and apparently are not aware of my answer:
  https://mail.gnome.org/archives/dia-list/2013-February/msg00031.html
 
  It does not become more true by prefixing that statetment with As
  you know. At least I am not aware of any size to selection
  button having been available in Dia in the last twelve years.
  Please be more specific what you did before - especially how - and
  what is not working anymore in which version.
 
 
  I'll tell you what Hans,
 
  I'll go to the not inconsiderable trouble of:
 
  1) Find a spare computer
  2) Find a copy of Ubuntu 10.04 or whatever
  3) Take a complete set of screenshots of the facility to size the
  page to selection
  4) Make the screenshots available to the list
 
  I'll do all that if you promise to put back the functionality that
  the screenshots reveal.
 
 The only thing I can promise it that I wont try to fix something that
 I dont understand.
 I have a lot of Dia versions readily available for testing, but I
 simply cant imaginge where you have seen the button you are talking
 about. Maybe you had a custom script or plug-in providing all the
 facility to size the page to selection?
 Also I'm not interested at all in screenshots, so please dont bother
 to create these. Especially not from something which was never part
 of an official Dia version. Screenshots wont help you to get the
 feature back. Finding the source of that feature might.

Whoops. I'm wrong. You're right. Sorry.

I had forgotten how I REALLY used dia back in the old days. I did
further research and found that this size to selection property was
in Inkscape, not dia. 

I used to export dia to svg and then resize the drawing in Inkscape
before converting to .pdf. In order that it size correctly, I'd put a
tiny translucent circle just upper left and lower right of the dia
drawing, in order that the finished .pdf's borders wouldn't touch the
lines of the drawing itself. Then I ran it through my dia2pdf script:

==
#!/bin/bash
dianame=$1
gname=`echo $dianame | sed -e s/\..*$//`
pdfname=$gname.pdf
echo Converting $dianame to $pdfname
inkscape --export-area-drawing --export-pdf=$pdfname $dianame
acroread $pdfname 
==

I'm sorry that my forgetting how I converted caused me to claim a lost
dia feature that never existed.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to change page size to selection size SOLVED WITH WORKAROUND

2013-04-11 Thread Alejandro Imass
On Thu, Apr 11, 2013 at 12:26 AM, Steve Litt sl...@troubleshooters.com wrote:
 On Wed, 10 Apr 2013 23:43:02 +0200
 Hans Breuer h...@breuer.org wrote:

 At 10.04.2013 20:48, Steve Litt wrote:
  On Wed, 20 Feb 2013 17:31:43 -0500
  Steve Littsl...@troubleshooters.com  wrote:
 
  Hi all,
 
  In previous dia versions, within dia I've been able to set the page
  size of a drawing to a selection of all objects on the drawing.
  Then, a simple export to svg would give the exact sized graphic in
  svg form, ready to put on a website. The new dia version I just
  installed has no random resizing capability, restricting the user
  to a predefined list of page sizes.

Hans,

I think you are referring to the page scale factor:

File-Page Setup

Look at scale and fit-to sizes. If you want your objects to fit in one
page you can use fit-to 1 by 1 or play with the scale factor until you
get a satisfactory fit in the pages you want. I typically use a scale
factor of between 20 and 40 for the UML sheet but of course YMMV.

Best,

-- 
Alejandro Imass
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to change page size to selection size SOLVED WITH WORKAROUND

2013-04-10 Thread Steve Litt
On Wed, 20 Feb 2013 17:31:43 -0500
Steve Litt sl...@troubleshooters.com wrote:

 Hi all,
 
 In previous dia versions, within dia I've been able to set the page
 size of a drawing to a selection of all objects on the drawing. Then,
 a simple export to svg would give the exact sized graphic in svg form,
 ready to put on a website. The new dia version I just installed has no
 random resizing capability, restricting the user to a predefined list
 of page sizes.


Hi all,

As you know, previous Dia versions had a size to selection button for
page size, but current versinos got rid of that feature. So here's how
I worked around it...

What I do is draw my diagram, making certain the upper left corner of
my drawing is very near 0,0. Then I find a canned shape (typically
either Letter landscape or Letter portrait that approximately the same
size as the drawing, as evidenced by the heavier grid lines at 8.5
and 11 or whatever. I set the margins very small, like 0.1cm, and then
I adjust the scaling factor so the drawing completely fits inside the
paper size. This produces a ddrawing that's correctly sized.

SteveT


 
 After installing Ubuntu 12.10, I installed dia from Ubuntu's package
 manager:
 
 ===
 slitt@mydesk:~$ dia -v
 Dia version 0.97.2, compiled 19:25:35 Apr 30 2012
 slitt@mydesk:~$ 
 ===
 
 Is the resize page to selection somewhere in the menu system other
 than File-Page_setup? Is there some way to get my dia to resize page
 to selection? I'm sure I'm not the only one who misses this feature.
 How are the rest of you getting along without it?
 
 Without this feature I'd need to re-edit my dia diagram with Inkscape,
 which is an inconvenience I'd really like to forego.
 
 Thanks
 
 SteveT
 
 Steve Litt
 ___
 dia-list mailing list
 dia-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/dia-list
 FAQ at http://live.gnome.org/Dia/Faq
 Main page at http://live.gnome.org/Dia
 

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to change page size to selection size SOLVED WITH WORKAROUND

2013-04-10 Thread Hans Breuer

At 10.04.2013 20:48, Steve Litt wrote:

On Wed, 20 Feb 2013 17:31:43 -0500
Steve Littsl...@troubleshooters.com  wrote:


Hi all,

In previous dia versions, within dia I've been able to set the page
size of a drawing to a selection of all objects on the drawing. Then,
a simple export to svg would give the exact sized graphic in svg form,
ready to put on a website. The new dia version I just installed has no
random resizing capability, restricting the user to a predefined list
of page sizes.



Hi all,

As you know, previous Dia versions had a size to selection button for
page size, but current versinos got rid of that feature.[...]


You said that before and apparently are not aware of my answer:
https://mail.gnome.org/archives/dia-list/2013-February/msg00031.html

It does not become more true by prefixing that statetment with As you 
know. At least I am not aware of any size to selection button having 
been available in Dia in the last twelve years.
Please be more specific what you did before - especially how - and what is 
not working anymore in which version.


Thanks,
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
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to change page size to selection size SOLVED WITH WORKAROUND

2013-04-10 Thread Steve Litt
On Wed, 10 Apr 2013 23:43:02 +0200
Hans Breuer h...@breuer.org wrote:

 At 10.04.2013 20:48, Steve Litt wrote:
  On Wed, 20 Feb 2013 17:31:43 -0500
  Steve Littsl...@troubleshooters.com  wrote:
 
  Hi all,
 
  In previous dia versions, within dia I've been able to set the page
  size of a drawing to a selection of all objects on the drawing.
  Then, a simple export to svg would give the exact sized graphic in
  svg form, ready to put on a website. The new dia version I just
  installed has no random resizing capability, restricting the user
  to a predefined list of page sizes.
 
 
  Hi all,
 
  As you know, previous Dia versions had a size to selection button
  for page size, but current versinos got rid of that feature.[...]
 
 You said that before and apparently are not aware of my answer:
 https://mail.gnome.org/archives/dia-list/2013-February/msg00031.html
 
 It does not become more true by prefixing that statetment with As
 you know. At least I am not aware of any size to selection button
 having been available in Dia in the last twelve years.
 Please be more specific what you did before - especially how - and
 what is not working anymore in which version.


I'll tell you what Hans,

I'll go to the not inconsiderable trouble of:

1) Find a spare computer
2) Find a copy of Ubuntu 10.04 or whatever
3) Take a complete set of screenshots of the facility to size the page
   to selection
4) Make the screenshots available to the list

I'll do all that if you promise to put back the functionality that the
screenshots reveal.

SteveT
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to change page size to selection size SOLVED WITH WORKAROUND

2013-04-10 Thread Michael Ross
Photoshopped?  Just kidding.


On Thu, Apr 11, 2013 at 12:26 AM, Steve Litt sl...@troubleshooters.comwrote:

 On Wed, 10 Apr 2013 23:43:02 +0200
 Hans Breuer h...@breuer.org wrote:

  At 10.04.2013 20:48, Steve Litt wrote:
   On Wed, 20 Feb 2013 17:31:43 -0500
   Steve Littsl...@troubleshooters.com  wrote:
  
   Hi all,
  
   In previous dia versions, within dia I've been able to set the page
   size of a drawing to a selection of all objects on the drawing.
   Then, a simple export to svg would give the exact sized graphic in
   svg form, ready to put on a website. The new dia version I just
   installed has no random resizing capability, restricting the user
   to a predefined list of page sizes.
  
  
   Hi all,
  
   As you know, previous Dia versions had a size to selection button
   for page size, but current versinos got rid of that feature.[...]
 
  You said that before and apparently are not aware of my answer:
  https://mail.gnome.org/archives/dia-list/2013-February/msg00031.html
 
  It does not become more true by prefixing that statetment with As
  you know. At least I am not aware of any size to selection button
  having been available in Dia in the last twelve years.
  Please be more specific what you did before - especially how - and
  what is not working anymore in which version.


 I'll tell you what Hans,

 I'll go to the not inconsiderable trouble of:

 1) Find a spare computer
 2) Find a copy of Ubuntu 10.04 or whatever
 3) Take a complete set of screenshots of the facility to size the page
to selection
 4) Make the screenshots available to the list

 I'll do all that if you promise to put back the functionality that the
 screenshots reveal.

 SteveT
 ___
 dia-list mailing list
 dia-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/dia-list
 FAQ at http://live.gnome.org/Dia/Faq
 Main page at http://live.gnome.org/Dia




-- 
Put this question to yourself: should I use everyone else to attain
happiness, or should I help others gain happiness?
*Dalai Lama *

To invent, you need a good imagination and a pile of junk.
Thomas A. 
Edisonhttp://www.brainyquote.com/quotes/quotes/t/thomasaed125362.html

A public-opinion poll is no substitute for thought.
*Warren Buffet*

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824 https://www.google.com/voice/b/0?pli=1#phones Google Phone
(919) 631-1451 Cell
(919) 513-0418 Desk

michael.e.r...@gmail.com
michael.e.r...@gmail.com
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia