Skip to content

glossary generation and nested modules  #32

Description

@kohlhase

in MiKoMH/GenCS/source/adt/en/adt-def.tex we have the nested module

\item
    \begin{module}[id=adt-Bool]
      \symdef{BoolSort}{{{\mathbb{B}}}}
      \symdef{BoolTrueConst}{T}
      \symdef{BoolFalseConst}{F}
      \symdef{BoolADT}{\cB}
    \begin{example}[id=bool-adt,for=abstract-data-type]
      \inlinedef[for={Boolsort,BoolTrueConst,BoolFalseConst}]
      {$\defeq\BoolADT{\adt{\set{\BoolSort}}{\set{\consdecl\BoolTrueConst\BoolSort,
            \consdecl\BoolFalseConst\BoolSort}}}$} is an abstract data for
      \defiis{truth}{value}.
    \end{example}
  \end{module}

which generates

\begin{smentry}{\hypertarget{x43d933a4aadfaf62}{truth value}}{MiKoMH/GenCS}
\usemhmodule[mhrepos=MiKoMH/GenCS,path=adt/en/adt-def]{adt-def}
\inlinedef[for={Boolsort,BoolTrueConst,BoolFalseConst}]
      {$\defeq\BoolADT{\adt{\set{\BoolSort}}{\set{\consdecl\BoolTrueConst\BoolSort,
            \consdecl\BoolFalseConst\BoolSort}}}$} is an abstract data for
      \defiis{truth}{value}.
\end{smentry}

Note that the \usemodule points to adt-def as a used module, but it should be

\usemhmodule[mhrepos=MiKoMH/GenCS,path=adt/en/adt-def]{adt-Bool}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions