Skip to main content

Prepare Customized Styles for Import

If you have used customized styles in your MS Word document, the styles must be renamed to Source code, before the document is imported into Paligo. Otherwise the code listings from the customized styles will not be imported.

Tip

For more information about styles in MS Word, see Microsoft Support page.

In this instruction, the customized style is called "Linux Commands".

  1. Open the document in MS Word.

  2. Open the Styles pane.

    MS_Word_StylesPane_small.png
  3. Locate the customized commands style (in this example called "Linux Commands").

  4. In the context menu, choose Modify Style.

  5. Rename the style to "Source Code" (instead of "Linux Commands").

    MSWord_StylesPane_ModifyStyle_small.png
  6. Select OK.

  7. Save the document, zip it and import it to Paligo.

    All content using the custom commands style should now be shown as programlisting since the name "Source code" is the one recognized by the tool converting from Word.