module Polytexnic
  FORMATS = %w{html pdf epub mobi}
  BUILD_ALL_FORMATS = %w{pdf mobi}  # mobi calls epub, which calls html
end

module Polytexnic
  FORMATS = %w{html epub mobi pdf}
  BUILD_ALL_FORMATS = %w{mobi pdf}  # mobi calls epub, which calls html
end

Order the builds so that PDF is last
Order the builds so that PDF is last

We use `exec` to build PDFs so that LaTeX error messages don't cause
the command to hang. As a result, it's important to build PDFs last.

[Delivers #58759998]
