janoliver / inkslides

A rewrite of the inkscapeslide script to create PDF presentations out of inkscape SVG files.
MIT License
27 stars 7 forks source link

new structuring of layers #2

Closed johannes-graeter closed 7 years ago

johannes-graeter commented 8 years ago

I tried to enhance this awesome project of yours:

When I created big presentations I always had the problem that my files became very unclear since I had so many layers. This is why I introduced a new structure of the slides by sublayers; now animations can be realized by sublayers and slides can be grouped. As a side effect the content slide is not longer needed, but the structure is implicitly given by the sublayers. Oftenly used layers can be added outside the slide layers and used by reference with a special textfield, as for instance done for the time line. I didn't yet add the support for transparent layers, which shouldn't be very hard though.

If you accept I would propose to introduce this as inkslides 2.0.0 since the basic structure of the svg-files changed. on acceptance I would also write a short tutorial how to create a presentation, with a short How-To video.

Hope you like my contributions :)

janoliver commented 8 years ago

Hi johannes,

Thank you for that massive patch. I will have a closer look at it within the next days. Some questions already now, though:

Do I get it right, that a slide is defined by a layer that contains at least one other layer? The second level of layers are subslides, that are only displayed one at a time. The third level of layers are displayed together.

Also, it would be helpful to be able to reference sublayers. too, like #content# Abalid_Title/Abalid_1 or something like that.

Furthermore, even though I have nothing against advancing the major version number to 2.0, the old way of handling layers should be present still, so that one is still able to compile old presentations. A simple check for the content layer would be enough.

I will likely provide more feedback during the week. Thank you for your work!

johannes-graeter commented 8 years ago

Hi Jan,

thanks for the fast reply.

Yeah you are right, backwards compatibility should be easy enough :)

So basically a slide group has usually the depth 3:

  1. level: grouping (optional)
  2. level: slide
  3. level: slide content -> animations

Its a good idea to reference by group as well, up to now I only translated the layer structure into a "content" layer so up to now no scoped names.

Regards,

Johannes

On 29/08/16 18:04, Jan Oliver Oelerich wrote:

Hi johannes,

Thank you for that massive patch. I will have a closer look at it within the next days. Some questions already now, though:

Do I get it right, that a slide is defined by a layer that contains at least one other layer? The second level of layers are subslides, that are only displayed one at a time. The third level of layers are displayed together.

Also, it would be helpful to be able to reference sublayers. too, like |#content# Abalid_Title/Abalid_1| or something like that.

Furthermore, even though I have nothing against advancing the major version number to 2.0, the old way of handling layers should be present still, so that one is still able to compile old presentations. A simple check for the |content| layer would be enough.

I will likely provide more feedback during the week. Thank you for your work!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/janoliver/inkslides/pull/2#issuecomment-243169670, or mute the thread https://github.com/notifications/unsubscribe-auth/ATDEMGcYM3LcsF9rYhBtdS0Xkh0lwvSzks5qkwMegaJpZM4JvnMr.

..................................................................................... Karlsruher Institut für Technologie (KIT)

Johannes Gräter Institut für Mess- und Regelungstechnik Engler-Bunte-Ring 21, Geb. 40.32, Zi. 036

Institutsleiter: Prof. Dr.-Ing. Christoph Stiller Engler-Bunte-Ring 21, Geb. 40.32, Zi. 140

Tel.: +49 721 608-48423 E-Mail: johannes.graeter@kit.edu Web: www.mrt.uni-karlsruhe.de

KIT - Universität des Landes Baden-Württemberg und nationales Großforschungszentrum in der Helmholtz-Gemeinschaft

janoliver commented 8 years ago

Just to give you an update: I didn't forget the PR, I am just having some stressful weeks at work, so please be patient. :)

janoliver commented 8 years ago

Hi, I have now rewritten the script so it mostly sticks to your suggestions. There are a few differences, though, which are explained in the README.md.

In brief:

I know that the changes will break your presentations, sorry for that. You could keep your version somewhere on disk to compile old presentations.

I'd be happy about feedback.

You can find the code in branch version2 of my repository.