Skip to content

oyvindeid/ctxsnippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CTXSnippets

A collection of almost 200 YASnippet templates for writing ConTeXt code in Emacs.

Installation

To install the snippets, clone this repo as

$ git clone https://github.com/oyvindeid/ctxsnippets

and copy the context-mode directory to yas-snippet-dirs.

Then run

M-x yas-recompile-all RET
M-x yas-reload-all RET

inside Emacs.

Config variables

Three Emacs config variables can be set like

(setq user-default-figures-dir "~/Pictures")
(setq user-default-bibtex-file "~/Documents/references.bib")
(setq user-default-csv-files-dir "~/csvfiles")  ;; PGF plot data source directory

in order to take full advantage of the installed templates.

License

The software is available as open source under the terms of the MIT License.

Releases

No releases published

Packages

No packages published