This repository is an archive of plugin-typograf. Now it moved to the marketplace repository onlyoffice.github.io.
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.
- Find Typograf in the Plugins tab. Click on it.
- Choose the locale and the rules you want to apply to your text.
- Select the text you want to correct.
- Click the Correct text button.
Detailed instructions can be found in ONLYOFFICE API documentation.
- 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.
To ask questions and share feedback, use Issues in this repository.