Function: ConTeXt-project-product-insert
ConTeXt-project-product-insert is a byte-compiled function defined in
context.el.
Signature
(ConTeXt-project-product-insert)
Documentation
Insert a basic template for a product of a ConTeXt project.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-project-product-insert ()
"Insert a basic template for a product of a ConTeXt project."
(save-excursion
(insert "% The following names are examples only\n")
(insert TeX-esc (ConTeXt-environment-start-name)
(nth 2 ConTeXt-project-structure-list) " myproduct1")
(newline 2)
(insert TeX-esc (nth 0 ConTeXt-project-structure-list) " myproject")
(newline 2)
(insert "% Components are optional. "
"You can also just start your document here.\n")
(insert TeX-esc (nth 3 ConTeXt-project-structure-list) " mycomponent1")
(newline 2)
(insert TeX-esc (nth 3 ConTeXt-project-structure-list) " mycomponent2")
(newline 2)
(insert TeX-esc (ConTeXt-environment-stop-name)
(nth 2 ConTeXt-project-structure-list))))