From 7a7e96ad82271e07f6f70cdd220844c7adb00a1b Mon Sep 17 00:00:00 2001
From: fs959857 <fs959857@ITC18143.win.rz.rwth-aachen.de>
Date: Fri, 20 Mar 2020 09:06:34 +0100
Subject: [PATCH] add information for using Moodle Latex API to Latex-Setting

---
 lang/en/pdfannotator.php | 5 ++++-
 version.php              | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lang/en/pdfannotator.php b/lang/en/pdfannotator.php
index d53ead6..0e3ef31 100644
--- a/lang/en/pdfannotator.php
+++ b/lang/en/pdfannotator.php
@@ -147,7 +147,10 @@ $string['fullscreenBack'] = 'Exit Fullscreen';
 $string['global_setting_anonymous'] = 'Allow anonymous posting?';
 $string['global_setting_anonymous_desc'] = 'With this option you allow your user to post comments anonymously. This option activates anonymous posting globally';
 $string['global_setting_latexapisetting'] = 'LaTeX to PNG API';
-$string['global_setting_latexapisetting_desc'] = 'API for converting Latex to PNG for PDF Downloads. Note: If you use the Google Chart API, Google will get all formulas in the document if someone chooses to use LaTeX';
+$string['global_setting_latexapisetting_desc'] = 'API for converting Latex to PNG for PDF Downloads.<br>'
+        . 'Note: If you use the Google Chart API, Google will get all formulas in the document if someone chooses to use LaTeX<br>'
+        . 'If you use the Moodle API, you need a latex, dvips and convert binary installed on your server. '
+        . '(See  <a href="https://docs.moodle.org/38/en/TeX_notation_filter">Moodle Documentation</a> )';
 $string['global_setting_latexusemoodle'] = 'Internal Moodle API';
 $string['global_setting_latexusegoogle'] = 'Google Chart API';
 $string['global_setting_use_studentdrawing'] = 'Allow drawings for participants?';
diff --git a/version.php b/version.php
index 1e015cc..a1a4f18 100644
--- a/version.php
+++ b/version.php
@@ -25,6 +25,6 @@
 defined('MOODLE_INTERNAL') || die();
 
 $plugin->component = 'mod_pdfannotator'; // Full name of the plugin (used for diagnostics).
-$plugin->version   = 2020020300; // The current module version (Date: YYYYMMDDXX).
+$plugin->version   = 2020031600; // The current module version (Date: YYYYMMDDXX).
 $plugin->release  = 'PDF Annotator v1.3 release 2';
 $plugin->requires  = 2016112900; // Requires this Moodle version.
-- 
GitLab