anchor.diff:  
   The layout and styling of the PDF is driven by a YAML configuration file.
   To learn how the theming system works and how to create and apply custom themes, refer to the <<docs/theming-guide.adoc#,Asciidoctor PDF Theme Guide>>.
  -
  -You can use the built-in theme files, [file]_default-theme.yml_ and [file]_asciidoctor-theme.yml_, found in the [file]_data/themes_ directory, as examples.
  -
  -Specify the path to an alternate theme file with the `pdf-style` attribute.
  -For example to use the built-in _asciidoctor_ theme:
  -
  - $ ./bin/asciidoctor-pdf -a pdf-style=asciidoctor examples/example.adoc
  - 
  -To refer to a theme at another location you can use the `pdf-stylesdir` attribute to specify the location of themes.
  -If the `pdf-style` value does not end in `.yml`, then the file name is calculated as `{pdf-style}-theme.yml` located in the `pdf-stylesdir` directory (which defaults to the built-in `data/themes` directory).
  +You can use the built-in theme files, which you can find in the [file]_data/themes_ directory, as examples.
   
   == Optional scripts
   
  
positive.code: 
   $ ruby ./bin/asciidoctor-pdf -v
  
  If you see the version of {project-name} printed, you're ready to use {project-name}!
  
  If you get an error message--and you're not using a Ruby manager like RVM--you may need to invoke the script through `bundle exec`:
  
   $ bundle exec ./bin/asciidoctor-pdf -v
  
  TIP: For best results, be sure to use `bundle exec` whenever invoking the `./bin/asciidoctor-pdf` script .
  
  [[resources,Links]]
  == Resources
  
negative.code: 
  === Convert AsciiDoc to PDF
  
  IMPORTANT: You'll need to the `coderay` gem installed to run this example since it uses the `source-highlighter` attribute with the value of `coderay`.
  
  Converting to PDF is a simple as running the `asciidoctor-pdf` script using Ruby and passing our AsciiDoc document as the first argument.
  
   $ asciidoctor-pdf example.adoc
  
  This command is just a shorthand way of running:
  
   $ asciidoctor -r asciidoctor-pdf -b pdf example.adoc
  
  When the script completes, you should see the file [file]_example.pdf_ in the same directory.
  Open the [file]_example.pdf_ file with a PDF viewer to see the result.
  
  .Example PDF document rendered in a PDF viewer
  