Skip to content

hesstobi/atom-autocomplete-glossaries

Repository files navigation

autocomplete-glossaries package

Build Status apm apm GitHub license Greenkeeper badge

Add labels of your defined glossaries entires in your latex document to autocomplete+ suggestions

A screenshot of your package

Features

  • complete labels for glossaries package in latex
  • custom prefixes for autocomplete
  • displays type, text and description of glossaries entry

Usage

The glossaries entries definition has to be done in the document environment.

For defining acronyms and symbols for Latex documents the glossaries package is a powerful solution. If there are a lot of entries defined, it gets hard to remember all their labels. Therefor this package is created. But, to create a database of all defined entries is a major issue, because there are several commands with different syntax. In addition, in many cases custom commands are used for creating entries. To overcome this issue the package uses the workaround of the glossaries package when the entries not defined in the preamble. In this case a external file (jobname.glsdefs) is created with all entries, which can easily parsed1. Thus, to use package follow these steps.

  1. Define your entries within the document environment
  2. Compile your latex document
  3. Entries should now be suggested.

1: There are some drawbacks with defining entries in the document environment. See the documentation of the glossaries package