media-types.rst: clarify the pdf media type requirements
Explain that it works fine without libreoffice, just with reduced functionality. Signed-off-by: Alon Levy <alevy@redhat.com>
This commit is contained in:
parent
25aad338d4
commit
376dcbb493
@ -199,8 +199,16 @@ will be able to present them to your wide audience of admirers!
|
|||||||
PDF and Document
|
PDF and Document
|
||||||
================
|
================
|
||||||
|
|
||||||
To enable the "PDF and Document" support plugin, you need pdftocairo, pdfinfo,
|
To enable the "PDF and Document" support plugin, you need:
|
||||||
unoconv with headless support. All executables must be on your execution path.
|
|
||||||
|
1. pdftocairo and pdfinfo for pdf only support.
|
||||||
|
|
||||||
|
2. unoconv with headless support to support converting libreoffice supported
|
||||||
|
documents as well, such as doc/ppt/xls/odf/odg/odp and more.
|
||||||
|
For the full list see mediagoblin/media_types/pdf/processing.py,
|
||||||
|
unoconv_supported.
|
||||||
|
|
||||||
|
All executables must be on your execution path.
|
||||||
|
|
||||||
To install this on Fedora:
|
To install this on Fedora:
|
||||||
|
|
||||||
@ -208,6 +216,9 @@ To install this on Fedora:
|
|||||||
|
|
||||||
sudo yum install -y poppler-utils unoconv libreoffice-headless
|
sudo yum install -y poppler-utils unoconv libreoffice-headless
|
||||||
|
|
||||||
|
Note: You can leave out unoconv and libreoffice-headless if you want only pdf
|
||||||
|
support. This will result in a much smaller list of dependencies.
|
||||||
|
|
||||||
pdf.js relies on git submodules, so be sure you have fetched them:
|
pdf.js relies on git submodules, so be sure you have fetched them:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user