File: context.el.html

This is in progress ConTeXt support for AUCTeX. Please report anomalies or things you believe should be added.

AUCTeX is closely interwoven with LaTeX. We have to split up things without breaking 'em.

some parts are stolen from latex.el and adapted to ConTeXt.

TODO
1. indentation still bad.
2. paragraph refilling doesn't work 100%, and is very slow.
4. Remove dependency on LaTeX by moving LaTeX commands to TeX.
5. Most ConTeXt macro's don't currently have lisp code to query for
   arguments. As ConTeXt arguments are quite complex, the LaTeX way
   of querying for arguments just doesn't cut it.
6. Check auto-parsing: does it detect % interface=nl for example?
7. Complete adding ConTeXt macro's. Perhaps parse cont-en.xml and
   generate the interfaces?
8. Add to menu: make TeX hash (mktexlsr), context format and metapost format.

TODO Documentation
1. multifile done differently with ConTeXt

Defined variables (44)

ConTeXt-Mark-versionConTeXt Mark version used for running ConTeXt.
ConTeXt-after-insert-env-hookList of functions to be run at the end of ‘ConTeXt-insert-environment’.
ConTeXt-auto-environmentInformation about environments in the current buffer.
ConTeXt-clean-intermediate-suffixesList of regexps matching suffixes of files to be deleted.
ConTeXt-clean-output-suffixesList of regexps matching suffixes of files to be deleted.
ConTeXt-current-interfaceInterface to be used for inserting macros and ConTeXt run.
ConTeXt-default-environmentDefault environment when creating new ones with ‘ConTeXt-environment’.
ConTeXt-default-interfaceDefault interface to be used when running ConTeXt.
ConTeXt-define-listCalls ConTeXt-XX-define-list where XX is the current interface.
ConTeXt-dialectDefault dialect for use with function ‘TeX-add-style-hook’ for
ConTeXt-done-markDynamically bound by ‘ConTeXt-section’.
ConTeXt-environment-changedInformation about environments in the current buffer.
ConTeXt-environment-helperAlist that holds functions to call for working on regions.
ConTeXt-environment-listInformation about environments in the current buffer.
ConTeXt-extra-paragraph-commandsList of default ConTeXt macros that should begin their own line.
ConTeXt-font-listList of fonts used by ‘TeX-font’.
ConTeXt-indent-syntax-tableSyntax table used while computing indentation.
ConTeXt-item-listList of macro’s considered items.
ConTeXt-language-variable-listList of variables to be set from languages specific ones.
ConTeXt-largest-levelLargest sectioning level within current document.
ConTeXt-levelDynamically bound by ‘ConTeXt-section’.
ConTeXt-mode-abbrev-tableAbbrev table for ConTeXt mode.
ConTeXt-mode-command-menuCommand menu used in ConTeXt mode.
ConTeXt-mode-hookHook run after entering ‘ConTeXt-mode’.
ConTeXt-mode-mapKeymap used in ‘ConTeXt-mode’.
ConTeXt-mode-menuMenu used in ConTeXt mode.
ConTeXt-mode-syntax-tableSyntax table for ‘ConTeXt-mode’.
ConTeXt-nameDynamically bound by ‘ConTeXt-section’.
ConTeXt-numbered-section-hookList of hooks to run when a new section is inserted.
ConTeXt-numbered-section-listConTeXt-XX-numbered-section-list where XX is the current interface.
ConTeXt-optclThe ConTeXt optional argument closing character.
ConTeXt-optopThe ConTeXt optional argument opening character.
ConTeXt-other-macro-listCalls ConTeXt-XX-other-macro-list where XX is the current interface.
ConTeXt-paragraph-commandsList of user ConTeXt macros that should begin their own line.
ConTeXt-project-structure-listCalls ConTeXt-XX-project-structure where XX is the current interface.
ConTeXt-referenceDynamically bound by ‘ConTeXt-section’.
ConTeXt-referencing-listCalls ConTeXt-XX-referencing-list where XX is the current interface.
ConTeXt-section-block-listCalls ConTeXt-XX-section-list where XX is the current interface.
ConTeXt-setup-listCalls ConTeXt-XX-setup-list where XX is the current interface.
ConTeXt-texexec-option-nonstopCommand line option for texexec to use nonstopmode.
ConTeXt-textName of ConTeXt macro that begins the text body.
ConTeXt-titleDynamically bound by ‘ConTeXt-section’.
ConTeXt-unnumbered-section-hookList of hooks to run when a new section is inserted.
ConTeXt-unnumbered-section-listConTeXt-XX-unnumbered-section-list where XX is the current interface.

Defined functions (91)

ConTeXt--env-parse-args(ARGS)
ConTeXt--invalidate-menu(&rest _)
ConTeXt-add-environments(&rest ENVIRONMENTS)
ConTeXt-arg-define-ref(&optional PROMPT)
ConTeXt-arg-ref(OPTIONAL &optional PROMPT DEFINITION)
ConTeXt-arg-setup(OPTIONAL &optional PROMPT)
ConTeXt-argument-insert(ARG OPTIONAL &optional PREFIX)
ConTeXt-close-environment()
ConTeXt-current-environment()
ConTeXt-current-section()
ConTeXt-define-command(WHAT)
ConTeXt-define-menu(DEFINE)
ConTeXt-down-section()
ConTeXt-env-args(ENVIRONMENT &rest ARGS)
ConTeXt-environment(ARG)
ConTeXt-environment-list()
ConTeXt-environment-menu(ENVIRONMENT)
ConTeXt-environment-menu-entry(ENTRY)
ConTeXt-environment-modify-menu-entry(ENTRY)
ConTeXt-environment-start-name()
ConTeXt-environment-stop-name()
ConTeXt-etexshow()
ConTeXt-expand-command()
ConTeXt-expand-options()
ConTeXt-find-indent(&optional VIRTUAL)
ConTeXt-find-matching-start(&optional INNER)
ConTeXt-find-matching-stop(&optional INNER)
ConTeXt-header-end()
ConTeXt-imenu-create-index-function()
ConTeXt-indent-line(&optional ARG)
ConTeXt-insert-define(DEFINE)
ConTeXt-insert-environment(ENVIRONMENT &optional EXTRA)
ConTeXt-insert-item()
ConTeXt-insert-other-macro(OTHER-MACRO)
ConTeXt-insert-referencing(WHAT)
ConTeXt-last-unended-start()
ConTeXt-last-unended-start-xml()
ConTeXt-mark-environment(&optional INNER)
ConTeXt-menu-update(&optional MENU)
ConTeXt-mode()
ConTeXt-mode-command-menu(ARG1)
ConTeXt-mode-menu(ARG1)
ConTeXt-mp-region()
ConTeXt-numbered-section-heading()
ConTeXt-numbered-section-level(NAME)
ConTeXt-numbered-section-menu(LEVEL)
ConTeXt-numbered-section-menu-entry(ENTRY)
ConTeXt-numbered-section-name(LEVEL)
ConTeXt-optional-argument-insert(ARG &optional PREFIX)
ConTeXt-other-macro-command(WHAT)
ConTeXt-other-macro-menu(OTHER-MACRO)
ConTeXt-other-macro-menu-entry(ENTRY)
ConTeXt-outline-level()
ConTeXt-outline-name()
ConTeXt-outline-offset()
ConTeXt-outline-regexp(&optional ANYWHERE)
ConTeXt-paragraph-commands-add-locally(COMMANDS)
ConTeXt-paragraph-commands-regexp()
ConTeXt-paragraph-commands-regexp-make()
ConTeXt-project-component-insert()
ConTeXt-project-environment-insert()
ConTeXt-project-product-insert()
ConTeXt-project-project-insert()
ConTeXt-project-structure(N)
ConTeXt-project-structure-menu(PROJECT-STRUCTURE)
ConTeXt-project-structure-menu-entry(ENTRY)
ConTeXt-referencing-command(WHAT)
ConTeXt-referencing-menu(REFERENCING)
ConTeXt-referencing-menu-entry(ENTRY)
ConTeXt-required-argument-insert(ARG &optional PREFIX)
ConTeXt-section(ARG)
ConTeXt-section-block(SECTION-BLOCK)
ConTeXt-section-block-menu(SECTION-BLOCK)
ConTeXt-section-block-menu-entry(ENTRY)
ConTeXt-section-enable(ENTRY)
ConTeXt-section-ref()
ConTeXt-section-section()
ConTeXt-section-title()
ConTeXt-set-paragraph-start()
ConTeXt-setup-command(WHAT)
ConTeXt-setup-menu(SETUP)
ConTeXt-setup-menu-entry(ENTRY)
ConTeXt-start-environment-regexp(LIST)
ConTeXt-trailer-start()
ConTeXt-unnumbered-section-heading()
ConTeXt-unnumbered-section-menu(LEVEL)
ConTeXt-unnumbered-section-menu-entry(ENTRY)
ConTeXt-unnumbered-section-name(LEVEL)
ConTeXt-up-section(ARG)
ConTeXt-work-on-environment()
context-mode()

Defined faces (0)