On 11/8/2019 12:11 AM, Aditya Mahajan wrote:
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:
\footnote{\APPDATA{file.txt}} or ...
\footnote{\type[compact=absolute]{%APPDATA%\file.txt}} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------