Re: [NTG-context] Export to xhtml and useurl

2011-07-18 Thread 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/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/opentype/public/tex-gyre/texgyreheros-bolditalic.otf{/home/cecil/ConTeXt/tex/texmf/fonts/enc/dvips/lm/lm-mathsy.enc}/home/cecil/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-bold.otf/home/cecil/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf/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

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
-
___
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
___


Re: [NTG-context] Export to xhtml and useurl

2011-07-18 Thread Cecil Westerhof
2011/7/18 Hans Hagen pra...@wxs.nl

 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/opentype/public/**
 tex-gyre/texgyreheros-**bolditalic.otf{/home/cecil/**
 ConTeXt/tex/texmf/fonts/enc/**dvips/lm/lm-mathsy.enc}/home/**
 cecil/ConTeXt/tex/texmf/fonts/**opentype/public/tex-gyre/**
 texgyreheros-bold.otf/home/**cecil/ConTeXt/tex/texmf/fonts/**
 opentype/public/tex-gyre/**texgyreheros-regular.otf/**
 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
___
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
___

Re: [NTG-context] Export to xhtml and useurl

2011-07-18 Thread Hans Hagen



But when the \setupbackend is taken out of comment, it goes wrong.


no error on my machine so probably ok in next beta

-
  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
-
___
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
___


[NTG-context] Export to xhtml and useurl

2011-07-16 Thread Cecil Westerhof
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/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/opentype/public/tex-gyre/texgyreheros-bolditalic.otf{/home/cecil/ConTeXt/tex/texmf/fonts/enc/dvips/lm/lm-mathsy.enc}/home/cecil/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-bold.otf/home/cecil/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf/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).

system   tex  error on line 0 in file : LuaTeX error  ...

empty file

* ./documentatie.tex

So properly I need to change something. But what?

-- 
Cecil Westerhof
___
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
___