gitlatex 1.0.3__tar.gz → 1.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gitlatex-1.0.3 → gitlatex-1.0.7}/PKG-INFO +1 -1
- {gitlatex-1.0.3 → gitlatex-1.0.7}/README.md +97 -97
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/__init__.py +1 -1
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/__main__.py +5 -5
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/public/app.js +1778 -1688
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/public/bib-commands.json +45 -45
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/public/index.html +257 -239
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/public/latex-commands.json +212 -212
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/public/style.css +90 -4
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/server.py +968 -856
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex.egg-info/PKG-INFO +1 -1
- {gitlatex-1.0.3 → gitlatex-1.0.7}/pyproject.toml +46 -46
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex/public/favicon.svg +0 -0
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex.egg-info/SOURCES.txt +0 -0
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex.egg-info/dependency_links.txt +0 -0
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex.egg-info/entry_points.txt +0 -0
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex.egg-info/requires.txt +0 -0
- {gitlatex-1.0.3 → gitlatex-1.0.7}/gitlatex.egg-info/top_level.txt +0 -0
- {gitlatex-1.0.3 → gitlatex-1.0.7}/setup.cfg +0 -0
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
# GitLaTeX IDE
|
|
2
|
-
|
|
3
|
-
A simple web-based IDE for LaTeX projects with Git support. Create workspaces, clone repos, edit in a Monaco-powered editor, compile to PDF, and push changes—without Overleaf or the command line.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
Install from PyPI:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
pip install gitlatex
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
**Requirements:** Python 3.8+, and (for full use) Git and a LaTeX distribution with `pdflatex` (e.g. [TeX Live](https://www.tug.org/texlive/), [MiKTeX](https://miktex.org/)).
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Quick start
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
gitlatex
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Your browser will open at **http://localhost:5000**. Create a workspace or clone a repo, then open it to edit, compile, and use Git (status, diff, commit, push) from the toolbar.
|
|
26
|
-
|
|
27
|
-
**Options:**
|
|
28
|
-
|
|
29
|
-
| Option | Description |
|
|
30
|
-
|--------|-------------|
|
|
31
|
-
| `--port`, `-p` | Port (default: 5000) |
|
|
32
|
-
| `--host` | Bind host (default: 127.0.0.1) |
|
|
33
|
-
| `--no-browser` | Do not open the browser on start |
|
|
34
|
-
| `--repos` | Directory for workspaces (default: `./repos` in current working directory) |
|
|
35
|
-
|
|
36
|
-
Example: `gitlatex --port 3000 --repos /path/to/my/repos`
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Features
|
|
41
|
-
|
|
42
|
-
- **Workspaces** – Create local folders or clone from a Git URL (e.g. GitHub).
|
|
43
|
-
- **File tree** – Create, rename, move, delete, and upload files and folders.
|
|
44
|
-
- **Editor** – Monaco editor, multiple tabs, resizable panels.
|
|
45
|
-
- **Compile** – Build with `pdflatex`, view PDF in-app, see errors in the console.
|
|
46
|
-
- **Git** – Status, diff, commit, and push from the **Git** dropdown in the toolbar.
|
|
47
|
-
- **Settings** – Light/dark theme; optional remote Compiler API (URL + API key) to compile via a web service instead of local `pdflatex`.
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## Workflow
|
|
52
|
-
|
|
53
|
-
1. Run `gitlatex` and open the app in your browser.
|
|
54
|
-
2. **Add a project** – Create a new workspace or clone from a Git URL.
|
|
55
|
-
3. **Open** – Click a repo to open the editor.
|
|
56
|
-
4. **Edit** – Use the file tree and editor; click **Compile** to build.
|
|
57
|
-
5. **Git** – Use the **Git** menu for Status, Diff, Commit, Push.
|
|
58
|
-
|
|
59
|
-
Projects are stored in the `repos` directory (or the path you set with `--repos`).
|
|
60
|
-
|
|
61
|
-
---
|
|
62
|
-
|
|
63
|
-
## Troubleshooting
|
|
64
|
-
|
|
65
|
-
- **Compile fails** – Install a LaTeX distribution and ensure `pdflatex` is on your PATH.
|
|
66
|
-
- **Port in use** – Use another port: `gitlatex --port 3000`.
|
|
67
|
-
- **Windows: "The process cannot access the file... gitlatex.exe"** – Another instance is running. Close it, then run `gitlatex` again.
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## Development
|
|
72
|
-
|
|
73
|
-
Run from source (no PyPI install): clone the repository, then from its root:
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
pip install -e .
|
|
77
|
-
gitlatex
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
Or run the package without installing:
|
|
81
|
-
|
|
82
|
-
```bash
|
|
83
|
-
pip install flask gitpython
|
|
84
|
-
python -m gitlatex
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
## Author Note
|
|
90
|
-
|
|
91
|
-
This project was introduced to me by [Atiq Bro](https://github.com/revolutionibus). He was learning node. Then I kinda hijacked his project and made some ui change, added some features and then created another branch to publish it as a python package.
|
|
92
|
-
|
|
93
|
-
---
|
|
94
|
-
|
|
95
|
-
## License
|
|
96
|
-
|
|
97
|
-
ISC
|
|
1
|
+
# GitLaTeX IDE
|
|
2
|
+
|
|
3
|
+
A simple web-based IDE for LaTeX projects with Git support. Create workspaces, clone repos, edit in a Monaco-powered editor, compile to PDF, and push changes—without Overleaf or the command line.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Install from PyPI:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install gitlatex
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**Requirements:** Python 3.8+, and (for full use) Git and a LaTeX distribution with `pdflatex` (e.g. [TeX Live](https://www.tug.org/texlive/), [MiKTeX](https://miktex.org/)).
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Quick start
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
gitlatex
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Your browser will open at **http://localhost:5000**. Create a workspace or clone a repo, then open it to edit, compile, and use Git (status, diff, commit, push) from the toolbar.
|
|
26
|
+
|
|
27
|
+
**Options:**
|
|
28
|
+
|
|
29
|
+
| Option | Description |
|
|
30
|
+
|--------|-------------|
|
|
31
|
+
| `--port`, `-p` | Port (default: 5000) |
|
|
32
|
+
| `--host` | Bind host (default: 127.0.0.1) |
|
|
33
|
+
| `--no-browser` | Do not open the browser on start |
|
|
34
|
+
| `--repos` | Directory for workspaces (default: `./repos` in current working directory) |
|
|
35
|
+
|
|
36
|
+
Example: `gitlatex --port 3000 --repos /path/to/my/repos`
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Features
|
|
41
|
+
|
|
42
|
+
- **Workspaces** – Create local folders or clone from a Git URL (e.g. GitHub).
|
|
43
|
+
- **File tree** – Create, rename, move, delete, and upload files and folders.
|
|
44
|
+
- **Editor** – Monaco editor, multiple tabs, resizable panels.
|
|
45
|
+
- **Compile** – Build with `pdflatex`, view PDF in-app, see errors in the console.
|
|
46
|
+
- **Git** – Status, diff, commit, and push from the **Git** dropdown in the toolbar.
|
|
47
|
+
- **Settings** – Light/dark theme; optional remote Compiler API (URL + API key) to compile via a web service instead of local `pdflatex`.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Workflow
|
|
52
|
+
|
|
53
|
+
1. Run `gitlatex` and open the app in your browser.
|
|
54
|
+
2. **Add a project** – Create a new workspace or clone from a Git URL.
|
|
55
|
+
3. **Open** – Click a repo to open the editor.
|
|
56
|
+
4. **Edit** – Use the file tree and editor; click **Compile** to build.
|
|
57
|
+
5. **Git** – Use the **Git** menu for Status, Diff, Commit, Push.
|
|
58
|
+
|
|
59
|
+
Projects are stored in the `repos` directory (or the path you set with `--repos`).
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Troubleshooting
|
|
64
|
+
|
|
65
|
+
- **Compile fails** – Install a LaTeX distribution and ensure `pdflatex` is on your PATH.
|
|
66
|
+
- **Port in use** – Use another port: `gitlatex --port 3000`.
|
|
67
|
+
- **Windows: "The process cannot access the file... gitlatex.exe"** – Another instance is running. Close it, then run `gitlatex` again.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Development
|
|
72
|
+
|
|
73
|
+
Run from source (no PyPI install): clone the repository, then from its root:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
pip install -e .
|
|
77
|
+
gitlatex
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Or run the package without installing:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
pip install flask gitpython
|
|
84
|
+
python -m gitlatex
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Author Note
|
|
90
|
+
|
|
91
|
+
This project was introduced to me by [Atiq Bro](https://github.com/revolutionibus). He was learning node. Then I kinda hijacked his project and made some ui change, added some features and then created another branch to publish it as a python package.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
ISC
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""GitLaTeX IDE - LaTeX projects with Git support."""
|
|
2
|
-
__version__ = "1.0.
|
|
2
|
+
__version__ = "1.0.7"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"""Allow running as python -m gitlatex."""
|
|
2
|
-
from gitlatex.server import main
|
|
3
|
-
|
|
4
|
-
if __name__ == "__main__":
|
|
5
|
-
raise SystemExit(main() or 0)
|
|
1
|
+
"""Allow running as python -m gitlatex."""
|
|
2
|
+
from gitlatex.server import main
|
|
3
|
+
|
|
4
|
+
if __name__ == "__main__":
|
|
5
|
+
raise SystemExit(main() or 0)
|