Scribusoid

Author Topic: Paste vector frame format–position many frames quickly  (Read 846 times)

prkos

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Scribus User
Paste vector frame format–position many frames quickly
« on: February 06, 2021, 11:44:09 pm »
I imported a vector SVG drawing into one page and adjusted size and position (it exactly fills the content area, within margins).

Now I want to import several more different vectors into other pages. The position and size of those frames should be the same save the left/right position difference.

What is the quickest way to do that?

Currently I import the vector, click on a page to make it appear, adjust the position and size manually in Properties window. Snapping to grid helps a bit but it's still super tedious.

utnik

  • Hero Member
  • *****
  • Posts: 1594
  • Karma: 17
Re: Paste vector frame format–position many frames quickly
« Reply #1 on: February 07, 2021, 12:14:42 am »
hi prkos

i would set guides to snap on…

utnik

prkos

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Scribus User
Re: Paste vector frame format–position many frames quickly
« Reply #2 on: February 08, 2021, 01:52:48 am »
Thank you!

I also found the Scribus Generator extension https://berteh.github.io/ScribusGenerator/ and it's wonderful but it rasterizes my SVGs on import and the quality is poor. I wish Scribus allowed for linking to vector files instead of importing them as scribus objects so they can be edited. I don't need to edit them in Scribus, I need to export into nice vector PDF.

 

dragonfly

  • Full Member
  • ***
  • Posts: 204
  • Karma: 0
  • Scribus User
Re: Paste vector frame format–position many frames quickly
« Reply #3 on: February 08, 2021, 12:23:15 pm »
I have been experimenting with dynamic scripting of SVG properties (and indeed SLA which is also XML) and posted my research in the ScribusGenerator issues closed.

https://github.com/berteh/ScribusGenerator/issues/167#issuecomment-765346318

You might pick up some tips from old.carto.net articles listed above.

Be warned, it is a hacking process involving adding custom mime.types, but it does work.
It is useful to have in your bag of tricks if you are frequently editing SVG files to import.


[Later edit] I add this related discussion.

https://github.com/berteh/ScribusGenerator/issues/164#issuecomment-761875170

In particular this idea from berteh:

Quote
If you need to script the export SVG>PNG (or other) you may be interested in another script of mine: https://github.com/berteh/svg-objects-export
« Last Edit: February 08, 2021, 12:37:20 pm by dragonfly »