ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \replaceword with spaces
@ 2018-04-15 11:30 Pablo Rodriguez
  2018-04-15 16:02 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Pablo Rodriguez @ 2018-04-15 11:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

    \replaceword[some][via ][Vía]
    \replaceword[some][calle ][c/ ]
    \replaceword[some][ calle][ Calle]
    \starttext
    \startTEXpage[offset=2em]
    This is what I get:

    \setreplacements[some]%
    calle via del viaducto de la calle

    \resetreplacements
    This is what I need:

    c/ Vía del viaducto de la Calle
    \stopTEXpage
    \stoptext

Is there any way to get spaces in the string to be replaced?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-04-15 19:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-15 11:30 \replaceword with spaces Pablo Rodriguez
2018-04-15 16:02 ` Hans Hagen
2018-04-15 16:14   ` Pablo Rodriguez
2018-04-15 16:39     ` Hans Hagen
2018-04-15 19:12       ` Pablo Rodriguez
2018-04-15 16:22   ` Floris van Manen
2018-04-15 16:42     ` Hans Hagen
2018-04-15 17:07       ` Floris van Manen
2018-04-15 17:23         ` Hans Hagen
2018-04-15 17:14   ` 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).