Re: Running Header for PDF

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Running-Header-for-PDF-tp3505p3531.html

Can you post the header: and/or footer: keys from your theme. You may either be missing a required setting or have an illegal value. The theme file is not yet validated (we first need to complete the validation rules).

-Dan

Le 21 juil. 2015 12:48 AM, "karfunkel [via Asciidoctor :: Discussion]" <[hidden email]> a écrit :
Thanks, this seems to start the processing, but now I get the following Exception:

Caused by: org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `each' for nil:NilClass
        at RUBY.layout_running_content(/home/aklein/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.8/11e67dcf97c8071a5cc5df34ac10e0978adc25e/asciidoctorj-pdf-1.5.0-alpha.8.jar!/gems/asciidoctor-pdf-1.5.0.alpha.8/lib/asciidoctor-pdf/converter.rb:1703)
        at RUBY.convert_document(/home/aklein/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.8/11e67dcf97c8071a5cc5df34ac10e0978adc25e/asciidoctorj-pdf-1.5.0-alpha.8.jar!/gems/asciidoctor-pdf-1.5.0.alpha.8/lib/asciidoctor-pdf/converter.rb:159)
        at RUBY.convert(/home/aklein/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.8/11e67dcf97c8071a5cc5df34ac10e0978adc25e/asciidoctorj-pdf-1.5.0-alpha.8.jar!/gems/asciidoctor-pdf-1.5.0.alpha.8/lib/asciidoctor-pdf/converter.rb:88)
        at RUBY.convert(/home/aklein/IdeaProjects/HUK/huk-jenkins-handbook/build/vendor/gems/asciidoctor-1.5.2/lib/asciidoctor/document.rb:1028)
        at RUBY.convert(/home/aklein/IdeaProjects/HUK/huk-jenkins-handbook/build/vendor/gems/asciidoctor-1.5.2/lib/asciidoctor.rb:1499)
        at RUBY.convert_file(/home/aklein/IdeaProjects/HUK/huk-jenkins-handbook/build/vendor/gems/asciidoctor-1.5.2/lib/asciidoctor.rb:1562)
        at RUBY.convertFile(<script>:68)
        at org.jruby.gen.InterfaceImpl1294899968.convertFile(org/jruby/gen/InterfaceImpl1294899968.gen:13)
        at org.asciidoctor.gradle.AsciidoctorProxyImpl.renderFile(AsciidoctorProxyImpl.groovy:26)
        at org.asciidoctor.gradle.AsciidoctorTask.processSingleFile(AsciidoctorTask.groovy:672)
        at org.asciidoctor.gradle.AsciidoctorTask$_processDocumentsAndResources_closure7.doCall(AsciidoctorTask.groovy:652)
        at org.asciidoctor.gradle.AsciidoctorTask.processDocumentsAndResources(AsciidoctorTask.groovy:647)
        at org.asciidoctor.gradle.AsciidoctorTask.processAsciidocSources(AsciidoctorTask.groovy:592)

Any ideas?
Thanks

Sascha
 


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Running-Header-for-PDF-tp3505p3530.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML