A Java Swing desktop application to compose and edit LaTeX documents using ready‑made templates, version‑history (“stratagem”) saves, and automatic LaTeX↔HTML conversion, packaged as a Windows .exe for easy distribution.
▶ Demo Video (YouTube) • Download Demo
- Overview
- Features
- Screenshots
- Technologies
- Installation
- Usage
- Architecture
- Contributing
- License
- Contact
AdvancedLatexEditorView is a standalone Java 13.0.2 application with a Swing GUI that helps users compose LaTeX documents via selectable templates, edit code with utility commands (e.g. “add chapter”), and maintain multiple saved versions (“stratagems”) for easy rollback. It also supports loading existing .tex
or .html
files (auto‑converting HTML→LaTeX) and exporting edits back to LaTeX or HTML formats.
- Template library: Choose from multiple ready‑made LaTeX templates to jump‑start document creation.
- Code utilities: Add chapters, sections, and other LaTeX constructs via menu commands without hand‑typing boilerplate.
- Version stratagems: Save snapshots at any stage and restore previous versions, enabling non‑linear editing workflows.
- Import/export: Load
.tex
or.html
files from disk; automatically convert HTML to LaTeX (and vice versa) for editing (HTML support under construction). - Design patterns: Core logic structured with Singleton for global state and Factory for parser instantiation, improving maintainability and extensibility.
- Windows packaging: Delivered as a native .exe wrapper (via Launch4j) so end users need not manually run JARs.
Category | Technologies |
---|---|
Language & GUI | Java 13.0.2, Java Swing (Oracle Swing Tutorial) |
Design Patterns | Singleton, Factory Method (Refactoring.Guru) |
IDE & Build | Eclipse 2022‑06, Launch4j for exe packaging |
File I/O | Standard Java NIO & IO APIs |
- Download the latest release
⮕ Releases › v0.7 (Dec 30, 2022) - Run the exe
- Double‑click
AdvancedLatexEditorView.exe
on Windows (bundled JRE via Launch4j).
- Double‑click
- Launch from Start Menu or desktop shortcut—no additional setup required.
- Select a template: Create New Document → choose template → Create.
- Edit document: Use menu commands (e.g. Add Chapter) or raw code editor.
- Save stratagem: Version → Save Snapshot; restore via Version → Load Snapshot.
- Import/Export:
- Import LaTeX or HTML: File → Open.
- Export LaTeX/HTML: File → Save As → choose
.tex
or.html
.
- Exit: File → Exit or close window.
+--------------------+ +-------------------+ +------------------+
| Swing GUI (View) | <--> | Controller (Logic)| <--> | Parser Factory |
+--------------------+ +-------------------+ +------------------+
|
v
+-------------------+
| Version Manager |
| (Singleton) |
+-------------------+
- Follows MVC: Swing GUI separates presentation from control logic.
- Factory Method produces parser instances for LaTeX or HTML.
- Singleton manages version snapshots globally.
Contributions welcome! Please:
- Fork the repo
- Create a branch:
git checkout -b feature/MyFeature
- Commit changes:
git commit -m "Add MyFeature"
- Push branch:
git push origin feature/MyFeature
- Open a Pull Request
This project is licensed under the MIT License. See LICENSE for full text.
- GitHub: johnprif
- Email: [email protected]
- Phone: +306940020178
Enjoy seamless LaTeX editing by the beach!