Documentation Center

Switching to CSS for publishing to XPP for PDF output

If you previously published content from Contenta S1000D to XPP using XPP proprietary styles for PDF output, configuration is required to begin using Cascading Style Sheets (CSS).

About this task

When Contenta S1000D is installed, it is configured to use CSS to format content when publishing to XPP for PDF output. Upgrading customers who previously used XPP proprietary styles must perform the following configuration steps to enable use of CSS.

Procedure

  1. Navigate to the S1000D_samples/xpp/ subdirectory of the Contenta home directory on the Contenta Web server.
    In the following steps 2 and 3, you will copy zip files from this directory to various locations on your XPP server.
  2. Copy s1kdXppCssStyles.zip from the Contenta Web server to the sd_liz subdirectory of the XPP home directory on the XPP server, and then extract its contents to a directory named Ls1kd_css. If your XPP server runs on Linux, ensure that the files you extract have read and write permissions.
  3. Copy s1kdXppCssJob.zip from the Contenta Web server to the std_jobz/alljobz subdirectory of the XPP home directory on the XPP server, and then extract its contents to a directory named CLS_SAMPLEBIKECSS. If your XPP server runs on Linux, ensure that the files you extract have read and write permissions.
    This extracts three sample XPP jobs: CLS_SAMPLEBIKECSS/GRP_XYENT/JOB_00030-01, JOB_00040-01, and JOB_00041-01.
  4. Merge the PublishConfiguration.xml file delivered to the Contenta_home/distr directory on the CW server with your existing publication configuration files. Be sure to include the xppStyleType configuration item with its value set to the default, css.
  5. If your XPP style library was named s1000d ensure the value of the xppStyleLibrary configuration item is set to the default, s1kd_css.
  6. If your XPP style bundle for S1000D issue 3.0 was named s1000d30, ensure the value of the xppStyleBundle30 configuration item is set to the default value of s1kd3let to publish to 8.5 x 11 pages, or change it to s1kd3a4 to publish to A4 pages.
  7. If your XPP style bundle for S1000D Issues 4.0, 4.1, 4.2, and 5.0 was named s1000d40, ensure the value of the xppStyleBundle40 configuration item is set to the default value of s1kd4let to publish to 8.5 x 11 pages, or change it to s1kd4a4 to publish to A4 pages.
  8. To publish SAMPLEBIKE data using CSS styles to the new SAMPLEBIKECSS XPP job (rather than overwriting the existing SAMPLEBIKE XPP job):
    1. Navigate to the Contenta_home/S1000D_samples/publish_samples/sample_data directory on your Contenta Web server.
      You will see a new PM file in each subdirectory, named PMC-SAMPLEBIKECSS-...
    2. Run S1000D Upload Content to upload the new SAMPLEBIKECSS PMs into your Contenta S1000D database.
    3. Run S1000D Publish and select the new PMs to publish the SAMPLEBIKE data to a new, CSS-specific location on the XPP server.