{"action":"opened","issue":{"url":"https://api.github.com/repos/ciconia/lydown/issues/8","labels_url":"https://api.github.com/repos/ciconia/lydown/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/ciconia/lydown/issues/8/comments","events_url":"https://api.github.com/repos/ciconia/lydown/issues/8/events","html_url":"https://github.com/ciconia/lydown/issues/8","id":100961852,"number":8,"title":"Reorganize all rendered lilypond code using variables","user":{"login":"ciconia","id":291,"avatar_url":"https://avatars.githubusercontent.com/u/291?v=3","gravatar_id":"","url":"https://api.github.com/users/ciconia","html_url":"https://github.com/ciconia","followers_url":"https://api.github.com/users/ciconia/followers","following_url":"https://api.github.com/users/ciconia/following{/other_user}","gists_url":"https://api.github.com/users/ciconia/gists{/gist_id}","starred_url":"https://api.github.com/users/ciconia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciconia/subscriptions","organizations_url":"https://api.github.com/users/ciconia/orgs","repos_url":"https://api.github.com/users/ciconia/repos","events_url":"https://api.github.com/users/ciconia/events{/privacy}","received_events_url":"https://api.github.com/users/ciconia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-14T08:31:05Z","updated_at":"2015-08-14T08:31:05Z","closed_at":null,"body":"Objectives:\r\n\r\n* Make the rendering code / templates simpler and easier to change and enhance.\r\n* Make the rendered lilypond code reusable - repetition, transposition, etc.\r\n* Allow such features as repeat music with different lyrics.\r\n* Make the rendered lilypond code simpler to read.\r\n* Facilitate such features as inline free text markup, table of contents, additional stanzas after music, etc.\r\n* Facilitate engraving of score and individual parts.\r\n* Allow output modes such as only variables, only music, only lyrics, output to separate files, etc.\r\n\r\nPlanning:\r\n\r\nThis will require a significant change to the current codebase. Whereas a lilypond file generated by lydown looks like a giant nested web, the new file structure will as follows:\r\n\r\n* lilypond version\r\n* include commands for including standard libs.\r\n* a list of variable definitions for each stream: music, lyrics, figures.\r\n* any markup, table of contents, preface, etc.\r\n* any layout/paper settings.\r\n* the proper score structure, referencing the music variables."}}