Skip to content

iesdocs/styles

Repository files navigation

READ ME

This repository is created to save style packages for PDF output and webhelp output. These styles are created through Oxygen Style Basket: https://styles.oxygenxml.com. Packages are saved in https://github.com/iesdocs/styles/tree/main/publishing_templates.

Current workitems

https://github.com/iesdocs/styles/blob/main/workitems.md

How to Customize Style with Oxygen

  1. Go to https://styles.oxygenxml.com.
  2. Configure each attribute.
  3. Click See Results to preview the effect in PDF or Webhelp.
  4. Download the style package: Download > Publishing Template.

How to Apply the Style to Oxygen

In Oxygen XML Editor, you need to select a transformation scenario before publishing a book in a certain format. The most frequently used format in IES DOCS is PDF. So the following instruction takes customizing PDF transformation as an example.

Procedure:

  1. Open oXygen XML Editor v23.1.
  2. Select DITA Maps > Configure Transformation Scenarios. image
  3. Select DITA Map PDF - based on HTML5 & CSS. image
  4. Click Edit.
  5. Click Yes to duplicate and edit the scenario. image
  6. Specify the name of this custom transformation scenario in the Edit Scenario window. image
  7. Click Choose Custom Publishing Template.image
  8. Browse for a publishing template from local folder.
  9. Click OK.image
  10. Click OK to save the settings.

How to Generate PDF Using a Custom Transformation Scenario

image

Size

A4 Landscape: 3508 X 2480

Margin

0.295in

Color

Forest Green

rgb(4,65,35) HEX=044123.

Green

rgb(3,181,133) HEX=03B585.

Black

rgb(13,13,13) HEX=0D0D0D.

BlackgroundAccentColor/TableStripe Color

rgb(230,255,250) HEX=E6FFFA

Tools

Style Design Tools

https://styles.oxygenxml.com

Authoring Tools

Source File Management Tool

Background Generator

RGB2HEX Color Convertor

Installation and Configuration

See https://nio365.sharepoint.com/:p:/r/sites/IESDocumentation/Shared%20Documents/Dita%20Migration/_Git%20it%20done.pptx?d=w394f1262f2e245bbae27ca9f7a6361f0&csf=1&web=1&e=qC2mEy

Note that since most of the tests were done in Gitlab, so the majority part of the content in the ppt above are mainly for Gitlab users. But the steps in Gitkraken is roughtly the same, just replace Gitlab with Github. Of course, the ppt will be updated soon.

Output Generation

Tables in Markdwon

Table creation and maintenance could be annoying even after months of experience with MD. There are some handy tools you can use to speed up the table creation or modification, aka. Table Generator. See https://jakebathman.github.io/Markdown-Table-Generator/ and https://www.tablesgenerator.com/markdown_tables.

Contact

[email protected] or [email protected]