Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.
/ plugin-typograf Public archive

Plugin to correct typography within ONLYOFFICE Docs

License

Notifications You must be signed in to change notification settings

ONLYOFFICE/plugin-typograf

Repository files navigation

Information

This repository is an archive of plugin-typograf. Now it moved to the marketplace repository onlyoffice.github.io.

Overview

The Typograf plugin allows preparing your text for publishing by correcting typography. It helps automatically place non-breaking spaces, remove extra spaces, correct minor typos, insert correct quotes, replace hyphens with dashes, and much more.

The plugin is based on JavaScript Typograf.

Supported languages are listed here.

Typograf is compatible with self-hosted and desktop versions of ONLYOFFICE editors. It can be added to ONLYOFFICE instances manually.

How to use

  1. Find Typograf in the Plugins tab. Click on it.
  2. Choose the locale and the rules you want to apply to your text.
  3. Select the text you want to correct.
  4. Click the Correct text button.

How to install

Detailed instructions can be found in ONLYOFFICE API documentation.

Known issues

  • When using the plugin on a document abstract with graphic objects, those objects (images, shapes, Text Arts, Text Boxes, tables, charts) are lost along with text they contained.
  • If you select the text inside the graphic object, the text will be removed from the object and inserted into the document in the corrected form.
  • Graphic formulas are converted to strings.
  • Drop caps, content controls, hyperlinks, underlays, footnotes, bookmarks, caption, tables of contents are removed.
  • If at least part of the text is split into columns, then the columns will be applied to the entire document.
  • Breaks are not saved.
  • Changes suggested using Track Changes are not saved.
  • If the plugin is used with Track Changes mode on, the corrected text will be inserted as a suggested change.
  • Comments are not saved, except for comments to the whole document.
  • Headers and footers remain unchanged if the entire document is selected.
  • If header/footer content is selected, graphic objects it contained are lost.
  • Line numbering is saved if it is applied to the entire document. If it was applied to a section, then it will be lost along with the section.
  • When two or more paragraphs have been selected, an empty paragraph will be added after the corrected text.

User feedback and support

To ask questions and share feedback, use Issues in this repository.