{"action":"opened","issue":{"url":"https://api.github.com/repos/tomschr/daps-test/issues/65","labels_url":"https://api.github.com/repos/tomschr/daps-test/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/tomschr/daps-test/issues/65/comments","events_url":"https://api.github.com/repos/tomschr/daps-test/issues/65/events","html_url":"https://github.com/tomschr/daps-test/issues/65","id":59045035,"number":65,"title":"Allow config files for basic stylesheet adjustments","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-26T09:37:34Z","updated_at":"2015-02-26T09:37:34Z","closed_at":null,"body":"**Reported by fsundermeyer on 2012-03-27 15:06 UTC**\nThe DocBook stylesheets contain a high number of customizable parameters. Values for these parameters can either be set in a customization stylesheet or by passing\r\n\r\n    --stringparam <NAME> <VALUE>\r\n\r\nto xsltproc.\r\nWe should make use of the latter in order to make customization easy for non-stylesheet adepts. A config file with the following content\r\n\r\n    # parameter name\r\n    # possible values\r\n    # default value\r\n    # description\r\n    <NAME>=<VALUE>\r\n\r\ncould easily be m maintained by users, be sourced by DAPS and be passed to xsltproc.\r\nSuch config files should exist for at least the main output formats (FO, HTML, Webhelp, common).\r\n\r\n\r\nTo avoid variable clashes, using a named array would be a good solutions. Comments are allowed in an array setup:\r\n\r\n    declare -A FOO\r\n    FOO=(\r\n     # now comes A\r\n     [A]=1\r\n     # and now B\r\n     [B]=2\r\n    )\r\n"}}