en:user_advanced:greenstone_extensions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user_advanced:greenstone_extensions [2022/02/07 21:24] – [OpenOffice] kjdon | en:user_advanced:greenstone_extensions [2025/07/25 02:55] (current) – [Tesseract] kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
====== Greenstone Extensions ====== | ====== Greenstone Extensions ====== | ||
===== OpenOffice===== | ===== OpenOffice===== | ||
The Open Office extension provides a document conversion facility if **Open Office //or// LibreOffice** is already installed on the system. In order to use the Open Office extension, | The Open Office extension provides a document conversion facility if **Open Office //or// LibreOffice** is already installed on the system. In order to use the Open Office extension, | ||
- | * You will need [[http:// | + | * You will need [[http:// |
* you're on Windows and have OpenOffice/ | * you're on Windows and have OpenOffice/ | ||
* you're on Linux and have OpenOffice or LibreOffice installed in a location different from "/ | * you're on Linux and have OpenOffice or LibreOffice installed in a location different from "/ | ||
- | * Once you have Open Office set up, download the Greenstone extension for it, available in tar.gz and zip formats. The latest version is available from [[http:// | + | |
- | * Before you can use this (or any other Greenstone extension), you will need to quit GLI and GS3-server if either are open and then you will need to relaunch GLI (or run Greenstone scripts) from a fresh command terminal, in order for the extension to become available in the Greenstone environment. (Once again, if you have openoffice or libreoffice installed outside the customary locations, then before doing so, make sure to have set up SOFFICE_HOME and updated the PATH environment variables.) | + | * Once you have Open Office set up, download the Greenstone extension for it, available in tar.gz and zip formats. The latest version is available from [[http:// |
+ | | ||
+ | * Before you can use this (or any other Greenstone extension), you will need to quit GLI and GS3-server if either are open and then you will need to **relaunch GLI** (or run Greenstone scripts) from a **fresh command terminal**, in order for the extension to become available in the Greenstone environment. (Once again, if you have openoffice or libreoffice installed outside the customary locations, then before doing so, make sure to have set up SOFFICE_HOME and updated the PATH environment variables.) | ||
* With OpenOffice and the extension installed and the Greenstone environment set up for this, Greenstone' | * With OpenOffice and the extension installed and the Greenstone environment set up for this, Greenstone' | ||
- | ===== User-contributed notes ===== | + | ==== User-contributed notes ==== |
+ | |||
+ | * **Don' | ||
+ | |||
+ | * **Issues with running LibreOffice in conjunction with Greenstone**: | ||
- | ==== Getting LibreOffice==== | + | ===== Tesseract ===== |
- | LibreOffice | + | Tesseract |
- | www.libreoffice.org/ | + | The tesseract extension contains the tesseract program, plus Greenstone plugins to use it during build. |
- | These are the latest releases for most deb and rpm based linux | + | You can get the Tesseract extension in two ways: |
- | distributions and for windows and macOS. | + | |
- | The packages are large, and in the case of deb packages are | + | - Download the tar or zip file from [[https:// |
- | themselves a collection of deb packages. | + | |
- | | + | |
+ | < | ||
+ | cd greenstone3/ | ||
+ | svn co https://svn.greenstone.org/ | ||
+ | cd tesseract | ||
+ | ./ | ||
+ | </ | ||
- | ==== Issues with running LibreOffice in conjunction with Greenstone ==== | + | Once installed (by either method), you will need to open a new terminal and source gs3-setup.sh to have the extensions environment variables set. |
+ | ==== TesseractPlugins==== | ||
+ | The tesseract extension comes with two plugins: TesseractTextExtractor and TesseractImagePlugin. | ||
+ | TesseractTextExtractor is a helper plugin that will run Tesseract on an image, producing a text file. | ||
+ | TesseractImagePlugin can replace ImagePlugin, |
en/user_advanced/greenstone_extensions.1644269097.txt.gz · Last modified: 2022/02/07 21:24 by kjdon