título para \starttables

título para \starttables

¿Cómo puedo poner un título para un \starttables? Estoy usando el contexto para generar un pdf con subtítulos encima de las tablas, que deben numerarse automáticamente.

Lo he intentado \placetable, pero sin éxito. Además, estoy limitado a usar sólo \starttables.

\placetable{Validation Migration (TAF-69)}
\starttablehead
\HL
\NC Req. Id
\NC Description
\NC Test Scenario
\NC Result
\NC\AR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables
\NC TAF-89

\NC Trigger test start - from jig

\NC 
\NC Unavailable

\NC\AR
\NC TAF-88

\NC Trigger test start - using scanner

\NC 
\NC Unavailable

\NC\AR
\stoptables

Respuesta1

La sintaxis correcta en ConTeXt es

\placefloat[<place>][<reference>]{<caption>}{<float body>}

producción

\setupbodyfont[plr,11pt]
\enableregime[utf]

\starttext
\placetable{Validation Migration (TAF-69)}{%
  \starttablehead
  \HL
    \NC Req. Id \NC Description \NC Test Scenario \NC Result
  \AR
  \HL
  \stoptablehead
  \starttables[|l|l|l|l|]
  \AR
    \NC TAF-89 \NC Trigger test start - from jig \NC \NC Unavailable\MR
    \NC TAF-88 \NC Trigger test start - using scanner \NC \NC Unavailable\MR
  \stoptables
  }
\stoptext

información relacionada