Difference between revisions of "Abiword"

From ArchWiki
Jump to: navigation, search
m (Style updates.)
(27 intermediate revisions by 18 users not shown)
Line 1: Line 1:
[[Category:Office (English)]]
+
[[Category:Office]]
 +
[[cs:Abiword]]
 +
[[el:Abiword]]
 +
[[es:Abiword]]
 +
[[ko:Abiword]]
 +
[[tr: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.
  
{{i18n_links_start}}
+
== Installation ==
{{i18n_entry|English|OpenOffice}}
+
{{i18n_entry|Ελληνικά|OpenOffice (Ελληνικά)}}
+
{{i18n_links_end}}
+
  
Abiword is a great word processor.
+
[[pacman|Install]] the {{Pkg|abiword}} package from the [[official repositories]].
 +
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.
  
Before you install, you'll want to install dictionaries if you want spell check.
+
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.
pacman -S aspell-en
+
  
To install, run:
+
== Templates ==
pacman -S abiword
+
  
For additional plugins:
+
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.
pacman -S abiword-plugins
+
  
 +
== Change keybindings ==
  
{{stub}}
+
See [http://www.abisource.com/wiki/Keyboard_bindings this wiki post] on how to change the default key bindings in Abiword.
 +
 
 +
== LaTeX fonts ==
 +
 
 +
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:
 +
# fc-cache -fv
 +
 
 +
== Troubleshooting ==
 +
 
 +
=== Build fails with GCC 4.6 ===
 +
 
 +
[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.
 +
 
 +
=== Fix for print dialog crash ===
 +
 
 +
{{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,}}
 +
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.
 +
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.
 +
# 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.
 +
 
 +
As soon as the conflict between Abiword and libgnomeprint is resovled, these instructions will no longer be neccessary and should be removed.

Revision as of 10:21, 30 August 2013

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 from the official repositories. You may want to install dictionaries if you want spell check, which can be provided by the aspell-en package for English.

For additional plugins, install the abiword-plugins package.

To fix tiny cursor and misaligned text issues, install either ttf-liberation from the official repositories or ttf-ms-fontsAUR from the AUR and ttf-freefont from the official repositories.

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 $HOME/.AbiSuite/templates directory. After that, your new documents will follow the template.

Change keybindings

See this wiki post on how to change the default key bindings in Abiword.

LaTeX fonts

The package 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 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

Troubleshooting

Build fails with GCC 4.6

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.

Fix for print dialog crash

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,

For some reason, the current versions of Abiword and libgnomeprint are not playing nice together. The .abw default template causes the program to crash when the user attempts to print. The solution is to force abiword to work with the .rtf format instead. By following the steps below, you will set the default save format to .rtf and trick Abiword into using a .rtf file as its default template.

Open ~/.AbiSuite/AbiWord.Profile and insert the following line into the second <scheme> section.

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.

  1. Open Abiword and save a blank document titled normal.rtf in ~/.AbiSuite/templates/. If the directory does not exist, create it.
  2. Rename the file to normal.awt.

Do not just save a blank .awt file! You must trick Abiword into using a .rtf template in order for this to work.

As soon as the conflict between Abiword and libgnomeprint is resovled, these instructions will no longer be neccessary and should be removed.