{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/respec/issues/404","labels_url":"https://api.github.com/repos/w3c/respec/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/w3c/respec/issues/404/comments","events_url":"https://api.github.com/repos/w3c/respec/issues/404/events","html_url":"https://github.com/w3c/respec/issues/404","id":58698288,"number":404,"title":"Including a common glossary across multiple documents","user":{"login":"msporny","id":108611,"avatar_url":"https://avatars.githubusercontent.com/u/108611?v=3","gravatar_id":"","url":"https://api.github.com/users/msporny","html_url":"https://github.com/msporny","followers_url":"https://api.github.com/users/msporny/followers","following_url":"https://api.github.com/users/msporny/following{/other_user}","gists_url":"https://api.github.com/users/msporny/gists{/gist_id}","starred_url":"https://api.github.com/users/msporny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msporny/subscriptions","organizations_url":"https://api.github.com/users/msporny/orgs","repos_url":"https://api.github.com/users/msporny/repos","events_url":"https://api.github.com/users/msporny/events{/privacy}","received_events_url":"https://api.github.com/users/msporny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tobie","id":3392,"avatar_url":"https://avatars.githubusercontent.com/u/3392?v=3","gravatar_id":"","url":"https://api.github.com/users/tobie","html_url":"https://github.com/tobie","followers_url":"https://api.github.com/users/tobie/followers","following_url":"https://api.github.com/users/tobie/following{/other_user}","gists_url":"https://api.github.com/users/tobie/gists{/gist_id}","starred_url":"https://api.github.com/users/tobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobie/subscriptions","organizations_url":"https://api.github.com/users/tobie/orgs","repos_url":"https://api.github.com/users/tobie/repos","events_url":"https://api.github.com/users/tobie/events{/privacy}","received_events_url":"https://api.github.com/users/tobie/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-02-24T06:19:06Z","updated_at":"2015-07-09T15:11:23Z","closed_at":null,"body":"We have a slowly forming requirement in the Web Payments IG that we keep our terminology straight across all documents. We can do this in two ways - 1) create a glossary document and link externally to it, or 2) copy-paste only the glossary terms that matter into the spec in question.\r\n\r\n1 makes for a very annoying to edit and annoying to read spec. Annoying to edit because all your <dfn>s are external links, and annoying to read because you need two documents open to understand what's being said.\r\n\r\n2 is annoying because you have to keep the terms used in each spec in sync w/ the master glossary.\r\n\r\nIdeally we'd we able to do something like the bibliographic references (localBiblio) but for glossary terms. In the magical future world, only the glossary terms that were used in the specification would be pulled in from the master glossary.\r\n\r\nI tried to hack something together tonight and was thwarted.\r\n\r\nI can use data-include and data-include-sync to include the glossary no problem, but then I have some respec.preProcess steps that need to run over the entire document /before/ ReSpec starts doing its thing. So, the order of operations I need are:\r\n\r\n1. Put all data-include statements into the document.\r\n2. Run respec.preProcess functions (that inject dfn statements into the document).\r\n\r\nHow can I do this with a recent version of ReSpec? The problem, of course, is that respec.preProcess is run /before/ the data-include attributes are processed."},"comment":{"url":"https://api.github.com/repos/w3c/respec/issues/comments/120024232","html_url":"https://github.com/w3c/respec/issues/404#issuecomment-120024232","issue_url":"https://api.github.com/repos/w3c/respec/issues/404","id":120024232,"user":{"login":"halindrome","id":520688,"avatar_url":"https://avatars.githubusercontent.com/u/520688?v=3","gravatar_id":"","url":"https://api.github.com/users/halindrome","html_url":"https://github.com/halindrome","followers_url":"https://api.github.com/users/halindrome/followers","following_url":"https://api.github.com/users/halindrome/following{/other_user}","gists_url":"https://api.github.com/users/halindrome/gists{/gist_id}","starred_url":"https://api.github.com/users/halindrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halindrome/subscriptions","organizations_url":"https://api.github.com/users/halindrome/orgs","repos_url":"https://api.github.com/users/halindrome/repos","events_url":"https://api.github.com/users/halindrome/events{/privacy}","received_events_url":"https://api.github.com/users/halindrome/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T15:11:23Z","updated_at":"2015-07-09T15:11:23Z","body":"We have good support for this as an extension now.  It is pretty straightforward.  "}}