{"action":"opened","issue":{"url":"https://api.github.com/repos/rism-ch/verovio/issues/846","repository_url":"https://api.github.com/repos/rism-ch/verovio","labels_url":"https://api.github.com/repos/rism-ch/verovio/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/rism-ch/verovio/issues/846/comments","events_url":"https://api.github.com/repos/rism-ch/verovio/issues/846/events","html_url":"https://github.com/rism-ch/verovio/issues/846","id":320544657,"number":846,"title":"Implement <dot> inside <ligature>","user":{"login":"craigsapp","id":3487289,"avatar_url":"https://avatars0.githubusercontent.com/u/3487289?v=4","gravatar_id":"","url":"https://api.github.com/users/craigsapp","html_url":"https://github.com/craigsapp","followers_url":"https://api.github.com/users/craigsapp/followers","following_url":"https://api.github.com/users/craigsapp/following{/other_user}","gists_url":"https://api.github.com/users/craigsapp/gists{/gist_id}","starred_url":"https://api.github.com/users/craigsapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigsapp/subscriptions","organizations_url":"https://api.github.com/users/craigsapp/orgs","repos_url":"https://api.github.com/users/craigsapp/repos","events_url":"https://api.github.com/users/craigsapp/events{/privacy}","received_events_url":"https://api.github.com/users/craigsapp/received_events","type":"User","site_admin":false},"labels":[{"id":227604227,"url":"https://api.github.com/repos/rism-ch/verovio/labels/feature%20request","name":"feature request","color":"bfe5bf","default":false},{"id":499092639,"url":"https://api.github.com/repos/rism-ch/verovio/labels/low%20priority","name":"low priority","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-05T22:02:50Z","updated_at":"2018-05-05T22:02:50Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Verovio currently ignores `<dot>` inside of `<ligature>` &mdash; most likely because its layout is a conundrum over where to place a dot inside of a ligature:\r\n\r\n```\r\n[Error] Adding 'Dot' to a 'Ligature'\r\n[Warning] Element <dot> within <ligature> is not supported and will be ignored\r\n```\r\n\r\nHere is an example of such a case from page 101 of Apel's The Notation of Polyphonic Music. 900-1600 (1949):\r\n\r\n<img width=\"1632\" alt=\"screen shot 2018-05-05 at 2 42 44 pm\" src=\"https://user-images.githubusercontent.com/3487289/39667805-85fefe98-5072-11e8-8ebd-a884d8c0a28a.png\">\r\n\r\nCurrent rendering:\r\n\r\n<img width=\"1039\" alt=\"screen shot 2018-05-05 at 2 53 25 pm\" src=\"https://user-images.githubusercontent.com/3487289/39667860-05c4d05c-5074-11e8-9b7d-7d6a12aff20a.png\">\r\n\r\nProbably the best thing is to place it centered over the notehead (similar to a staccato for layout).\r\n\r\nNote that the dot above the \"C\" mensuration (which is not a real mensuration yet) is a dot that should go after the first note, but is pushed to the left probably due to the ligature (I will submit a separate issue for that).\r\n\r\n`ligature@form=\"obliqua\"`, but is showing as `ligature@form=\"recta\"` (but I won't submit an issue for that, as you probably already know that ;-)\r\n\r\n\r\nNote on page 93 about ligature dots:\r\n\r\n<img width=\"1404\" alt=\"screen shot 2018-05-05 at 3 02 15 pm\" src=\"https://user-images.githubusercontent.com/3487289/39667904-3eedd576-5075-11e8-8d95-7eb91eb82bb3.png\">\r\n\r\n\r\n\r\nTest data:\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<?xml-model href=\"http://music-encoding.org/schema/4.0.0/mei-all.rng\" type=\"application/xml\" schematypens=\"http://relaxng.org/ns/structure/1.0\"?>\r\n<?xml-model href=\"http://music-encoding.org/schema/4.0.0/mei-all.rng\" type=\"application/xml\" schematypens=\"http://purl.oclc.org/dsdl/schematron\"?>\r\n<mei xmlns=\"http://www.music-encoding.org/ns/mei\" meiversion=\"4.0.0\">\r\n    <meiHead>\r\n        <fileDesc>\r\n            <titleStmt>\r\n                <title>Willi Apel, pg. 101</title>\r\n            </titleStmt>\r\n            <pubStmt />\r\n        </fileDesc>\r\n        <encodingDesc>\r\n            <appInfo>\r\n                <application isodate=\"2018-05-05T14:48:46\" version=\"2.0.0-dev-686bba6-dirty\">\r\n                    <name>Verovio</name>\r\n                    <p>Transcoded from Humdrum</p>\r\n                </application>\r\n            </appInfo>\r\n        </encodingDesc>\r\n        <workDesc>\r\n            <work>\r\n                <titleStmt>\r\n                    <title xml:id=\"title-L1\" analog=\"humdrum:OTL\" type=\"main\">Willi Apel, pg. 101</title>\r\n                </titleStmt>\r\n            </work>\r\n        </workDesc>\r\n        <extMeta>\r\n            <frames xmlns:humxml=\"http://www.humdrum.org/ns/humxml\">\r\n                <metaFrame n=\"0\" token=\"!!!OTL: Willi Apel, pg. 101\" xml:id=\"loc0\">\r\n                    <frameInfo>\r\n                        <startTime float=\"0\" />\r\n                        <frameType>reference</frameType>\r\n                        <referenceKey>OTL</referenceKey>\r\n                        <referenceValue>Willi Apel, pg. 101</referenceValue>\r\n                    </frameInfo>\r\n                </metaFrame>\r\n            </frames>\r\n        </extMeta>\r\n    </meiHead>\r\n    <music>\r\n        <body>\r\n            <mdiv xml:id=\"mdiv-0000002104579224\">\r\n                <score xml:id=\"score-0000000459868031\">\r\n                    <scoreDef xml:id=\"scoredef-0000000787335713\" midi.bpm=\"400\">\r\n                        <staffGrp xml:id=\"staffgrp-0000001325984713\">\r\n                            <staffDef xml:id=\"staffdef-0000001364710838\" clef.shape=\"C\" clef.line=\"3\" key.sig=\"0\" mensur.sign=\"C\" n=\"1\" notationtype=\"mensural\" lines=\"5\">\r\n                                <label xml:id=\"label-0000000059499059\" />\r\n                            </staffDef>\r\n                        </staffGrp>\r\n                        <pgHead xml:id=\"pghead-0000000849926926\">\r\n                            <rend xml:id=\"rend-0000001808109085\" halign=\"center\" valign=\"middle\">\r\n                                <rend xml:id=\"rend-0000001995786545\" fontsize=\"x-large\">Willi Apel, pg. 101</rend>\r\n                                <lb xml:id=\"lb-0000001578812196\" /> \r\n<lb xml:id=\"lb-0000000333493596\" /> </rend>\r\n                        </pgHead>\r\n                    </scoreDef>\r\n                    <section xml:id=\"section-0000000208351464\">\r\n                        <measure xml:id=\"measure-L2\" right=\"invis\" n=\"0\">\r\n                            <staff xml:id=\"staff-0000001722782619\" n=\"1\">\r\n                                <layer xml:id=\"layer-L2F1N1\" n=\"1\">\r\n                                    <note xml:id=\"note-L8F1\" dots=\"1\" dur=\"brevis\" oct=\"4\" pname=\"f\" accid.ges=\"n\" />\r\n                                    <dot xml:id=\"dot-0000001030309977\" />\r\n                                    <ligature form=\"obliqua\" xml:id=\"ligature-0000001259137678\">\r\n                                        <note xml:id=\"note-L9F1\" dots=\"1\" dur=\"semibrevis\" oct=\"4\" pname=\"e\" accid.ges=\"n\" />\r\n                                        <note xml:id=\"note-L10F1\" dur=\"semibrevis\" oct=\"4\" pname=\"d\" accid.ges=\"n\" />\r\n                                    </ligature>\r\n                                    <note xml:id=\"note-L11F1\" dur=\"semiminima\" oct=\"4\" pname=\"c\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L12F1\" dur=\"minima\" oct=\"4\" pname=\"e\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L13F1\" dur=\"semiminima\" oct=\"4\" pname=\"d\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L14F1\" dur=\"semiminima\" oct=\"4\" pname=\"e\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L15F1\" dur=\"minima\" oct=\"4\" pname=\"f\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L16F1\" dur=\"semiminima\" oct=\"4\" pname=\"e\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L17F1\" dur=\"semiminima\" oct=\"4\" pname=\"d\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L18F1\" dur=\"semiminima\" oct=\"4\" pname=\"c\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L19F1\" dur=\"minima\" oct=\"3\" pname=\"b\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L20F1\" dur=\"semibrevis\" oct=\"4\" pname=\"c\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L21F1\" dur=\"minima\" oct=\"4\" pname=\"d\" stem.dir=\"up\" accid.ges=\"n\" />\r\n                                    <note xml:id=\"note-L22F1\" dur=\"brevis\" oct=\"4\" pname=\"e\" accid.ges=\"n\" />\r\n                                </layer>\r\n                            </staff>\r\n                        </measure>\r\n                    </section>\r\n                </score>\r\n            </mdiv>\r\n        </body>\r\n    </music>\r\n</mei>\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"craigsapp"}}