[NTG-context] ASCII mode within \footnote

context at vivaldi.net context at vivaldi.net
Fri Nov 8 10:45:10 CET 2019


Hello,

many thanks again, especially \type[compact=absolute] and 
\typeinlinebuffer solve my problem!

Best regards,

Lukas


On 2019-11-08 09:52, Hans Hagen wrote:
> 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
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry
> to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________


More information about the ntg-context mailing list