Sha256: 9de4449a581e76c6979b0f8f5b7a48be947ba36cd518302b4fe8f5f4b7bb105e

Contents?: true

Size: 949 Bytes

Versions: 1

Compression:

Stored size: 949 Bytes

Contents

# encoding: utf-8
#
# Generates the Prawn by example manual.
#

Encoding.default_external = "UTF-8" if defined? Encoding

require File.expand_path(File.join(File.dirname(__FILE__),
                                   %w[.. example_helper]))

Prawn::Example.generate("manual.pdf",
                        :optimize_objects => true,
                        :compress => true,
                        :skip_page_creation => true,
                        :page_size => "FOLIO") do
  
  load_page "cover"
  load_page "foreword"
  load_page "how_to_read_this_manual"
  
  # Core chapters
  load_package "basic_concepts"
  load_package "graphics"
  load_package "text"
  load_package "bounding_box"
  
  # Remaining chapters
  load_package "layout"
  load_package "images"
  load_package "table"
  load_package "document_and_page_options"
  load_package "outline"
  load_package "repeatable_content"
  load_package "templates"
  load_package "security"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nurettin-prawn-1.0.0.rc1 manual/manual/manual.rb