All plugins and renderers can be started without Python. The Python installation is checked only when Python is really needed (i.e. when a script starts with #!py). If the installation is missing, Python scripts return the error 1. For the first Python script, a corresponding warning message is also shown. The following Python versions are expected:

By the way, you can have any other, even newer Python version(s) installed. These versions are ignored by the priint:comet plug-ins and by comet_pdf.

Please note: In contrast to v4.x, v5.0 requires the Python version 3.12.

Because this file contains entries from our bug tracking system, the content of this file is partly in German.

The table describes the features and bug fixes of the priint:comet pdf renderer 5.0.

Revision    Case Description

v5.0 R35572

16.10.2024

First Release of v5.0

We are pleased to present the First release of version 5 of comet_pdf here.

Accessibility Structure

Comet_pdf now support the Accessibilty Structure (PDF/UA) of PDF. See here for more information.

Python improvements

General improvements:

  • All plug-ins new use Python 3.12. For more information see here.
  • Debugging is now available. For more information see here.
  • Performance improvements of up to several hundred percent when running many scripts.
  • Support for serial placeholders.
  • Improved documentation - Added dark mode, improved readability, added several examples, restructuring.
  • CPageItem.getType can now return whether a pageitem is a text on a path.
  • CFrame.setImage has new constants for image placement (backwards compatible).

Breaking changes:

See porting guide for more information.

  • Constants moved from comet module to comet.constants module.
  • prefs.setPanelEnabled has been deprecated.
  • CGroup.getGroup has been removed.

New modules:

New classes:

New functions:

Articles Script Support

TW 3052499

For the accessibility structure of the final PDFs we also need to have script support of the articles structure of the documents. The following functions are available now for this purpose:

Alternative Text for Frames

TW 3045637

In InDesign®, an 'Alt Text' can be defined for a frame via the Object Export Options ... -> Object Export Options dialog. This definition is inserted into the accessibility structure of the PDF in PDF export. We now also support this in cScript and in comet_pdf.

TW 3168605

In InDesign®, an 'Alt Text' can be defined for a frame via the Apparently the function server::load_placeholder_str replaces ALL unknown <tags> with empty strings in comet_pdf v5.0. However, only the KNOWN tags should be replaced. This error does not occur in v4.3 and the InDesign plugins v5.0.

The problem is solved now.