On Mon, 18 May 2020, Hans Hagen wrote:

On 5/18/2020 9:09 AM, Aditya Mahajan wrote:
Hi,

What is needed to enable export of user defined macros? Consider the following example:

What am I missing in order to pass user-defined macros to the exporter?
you're probably missing documentation + a high level define command

This registers (extra) elements:

\setelementbackendtag[mycommand]
\setelementnature    [mycommand][mixed]


Thanks! This also helped me find the documentation in hybrid.pdf.

I am not using a high-level interface because I was looking at how to get the 
output of `t-filter` and `t-vim` modules export correctly.

Aditya

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to