latexcor


Namelatexcor JSON
Version 0.3.4 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-11-06 07:24:22
maintainerNone
docs_urlNone
authorinfocornouaille
requires_python<4.0,>=3.11
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # latexcor

[![PyPI version](https://badge.fury.io/py/latexcor.svg)](https://badge.fury.io/py/latexcor)
[![Python Versions](https://img.shields.io/pypi/pyversions/latexcor.svg)](https://pypi.org/project/latexcor/)
[![Downloads](https://pepy.tech/badge/latexcor)](https://pepy.tech/project/latexcor)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

LaTeX Compiler and File Manager - Automate your LaTeX workflow

## Features

- Clean auxiliary LaTeX files
- Convert .tex files to UTF-8 encoding
- Recompile LaTeX files automatically
- Slugify file and directory names
- Watch directory for changes and auto-compile
- Support for XeLaTeX and LuaLaTeX engines

## Installation

```bash
pip install --upgrade latexcor
```

## Usage

```console
$ latexcor [OPTIONS] COMMAND [ARGS]...
```

### Global Options

- `--install-completion`: Install completion for the current shell
- `--show-completion`: Show completion for the current shell
- `--help`: Show help message and exit

### Commands

#### Clean (`clean`)

Clean auxiliary LaTeX files in a directory.

```console
$ latexcor clean [OPTIONS]

Options:
  -p, --path DIRECTORY  Path to clean (defaults to current directory)
  --help               Show this message and exit
```

#### Convert to UTF-8 (`convert-utf8`)

Convert .tex files to UTF-8 encoding.

```console
$ latexcor convert-utf8 [OPTIONS]

Options:
  -p, --path DIRECTORY  Path to process (defaults to current directory)
  --help               Show this message and exit
```

#### Recompile (`recompile`)

Recompile all LaTeX files in a directory.

```console
$ latexcor recompile [OPTIONS]

Options:
  -e, --engine [xelatex|lualatex]  LaTeX engine to use [default: xelatex]
  -p, --path DIRECTORY            Path to process (defaults to current directory)
  -c, --confirm                   Confirm before recompiling each file
  --help                          Show this message and exit
```

#### Slugify (`slugify`)

Rename files and directories using slug format.

```console
$ latexcor slugify [OPTIONS]

Options:
  -p, --path DIRECTORY           Path to process (defaults to current directory)
  -c, --confirm / -C, --no-confirm  Confirm before renaming [default: confirm]
  -v, --preview / -V, --no-preview  Show preview of changes [default: preview]
  --help                         Show this message and exit
```

#### Version (`version`)

Display the current version of latexcor.

```console
$ latexcor version [OPTIONS]

Options:
  --help  Show this message and exit
```

#### Watch (`watch`)

Watch a directory and automatically compile LaTeX files when changes are detected.

```console
$ latexcor watch [OPTIONS]

Options:
  -e, --engine [xelatex|lualatex]  LaTeX engine to use [default: xelatex]
  -p, --path DIRECTORY            Path to watch (defaults to current directory)
  --help                          Show this message and exit
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "latexcor",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": null,
    "author": "infocornouaille",
    "author_email": "90894019+infocornouaille@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/7c/87/8de3a4a7c97c3d94595d5ebed1e1710e7607ff176e4e8ff72b92953127c4/latexcor-0.3.4.tar.gz",
    "platform": null,
    "description": "# latexcor\n\n[![PyPI version](https://badge.fury.io/py/latexcor.svg)](https://badge.fury.io/py/latexcor)\n[![Python Versions](https://img.shields.io/pypi/pyversions/latexcor.svg)](https://pypi.org/project/latexcor/)\n[![Downloads](https://pepy.tech/badge/latexcor)](https://pepy.tech/project/latexcor)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nLaTeX Compiler and File Manager - Automate your LaTeX workflow\n\n## Features\n\n- Clean auxiliary LaTeX files\n- Convert .tex files to UTF-8 encoding\n- Recompile LaTeX files automatically\n- Slugify file and directory names\n- Watch directory for changes and auto-compile\n- Support for XeLaTeX and LuaLaTeX engines\n\n## Installation\n\n```bash\npip install --upgrade latexcor\n```\n\n## Usage\n\n```console\n$ latexcor [OPTIONS] COMMAND [ARGS]...\n```\n\n### Global Options\n\n- `--install-completion`: Install completion for the current shell\n- `--show-completion`: Show completion for the current shell\n- `--help`: Show help message and exit\n\n### Commands\n\n#### Clean (`clean`)\n\nClean auxiliary LaTeX files in a directory.\n\n```console\n$ latexcor clean [OPTIONS]\n\nOptions:\n  -p, --path DIRECTORY  Path to clean (defaults to current directory)\n  --help               Show this message and exit\n```\n\n#### Convert to UTF-8 (`convert-utf8`)\n\nConvert .tex files to UTF-8 encoding.\n\n```console\n$ latexcor convert-utf8 [OPTIONS]\n\nOptions:\n  -p, --path DIRECTORY  Path to process (defaults to current directory)\n  --help               Show this message and exit\n```\n\n#### Recompile (`recompile`)\n\nRecompile all LaTeX files in a directory.\n\n```console\n$ latexcor recompile [OPTIONS]\n\nOptions:\n  -e, --engine [xelatex|lualatex]  LaTeX engine to use [default: xelatex]\n  -p, --path DIRECTORY            Path to process (defaults to current directory)\n  -c, --confirm                   Confirm before recompiling each file\n  --help                          Show this message and exit\n```\n\n#### Slugify (`slugify`)\n\nRename files and directories using slug format.\n\n```console\n$ latexcor slugify [OPTIONS]\n\nOptions:\n  -p, --path DIRECTORY           Path to process (defaults to current directory)\n  -c, --confirm / -C, --no-confirm  Confirm before renaming [default: confirm]\n  -v, --preview / -V, --no-preview  Show preview of changes [default: preview]\n  --help                         Show this message and exit\n```\n\n#### Version (`version`)\n\nDisplay the current version of latexcor.\n\n```console\n$ latexcor version [OPTIONS]\n\nOptions:\n  --help  Show this message and exit\n```\n\n#### Watch (`watch`)\n\nWatch a directory and automatically compile LaTeX files when changes are detected.\n\n```console\n$ latexcor watch [OPTIONS]\n\nOptions:\n  -e, --engine [xelatex|lualatex]  LaTeX engine to use [default: xelatex]\n  -p, --path DIRECTORY            Path to watch (defaults to current directory)\n  --help                          Show this message and exit\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": null,
    "version": "0.3.4",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a7b2833e18108389f5ad263f5dba2eea34d646df350d04cc203fe9d65f18d753",
                "md5": "fa3c7e68c9558712d996269761bc7cb6",
                "sha256": "c8a687812f7ae72046b2f240928ff659a873554885ac84d69dd6d21ae260df75"
            },
            "downloads": -1,
            "filename": "latexcor-0.3.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fa3c7e68c9558712d996269761bc7cb6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 17722,
            "upload_time": "2024-11-06T07:24:20",
            "upload_time_iso_8601": "2024-11-06T07:24:20.616409Z",
            "url": "https://files.pythonhosted.org/packages/a7/b2/833e18108389f5ad263f5dba2eea34d646df350d04cc203fe9d65f18d753/latexcor-0.3.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7c878de3a4a7c97c3d94595d5ebed1e1710e7607ff176e4e8ff72b92953127c4",
                "md5": "16bb95c45958d53f3982cdef6a0c4be7",
                "sha256": "8070b3d89269436e7da2168440350a733705a6d8986b1943cbb8a5dc24ac7b8a"
            },
            "downloads": -1,
            "filename": "latexcor-0.3.4.tar.gz",
            "has_sig": false,
            "md5_digest": "16bb95c45958d53f3982cdef6a0c4be7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 13671,
            "upload_time": "2024-11-06T07:24:22",
            "upload_time_iso_8601": "2024-11-06T07:24:22.088205Z",
            "url": "https://files.pythonhosted.org/packages/7c/87/8de3a4a7c97c3d94595d5ebed1e1710e7607ff176e4e8ff72b92953127c4/latexcor-0.3.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-06 07:24:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "latexcor"
}
        
Elapsed time: 0.54856s