{"action":"created","issue":{"url":"https://api.github.com/repos/tomschr/daps-test3/issues/245","labels_url":"https://api.github.com/repos/tomschr/daps-test3/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/tomschr/daps-test3/issues/245/comments","events_url":"https://api.github.com/repos/tomschr/daps-test3/issues/245/events","html_url":"https://github.com/tomschr/daps-test3/issues/245","id":59616416,"number":245,"title":"Improve Xrefs to Other Books [sf#248]","user":{"login":"tomschr","id":1312925,"avatar_url":"https://avatars.githubusercontent.com/u/1312925?v=3","gravatar_id":"","url":"https://api.github.com/users/tomschr","html_url":"https://github.com/tomschr","followers_url":"https://api.github.com/users/tomschr/followers","following_url":"https://api.github.com/users/tomschr/following{/other_user}","gists_url":"https://api.github.com/users/tomschr/gists{/gist_id}","starred_url":"https://api.github.com/users/tomschr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomschr/subscriptions","organizations_url":"https://api.github.com/users/tomschr/orgs","repos_url":"https://api.github.com/users/tomschr/repos","events_url":"https://api.github.com/users/tomschr/events{/privacy}","received_events_url":"https://api.github.com/users/tomschr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomschr/daps-test3/labels/fo","name":"fo","color":"ededed"},{"url":"https://api.github.com/repos/tomschr/daps-test3/labels/pdf","name":"pdf","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-03T09:34:35Z","updated_at":"2015-03-03T09:34:46Z","closed_at":"2015-03-03T09:34:37Z","body":"**Reported by tom_schr on 2014-11-07 12:27 UTC**\nWhen referencing from one book to another book, xrefs need to resolve correctly. The old implementation used this format:\r\n\r\n    Chapter \"Chapter Title\" (\"Book Title\")\r\n\r\nHowever, the new implementation uses the \"full path\":\r\n\r\n    Book \"Book title\", Chapter N \"Chapter Title\"\r\n\r\nCurrently, the new implementation is used in file `fo/xref.xsl` in [r4242]. Any interpunctuation is hard coded at the moment. It is possible (and probably recommended) to move such string(s) to language files (see `common/l10n/*.xml`).\r\n\r\nAt the moment, the appearance of such xrefs can be customized in the language files. See the following code:\r\n\r\n    <l:context name=\"xref\">\r\n      <!-- ... --->\r\n      <l:template name=\"intra-article\" text=\"Article “%t”\"/>\r\n      <l:template name=\"intra-book\" text=\"Book “%t”\"/>\r\n      <l:template name=\"intra-chapter\" text=\"Chapter %n “%t”\"/>\r\n      <!--<l:template name=\"intra-part\" text=\"%B %t\"/>-->\r\n      <l:template name=\"intra-sect1\" text=\"Section %n “%t”\"/>\r\n      <l:template name=\"intra-sect2\" text=\"Section %n “%t”\"/>\r\n      <l:template name=\"intra-sect3\" text=\"Section %n “%t”\"/>\r\n      <l:template name=\"intra-sect4\" text=\"Section %n “%t”\"/>\r\n      <l:template name=\"intra-preface\" text=\"Preface “%t”\"/>\r\n      <l:template name=\"intra-figure\" text=\"Figure %n “%t”\"/>\r\n      <l:template name=\"intra-table\" text=\"Table %n “%t”\"/>\r\n      <l:template name=\"intra-example\" text=\"Example %n “%t”\"/>\r\n      <l:template name=\"intra-procedure\" text=\"Procedure %n “%t”\"/>\r\n    </l:context>\r\n\r\nAn updated version was committed in [r4376].\r\n\r\nIn case you reference to an element which is unknown, you'll get the following warning message:\r\n\r\n    Unknown element FOO for intra xref linking.\r\n\r\nThe implementation is done in templates with mode=\"intra.title.markup\"."},"comment":{"url":"https://api.github.com/repos/tomschr/daps-test3/issues/comments/76913858","html_url":"https://github.com/tomschr/daps-test3/issues/245#issuecomment-76913858","issue_url":"https://api.github.com/repos/tomschr/daps-test3/issues/245","id":76913858,"user":{"login":"tomschr","id":1312925,"avatar_url":"https://avatars.githubusercontent.com/u/1312925?v=3","gravatar_id":"","url":"https://api.github.com/users/tomschr","html_url":"https://github.com/tomschr","followers_url":"https://api.github.com/users/tomschr/followers","following_url":"https://api.github.com/users/tomschr/following{/other_user}","gists_url":"https://api.github.com/users/tomschr/gists{/gist_id}","starred_url":"https://api.github.com/users/tomschr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomschr/subscriptions","organizations_url":"https://api.github.com/users/tomschr/orgs","repos_url":"https://api.github.com/users/tomschr/repos","events_url":"https://api.github.com/users/tomschr/events{/privacy}","received_events_url":"https://api.github.com/users/tomschr/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T09:34:46Z","updated_at":"2015-03-03T09:34:46Z","body":"**Commented by tom_schr on 2014-11-07 12:40**\n- Description has changed:\n\nDiff:\n\n~~~~\n\n--- old\n+++ new\n@@ -32,3 +32,5 @@\n In case you reference to an element which is unknown, you'll get the following warning message:\n \n    Unknown element FOO for intra xref linking.\n+\n+The implementation is done in templates with mode=\"intra.title.markup\".\n\n~~~~\n\n"}}