GithubHelp home page GithubHelp logo

company-auctex's Introduction

Company-AUCTeX

This is a group of backends for company-mode providing auto-completion for AUCTeX.

It is adapted from auto-complete-auctex.

Please note that I am currently not using Emacs for LaTeX and therefore not maintaining this actively. Pull requests accepted.

Installation

  1. From MELPA (see http://melpa.org/#/getting-started for enabling it, if required):

     M-x package-install RET company-auctex RET
    
  2. From Github:

     git clone https://github.com/alexeyr/company-auctex.git
    

In the initialization file (~/.emacs, ~/.emacs.d/init.el, etc.):

    (add-to-list 'load-path "path/to/company-auctex.el")
    (require 'company-auctex)

Then require the package and initialize it:

(company-auctex-init)

Issues

  • If company-backends is set directly without using push, add-to-list or similar functions (e.g. by Customize interface), (company-auctex-init) must be run after this (or its backends added to the same place).
  • This error can happen after updating to AUCTeX 11.88: Lisp error: (invalid-function TeX-auto-add-type) triggered by (require 'latex) in company-auctex. It seems to be caused by something in existing configuration and can also happen without company-auctex. Workarounds include: downgrading to 11.87; reinstalling AUCTeX; cleaning up cruft from custom-set-variables. See issue 1 for more details.

To-do

  1. Expand README (add features, screenshots).

  2. Support inserting Unicode characters in non-TeX modes (similar to ac-math).

  3. Some commands (\begin, \emph, etc.) aren't getting completed. Need to check if they are in any lists provided by AUCTeX.

company-auctex's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.