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 [2025/07/25 02:44] – [Issues with running LibreOffice in conjunction with Greenstone] kjdon | 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' |
- | * Don't use a snap or appimage version as these don't interface | + | * **Issues with running LibreOffice in conjunction |
- | LibreOffice is available directly from their website at: | + | ===== Tesseract ===== |
- | www.libreoffice.org/ | + | Tesseract is an Open Source OCR Engine. |
- | These are the latest releases for most deb and rpm based linux | + | The tesseract extension contains |
- | distributions and for windows and macOS. | + | |
- | The packages are large, and in the case of deb packages are | + | You can get the Tesseract extension in two ways: |
- | themselves a collection of deb packages. | + | |
+ | - Download the tar or zip file from [[https:// | ||
+ | - Checkout the source and compile it: | ||
+ | < | ||
+ | cd greenstone3/ | ||
+ | svn co https:// | ||
+ | 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. |
- | 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. | ||
- | ===== Tesseract ===== | + | ==== 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.1753411477.txt.gz · Last modified: 2025/07/25 02:44 by kjdon