diff --git a/ChangeLog b/ChangeLog index 735c7ac..49a1ad3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ 2.2.1 - fix handling of non-ascii alphabetical characters - replace characters with diacritics in the LaTeX source, but keep the - unmodified character in image alt attribute (for better readibility) + unmodified character in image alt attribute (for better readibility) 2.2 - make alternative text of formulas more readable diff --git a/README.md b/README.md index 07da63b..4a83694 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ new version is purely implemented in Python, gets rid of the Ghostscript dependency and additionally offers the GladTeX functionality in a Python module called gleetex. to be embedded in other applications. - License ------- @@ -33,7 +32,7 @@ Credits go to -About the rewritten (new) version: +About the rewritten (current) version: - (c) 2015-2016 Sebastian Humenda - credits go to Martin G. Gulbrandsen who had the idea in the first place @@ -53,22 +52,26 @@ easy as # apt-get install gladtex +### Windows + +If you want to use the program without the Python library, you should download a +pre-compiled binary from . + +Just unzip the archive and move the files to a directory within `%PATH%`. + + ### From Source The following is required for installing GladTeX: -- Python >= 3.5 +- Python >= 3.4 - LaTeX (2e), dvipng - the LaTeX package preview.sty -On Debian systems the following commands will satisfy the dependencies: +On Debian/Ubuntu systems the following commands will satisfy the dependencies: - # apt-get install python3.4 texlive-latex-base preview-latex-style dvipng + # apt-get install python3-all texlive-fonts-recommended texlive-latex-recommended preview-latex-style dvipng -If you plan to use lualatex, use: - - sudo apt-get install texlive-maths-extra texlive-luatex texlive-xetex texlive-fonts-extra - The package can then be installed using # python3 setup.py install diff --git a/create_windows_distributions.py b/create_windows_distributions.py index 75e1fc6..3c7ca2c 100644 --- a/create_windows_distributions.py +++ b/create_windows_distributions.py @@ -14,12 +14,15 @@ def exec_setup_py(arg_string): if sys.platform.startswith('win'): ret = os.system('python setup.py ' + arg_string) else: + if not shutil.which('wine'): + print("Error: Wine is not installed, aborting…") + sys.exit(5) ret = os.system('wine python setup.py ' + arg_string) if ret: if sys.platform.startswith('win'): - print("abborting at command `python setup.py %s`." % arg_string) + print("Aborting at command `python setup.py %s`." % arg_string) else: - print("abborting at command `wine python setup.py %s`." % arg_string) + print("Aborting at command `wine python setup.py %s`." % arg_string) sys.exit(7) def get_python_version():