Difference between revisions of "Multipage"

From Inkscape Wiki
Jump to navigation Jump to search
m (Mark as outdated (multipage added in v1.2))
Line 1: Line 1:
== Multipage support ==
{{Outdated}}
 
==Multipage support ==


Currently, Inkscape does '''not''' have multipage support. The main reason is that the current SVG standard does not support multipage documents. This feature was proposed in the SVG revision 1.2, but for now got dropped in the next coming version SVG 2.0.
Currently, Inkscape does '''not''' have multipage support. The main reason is that the current SVG standard does not support multipage documents. This feature was proposed in the SVG revision 1.2, but for now got dropped in the next coming version SVG 2.0.
Line 9: Line 11:
This page discusses how the feature can (or should) be implemented:
This page discusses how the feature can (or should) be implemented:


* There should be multiple pages within a document.
*There should be multiple pages within a document.
* There are two contrary implementations in the real world:
*There are two contrary implementations in the real world:
** distribute pages around the graphics elements - the Adobe way
**distribute pages around the graphics elements - the Adobe way
** distribute graphics elements around the pages - how Corel does it and how SVG proposes to do it
**distribute graphics elements around the pages - how Corel does it and how SVG proposes to do it
* New problems arise when saving to singlepage file formats (jpg, png, etc).
*New problems arise when saving to singlepage file formats (jpg, png, etc).


== Multipage in the SVG 1.2 standard (dropped) ==
==Multipage in the SVG 1.2 standard (dropped) ==
* All pages are contained within a single pageSet element. A pageSet may contain any number of page elements. Each page element defines a single container of graphical objects.  
*All pages are contained within a single pageSet element. A pageSet may contain any number of page elements. Each page element defines a single container of graphical objects.
* In a screen-based user agent, only one page element is displayed at any time on the main canvas.
* In a screen-based user agent, only one page element is displayed at any time on the main canvas.
* The SVG content typically defines a page dimension or aspect ratio in the topmost svg element and its viewBox. The viewBox transformation applies to printed SVG in the same way as screen display.
*The SVG content typically defines a page dimension or aspect ratio in the topmost svg element and its viewBox. The viewBox transformation applies to printed SVG in the same way as screen display.
* The orientation of each page element can be controlled by the page-orientation property. This enables the content to define whether a portrait or landscape mode is used for display and printing.
*The orientation of each page element can be controlled by the page-orientation property. This enables the content to define whether a portrait or landscape mode is used for display and printing.


== Multipage à la Corel ==
==Multipage à la Corel ==
* There is a list of pages as tabs on the lower side of the drawing window.
*There is a list of pages as tabs on the lower side of the drawing window.
* All pages share the same page properties.
*All pages share the same page properties.
* A '''master page''' contains elements that are visible on all other pages: drawings, markers
*A '''master page''' contains elements that are visible on all other pages: drawings, markers
* In an object browser, pages and layers are integrated.
* In an object browser, pages and layers are integrated.


See [[http://wiki.inkscape.org/wiki/images/Corel_pages.PNG this screeshot]].
See [[http://wiki.inkscape.org/wiki/images/Corel_pages.PNG this screeshot]].


== Multicanvas (similar to multi-Artboard on adobe illustrator cs4). ==
==Multicanvas (similar to multi-Artboard on adobe illustrator cs4). ==
Multicanvas solution is not the same as pages and can't follow the SVG pageSet spec. The multicanvas, as the multi-artboard, can (frequently must) have different sizes and can be freely placed on the 2D space. A canvas may overlap a part other canvas.
Multicanvas solution is not the same as pages and can't follow the SVG pageSet spec. The multicanvas, as the multi-artboard, can (frequently must) have different sizes and can be freely placed on the 2D space. A canvas may overlap a part other canvas.


Each canvas can be printed independently and that feature helps to unify the art conception for the most applications of an art project.
Each canvas can be printed independently and that feature helps to unify the art conception for the most applications of an art project.


* see this adobe tutorial [[http://www.adobe.com/designcenter/illustrator/articles/lrvid4016_ai.html here]]
*see this adobe tutorial [[http://www.adobe.com/designcenter/illustrator/articles/lrvid4016_ai.html here]]
* there is an [[http://www.vimeo.com/2503097 video]] by Valessio Brito presenting an UI mockup how multipage can be handled in inkscape
*there is an [[http://www.vimeo.com/2503097 video]] by Valessio Brito presenting an UI mockup how multipage can be handled in inkscape


The multicanvas feature may be incompatible with the multipage feature, so, the user may chose the working mode on the "document properties" dialog. The default must be multipage and that will show the page tabs on the interface and the "new page" button, when selecting multicanvas that will show the canvas controls and the "new canvas" button.
The multicanvas feature may be incompatible with the multipage feature, so, the user may chose the working mode on the "document properties" dialog. The default must be multipage and that will show the page tabs on the interface and the "new page" button, when selecting multicanvas that will show the canvas controls and the "new canvas" button.
Line 41: Line 43:
Feature request registered: https://bugs.launchpad.net/inkscape/+bug/671081
Feature request registered: https://bugs.launchpad.net/inkscape/+bug/671081


== Inkscape-pages extension ==
==Inkscape-pages extension ==


Developer lixapopescu created a inkscape extension in 2011 which hacked into inkscape some multi page support. https://sourceforge.net/projects/inkscape-pages/
Developer lixapopescu created a inkscape extension in 2011 which hacked into inkscape some multi page support. https://sourceforge.net/projects/inkscape-pages/
Line 47: Line 49:
The design is based on using layers as the basis for pages and it's a useful hack if the svg specification will always not include pages.
The design is based on using layers as the basis for pages and it's a useful hack if the svg specification will always not include pages.


== Implementation ==
==Implementation ==
* Some planning was done in [http://www.nabble.com/Multipage-plan-td16394431.html this thread]. BROKEN LINK
*Some planning was done in [http://www.nabble.com/Multipage-plan-td16394431.html this thread]. BROKEN LINK
* All export dialogues must get extra properties in order to handle multiple pages, e.g. for specifying not only the elements, but also the pages to be exported.
*All export dialogues must get extra properties in order to handle multiple pages, e.g. for specifying not only the elements, but also the pages to be exported.
* Some prelim work has landed: https://gitlab.com/inkscape/inkscape/commit/a6162e760c7eab68fc65a4ccc879e73ab0c20c1b
*Some prelim work has landed: https://gitlab.com/inkscape/inkscape/commit/a6162e760c7eab68fc65a4ccc879e73ab0c20c1b

Revision as of 01:18, 30 July 2022

This page is outdated. It is kept for historical reasons, e.g. to document specific decisions in Inkscape development.

Multipage support

Currently, Inkscape does not have multipage support. The main reason is that the current SVG standard does not support multipage documents. This feature was proposed in the SVG revision 1.2, but for now got dropped in the next coming version SVG 2.0.

[SVG 2.0 draft on multiple pages]

[SVG 1.2 proposal for multiple pages].

This page discusses how the feature can (or should) be implemented:

  • There should be multiple pages within a document.
  • There are two contrary implementations in the real world:
    • distribute pages around the graphics elements - the Adobe way
    • distribute graphics elements around the pages - how Corel does it and how SVG proposes to do it
  • New problems arise when saving to singlepage file formats (jpg, png, etc).

Multipage in the SVG 1.2 standard (dropped)

  • All pages are contained within a single pageSet element. A pageSet may contain any number of page elements. Each page element defines a single container of graphical objects.
  • In a screen-based user agent, only one page element is displayed at any time on the main canvas.
  • The SVG content typically defines a page dimension or aspect ratio in the topmost svg element and its viewBox. The viewBox transformation applies to printed SVG in the same way as screen display.
  • The orientation of each page element can be controlled by the page-orientation property. This enables the content to define whether a portrait or landscape mode is used for display and printing.

Multipage à la Corel

  • There is a list of pages as tabs on the lower side of the drawing window.
  • All pages share the same page properties.
  • A master page contains elements that are visible on all other pages: drawings, markers
  • In an object browser, pages and layers are integrated.

See [this screeshot].

Multicanvas (similar to multi-Artboard on adobe illustrator cs4).

Multicanvas solution is not the same as pages and can't follow the SVG pageSet spec. The multicanvas, as the multi-artboard, can (frequently must) have different sizes and can be freely placed on the 2D space. A canvas may overlap a part other canvas.

Each canvas can be printed independently and that feature helps to unify the art conception for the most applications of an art project.

  • see this adobe tutorial [here]
  • there is an [video] by Valessio Brito presenting an UI mockup how multipage can be handled in inkscape

The multicanvas feature may be incompatible with the multipage feature, so, the user may chose the working mode on the "document properties" dialog. The default must be multipage and that will show the page tabs on the interface and the "new page" button, when selecting multicanvas that will show the canvas controls and the "new canvas" button.

Feature request registered: https://bugs.launchpad.net/inkscape/+bug/671081

Inkscape-pages extension

Developer lixapopescu created a inkscape extension in 2011 which hacked into inkscape some multi page support. https://sourceforge.net/projects/inkscape-pages/

The design is based on using layers as the basis for pages and it's a useful hack if the svg specification will always not include pages.

Implementation