ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Export to xhtml and useurl
@ 2011-07-16 10:32 Cecil Westerhof
  2011-07-18 12:44 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Cecil Westerhof @ 2011-07-16 10:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1173 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1356 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Export to xhtml and useurl
  2011-07-16 10:32 Export to xhtml and useurl Cecil Westerhof
@ 2011-07-18 12:44 ` Hans Hagen
  2011-07-18 21:51   ` Cecil Westerhof
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2011-07-18 12:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Export to xhtml and useurl
  2011-07-18 12:44 ` Hans Hagen
@ 2011-07-18 21:51   ` Cecil Westerhof
  2011-07-18 23:27     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Cecil Westerhof @ 2011-07-18 21:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1810 bytes --]

2011/7/18 Hans Hagen <pragma@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/**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
>

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

[-- Attachment #1.2: Type: text/html, Size: 2496 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Export to xhtml and useurl
  2011-07-18 21:51   ` Cecil Westerhof
@ 2011-07-18 23:27     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2011-07-18 23:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-18 23:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-16 10:32 Export to xhtml and useurl Cecil Westerhof
2011-07-18 12:44 ` Hans Hagen
2011-07-18 21:51   ` Cecil Westerhof
2011-07-18 23:27     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).