https://github.com/brianschubert/texstudio-completion
CWL files for TeXstudio
https://github.com/brianschubert/texstudio-completion
Last synced: 7 months ago
JSON representation
CWL files for TeXstudio
- Host: GitHub
- URL: https://github.com/brianschubert/texstudio-completion
- Owner: brianschubert
- Created: 2021-08-03T19:09:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-04T22:27:48.000Z (almost 5 years ago)
- Last Synced: 2025-01-29T22:46:42.372Z (over 1 year ago)
- Language: Jinja
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
TeXstudio Completion Files
==========================
TeXstudio Completion Word List (.cwl) files for LaTeX packages.
A description of the cwl format can be found in the `TeXstudio user manual`_ (see 4.14).
.. _TeXstudio user manual: https://htmlpreview.github.io/?https://github.com/texstudio-org/texstudio/master/utilities/manual/usermanual_en.html
Building the CWL files
-----------------------
0. (Optional) Create a Python `virtual environment`_.
#. Install the Python dependencies::
$ python3 -m pip install -r ./requirements.txt
#. Run make::
$ make all
The cwl files will be available in ``./output``. These files can be installed manually by placing them in ``~/.config/texstudio/completion/user`` (Unix) or ``%appdata%\texstudio\completion\use`` (Windows). You may need to restart TeXstudio if it's already running for the new completion files to take effect.
.. _virtual environment: https://docs.python.org/3/library/venv.html