Difference between revisions of "AbiWord"

From ArchWiki
Jump to navigation Jump to search
(update interlanguage links)
Tag: wiki-scripts
 
(40 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
[[Category:Office]]
 
[[Category:Office]]
[[cs:Abiword]]
+
[[cs:AbiWord]]
[[el:Abiword]]
+
[[el:AbiWord]]
[[es:Abiword]]
+
[[es:AbiWord]]
[[ko:Abiword]]
+
[[ja:Abiword]]
[[tr:Abiword]]
+
[[ko:AbiWord]]
[http://www.abisource.com/ 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.
+
[[pt:AbiWord]]
 +
[http://www.abisource.com/ 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 ==
 
== Installation ==
  
[[pacman|Install]] the {{Pkg|abiword}} package from the [[official repositories]].
+
[[Install]] the {{Pkg|abiword}} package.
You may want to install dictionaries if you want spell check, which can be provided by the {{Pkg|aspell-en}} package for English.
 
  
For additional plugins, install the {{Pkg|abiword-plugins}} package.
+
AbiWord can use multiple spell checking dictionaries, see [[Language checking]].
  
To fix tiny cursor and misaligned text issues, install either {{Pkg|ttf-liberation}} from the official repositories or {{AUR|ttf-ms-fonts}} from the [[AUR]] and {{Pkg|ttf-freefont}} from the official repositories.
+
To fix tiny cursor and misaligned text issues, install either {{Pkg|ttf-liberation}} or {{AUR|ttf-ms-fonts}} and {{Pkg|gnu-free-fonts}}.
 +
 
 +
== User config directory ==
 +
 
 +
Since version 3.0, AbiWord will use {{ic|~/.config/abiword}} to store user files.
 +
 
 +
Previous versions of AbiWord used {{ic|~/.config/AbiSuite}} and, if it is found upon startup, it will automatically be renamed accordingly. If both {{ic|~/.config/AbiSuite}} and {{ic|~/.config/abiword}} do not exist, AbiWord will '''not''' create it.
  
 
== Templates ==
 
== Templates ==
  
If you want to change the default styles in Abiword, you should open a new document, change it to your own needs, and save it as the template name ''normal.awt'' in the {{ic|$HOME/.AbiSuite/templates}} directory. After that, your new documents will follow the template.
+
AbiWord provides a template system that enables to speed up writing common documents. Templates are provided as ''.awt'' files, for '''A'''bi'''W'''ord '''T'''emplate.
  
== Grammar Checking ==
+
Template files are searched inside of {{ic|/usr/share/abiword-3.0/templates}} and {{ic|~/.config/abiword/templates}} folders.
  
Install the {{Pkg|abiword-plugins}} package and enable grammar checking from ''Edit>Preferences>Spell Checking>Automatic grammar checking''.
+
=== Using templates ===
  
== Change keybindings ==
+
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.
  
See [http://www.abisource.com/wiki/Keyboard_bindings this wiki post] on how to change the default key bindings in Abiword.
+
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 {{ic|~/.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).
  
== LaTeX fonts ==
+
{{Note|If not existent, {{ic|templates}} folder will be created automatically upon startup inside {{ic|~/.config/abiword/}}.}}
  
The package {{Pkg|abiword-plugins}} comes with a function which allows user to insert LaTeX codes in a document. To display mathematics symbols properly, one needs to download [http://movementarian.org/latex-xft-fonts-0.1.tar.gz latex-xft-fonts] and save it to the directory {{ic|/usr/share/fonts}}. To install the font, extract the tarball and then run the following:
+
=== Mail Merge ===
# fc-cache -fv
 
  
== Troubleshooting ==
+
You can create a CSV file with your data to be used, and run Abiword from the command line against a template to directly render your final files. See [https://www.abisource.com/help/en-US/howto/howtomailmerge.html this guide] for more details.
  
=== Build fails with GCC 4.6 ===
+
== Grammar checking ==
  
[http://bugzilla.abisource.com/show_bug.cgi?id=13066 The bug] has been reported and fixed upstream in a patch that is not yet (as of Abiword 2.8.6-4) available in Arch. If you experience this problem, you have to apply the patch to the [[PKGBUILD]] yourself.
+
Enable grammar checking from ''Edit > Preferences > Spell Checking > Automatic grammar checking''.
  
=== Fix for print dialog crash ===
+
== Change keybindings ==
  
{{Note|This bug has been reported as non-existent for version 2.8.1 or higher. However, this section will remain for legacy versions or if it crops up again,}}
+
{{Note|[http://www.abisource.com/wiki/Keyboard_bindings This wiki post] has instruction on this, but some are out of date and does not work}}
For some reason, the current versions of Abiword and libgnomeprint are not playing nice together. The {{ic|.abw}} default template causes the program to crash when the user attempts to print. The solution is to force abiword to work with the {{ic|.rtf}} format instead. By following the steps below, you will set the default save format to .rtf and trick Abiword into using a {{ic|.rtf}} file as its default template.
 
  
Open {{ic|~/.AbiSuite/AbiWord.Profile}} and insert the following line into the second <scheme> section.
+
You can change the default keyboard bindings in AbiWord using [https://www.abisource.com/wiki/KeyBindings KeyBindings].
DefaultSaveFormat=".rtf"
 
It should look similar to the following:
 
<Scheme
 
    name="_custom_"
 
    ZoomPercentage="64"
 
    DefaultSaveFormat=".rtf"
 
/>
 
It is then neccessary to change the default template. You must follow these steps exactly.
 
  
# Open Abiword and save a blank document titled {{ic|normal.rtf}} in {{ic|~/.AbiSuite/templates/}}. If the directory does not exist, create it.
+
In order to set keybindings, edit {{ic|~/.config/abiword/profile}} and, inside the {{ic|AbiPreferences}} tag, add the desired ''KeyBindings''. For instance, you can add {{ic|1=KeyBindings="viEdit"}} or {{ic|1=KeyBindings="emacs"}}
# Rename the file to ''normal.awt''.
 
  
Do '''not''' just save a blank {{ic|.awt}} file! You must trick Abiword into using a {{ic|.rtf}} template in order for this to work.
+
== LaTeX fonts ==
  
As soon as the conflict between Abiword and libgnomeprint is resovled, these instructions will no longer be neccessary and should be removed.
+
The package {{Pkg|abiword}} comes with a function which allows user to insert LaTeX codes in a document. To display mathematics symbols properly, [[install]] {{AUR|ttf-latex-xft-fonts}}.

Latest revision as of 15:37, 28 December 2019

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.

AbiWord can use multiple spell checking dictionaries, see Language checking.

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

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/.

Mail Merge

You can create a CSV file with your data to be used, and run Abiword from the command line against a template to directly render your final files. See this guide for more details.

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, install ttf-latex-xft-fontsAUR.