[texhax] Question about cwebmac.tex

Philip Taylor P.Taylor at Rhul.Ac.Uk
Mon Feb 1 23:34:13 CET 2016



Philip Taylor wrote:

> I would recommend looking at the e-TeX primitives that allow greater
> control over expansion, and/or using "\edef" (coupled with "\noexpand"
> as required) to create a control sequence that will expand to
> 
> 	\pdfoutline goto num 2 {\directlua{toutf16("\the\toksE")}}
> 
> with \the \toksE already expanded.

E.g., (untested)

	\edef \next (\noexpand \pdfoutline goto num 2 {\noexpand \directlua
{toutf16("\the\toksE")}})
	\next

Philip Taylor


More information about the texhax mailing list