[Libreoffice-commits] help.git: source/text

LibreOfficiant (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 19 14:58:54 UTC 2019


 source/text/sbasic/python/main0000.xhp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit accc6a9e1478521bc51f5c826a4499d098d1e5c5
Author:     LibreOfficiant <LibreOfficiant at sfr.fr>
AuthorDate: Thu Sep 19 16:20:35 2019 +0200
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Thu Sep 19 16:58:34 2019 +0200

    Add a warning detailing how to check Python's presence.
    
    Change-Id: I31a1f4a99742b05f6f7a0c1b9904e78475ea9a4e
    Reviewed-on: https://gerrit.libreoffice.org/79177
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
    Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/sbasic/python/main0000.xhp b/source/text/sbasic/python/main0000.xhp
index 44b8390a6..5faefe428 100644
--- a/source/text/sbasic/python/main0000.xhp
+++ b/source/text/sbasic/python/main0000.xhp
@@ -28,6 +28,7 @@
     </section>
     <h2 id="hd_id3146957">Working with Python Scripts in %PRODUCTNAME</h2>
     <paragraph role="paragraph" id="N0102">You can execute Python scripts choosing <menuitem>Tools - Macros - Run Macro</menuitem>. Editing scripts can be done with your preferred text editor. Python scripts are present in various locations detailed hereafter. You can refer to Programming examples for macros illustrating how to run the Python interactive console from %PRODUCTNAME.</paragraph>
+    <warning id="par_id131568902936659">The %PRODUCTNAME scripting framework for Python is optional on some GNU/Linux distributions. If it is installed, selecting <menuitem>Tools – Macros - Run  Macro...</menuitem> and checking <literal>%PRODUCTNAME Macros</literal> for the presence of <literal>HelloWorld – HelloWorldPython</literal> macro is sufficient. If absent, please refer to your distribution documentation in order to install the %PRODUCTNAME scripting framework for Python.</warning>
     <embed href="text/shared/guide/scripting.xhp#scripting"/>
     <embed href="text/sbasic/python/python_ide.xhp#pythonideh1"/>
     <embed href="text/sbasic/python/python_locations.xhp#pythonlocations1"/>


More information about the Libreoffice-commits mailing list