ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* File name to print to include %
@ 2015-03-18  7:53 Procházka Lukáš Ing. - Pontex s. r. o.
  2015-03-18  8:21 ` luigi scarso
  0 siblings, 1 reply; 2+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-03-18  7:53 UTC (permalink / raw)
  To: ConTeXt

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%"?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: File name to print to include %
  2015-03-18  7:53 File name to print to include % Procházka Lukáš Ing. - Pontex s. r. o.
@ 2015-03-18  8:21 ` luigi scarso
  0 siblings, 0 replies; 2+ messages in thread
From: luigi scarso @ 2015-03-18  8:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 516 bytes --]

On Wed, Mar 18, 2015 at 8:53 AM, Procházka Lukáš Ing. - Pontex s. r. o. <
LPr@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

[-- Attachment #1.2: Type: text/html, Size: 1033 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-18  8:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18  7:53 File name to print to include % Procházka Lukáš Ing. - Pontex s. r. o.
2015-03-18  8:21 ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).