Skip to content

Commit 4fee80d

Browse files
committed
Update README
- remove outdated paragraphs - mention where to get a Windows binary
1 parent 5b83b77 commit 4fee80d

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
2.2.1 - fix handling of non-ascii alphabetical characters
22

33
- replace characters with diacritics in the LaTeX source, but keep the
4-
unmodified character in image alt attribute (for better readibility)
4+
unmodified character in image alt attribute (for better readibility)
55

66
2.2 - make alternative text of formulas more readable
77

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ new version is purely implemented in Python, gets rid of the Ghostscript
1515
dependency and additionally offers the GladTeX functionality in a Python module
1616
called gleetex. to be embedded in other applications.
1717

18-
1918
License
2019
-------
2120

@@ -33,7 +32,7 @@ Credits go to
3332

3433

3534

36-
About the rewritten (new) version:
35+
About the rewritten (current) version:
3736

3837
- (c) 2015-2016 Sebastian Humenda
3938
- credits go to Martin G. Gulbrandsen who had the idea in the first place
@@ -53,22 +52,26 @@ easy as
5352

5453
# apt-get install gladtex
5554

55+
### Windows
56+
57+
If you want to use the program without the Python library, you should download a
58+
pre-compiled binary from <https://github.com/humenda/GladTeX/releases>.
59+
60+
Just unzip the archive and move the files to a directory within `%PATH%`.
61+
62+
5663
### From Source
5764

5865
The following is required for installing GladTeX:
5966

60-
- Python >= 3.5
67+
- Python >= 3.4
6168
- LaTeX (2e), dvipng
6269
- the LaTeX package preview.sty
6370

64-
On Debian systems the following commands will satisfy the dependencies:
71+
On Debian/Ubuntu systems the following commands will satisfy the dependencies:
6572

66-
# apt-get install python3.4 texlive-latex-base preview-latex-style dvipng
73+
# apt-get install python3-all texlive-fonts-recommended texlive-latex-recommended preview-latex-style dvipng
6774

68-
If you plan to use lualatex, use:
69-
70-
sudo apt-get install texlive-maths-extra texlive-luatex texlive-xetex texlive-fonts-extra
71-
7275
The package can then be installed using
7376

7477
# python3 setup.py install

create_windows_distributions.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@ def exec_setup_py(arg_string):
1414
if sys.platform.startswith('win'):
1515
ret = os.system('python setup.py ' + arg_string)
1616
else:
17+
if not shutil.which('wine'):
18+
print("Error: Wine is not installed, aborting…")
19+
sys.exit(5)
1720
ret = os.system('wine python setup.py ' + arg_string)
1821
if ret:
1922
if sys.platform.startswith('win'):
20-
print("abborting at command `python setup.py %s`." % arg_string)
23+
print("Aborting at command `python setup.py %s`." % arg_string)
2124
else:
22-
print("abborting at command `wine python setup.py %s`." % arg_string)
25+
print("Aborting at command `wine python setup.py %s`." % arg_string)
2326
sys.exit(7)
2427

2528
def get_python_version():

0 commit comments

Comments
 (0)