[NTG-context] ASCII mode within \footnote

Aditya Mahajan adityam at umich.edu
Fri Nov 8 00:11:21 CET 2019

On Thu, 7 Nov 2019, Wolfgang Schuster wrote:

> A way to avoid this problem is to use a slash a path separator
> instead of the backslash. Another way to get rid of it is to save
> the path a buffer and print the content of the buffer with the
> \typeinlinebuffer command.
> \starttext
> \startbuffer
> %APPDATA%\file.txt
> \stopbuffer
> \footnote{\typeinlinebuffer}
> \stoptext

Another option, if you have many such files is to define a macro:

\define[1]\APPDATA{\mono{\letterpercent APPDATA\letterpercent\letterbackslash#1}}

And then use:



More information about the ntg-context mailing list