Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: frescobaldi/python-ly
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: frescobaldi/python-ly
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: xml-fix-markup
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on May 7, 2018

  1. #121: XML: Properly handle \markup

    Closes #121
    As described in the Issue the previous implementation of \markup
    had two flaws:
    - direction modifier wasn't respected
    - all markups in a bar would be added as a child of the bar
      instead of being attached to the notes
    
    This commit creates each \markup as a <direction> element
    immediately preceding the note/rest the markup is attached to.
    If there's an explicit direction operator it is respected.
    Multiple markups may be attached to a single note, each with its own
    direction (or lack thereof).
    
    The handling of Markup() and MarkupElement() objects is already prepared
    to dealing with variable formatting, insofar as a Markup()
    contains a list of MarkupElement() items, which will later be used to handle
    formatting. One \markup will generate one <direction> element. This contains
    a sequence of <words> elements (currently only one), which can individually
    be assigned formatting attributes.
    uliska committed May 7, 2018
    Configuration menu
    Copy the full SHA
    29089bf View commit details
    Browse the repository at this point in the history
Loading