On 05/05/2015 12:34 PM, Hans Hagen wrote:
> On 5/4/2015 5:51 PM, Pablo Rodriguez wrote:
>> Dear list,
>> [...]
>> The only way to make the link work in XML is to remove the '#' char from
>> \xmlatt{#1}{href}.
>>
>> How could I achieve it without modifying the XML source?
>> [...]
> 
> string.sub('\xmlatt{#1}{href}',2)
> idstring('\xmlatt{#1}{href}')

Many thanks for your reply, Hans.

Sorry, but I don’t get them working:

  \about[string.sub('\xmlatt{#1}{href}',2)]
  \about[idstring('\xmlatt{#1}{href}')]

It has to be something stupid, but I don’t get it.

Which is the right way to do it?

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to