# Embed ConTeXt into LaTeX [closed]

I have an XML document which I'm currently trying to converted into XeLaTeX code. I'd like to stick to XeLaTeX rather than move to ConTeXt. However, a problem relatex to the difference in the table syntax keeps appearing. Then I noticed this answer, where it turns out that ConTeXt uses a syntax much closer to the XML syntax I'm converting from when rendering tables. So my question is simple, even if I realise that the answer is most likely no: Is it possible to somehow embed (parts of) ConTeXt into LaTeX so that I can use this ConTeXt table syntax instead of the one in LaTeX.

## closed as unclear what you're asking by Moriambar, Zarko, Stefan Pinnow, Mico, Andrew SwannJun 8 '17 at 18:44

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• no, as you already wrote :-) The only possible way is to write the `ConTeXt` code into an external file, run it with `context` crop it and insert it into the text in the next run as a pdf image. – user2478 Nov 19 '14 at 13:43
• That was no surprise, yet a bit disappointing. On the side note, do there exist LaTeX packages that use a similar table syntax? – Gaussler Nov 19 '14 at 13:46
• ConTeXt itself has several possibilities for a tabular syntax which is a bit confusing. It is similiar to LaTeX, no more no less ... but not supported by a LaTeX package – user2478 Nov 19 '14 at 13:56
• you can try `cals` package, it may be better suited for automatic conversion from xml: tug.org/TUGboat/tb32-2/tb101parashchenko.pdf – michal.h21 Nov 19 '14 at 14:52