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 [2023/03/13 01:46] – external edit 127.0.0.1 | en:user_advanced:greenstone_extensions [2025/07/25 02:55] (current) – [Tesseract] kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
Line 8: | Line 7: | ||
* 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:// | + | |
+ | * 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.) | * 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' | ||
Line 14: | Line 15: | ||
==== User-contributed notes ==== | ==== User-contributed notes ==== | ||
- | === Getting | + | * **Don' |
+ | |||
+ | * **Issues with running LibreOffice in conjunction with Greenstone**: | ||
- | * Don't use a snap or appimage version as these don't interface with Greenstone. | + | ===== 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. | + | |
+ | - Checkout the source and compile it: | ||
+ | < | ||
+ | cd greenstone3/ | ||
+ | svn co https:// | ||
+ | cd tesseract | ||
+ | ./ | ||
+ | </ | ||
+ | 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. | ||
- | === Issues with running LibreOffice in conjunction with Greenstone === | ||
- | Note that with these newer versions of the open office extension, you cannot already have an instance of OpenOffice running when using GLI, you will need to terminate any previously running instance. It is also unlikely that you can get a separate instance of OpenOffice running after quitting GLI. If you wish to do so, you will need to use Task Manager to terminate the open office process launched by the extension upon running GLI. | + | ==== 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.1678671991.txt.gz · Last modified: 2023/03/13 01:46 by 127.0.0.1