Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.0
-
None
-
Unknown
-
Description
For example try overriding "latex/TableCellBlock" with the following content:
##!source.syntax=xwiki/2.1 {{groovy}} // If we're not on the last cell of the row then end with a "&" def currentCellBlock = block print "\textit{${processor.process(block.getChildren())}}" if (currentCellBlock.getNextSibling().getClass().getSimpleName().equals('TableCellBlock') || currentCellBlock.getNextSibling().getClass().getSimpleName().equals('TableHeadCellBlock')) { print " & " } {{/groovy}}
The issue is that the renderer is not setting the right target syntax.