Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rubixdev/eztex
A CLI for quickly starting new LaTeX projects with templates
https://github.com/rubixdev/eztex
bash-script latex latex-template shell-script tex
Last synced: 19 days ago
JSON representation
A CLI for quickly starting new LaTeX projects with templates
- Host: GitHub
- URL: https://github.com/rubixdev/eztex
- Owner: RubixDev
- License: gpl-3.0
- Created: 2021-11-30T16:33:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T18:29:53.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T16:45:25.346Z (3 months ago)
- Topics: bash-script, latex, latex-template, shell-script, tex
- Language: TeX
- Homepage:
- Size: 1.88 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# eztex
A CLI for quickly starting new LaTeX projects with templates## Installation
### Arch Linux
Simply install the `eztex` or `eztex-git` package from the AUR### Other Distributions
```bash
sudo bash -c "$(curl -fsSL 'https://raw.githubusercontent.com/RubixDev/eztex/main/install.sh')"
```
or for fish users:
```bash
set -l IFS; sudo bash -c (curl -fsSL 'https://raw.githubusercontent.com/RubixDev/eztex/main/install.sh')
```
> **Note:** `curl -fsSL` can be replaced with `wget -O-` if necessary## Removal
```bash
sudo bash -c "$(curl -fsSL 'https://raw.githubusercontent.com/RubixDev/eztex/main/uninstall.sh')"
```
or for fish users:
```bash
set -l IFS; sudo bash -c (curl -fsSL 'https://raw.githubusercontent.com/RubixDev/eztex/main/uninstall.sh')
```
> **Note:** `curl -fsSL` can be replaced with `wget -O-` if necessary## Usage
`eztex [OPTIONS] COMMAND ...ARGS`Available options:
| Short | Long | Argument | Description |
| ----- | -------- | -------- | ----------------------------------------------------------------------------------- |
| `-n` | `--name` | `NAME` | A name used to directly replace the name placeholder on initialization of a project |
| `-d` | `--date` | `DATE` | A date to use instead of \today |Available commands:
| Name | Shorthand | Arguments | Description |
| -------- | --------- | ------------------ | -------------------------------------------------------------------------------- |
| `init` | `i` | `TEMPLATE` | Initializes a new LaTeX project based on `TEMPLATE` in the current directory |
| `clear` | `c` | | Clears the current LaTeX project of cache files |
| `new` | `n` | `TEMPLATE`, `NAME` | Creates a new LaTeX project in a new directory called `NAME` based on `TEMPLATE` |
| `save` | `s` | | Copies the main.pdf to a PDF with the name of the current directory |
| `update` | `u` | | Try to update eztex to the newest version from GitHub |
| `remove` | `r` | | Try to remove eztex from the system |
| `help` | `h` | | Shows a help message containing this info |