\environment ppchtex-mkiv-style

\startcomponent ppchtex-mkiv-interfaces

\chapter{Interfaces}

The interface of \PPCHTEX\ is derived from the \CONTEXT\ interface. This
means that the interface is multi langual. The advantage is that one can use
\PPCHTEX\ in his or her own language. The disadvantage is the fact that
macros have to be shared between languages.

\starttyping
\startchemical
  \chemical[SIX,B,C]
\stopchemical
\stoptyping

If you want to make your setup language independent, which only makes sense
if you want to share it with other users, you can use the symbolic names
for keys and values:

\starttyping
\setupchemical[\c!width=10cm,\c!height=\v!fit]
\stoptyping

Parameters are preceded by \type{\c!} and set ups by \type{\v!}. This only
works when \type{!} is a character. That is the reason that these set ups
have to be surrounded by \type{\unprotect} and \type{\protect}. For example:

\starttyping
\unprotect

\setupchemical[\c!width=10cm,\c!height=\v!fit]

\startchemical
  \chemical[SIX,B,C]
\stopchemical

\protect
\stoptyping

More information on the interface can be found in the documentation of the
\CONTEXT\ modules from the \type{mult} group. Normally you don't have to
worry about these issues.

\stopcomponent
