On 25.10.2011, at 00:20, Hans Hagen wrote:

> On 24-10-2011 23:22, Andreas Harder wrote:
>> 
>> On 24.10.2011, at 15:01, Hans Hagen wrote:
>> 
>>> On 21-10-2011 11:27, Andreas Harder wrote:
>>>> \setupinteraction[state=start]
>>>> 
>>>> \setupbackend[export=yes,xhtml=yes,css=export-example.css]
>>>> 
>>>> \starttext
>>>>   \useURL[google][http://www.google.com/][][Google] \from[google]
>>>>   \textreference[txt:ref]{some text} \in[txt:ref] % OK
>>>>   \goto{Google}[url(http://www.google.com/)]
>>>> \stoptext
>>> 
>>> in next beta
>> 
>> Thanks Hans, but now the text reference is *not* wrapped in xhml:a-tags.
> 
>              at.href = "#" .. gsub(at.location,":","_")
> 
> =>
> 
>                href = "#" .. gsub(at.location,":","_")

Thanks again, but here is another one … sorry for complaining

\setupinteraction[state=start]
\setupbackend[export=yes,xhtml=yes,css=export-example.css]

\starttext
  \goto{Pragma (url)}[url(http://www.pragma-ade.com/)] % OK
  \goto{PDF 
(file)}[file(http://www.pragma-ade.com/general/manuals/ms-cb-en.pdf)] 
  \goto{PDF 
(fileorurl)}[fileorurl(http://www.pragma-ade.com/general/manuals/ms-cb-en.pdf)]
\stoptext

Andreas
___________________________________________________________________________________
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