slatex / sTeX

A semantic Extension of TeX/LaTeX
50 stars 9 forks source link

graph generation error (cyclic includes) #241

Closed kohlhase closed 5 years ago

kohlhase commented 5 years ago

ich sehe gerade, dass es da noch einen Fehler geben muss in Deinem script.

ich habe soeben den graph.json im Anhang für IWGS generiert, und digital-text.tex (siehe unten) hat das sicherlich nicht.

\begin{module}[id=digital-text]
\importmhmodule[path=digdocs/en/markup]{markup}
\begin{frame}
  \frametitle{Digital Text}
  \begin{itemize}
  \item
    \begin{definition}[id=plain-text.def]
      \adefii{Digital text}{digital}{text} is a digital encoding of
textual material that
      can be read without much processing.
    \end{definition}
  \item
    \begin{definition}
      \atrefii{Digital text}{digital}{text} is subdivided into
\defii{plain}{text}, where
      all characters carry the textual information and
\defii{formatted}{text}, which also
      contains \trefiis[markup]{markup}{code}.
    \end{definition}
  \item
    \begin{omtext}
      Even though \trefii{formatted}{text} can read directly, it is
usually consumed by
      humans through \inlinedef{a \defii{document}{renderer}, i.e. a
device that
        interprets the \trefiis{control}{word} and visualizes the
textual content
        accordingly}.
    \end{omtext}
  \item
    \begin{assertion}[type=remark]
      \usemhmodule[path=digdocs/en/digital-text]{digital-text}%
      \Trefii[markup]{document}{markup} turns \trefii{plain}{text} into
      \trefii{formatted}{text}.
    \end{assertion}
  \end{itemize}
\end{frame}
\end{module}
jfschaefer commented 5 years ago

The file actually includes itself (\usemhmodule[path=digdocs/en/digital-text]{digital-text}), which it shouldn't, so this was expected behaviour.