Menu

#1164 SVG backend: add system-by-system output

Fixed
Enhancement
2020-04-30
2010-07-01
Anonymous
No

http://codereview.appspot.com/323440043

Originally created by: [pnorcks@gmail.com]

It would be nice to have system-by-system output for the SVG backend, much like the EPS backend.

This requires the implementation of an "output-classic-framework".

Discussion

  • Étienne Beaulé

    • Description has changed:

    Diff:

    
    
    • status: Accepted --> Started
    • assigned_to: Étienne Beaulé
    • Needs: -->
    • Patch: -->
     
  • Étienne Beaulé

    Going to work on it. How should this output-by-system be invoked?

     
  • Étienne Beaulé

    Add system-by-system output to SVG backend

    This change enables the output of separate files for each system of
    music. In addition, snippet (-dclip-systems) functionality has been
    added to the backend.

    For consistency with other backends, the page suffix is reduced from
    "-page-~a" to simply "-~a".

    http://codereview.appspot.com/323440043

     
  • Anonymous

    Anonymous - 2017-08-19
    • Needs: -->
    • Patch: new --> review
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2017-08-19

    Passes make, make check and a full make doc.

     
  • Étienne Beaulé

    Add snippeting to classic-framework

    http://codereview.appspot.com/323440043

     
  • Anonymous

    Anonymous - 2017-08-20
    • Needs: -->
    • Patch: new --> review
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2017-08-20

    Passes make , make check and a full make doc.

     
  • Anonymous

    Anonymous - 2017-08-22
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,6 @@
    -*Originally created by:* *anonymous
    +http://codereview.appspot.com/323440043
    
    -*Originally created by:* [pnorcks@gmail.com](http://code.google.com/u/pnorcks@gmail.com/)
    +*Originally created by:* [pnorcks@gmail.com]
    
     It would be nice to have system-by-system output for the SVG backend, much like the EPS backend.
    
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2017-08-22

    Patch on countdown for August 25th.

     
  • Anonymous

    Anonymous - 2017-08-25
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2017-08-25

    Patch counted down - please push.

     
  • Anonymous

    Anonymous - 2017-08-26
    • labels: --> Fixed_2_21.0
    • status: Started --> Fixed
    • Patch: push -->
     
  • Anonymous

    Anonymous - 2017-08-26

    author Étienne Beaulé beauleetienne0@gmail.com
    Thu, 17 Aug 2017 08:28:39 +0100 (04:28 -0300)
    committer James Lowe pkx166h@gmail.com
    Sat, 26 Aug 2017 10:39:01 +0100 (10:39 +0100)
    commit 6824b081b69449a8471f1b64c618c8e4903eeaff

     
  • Malte Meyn

    Malte Meyn - 2018-08-24
    • labels: Fixed_2_21.0 --> Fixed_2_21_0
     
  • Federico Bruni

    Federico Bruni - 2020-04-30

    Étienne, I'm trying to verify your patch. Sorry if this happens after such a long time, but we could not have a release for a long time...

    I'll open a new issue as I think the manuals should be updated, for example this page:
    http://lilypond.org/doc/v2.21/Documentation/notation/extracting-fragments-of-music.html

    where only PDF and PNG are listed as possible formats besides EPS.

    Now my question is: how can I verify your patch?
    I first tried the -dclip-systems option with the following snippet:

    \version "2.21.0"
    
    {
      c2 d |
      f1 |
      d4 e f g |
      a2 a4. a8 |
    }
    
    \layout {
      clip-regions
      = #(list
          (cons
           (make-rhythmic-location 2 1 1)
           (make-rhythmic-location 4 1 8)))
    }
    

    but the generated SVG fragment is incorrect, while PDF fragment is correct.
    Find attached both output files.

     
  • Étienne Beaulé

    Hello! I'm still here! ll get a better look at this next week, but this task was for the -dcrop option, not -dclip-systems. What you found sounds like a new bug.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.