doc/clang.tex, doc/layout.tex: Add labels and indexing for things in tables.
[sod] / doc / layout.tex
index 95753b1..cdad468 100644 (file)
      \dhead{gf}{ilayout-ichains @<ilayout> @> @<list>}}
 \end{describe*}
 
-\begin{describe}{gf}{sod-class-ilayout <class> @> @<ilayout>}
+\begin{describe}{gf}{sod-class-ilayout @<class> @> @<ilayout>}
 \end{describe}
 
 \begin{describe}{gf}{compute-ilayout @<class> @> @<ilayout>}
     {\dhead{cls}{convert-to-ilayout-inst (inst)}
      \dhead{fun}
        {make-convert-to-ilayout-inst @<class> @<chain-head> @<expr>}}
+  \def\makelabels#1#2{%
+    #1{gf}{inst-class}[#2]#1{gf}{inst-chain-head}[#2]%
+    \descindex{gf}{inst-expr}[#2]%
+  }
+  \makelabels{\desclabel}{|(}
+
   \begin{prog}
     SOD_ILAYOUT(@<class>, @<chain-head-nick>, @<expr>)
   \end{prog}
+
+  \makelabels{\descindex}{|)}
 \end{describe*}