AbiWord

From ArchWiki
(Redirected from Abiword)
Jump to navigation Jump to search

AbiWord is a word processor that provides a lighter alternative for LibreOffice Writer and OpenOffice Writer, while at the same time providing great functionality. AbiWord supports many standard document types, such as ODF documents, Microsoft Word documents, WordPerfect documents, Rich Text Format documents and HTML web pages.

Installation

Install the abiword package. You may want to install dictionaries if you want spell check, which can be provided by the aspell-en package for English.

To fix tiny cursor and misaligned text issues, install either ttf-liberation or ttf-ms-fontsAUR and ttf-freefont.

User config directory

Since version 3.0, AbiWord will use ~/.config/abiword to store user files.

Previous versions of AbiWord used ~/.config/AbiSuite and, if it is found upon startup, it will automatically be renamed accordingly. If both ~/.config/AbiSuite and ~/.config/abiword do not exist, AbiWord will not create it.

Templates

AbiWord provides a template system that enables to speed up writing common documents. Templates are provided as .awt files, for AbiWord Template.

Template files are searched inside of /usr/share/abiword-3.0/templates and ~/.config/abiword/templates folders.

Using templates

In a new document, choose File > New using Template..., then, in the "New Document" dialog, select one of the templates found and listed, or click "Open" to browse your files for an AbiWord file (not necessarily a .awt file).

Creating or changing templates

AbiWord allows to make your own template files, with the desired style, text, tables etc.

In order to create/change a template file, simply open a new/existent document, and make the desired changes to this file. Then, use "Save As" menu option to name it as you want, with .awt as extension (e.g. foobar.awt) and save it in ~/.config/abiword/templates folder. Now, your new template can be accessed in File > New using Template... by its filename (foobar.awt in the given example).

Note: If not existent, templates folder will be created automatically upon startup inside ~/.config/abiword/.

Grammar checking

Enable grammar checking from Edit > Preferences > Spell Checking > Automatic grammar checking.

Change keybindings

Note: This wiki post has instruction on this, but some are out of date and does not work

You can change the default keyboard bindings in AbiWord using KeyBindings.

In order to set keybindings, edit ~/.config/abiword/profile and, inside the AbiPreferences tag, add the desired KeyBindings. For instance, you can add KeyBindings="viEdit" or KeyBindings="emacs"

LaTeX fonts

The package abiword comes with a function which allows user to insert LaTeX codes in a document. To display mathematics symbols properly, one needs to download latex-xft-fonts and save it to the directory /usr/share/fonts. To install the font, extract the tarball and then run the following:

# fc-cache -fv