Inkscape.org
Beyond the Basics Best way to duplicate the contents of a page to the next one, in the exact same position
  1. #1
    Sergio814 Sergio814 @Sergio814

    The new feature of multiple pages allows the creation of presentations in an easier way. However, sometimes you need to copy the exact content of the page to the next one (e.g. to simulate slide transitions). It would be nice to have the option to "Duplicate page." So far I am doing it by creating a rectangle of the size of the page, then copying everything contained in the rectangle and pasting it on the next page, then removing the rectangles. I noticed this results in misalignment of the objects with respect to the previous page when I export the PDF. Any idea of how to do this better? Or does the feature of page duplication exist already?  Thanks

  2. #2
    inklinea inklinea @inklinea⛰️

    I am sure there is a proper ( or will a proper ) way to do it.

    However I wrote this extension a while ago to either copy or clone to new pages.

    The pages have to be added by clicking the add page button on the page tool bar first.

    https://inkscape.org/~inklinea/%E2%98%85page-watermark-inkscape-12

    Perhaps you can break it ? :)

  3. #3
    Tyler Durden Tyler Durden @TylerDurden

    Maybe this:

     

  4. #4
    Sergio814 Sergio814 @Sergio814

    Thank you Tyler, that's a nice solution. I hope they add a "Duplicate page" button in the future 👍

  5. #5
    sudarshkhare sudarshkhare @sudarshkhare

    Thank you for the help Tyler. Love the hack 😁

  6. #6
    Ianscape Ianscape @Ianscape

    There's a new option "Paste...On Page" which seems to work well. You just need to persuade Inkscape which page is 'current'. I just draw a shape on the target page, delete the shape then "paste on page".

  7. #7
    Sergio814 Sergio814 @Sergio814

    @Ianscape that seems to work quite well 😊 Thanks for mentioning it. For the persuading, I think it's enough first to copy whatever you want to copy (Ctrl+C), then switch to Pages tool and click on the page where you want to paste what you copied, then Edit -> Paste... -> On page and it should be pasted on the page you selected.

  8. #8
    7jfosqo5 7jfosqo5 @7jfosqo5

    Sadly, that's unusable for me - I need to copy elements across ALL pages FREQUENTLY. You can't just copy them one by one each time in a way that involves two or three steps.

    I'm really struggling to use inkscape - multipages don't work, links don't work (get rasterized when exported to pdf)...

  9. #9
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Here's a workaround for duplication on every page.

    Draw a rectangle over an entire page. Create a group from this single rectangle [ctrl+g]. Clone the group [alt+d]. Select the parent [shift+d] and move it off the page. [Enable Snapping] [Snap to: Page borders]. Copy the clone and paste it to every page in your document. Changes to the parent group will be duplicated on every page. Hide the parent rectangle for export or print.

  10. #10
    7jfosqo5 7jfosqo5 @7jfosqo5
    *

    @Paddy_CAD thanks, but I think that we still need to build a single command instead of resorting to multi-step workarounds.

  11. #11
    inklinea inklinea @inklinea⛰️

    I was suprised to find someone had made a video using my extension ( posted above )

    https://www.youtube.com/watch?v=u_7Fn1xzflY

    It shows how they used it to copy over pages.

    The relevant part of the video is at 5:50

  12. #12
    7jfosqo5 7jfosqo5 @7jfosqo5

    @inklinea, yep, exactly. I will try to modify it so it can be assigned to a single shortcut instead of going through menus/dialogs. I'm new to inkscape scripting, but hopefully it won't be too hard.

  13. #13
    inklinea inklinea @inklinea⛰️
    😀

    You don't need to modify the extension:

    All extensions appear in the Inkscape shortcut page in Edit>Preferences>Keyboard>Shortcuts.

    There are always 2 shortcuts for each extension. 

    Standard and .noprefs

    The standard one launches the extension in the normal way ( if there is a gui it will appear )

    the .noprefs one just runs the extension with the last settings without the appearance of any gui.

     

    Screenshot From 2024 04 28 20 24 40
  14. #14
    7jfosqo5 7jfosqo5 @7jfosqo5

    @inklinea oh wow that's really cool. I love when programs provide such keyboard-oriented features. Thank you for showing it.

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Best way to duplicate the contents of a page to the next one, in the exact same position