Difference between revisions of "Abiword"

From ArchWiki
Jump to: navigation, search
(+ko & templates)
m (LaTeX fonts: plugins are provided by the main package)
 
(15 intermediate revisions by 9 users not shown)
Line 3: Line 3:
 
[[el:Abiword]]
 
[[el:Abiword]]
 
[[es:Abiword]]
 
[[es:Abiword]]
 +
[[ja:Abiword]]
 
[[ko:Abiword]]
 
[[ko:Abiword]]
 
[[tr:Abiword]]
 
[[tr:Abiword]]
[http://www.abisource.com/ Abiword] is a word processor that provides a lighter alternative for [[LibreOffice]] 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.
+
[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 ==
Before you install, you will want to install dictionaries if you want spell check, which can be provided by the {{Pkg|aspell-en}} package.
 
  
[[pacman|Install]] the {{Pkg|abiword}} package from the [[Official Repositories|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.
+
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}} from the official repositories or {{AUR|ttf-ms-fonts}} from the [[Arch User Repository|AUR]] and {{Pkg|ttf-freefont}} from the official repositories.
+
  
 
== 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 $HOME/.AbiSuite/templates directory.  After that, your new  documents will follow the template.
 
  
== Fix for Print dialog crash ==
+
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.
 +
 
 +
The instructions above don't work for Abiword 3.0. The following does work:
 +
 
 +
In a new document, choose Format -> Create and Modify Styles... from the menu, adjust the Normal style to what you'd prefer, and save it as ~/normal.awt then:
 +
 
 +
sudo mv ~/normal.awt /usr/share/abiword-3.0/templates/
 +
 
 +
Other styles in /usr/share/abiword-3.0/templates/ can be modified as well.
 +
 
 +
== Grammar Checking ==
 +
 
 +
Enable grammar checking from ''Edit>Preferences>Spell Checking>Automatic grammar checking''.
 +
 
 +
== Change keybindings ==
 +
 
 +
See [http://www.abisource.com/wiki/Keyboard_bindings this wiki post] on how to change the default key bindings in Abiword.
 +
 
 +
If such method does not work, add {{ic|1=KeyBindings="viEdit"}} to {{ic|/usr/share/abiword-3.0/system.profile}} inside of the {{ic|SystemDefaults}} tag.
 +
 
 +
== LaTeX fonts ==
 +
 
 +
The package {{Pkg|abiword}} 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 ==
 +
 
 +
=== 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,}}
 
{{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.
+
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.
 
Open {{ic|~/.AbiSuite/AbiWord.Profile}} and insert the following line into the second <scheme> section.
 
  DefaultSaveFormat=".rtf"
 
  DefaultSaveFormat=".rtf"
It should look similar to the following
+
It should look similar to the following:
 
  <Scheme
 
  <Scheme
 
     name="_custom_"
 
     name="_custom_"
 
     ZoomPercentage="64"
 
     ZoomPercentage="64"
 
     DefaultSaveFormat=".rtf"
 
     DefaultSaveFormat=".rtf"
    />
+
/>
It is then neccessary to change the default template. You must follow these steps exactly.
+
It is then neccessary to change the default template. You must follow these steps exactly.
  
1) open Abiword and save a blank document titled {{ic|normal.rtf}} in {{ic|~/.AbiSuite/templates/}}. If the directory does not exist, create it.
+
# 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''.
  
2) Rename the file to {{ic|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.
 
+
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.
 
As soon as the conflict between Abiword and libgnomeprint is resovled, these instructions will no longer be neccessary and should be removed.
 
== Change Keybindings ==
 
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
 
 
== 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.
 
 
== External links ==
 
*[http://www.abisource.com/ Official homepage]
 

Latest revision as of 10:32, 28 March 2016

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

The instructions above don't work for Abiword 3.0. The following does work:

In a new document, choose Format -> Create and Modify Styles... from the menu, adjust the Normal style to what you'd prefer, and save it as ~/normal.awt then:

sudo mv ~/normal.awt /usr/share/abiword-3.0/templates/

Other styles in /usr/share/abiword-3.0/templates/ can be modified as well.

Grammar Checking

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

Change keybindings

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

If such method does not work, add KeyBindings="viEdit" to /usr/share/abiword-3.0/system.profile inside of the SystemDefaults tag.

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

Troubleshooting

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.