2011/7/18 Hans Hagen
On 16-7-2011 12:32, Cecil Westerhof wrote:
I need to export my document. For this I use: \setupbackend[export=yes,**xhtml=yes,css=yes]
I have update my document with start and stop for chapter, section and subsection, but I have one problem. I have: \useURL [UUID] [http://en.wikipedia.org/wiki/**Uuidhttp://en.wikipedia.org/wiki/Uuid ] [] [universally unique identifier] and when I also have: \from[UUID]
I get: system> end file documentatie.tex at line 3398 ){/home/cecil/** ConTeXt/tex/texmf/fonts/enc/**dvips/lm/lm-mathsy.enc}** home/cecil/ConTeXt/tex/texmf/**fonts/type1/public/lm/lmsy10.**pfb> backend> export> finalizing ! LuaTeX error ...TeXt/tex/texmf-context/tex/** context/base/back-exp.lua:328: bad argument #2 to 'write' (string expected, got nil).
a real small test file is needed
This works: \setupinteraction[ color=blue, contrastcolor=red, focus=standard, state=start, ] %\setupbackend[export=yes,xhtml=yes,css=yes] \useURL [UUID] [http://en.wikipedia.org/wiki/Uuid] [] [universally unique identifier] \starttext This new id is generated much like an \from[UUID]. The reason for the change was that in this way a client number could be generated offline and/or different databases could be merged without the risk that id's would clash. \stoptext But when the \setupbackend is taken out of comment, it goes wrong. -- Cecil Westerhof