[NTG-context] File name to print to include %

luigi scarso luigi.scarso at gmail.com
Wed Mar 18 09:21:49 CET 2015


On Wed, Mar 18, 2015 at 8:53 AM, Procházka Lukáš Ing. - Pontex s. r. o. <
LPr at pontex.cz> wrote:

> Hello,
>
> I'd like to get:
>
> "%Home%"
>
> with \hyphenatedfilename to the Ctx output.
>
> But, these two methods don't work:
>
> \hyphenatedfilename{\%Home\%} -- gives "\%Home\%" and
> \hyphenatedfilename{%Home%} -- (obviously) produces error.
>
> So what to write into \hyphenatedfilename to get "%Home%"?
>

\hyphenatedfilename\expandafter{\letterpercent Home\letterpercent}

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150318/b2bd8d9c/attachment.html>


More information about the ntg-context mailing list