Skip to content

PDF not generated #37

Description

@saturnflyer

This likely has more to do with my system than a problem with quarto but my PDFs are not being created.
Here's what I'm seeing:

pandoc --table-of-contents --standalone build/master/master.xhtml | xmlstarlet sel -I -t -c "//*[@id='TOC']" > build/prince/toc.xml
Attempt to load network entity http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
rake aborted!
Command failed with status (1): [pandoc --table-of-contents --standalone bu...]
/Users/jim/Projects/quarto/lib/quarto/prince.rb:62:in `block in define_tasks'
/Users/jim/.gem/ruby/2.2.0/bin/ruby_executable_hooks:15:in `eval'
/Users/jim/.gem/ruby/2.2.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => deliverables => build/deliverables/ruby-dsl-handbook.pdf => build/master/prince_master.xhtml => build/prince/toc.xml

Here's my relevant config:

require 'quarto/tasks'

require 'quarto'

Quarto.configure do |config|
  config.author      = "Jim Gay"
  config.title       = "Ruby DSL Handbook"
  config.name        = 'ruby-dsl-handbook'

  # config.stylesheets.clear
  config.metadata = true

  # config.use :git
  config.use :markdown
  # config.use :doc_raptor
  config.use :pandoc_epub
  config.use :epubcheck
  config.use :kindlegen
  config.use :bundle
  config.use :site
  config.use :prince
  config.source_files = %w[ files listed here ]
  config.bitmap_cover_image              = "images/cover-large.png"
  config.vector_cover_image              = "images/cover.svg"
  config.stylesheets.cover_color         = "#222"
  config.stylesheets.heading_font        = '"PT Sans", sans-serif'
  config.stylesheets.font                = '"PT Serif", serif

What can I do to debug this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions