
Como posso colocar legenda para um \starttables
? Estou usando o contexto para gerar um pdf com legendas em cima das tabelas, que serão numeradas automaticamente.
Eu tentei \placetable
, mas sem sucesso. Além disso, estou limitado a usar apenas arquivos \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
Responder1
A sintaxe correta no ConTeXt é
\placefloat[<place>][<reference>]{<caption>}{<float body>}
\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