[NTG-context] Error with export=yes

Hans Hagen pragma at wxs.nl
Mon May 9 13:24:13 CEST 2011


On 9-5-2011 4:57, Reviczky, Adam wrote:
> Further, using an example with dingbats:
>
> %%%
> \setupbackend[export=cld-mkiv-export.xml,xhtml=cld-mkiv-export.xhtml,css={cld-mkiv-export.css,mathml.css}]
>
> \starttext
> Hello world! \getnamedglyphdirect{name:dingbats}{a79}
> \stoptext
> %%%
>
> Produces a broken xhtml (XML Parsing Error: not well-formed), the pdf is fine of course.
> The end-mark is exported to "������" in xhtml.

I don't get tha there.

> Not sure if that's anything to fix, just wanted to let you know.

Anyhow,

\setupbackend[export=yes]

\definefontsynonym [Dingbats] [name:dingbats] [features=dingbats]

\starttext

Hello world!
(\getnamedglyphdirect{Dingbats}{a79})
(\getnamedglyphdirect{Dingbats*dingbats}{a79})
(\getglyphdirect{Dingbats*dingbats}{\number"2756})
({\definedfont[Dingbats]\char"2756})

\stoptext

(1) will export 'v'
(2) ok in next beta
(3) ok
(4) ok

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list