Giter VIP home page Giter VIP logo

yasnippets-latex's Introduction

--- What is it? ---

Yasnippets-latex is a bundle of LaTeX[1] snippets for use with the
YASnippet[2] template system for Emacs[3]. 

[1]: http://www.latex-project.org/
[2]: http://code.google.com/p/yasnippet/
[3]: http://www.gnu.org/software/emacs/

--- Thanks ---

This snippet bundle has been created in collaboration by:
Mads D. Kristensen
Bjorn Reese 
Song Qiang
Claudio Marforio
Francois Garillot
Kevin Lynch
Marcio M. Ribeiro
Rasmus Borgsmidt

--- Licencing stuff ---

Copyright (c) 2010, Mads D. Kristensen <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.


--- Installation ---

In order to use these snippets you need to install Emacs, AucTeX,
RefTeX, and YASnippet. Once that is done installation is done by
simply copying the files .yas-parents, .yas-ignore-filenames-as-triggers,
.yas-make-groups, and the snippets into the 'snippets/latex-mode'
subdirectory within your YASnippet installation.

You can also use the installation script install.sh. The script takes 
a single argument which is the directory in which you have installed
yasnippet. 

If Emacs is running you need to issue the 'yas/reload-all' command in
order to load the snippets.

yasnippets-latex's People

Contributors

borgsmidt avatar dragonwasrobot avatar huitseeker avatar jcsims avatar klynch avatar madsdk avatar marciomoretto avatar marforic avatar songqiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yasnippets-latex's Issues

Suggestion: add -p option to mkdir command in install.sh.

The following commands in install.sh(line 10 ~ 13) will fail if there is no "$1"/snippets/latex-mode dir.

# Create the latex-mode dir.
if [ ! -d "$1"/snippets/latex-mode ]; then
	mkdir "$1"/snippets/latex-mode
fi

Adding -p option to mkdir can make parent directories as needed to prevent this little problem.

# Create the latex-mode dir.
if [ ! -d "$1"/snippets/latex-mode ]; then
	mkdir -p "$1"/snippets/latex-mode
fi

installation instructions error in the README file

The first paragraph of the Instructions section states:

"Once that is done installation is done by simply copying the files .yas-parents, .yas-ignore-filenames-as-triggers, .yas-parents, and the snippets into the 'snippets/latex-mode' subdirectory within your YASnippet installation."

As you can see .yas-parents is repeated, and I believe it should be the .yas-make-groups file as it is done in the install.sh script .

Thanks for the snippets!

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.