![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 4 Nov 2019, context@vivaldi.net wrote:
Hello Aditia,
thanks for reaction.
I simply want to write "%APPDATA%\file.txt" and the same into the footnote, with ability to use the text "%APPDATA%\file.txt" without any substitution (like "%" -> "\letterpercent") - if possible.
My attepmts with \text or \asciimode fail:
---- \starttext \type{%APPDATA%\file.txt} \footnote{% %\type{%APPDATA%\file.txt} %\asciimode{%APPDATA%\file.txt} } \stoptext ----
Even plays with
%\catcode\commentasciicode=\othercatcode %\catcode\backslashasciicode=\othercatcode
don't give the desired result.
So - is there a simple way how to get strings with "%" and "\" (which represent a path on Windows) into footnote?
As Hans' mentioned, use: \startasciicode \footnote{\type{%APPDATA%\file.txt}} \stopasciicode Aditya