From 26be8ed87371a7e071f4428853963d9ce30c3425 Mon Sep 17 00:00:00 2001 From: Roger Sheen Date: Sun, 1 Oct 2023 13:59:04 +0200 Subject: [PATCH] Add info on styling teletype output in CSS - https://github.com/dita-ot/dita-ot/issues/4254 - https://github.com/dita-ot/dita-ot/pull/4267 Signed-off-by: Roger Sheen --- release-notes/index.dita | 14 ++++++++------ resources/source-files.ditamap | 1 + topics/migrating-to-4.1.dita | 32 ++++++++++++++++++++++++++++++++ topics/migration.ditamap | 1 + 4 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 topics/migrating-to-4.1.dita diff --git a/release-notes/index.dita b/release-notes/index.dita index 2ed065a38..3ddf6f575 100644 --- a/release-notes/index.dita +++ b/release-notes/index.dita @@ -94,18 +94,20 @@ #4064, #4257 -
  • HTML5: Teletype output contains inline style attributes - #4254 -
  • +
  • The HTML5 plug-in has been updated to remove the remaining inline style attributes that + prevented custom plug-ins from overriding the monospace font presentation of teletype + tt elements. These changes move the default teletype styling to CSS to allow + users to override the presentation in custom stylesheets. The output is visually equivalent to the results + generated by previous toolkit versions. + #4254, + #4267 +
  • Improve preprocess unit tests #4259
  • Add preprocess integration test for subject scheme #4264
  • -
  • Move teletype styling to Sass partial - #4267 -
  • Footnote in title, footnote text appears in xref #4269 diff --git a/resources/source-files.ditamap b/resources/source-files.ditamap index e102efddd..539166909 100644 --- a/resources/source-files.ditamap +++ b/resources/source-files.ditamap @@ -109,6 +109,7 @@ + diff --git a/topics/migrating-to-4.1.dita b/topics/migrating-to-4.1.dita new file mode 100644 index 000000000..e4aff13a7 --- /dev/null +++ b/topics/migrating-to-4.1.dita @@ -0,0 +1,32 @@ + + + + + + Migrating to release 4.1 + + To 4.1 + + + DITA-OT 4.1 includes a new version of the Lightweight DITA plug-in with significant + enhancements to Markdown processing, and updates for the latest DITA 2.0 draft standard. + + +
    + This topic provides a summary of changes in DITA-OT 4.1 that may require modifications to custom stylesheets + or plug-ins. For more information on changes in this release, see the + . +
    + +
    + Legacy <xmlelement>tt</xmlelement> style attributes moved to CSS + tt styles +

    The HTML5 plug-in has been updated to remove the remaining inline style attributes that prevented custom + plug-ins from overriding the monospace font presentation of teletype tt elements.

    +

    These changes move the default teletype styling to CSS to allow users to override the presentation in custom + stylesheets. The output is visually equivalent to the results generated by previous toolkit versions.

    + In publishing environments that do not use the default common CSS files, these styles may + need to be implemented in custom stylesheets. +
    +
    +
    diff --git a/topics/migration.ditamap b/topics/migration.ditamap index b2c2de3ea..0f856859f 100644 --- a/topics/migration.ditamap +++ b/topics/migration.ditamap @@ -4,6 +4,7 @@ Migrating customizations +