Expand description
Specification structure of a set of LaTeX commands.
The specification will be passed to MiTeX for converting LaTeX code correctly. For example, MiTeX Parser uses it to produce an AST that respect the shape of commands.
Note: since we need to process environments statically, users cannot
override the \begin and \end commands.
See https://github.com/mitex-rs/mitex/blob/main/docs/spec.typ for detailed description.
Re-exports§
pub use query::CommandSpecRepr as JsonCommandSpec;
Modules§
- argument_
kind - The character encoding used for argument matching
- preludes
- query
- The query module contains the data structures that are used by
typst query <mitex-packages>
Structs§
- Archived
CmdShape - An archived
CmdShape - Archived
Command Spec - An archived
CommandSpec - Archived
Command Spec Repr - An archived
CommandSpecRepr - Archived
EnvShape - An archived
EnvShape - Archived
Glob Str - An archived
GlobStr - CmdShape
- Shape of a TeX command.
- CmdShape
Resolver - The resolver for an archived
CmdShape - Command
Spec - Command specification that is cheap to clone
- Command
Spec Repr - Command specification that contains a set of commands and environments.
- Command
Spec Repr Resolver - The resolver for an archived
CommandSpecRepr - Command
Spec Resolver - The resolver for an archived
CommandSpec - EnvShape
- Shape of a TeX envionment.
- EnvShape
Resolver - The resolver for an archived
EnvShape - GlobStr
- A shared string that represents a glob pattern.
- Glob
StrResolver - The resolver for an archived
GlobStr
Enums§
- Archived
ArgPattern - An archived
ArgPattern - Archived
ArgShape - An archived
ArgShape - Archived
Command Spec Item - An archived
CommandSpecItem - Archived
Context Feature - An archived
ContextFeature - ArgPattern
- An efficient pattern used for argument matching.
- ArgPattern
Resolver - The resolver for an archived
ArgPattern - ArgShape
- Shape of arguments with direction to match since.
- ArgShape
Resolver - The resolver for an archived
ArgShape - Command
Spec Item - An item of command specification. It is either a normal command or an environment. See Command Syntax for concept of command. See Environment Syntax for concept of environment.
- Command
Spec Item Resolver - The resolver for an archived
CommandSpecItem - Context
Feature - A feature that specifies how to process the content of an environment.
- Context
Feature Resolver - The resolver for an archived
ContextFeature