{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-fopub/issues/65","repository_url":"https://api.github.com/repos/asciidoctor/asciidoctor-fopub","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor-fopub/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor-fopub/issues/65/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor-fopub/issues/65/events","html_url":"https://github.com/asciidoctor/asciidoctor-fopub/issues/65","id":183214804,"number":65,"title":"Warning: No numberLines function available : unable to get linenumbers on code block ","user":{"login":"jagdeepjain","id":7360192,"avatar_url":"https://avatars.githubusercontent.com/u/7360192?v=3","gravatar_id":"","url":"https://api.github.com/users/jagdeepjain","html_url":"https://github.com/jagdeepjain","followers_url":"https://api.github.com/users/jagdeepjain/followers","following_url":"https://api.github.com/users/jagdeepjain/following{/other_user}","gists_url":"https://api.github.com/users/jagdeepjain/gists{/gist_id}","starred_url":"https://api.github.com/users/jagdeepjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagdeepjain/subscriptions","organizations_url":"https://api.github.com/users/jagdeepjain/orgs","repos_url":"https://api.github.com/users/jagdeepjain/repos","events_url":"https://api.github.com/users/jagdeepjain/events{/privacy}","received_events_url":"https://api.github.com/users/jagdeepjain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-15T15:17:35Z","updated_at":"2016-10-18T03:09:37Z","closed_at":null,"body":"Configured  in the adoc\r\n\r\n````\r\n:source-highlighter: coderay\r\n:coderay-linenums-mode: inline\r\n````\r\n\r\nand in the file calling as below:\r\n````\r\n[source,java,linenums]\r\n----\r\n// File:\r\npublic class ApplicationConfigurationProvider extends HttpConfigurationProvider\r\n{\r\n   @Override\r\n   public Configuration getConfiguration(ServletContext context) <1>\r\n   {\r\n      return ConfigurationBuilder.begin()\r\n               .addRule()\r\n               .when(Direction.isInbound().and(Path.matches(\"/{path}\")))\r\n               .perform(Log.message(Level.INFO, \"Client requested path: {path}\"))\r\n               .where(\"path\").matches(\".*\");\r\n   }\r\n}\r\n----\r\n````\r\n\r\nAlso set below:\r\n````\r\n  <xsl:param name=\"linenumbering.width\">2</xsl:param>\r\n  <xsl:param name=\"linenumbering.everyNth\">1</xsl:param>\r\n  <xsl:param name=\"linenumbering.separator\">1</xsl:param>\r\n````\r\nWhile trying to set:\r\n````\r\n<xsl:param name=\"use.extensions\">1</xsl:param>\r\n````\r\ngetting an exception:\r\n````\r\nWARNING: No numberLines function available.\r\nOct 15, 2016 8:47:19 PM org.apache.fop.cli.Main startFOP\r\nSEVERE: Exception\r\norg.apache.fop.apps.FOPException: Stylesheet directed termination\r\njavax.xml.transform.TransformerException: Stylesheet directed termination\r\n\tat org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300)\r\n\tat org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:126)\r\n\tat org.apache.fop.cli.Main.startFOP(Main.java:186)\r\n\tat org.apache.fop.cli.Main.main(Main.java:217)\r\nCaused by: javax.xml.transform.TransformerException: Stylesheet directed termination\r\n\tat org.apache.xalan.templates.ElemMessage.execute(ElemMessage.java:123)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:139)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)\r\n\tat org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:246)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:126)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:1999)\r\n\tat org.apache.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:1921)\r\n\tat org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:310)\r\n\tat org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java:246)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)\r\n\tat org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:246)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemElement.constructNode(ElemElement.java:339)\r\n\tat org.apache.xalan.templates.ElemElement.execute(ElemElement.java:288)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:126)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:139)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)\r\n\tat org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemIf.execute(ElemIf.java:160)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:139)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:139)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:139)\r\n\tat org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)\r\n\tat org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)\r\n\tat org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)\r\n\tat org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)\r\n\tat org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1284)\r\n\tat org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262)\r\n\tat org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:297)\r\n\t... 3 more\r\n````"},"comment":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-fopub/issues/comments/254394967","html_url":"https://github.com/asciidoctor/asciidoctor-fopub/issues/65#issuecomment-254394967","issue_url":"https://api.github.com/repos/asciidoctor/asciidoctor-fopub/issues/65","id":254394967,"user":{"login":"jagdeepjain","id":7360192,"avatar_url":"https://avatars.githubusercontent.com/u/7360192?v=3","gravatar_id":"","url":"https://api.github.com/users/jagdeepjain","html_url":"https://github.com/jagdeepjain","followers_url":"https://api.github.com/users/jagdeepjain/followers","following_url":"https://api.github.com/users/jagdeepjain/following{/other_user}","gists_url":"https://api.github.com/users/jagdeepjain/gists{/gist_id}","starred_url":"https://api.github.com/users/jagdeepjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagdeepjain/subscriptions","organizations_url":"https://api.github.com/users/jagdeepjain/orgs","repos_url":"https://api.github.com/users/jagdeepjain/repos","events_url":"https://api.github.com/users/jagdeepjain/events{/privacy}","received_events_url":"https://api.github.com/users/jagdeepjain/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T03:09:37Z","updated_at":"2016-10-18T03:09:37Z","body":"Thanks @getreu, @mojavelinux I will update on the proceedings at my end. "}}
{"actor":{"display_login":"jagdeepjain"}}