Dear all,
I just discovered that pandoc produces xtables with named elements which
produces these errors.
setup > error in line 2, namespace '498', key 'head,'
setup > error in line 2, namespace '498', key 'lastrow,'
setup > error in line 11, namespace '498', key 'body,'
setup > error in line 21, namespace '498', key 'lastrow,'
setup > error in line 30, namespace '498', key 'foot,'
setup > error in line 2, namespace '498', key 'head,'
setup > error in line 2, namespace '498', key 'lastrow,'
setup > error in line 11, namespace '498', key 'body,'
setup > error in line 21, namespace '498', key 'lastrow,'
setup > error in line 30, namespace '498', key 'foot,'
setup > error in line 2, namespace '498', key 'head,'
setup > error in line 2, namespace '498', key 'lastrow,'
setup > error in line 11, namespace '498', key 'body,'
setup > error in line 21, namespace '498', key 'lastrow,'
setup > error in line 30, namespace '498', key 'foot,'
AFAICS it is not possible to define a named tablehead like this:
\definextablehead[head]
ConTeXt does not stop, so no big problem.
But it would offer styling opportunities in a production chain with
pandoc if it is possible.
Do I miss something?
juh
\starttext
\startplacetable[location=none]
\startxtable
\startxtablehead[head]
\startxrowgroup[lastrow]
\startxrow
\startxcell {\bf Material} \stopxcell
\startxcell {\bf Details} \stopxcell
\startxcell[align=left] {\bf Preis} \stopxcell
\stopxrow
\stopxrowgroup
\stopxtablehead
\startxtablebody[body]
\startxrow
\startxcell Beton \stopxcell
\startxcell Beste Qualität \stopxcell
\startxcell[align=left] 390,00 \stopxcell
\stopxrow
\startxrow
\startxcell Armierung \stopxcell
\startxcell Beste Qualität \stopxcell
\startxcell[align=left] 150,00 \stopxcell
\stopxrow
\startxrowgroup[lastrow]
\startxrow
\startxcell {\bf Summe} \stopxcell
\startxcell \stopxcell
\startxcell[align=left] {\bf 540,00} \stopxcell
\stopxrow
\stopxrowgroup
\stopxtablebody
\startxtablefoot[foot]
\stopxtablefoot
\stopxtable
\stopplacetable
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________