* Re: Error with export=yes
@ 2011-05-09 17:05 Reviczky, Adam
2011-05-09 17:30 ` Reviczky, Adam
0 siblings, 1 reply; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 17:05 UTC (permalink / raw)
To: ntg-context
> Do you set a value for the xhtml key?
Yeah, I figured that out now, epub is generated now, still playing with it, trying with calibre ..
Thanks
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 17:05 Error with export=yes Reviczky, Adam
@ 2011-05-09 17:30 ` Reviczky, Adam
2011-05-09 17:45 ` Reviczky, Adam
2011-05-09 20:01 ` Hans Hagen
0 siblings, 2 replies; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 17:30 UTC (permalink / raw)
To: ntg-context
I still must miss something, because the epub doesn't seem to contain anything.
So here's a simple example:
\setupbackend[export=yes,xhtml=test.xhtml]
\starttext
Hello world!
\stoptext
Then after running context:
mtxrun --script epub --make test.specification
table={
["files"]={ "test.xhtml" },
["identifier"]="89a4fe19-4610-b806-b0dd-5fad6ede3dde",
["name"]="test",
["root"]="test.xhtml",
}
adding: mimetype (stored 0%)
adding: META-INF/ (stored 0%)
adding: META-INF/container.xml (deflated 32%)
adding: OPS/ (stored 0%)
adding: OPS/test.opf (deflated 49%)
mtx-epub | epub archive: test.tree/test.epub
The xhtml seems to be missing from OPS, but even putting that in there doesn't give me a working epub (even though it increases the epub size).
Help?
Adam
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 17:30 ` Reviczky, Adam
@ 2011-05-09 17:45 ` Reviczky, Adam
2011-05-09 20:01 ` Hans Hagen
1 sibling, 0 replies; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 17:45 UTC (permalink / raw)
To: ntg-context
> The xhtml seems to be missing from OPS, but even putting that in there doesn't give me a working epub (even though it increases the epub size).
Right, adding a title solves that, but still empty when trying to open it ...
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 17:30 ` Reviczky, Adam
2011-05-09 17:45 ` Reviczky, Adam
@ 2011-05-09 20:01 ` Hans Hagen
1 sibling, 0 replies; 20+ messages in thread
From: Hans Hagen @ 2011-05-09 20:01 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Reviczky, Adam
On 9-5-2011 7:30, Reviczky, Adam wrote:
> The xhtml seems to be missing from OPS, but even putting that in there doesn't give me a working epub (even though it increases the epub size).
new 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] 20+ messages in thread
* Re: Error with export=yes
@ 2011-05-09 2:57 Reviczky, Adam
2011-05-09 11:24 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 2:57 UTC (permalink / raw)
To: ntg-context
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.
Not sure if that's anything to fix, just wanted to let you know.
Adam
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 2:57 Reviczky, Adam
@ 2011-05-09 11:24 ` Hans Hagen
2011-05-09 11:32 ` Reviczky, Adam
0 siblings, 1 reply; 20+ messages in thread
From: Hans Hagen @ 2011-05-09 11:24 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Reviczky, Adam
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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 11:24 ` Hans Hagen
@ 2011-05-09 11:32 ` Reviczky, Adam
2011-05-09 11:52 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 11:32 UTC (permalink / raw)
To: Hans Hagen, mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
> 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
This is strange, attached my export and log.
PDF is still fine.
Do I miss something from context?
Adam
[-- Attachment #2: test.export --]
[-- Type: application/octet-stream, Size: 451 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: test.log --]
[-- Type: text/x-log; name="test.log", Size: 4823 bytes --]
(test.tex
ConTeXt ver: 2011.05.09 10:14 MKIV fmt: 2011.5.9 int: english/english
system > cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system > beware: some patches loaded from cont-new.mkiv
)
system > test.top loaded
system > options > begin of optionfile
system > options >
system > options > % runtime options files (command line driven)
system > options > \unprotect
system > options > % feedback and basic job control
system > options > % handy for special styles
system > options > \startluacode
system > options > document = document or { }
system > options > document.arguments={
system > options > }
system > options > document.files={
system > options > "test.tex",
system > options > }
system > options > \stopluacode
system > options > % process info
system > options > \setupsystem[inputfile=test.tex]
system > options > \setupsystem[\c!n=2,\c!m=3]
system > options > % modes
system > options > % options (not that important)
system > options > \startsetups *runtime:options
system > options > \stopsetups
system > options > % styles and modules
system > options > \startsetups *runtime:modules
system > options > \stopsetups
system > options > % done
system > options > \protect \endinput
system > options >
system > options > end of optionfile
(test.top)
fonts > latin modern fonts are not preloaded
languages > language en is active
backend > export > enabling export to xml
{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}
fonts > preloading latin modern fonts (second stage)
(/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts > virtual math > unable to resolve name mapsfromchar
fonts > fallback modern rm 12pt is loaded
system > begin file test.tex at line 5
backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
system > end file test.tex at line 13
)</usr/share/texmf-texlive/fonts/type1/urw/zapfding/uzdr.pfb></usr/share/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
backend > export > finalizing
backend > export > saving xml data in 'test.export
backend > export > saving css template in 'test.template
mkiv lua stats > used config file - /usr/share/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path - /home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d
mkiv lua stats > input load time - 0.131 seconds
mkiv lua stats > stored bytecode data - 285 modules, 58 tables, 343 chunks
mkiv lua stats > cleaned up reserved nodes - 33 nodes, 9 lists of 423
mkiv lua stats > node memory usage - 20 glue_spec
mkiv lua stats > node list callback tasks - 6 unique task lists, 5 instances (re)created, 2354 calls
mkiv lua stats > used backend - pdf (backend for directly generating pdf output)
mkiv lua stats > loaded patterns - en::2
mkiv lua stats > callbacks - 2491 direct, 2974 indirect, 5465 total
mkiv lua stats > randomizer - resumed with value 0.98525745094999
mkiv lua stats > lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats > structure elements - 1 element chains identified
mkiv lua stats > result saved in file - test.pdf
mkiv lua stats > loaded fonts - 34 files: stmary10.afm uzdr.afm eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats > fonts load time - 0.526 seconds
mkiv lua stats > xml exporting time - 0.003 seconds
mkiv lua stats > luatex banner - this is luatex, version beta-0.71.0-2011050806 (rev 4245)
mkiv lua stats > control sequences - 30278 of 165536
mkiv lua stats > current memory usage - 34 MB (ctx: 35 MB)
mkiv lua stats > runtime - 1.732 seconds, 1 processed pages, 1 shipped pages, 0.577 pages/second
[-- Attachment #4: 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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 11:32 ` Reviczky, Adam
@ 2011-05-09 11:52 ` Hans Hagen
2011-05-09 12:53 ` Reviczky, Adam
0 siblings, 1 reply; 20+ messages in thread
From: Hans Hagen @ 2011-05-09 11:52 UTC (permalink / raw)
To: Reviczky, Adam; +Cc: mailing list for ConTeXt users
On 9-5-2011 1:32, Reviczky, Adam wrote:
>> 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
>
> This is strange, attached my export and log.
> PDF is still fine.
>
> Do I miss something from context?
no clue
-----------------------------------------------------------------
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 11:52 ` Hans Hagen
@ 2011-05-09 12:53 ` Reviczky, Adam
2011-05-09 13:01 ` Hans Hagen
2011-05-09 15:12 ` Hans Hagen
0 siblings, 2 replies; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 12:53 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
> no clue
So it looks like having the urw zapfding fonts from texlive mess this up (uzdr.afm, uzdr.pfb and uzdr.pfm).
Don't you have them? Why is it a problem if context finds those?
Without those fonts, I have this in the log:
fonts > names > font database has matching configuration and file hashes
fonts > defining > font with asked name 'dingbats' is not found using lookup 'name'
fonts > defining > unknown font dingbats, loading aborted
fonts > defining > unable to define dingbats as \**currentsymbolfont**
fonts > names > font database has matching configuration and file hashes
fonts > defining > font with asked name 'dingbats' is not found using lookup 'name'
fonts > defining > unknown font dingbats, loading aborted
fonts > defining > unable to define dingbats as \**currentsymbolfont**
fonts > names > font database has matching configuration and file hashes
fonts > defining > font with asked name 'dingbats' is not found using lookup 'name'
fonts > defining > unknown font dingbats, loading aborted
fonts > defining > unable to define dingbats as \**thedefinedfont**
But now the export is fine, on the other hand the pdf misses those characters.
Adam
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 12:53 ` Reviczky, Adam
@ 2011-05-09 13:01 ` Hans Hagen
2011-05-09 15:12 ` Hans Hagen
1 sibling, 0 replies; 20+ messages in thread
From: Hans Hagen @ 2011-05-09 13:01 UTC (permalink / raw)
To: Reviczky, Adam; +Cc: mailing list for ConTeXt users
On 9-5-2011 2:53, Reviczky, Adam wrote:
>> no clue
>
> So it looks like having the urw zapfding fonts from texlive mess this up (uzdr.afm, uzdr.pfb and uzdr.pfm).
> Don't you have them? Why is it a problem if context finds those?
>
> Without those fonts, I have this in the log:
>
> fonts> names> font database has matching configuration and file hashes
> fonts> defining> font with asked name 'dingbats' is not found using lookup 'name'
> fonts> defining> unknown font dingbats, loading aborted
> fonts> defining> unable to define dingbats as \**currentsymbolfont**
> fonts> names> font database has matching configuration and file hashes
> fonts> defining> font with asked name 'dingbats' is not found using lookup 'name'
> fonts> defining> unknown font dingbats, loading aborted
> fonts> defining> unable to define dingbats as \**currentsymbolfont**
> fonts> names> font database has matching configuration and file hashes
> fonts> defining> font with asked name 'dingbats' is not found using lookup 'name'
> fonts> defining> unknown font dingbats, loading aborted
> fonts> defining> unable to define dingbats as \**thedefinedfont**
i use a system font
-----------------------------------------------------------------
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 12:53 ` Reviczky, Adam
2011-05-09 13:01 ` Hans Hagen
@ 2011-05-09 15:12 ` Hans Hagen
2011-05-09 15:28 ` Reviczky, Adam
2011-05-09 16:48 ` Reviczky, Adam
1 sibling, 2 replies; 20+ messages in thread
From: Hans Hagen @ 2011-05-09 15:12 UTC (permalink / raw)
To: Reviczky, Adam; +Cc: mailing list for ConTeXt users
Hi,
Something else to play with, making an epub archive. At some point I
will add support for images etc. At the end of a run you will see:
export > saving specification in 'oeps.specification' (mtxrun --script
epub --make oeps.specification)
The mentioned mtxrun call will make an archive.
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 15:12 ` Hans Hagen
@ 2011-05-09 15:28 ` Reviczky, Adam
2011-05-09 16:48 ` Reviczky, Adam
1 sibling, 0 replies; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 15:28 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
> Something else to play with, making an epub archive. At some point I
> will add support for images etc. At the end of a run you will see:
>
> export > saving specification in 'oeps.specification' (mtxrun --script
> epub --make oeps.specification)
>
> The mentioned mtxrun call will make an archive.
Excellent, didn't expect that so soon.
I'm on it!
Cheers
Adam
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-09 15:12 ` Hans Hagen
2011-05-09 15:28 ` Reviczky, Adam
@ 2011-05-09 16:48 ` Reviczky, Adam
2011-05-09 16:55 ` Wolfgang Schuster
1 sibling, 1 reply; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 16:48 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
> export > saving specification in 'oeps.specification' (mtxrun --script
> epub --make oeps.specification)
Somehow I can't get this working yet, this doesn't get triggered at my end, do I forget something?
shouldn't also
back-exp.lua line 406:
- handle:write(" url='",file,"'")
+ handle:write(" url='",url,"'")
Adam
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
@ 2011-05-07 0:57 Reviczky, Adam
2011-05-07 10:24 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-07 0:57 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
> \setupbackend
> [export=cld-mkiv-export.xml,
> xhtml=cld-mkiv-export.xhtml,
> css={cld-mkiv-export.css,mathml.css}]
>
> There's an article in the eurotex proceedings about these issues. I
> don't know if Mojca has put the presentation somewhere online.
Since this worked nicely on a simple "hello world" example, I thought I'm trying it out on a few documents I have.
The logs are attached, do I need to make a minimal out of it?
Adam
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: presentation_6ccs3prj.log --]
[-- Type: text/x-log; name="presentation_6ccs3prj.log", Size: 11194 bytes --]
(/home/reviczky/Downloads/ctx/presentation/src/presentation_6ccs3prj.tex
ConTeXt ver: 2011.05.06 16:52 MKIV fmt: 2011.5.7 int: english/english
(/usr/share/texmf/tex/context/base/cont-new.mkiv) (presentation_6ccs3prj.top
) (/home/reviczky/Downloads/ctx/presentation/src/env_6ccs3prj.tex (/usr/share/texmf/tex/context/third/simpleslides/t-simpleslides.tex (/usr/share/texmf/tex/context/third/simpleslides/simpleslides-f-default.tex (/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/pdftex/context/mkiv-tx.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}) (/usr/share/texmf/tex/context/third/simpleslides/simpleslides-s-default.tex) (/usr/share/texmf/tex/context/third/simpleslides/simpleslides-s-Split.tex)) (/usr/share/texmf/tex/context/base/m-chart.mkiv) (/usr/share/texmf/tex/context/base/symb-mvs.mkiv)
fonts > symbols > loaded: library 'mvs') (/home/reviczky/Downloads/ctx/presentation/src/s_titlepage.tex)
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:1237: attempt to call global 'gmatch' (a nil value)
stack traceback:
/usr/share/texmf/tex/context/base/back-exp.lua:1237: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
...
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1354: in function 'nodes_handlers_export'
<local nodes_references_handler = nodes.references.ha...>:14: in function <<local nodes_references_handler = nodes.references.ha...>:8>
(tail call): ?
(tail call): ?
<main ctx instance>:1: in main chunk.
1 \input env_6ccs3prj
2
3 \starttext
4 % Ignite style
5 \input s_titlepage
6 >> \input s_outline
7 \input s_timeline
8 \input s_motivation
9 \input s_requirements
10 \input s_literature
11 \input s_design
12 \input s_dependencies
13 \input s_rosetta
14 \input s_testing
15 \input s_statistics
16 \input s_loc
\finalizeshipoutbox ...alize(tex.box[\number #1])}
\actualshipout ...zeshipoutbox \shipoutscratchbox
\setbox \scratchbox \hbox ...
\myshipout ...\@@ppmethod }\gobbleoneargument {#1}
\setnextrealpageno \afters...
\dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}}
\the \everyaftershipout \a...
\finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
\resetselectiepagina \doin...
\sidefloatoutput ...e \else \finalsidefloatoutput
\global \sidefloatvsize \n...
...
l.6 \input
s_outline
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
(/home/reviczky/Downloads/ctx/presentation/src/s_outline.tex) (/home/reviczky/Downloads/ctx/presentation/src/s_timeline.tex </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/71a0e8c53d009161a7785acb26954f7f.png>) (/home/reviczky/Downloads/ctx/presentation/src/s_motivation.tex </home/reviczky/Downloads/ctx/presentation/src/graphics/thumbnail_timeline.png (PNG copy)>
Overfull \hbox (1.67787pt too wide) in paragraph at lines 22--22
[][]
\hbox(202.49998+0.0)x257.71187, direction TLT
.\glue(\leftskip) 0.0 plus 128.85593
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\vbox(202.49998+0.0)x259.38974, direction TLT
..\hbox(202.49998+0.0)x259.38974, glue set 259.38974fil, direction TLT
...\hbox(202.49998+0.0)x0.0, direction TLT []
...\hbox(202.49998+0.0)x0.0, direction TLT []
...\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 10000
.\glue(\parfillskip) 0.0
.etc.
</home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/9cf931b90e936f5228b8d1923e7ec71a.jpg>) (/home/reviczky/Downloads/ctx/presentation/src/s_requirements.tex) (/home/reviczky/Downloads/ctx/presentation/src/s_literature.tex) (/home/reviczky/Downloads/ctx/presentation/src/s_design.tex (virtual://viafile.1) (virtual://viafile.2) (virtual://viafile.3) (presentation_6ccs3prj-mpgraph.mpd) (virtual://viafile.4) (virtual://viafile.5) (virtual://viafile.6) (virtual://viafile.7) (virtual://viafile.8) (presentation_6ccs3prj-mpgraph.mpd) (virtual://viafile.9) (virtual://viafile.10)) (/home/reviczky/Downloads/ctx/presentation/src/s_dependencies.tex) (/home/reviczky/Downloads/ctx/presentation/src/s_rosetta.tex) (/home/reviczky/Downloads/ctx/presentation/src/s_testing.tex </home/reviczky/Downloads/ctx/presentation/src/graphics/thumbnail_rosetta.png (PNG copy)> (virtual://viafile.11)) (/home/reviczky/Downloads/ctx/presentation/src/s_statistics.tex) (/home/reviczky/Downloads/ctx/presentation/src/s_loc.tex </home/reviczky/Downloads/ctx/presentation/src/graphics/thumbnail_launchpad.png (PNG copy)> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5c1d169a3070b994ef9da6be7385141>) (/home/reviczky/Downloads/ctx/presentation/src/s_demo.tex) (/home/reviczky/Downloads/ctx/presentation/src/s_summary.tex </home/reviczky/Downloads/ctx/presentation/src/graphics/thumbnail_demo.png (PNG copy)>) (/home/reviczky/Downloads/ctx/presentation/src/s_conclusion.tex
Overfull \hbox (1.79396pt too wide) in paragraph at lines 4--4
[][]
\hbox(190.74889+0.0)x542.29453, direction TLT
.\glue(\leftskip) 0.0 plus 271.14726
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\vbox(190.74889+0.0)x544.08849, direction TLT
..\hbox(190.74889+0.0)x544.08849, glue set 544.0885fil, direction TLT
...\hbox(190.74889+0.0)x0.0, direction TLT []
...\hbox(190.74889+0.0)x0.0, direction TLT []
...\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 10000
.\glue(\parfillskip) 0.0
.etc.
</home/reviczky/Downloads/ctx/presentation/src/graphics/thumbnail_complete.png>) (/home/reviczky/Downloads/ctx/presentation/src/s_qa.tex
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:1237: attempt to call global 'gmatch' (a nil value)
stack traceback:
/usr/share/texmf/tex/context/base/back-exp.lua:1237: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
...
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1354: in function 'nodes_handlers_export'
<local nodes_references_handler = nodes.references.ha...>:14: in function <<local nodes_references_handler = nodes.references.ha...>:8>
(tail call): ?
(tail call): ?
<main ctx instance>:1: in main chunk.
1 >> \SlideTitle{Q \& A}
2
3 \startalignment[middle]
4 {\bfb Questions?} \par
5
6 \blank[line]
7
8 Wiki: \goto{gitorious.org/6ccs3prj}[url(http://gitorious.org/6ccs3prj/pages/Home)] \par
9 Bugtracker: \goto{launchpad.net/6ccs3prj}[url(https://launchpad.net/6ccs3prj)] \par
10
11 \blank[line]
\finalizeshipoutbox ...alize(tex.box[\number #1])}
\actualshipout ...zeshipoutbox \shipoutscratchbox
\setbox \scratchbox \hbox ...
\myshipout ...\@@ppmethod }\gobbleoneargument {#1}
\setnextrealpageno \afters...
\dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}}
\the \everyaftershipout \a...
\finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
\resetselectiepagina \doin...
\sidefloatoutput ...e \else \finalsidefloatoutput
\global \sidefloatvsize \n...
...
l.1 \SlideTitle{Q \& A}
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
) )</usr/share/texmf-texlive/fonts/type1/urw/zapfding/uzdr.pfb></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-bold.otf></usr/share/texmf/fonts/truetype/public/marvosym/marvosym.ttf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-regular.otf></usr/share/texmf-texlive/fonts/type1/hoekwater/mflogo/logo10.pfb></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-bold.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-italic.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf></usr/share/texmf-texlive/fonts/type1/public/txfonts/rtxmi.pfb></usr/share/texmf-texlive/fonts/type1/public/txfonts/txsy.pfb></usr/share/texmf-texlive/fonts/type1/public/txfonts/txsya.pfb>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: prd_finalreport.log --]
[-- Type: text/x-log; name="prd_finalreport.log", Size: 9442 bytes --]
(/home/reviczky/Downloads/ctx/thesis/src/prd_finalreport.tex
ConTeXt ver: 2011.05.06 16:52 MKIV fmt: 2011.5.7 int: english/english
(/usr/share/texmf/tex/context/base/cont-new.mkiv) (prd_finalreport.top
){/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map} (/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} (project_6ccs3prj.tex (env_6ccs3prj.tex (/usr/share/texmf/tex/context/base/colo-imp-x11.mkiv) (/usr/share/texmf/tex/context/base/m-database.mkiv<+ /usr/share/texmf/tex/context/base/m-database.lua>) (/usr/share/texmf/tex/context/base/page-run.mkiv))) (c_titlepage.tex
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:1237: attempt to call global 'gmatch' (a nil value)
stack traceback:
/usr/share/texmf/tex/context/base/back-exp.lua:1237: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
...
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1284: in function 'collectresults'
/usr/share/texmf/tex/context/base/back-exp.lua:1354: in function 'nodes_handlers_export'
<local nodes_references_handler = nodes.references.ha...>:14: in function <<local nodes_references_handler = nodes.references.ha...>:8>
(tail call): ?
(tail call): ?
<main ctx instance>:1: in main chunk.
\finalizeshipoutbox ...alize(tex.box[\number #1])}
\actualshipout ...zeshipoutbox \shipoutscratchbox
\setbox \scratchbox \hbox ...
\myshipout ...\@@ppmethod }\gobbleoneargument {#1}
\setnextrealpageno \afters...
\dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}}
\the \everyaftershipout \a...
\finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
\resetselectiepagina \doin...
\sidefloatoutput ...e \else \finalsidefloatoutput
\global \sidefloatvsize \n...
...
l.72
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
) (c_legal.tex) (c_abstract.tex) (c_acknowledgements.tex) (c_tableofcontents.tex) (c_introduction.tex) (c_background.tex) (c_body.tex) (c_evaluation.tex) (c_conclusions.tex
Overfull \hbox (11.07205pt too wide) in paragraph at lines 26--26
[][]\*TeX Gyre11ptrmtf* (-15) Second\*TeX Gyre11ptrmtf* (-20) ly, \*TeX Gyre11ptrmtf* (-15) an ana\*TeX Gyre11ptrmtf* (-20) l\*TeX Gyre11ptrmtf* (-15) og\*TeX Gyre11ptrmtf* (-20) y \*TeX Gyre11ptrmtf* (-15) can be d\*TeX Gyre11ptrmtf* (-20) r\*TeX Gyre11ptrmtf* (-15) awn w\*TeX Gyre11ptrmtf* (-20) it\*TeX Gyre11ptrmtf* (-15) h \*TeX Gyre11ptrmtf* (-20) t\*TeX Gyre11ptrmtf* (-15) he wa\*TeX Gyre11ptrmtf* (-20) y L[]T[]X \*TeX Gyre11ptrmtf* (-15) enhanced \*TeX Gyre11ptrmtf* (-20) T[]X \*TeX Gyre11ptrmtf* (-15) o\*TeX Gyre11ptrmtf* (-20) r X\*TeX Gyre11ptrmtf* (-15) H\*TeX Gyre11ptrmtf* (-20) T\*TeX Gyre11ptrmtf* (-15) M\*TeX Gyre11ptrmtf* (-20) L+\*TeX Gyre11ptrmtf* (-15) CSS
\hbox(7.887+2.6675)x426.78743, glue set - 1.0, direction TLT
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\*TeX Gyre11ptrmtf* (-15) S
.\*TeX Gyre11ptrmtf* (-15) e
.\*TeX Gyre11ptrmtf* (-15) c
.etc.
) (c_bibliography.tex (prd_finalreport.bbl)) (c_appendix.tex </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/0e9b8cc57c0432d5c772dda2b9cd6dfe.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/20423a750695b2b662ba0d45cffb47d7.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5e275d1076b71ab932ea5ebd4ebf214.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/d4119ab8da3dcb23984cfb71ad63d7fd.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/38eb45f44eddb6c6d26bb5dd5aeb81f8.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/77bb547e2ae6cfc8f18ed6ac3fcc4cb0.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5ef87eb4b66f38fd4ed47540edace38> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/cab33a4eaf4616b446d5e19baa4af9d7>) (c_userguide.tex </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_main.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_about.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_credits.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_licence.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_open.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_filters.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_progress.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_clear.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_recognition.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_relational.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_ellipses.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_operator.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_arrow.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_logical.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_sets.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_misc.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_greeklo.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_greekup.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_typeset.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_mkiv.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_save.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_export.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_modified.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_de.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_fr.png> </home/reviczky/Downloads/ctx/thesis/src/graphics/goldbach_hu.png>) (c_programlistings.tex) (c_errata.tex
Overfull \hbox (3.2078pt too wide) in paragraph at lines 43--43
[][][][] \*TeX Gyre11ptrmtf* (-15) page\*TeX Gyre11pttttf* ??\*TeX Gyre11ptrmtf* (-20) : \*TeX Gyre11pttttf* \registerattachment[][] \*TeX Gyre11ptrmtf* (-15) and \*TeX Gyre11pttttf* \defineattachment[][]
\hbox(10.75542+4.18262)x426.78743, glue set - 1.0, direction TLT
.\glue(\leftskip) 16.5
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\hbox(10.75542+4.18262)x0.0, glue set - 16.5fil, direction TLT
..\glue 0.0 plus 1.0fil minus 1.0fil
..\hbox(10.75542+4.18262)x16.5, direction TLT
...\hbox(10.75542+4.18262)x16.5, glue set 10.72498fil, direction TLT []
.\hbox(10.75542+4.18262)x0.0, direction TLT
.etc.
) (c_copying.tex) )</usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bold.otf></usr/share/texmf-texlive/fonts/type1/hoekwater/mflogo/logo10.pfb></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrechorus-mediumitalic.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-bold.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-italic.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-italic.otf></usr/share/texmf/fonts/opentype/public/euler/euler.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-bold.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-regular.otf>
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:868: attempt to index field '?' (a nil value).
<empty file>
<*> ...ownloads/ctx/thesis/src/prd_finalreport.tex
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
[-- Attachment #4: 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] 20+ messages in thread
* Re: Error with export=yes
2011-05-07 0:57 Reviczky, Adam
@ 2011-05-07 10:24 ` Hans Hagen
2011-05-09 2:13 ` Reviczky, Adam
0 siblings, 1 reply; 20+ messages in thread
From: Hans Hagen @ 2011-05-07 10:24 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Reviczky, Adam
On 7-5-2011 2:57, Reviczky, Adam wrote:
>> \setupbackend
>> [export=cld-mkiv-export.xml,
>> xhtml=cld-mkiv-export.xhtml,
>> css={cld-mkiv-export.css,mathml.css}]
>>
>> There's an article in the eurotex proceedings about these issues. I
>> don't know if Mojca has put the presentation somewhere online.
>
> Since this worked nicely on a simple "hello world" example, I thought I'm trying it out on a few documents I have.
>
> The logs are attached, do I need to make a minimal out of it?
fixed in next beta
(you can replace gmatch by string.gmatch as a fast fix)
-----------------------------------------------------------------
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-07 10:24 ` Hans Hagen
@ 2011-05-09 2:13 ` Reviczky, Adam
0 siblings, 0 replies; 20+ messages in thread
From: Reviczky, Adam @ 2011-05-09 2:13 UTC (permalink / raw)
To: Hans Hagen, mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
> fixed in next beta
>
> (you can replace gmatch by string.gmatch as a fast fix)
Thanks, that fixed the problem for one, but still it fails on my thesis with:
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:868: attempt to index field '?' (a nil value).
<empty file>
I hope it is not because of my tex file.
Log attached.
Adam
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: prd_finalreport.log --]
[-- Type: text/x-log; name="prd_finalreport.log", Size: 7028 bytes --]
(/home/reviczky/Downloads/ctx/test/thesis/src/prd_finalreport.tex
ConTeXt ver: 2011.05.08 23:02 MKIV fmt: 2011.5.9 int: english/english
(/usr/share/texmf/tex/context/base/cont-new.mkiv) (prd_finalreport.top
){/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map} (/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} (project_6ccs3prj.tex (env_6ccs3prj.tex (/usr/share/texmf/tex/context/base/colo-imp-x11.mkiv) (/usr/share/texmf/tex/context/base/m-database.mkiv<+ /usr/share/texmf/tex/context/base/m-database.lua>) (/usr/share/texmf/tex/context/base/page-run.mkiv))) (c_titlepage.tex) (c_legal.tex) (c_abstract.tex) (c_acknowledgements.tex) (c_tableofcontents.tex) (c_introduction.tex) (c_background.tex) (c_body.tex) (c_evaluation.tex) (c_conclusions.tex
Overfull \hbox (11.07205pt too wide) in paragraph at lines 26--26
[][]\*TeX Gyre11ptrmtf* (-15) Second\*TeX Gyre11ptrmtf* (-20) ly, \*TeX Gyre11ptrmtf* (-15) an ana\*TeX Gyre11ptrmtf* (-20) l\*TeX Gyre11ptrmtf* (-15) og\*TeX Gyre11ptrmtf* (-20) y \*TeX Gyre11ptrmtf* (-15) can be d\*TeX Gyre11ptrmtf* (-20) r\*TeX Gyre11ptrmtf* (-15) awn w\*TeX Gyre11ptrmtf* (-20) it\*TeX Gyre11ptrmtf* (-15) h \*TeX Gyre11ptrmtf* (-20) t\*TeX Gyre11ptrmtf* (-15) he wa\*TeX Gyre11ptrmtf* (-20) y L[]T[]X \*TeX Gyre11ptrmtf* (-15) enhanced \*TeX Gyre11ptrmtf* (-20) T[]X \*TeX Gyre11ptrmtf* (-15) o\*TeX Gyre11ptrmtf* (-20) r X\*TeX Gyre11ptrmtf* (-15) H\*TeX Gyre11ptrmtf* (-20) T\*TeX Gyre11ptrmtf* (-15) M\*TeX Gyre11ptrmtf* (-20) L+\*TeX Gyre11ptrmtf* (-15) CSS
\hbox(7.887+2.6675)x426.78743, glue set - 1.0, direction TLT
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\*TeX Gyre11ptrmtf* (-15) S
.\*TeX Gyre11ptrmtf* (-15) e
.\*TeX Gyre11ptrmtf* (-15) c
.etc.
) (c_bibliography.tex (prd_finalreport.bbl)) (c_appendix.tex </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/0e9b8cc57c0432d5c772dda2b9cd6dfe.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/20423a750695b2b662ba0d45cffb47d7.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5e275d1076b71ab932ea5ebd4ebf214.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/d4119ab8da3dcb23984cfb71ad63d7fd.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/38eb45f44eddb6c6d26bb5dd5aeb81f8.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/77bb547e2ae6cfc8f18ed6ac3fcc4cb0.png> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/e5ef87eb4b66f38fd4ed47540edace38> </home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/schemes/cab33a4eaf4616b446d5e19baa4af9d7>) (c_userguide.tex </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_main.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_about.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_credits.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_licence.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_open.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_filters.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_progress.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_clear.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_recognition.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_relational.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_ellipses.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_operator.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_arrow.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_logical.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_sets.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_misc.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_greeklo.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_greekup.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_typeset.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_mkiv.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_save.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_export.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_modified.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_de.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_fr.png> </home/reviczky/Downloads/ctx/test/thesis/src/graphics/goldbach_hu.png>) (c_programlistings.tex) (c_errata.tex
Overfull \hbox (3.2078pt too wide) in paragraph at lines 43--43
[][][][] \*TeX Gyre11ptrmtf* (-15) page\*TeX Gyre11pttttf* ??\*TeX Gyre11ptrmtf* (-20) : \*TeX Gyre11pttttf* \registerattachment[][] \*TeX Gyre11ptrmtf* (-15) and \*TeX Gyre11pttttf* \defineattachment[][]
\hbox(10.75542+4.18262)x426.78743, glue set - 1.0, direction TLT
.\glue(\leftskip) 16.5
.\whatsit
..\localinterlinepenalty=0
..\localbrokenpenalty=0
..\localleftbox=null
..\localrightbox=null
.\hbox(0.0+0.0)x0.0, direction TLT
.\hbox(10.75542+4.18262)x0.0, glue set - 16.5fil, direction TLT
..\glue 0.0 plus 1.0fil minus 1.0fil
..\hbox(10.75542+4.18262)x16.5, direction TLT
...\hbox(10.75542+4.18262)x16.5, glue set 10.72498fil, direction TLT []
.\hbox(10.75542+4.18262)x0.0, direction TLT
.etc.
) (c_copying.tex) )</usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bold.otf></usr/share/texmf-texlive/fonts/type1/hoekwater/mflogo/logo10.pfb></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrechorus-mediumitalic.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-bold.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-italic.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-regular.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-italic.otf></usr/share/texmf/fonts/opentype/public/euler/euler.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-bold.otf></usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-regular.otf>
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:868: attempt to index field '?' (a nil value).
<empty file>
<*> ...ads/ctx/test/thesis/src/prd_finalreport.tex
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.
[-- Attachment #3: 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] 20+ messages in thread
* Error with export=yes
@ 2011-05-06 13:39 Aditya Mahajan
2011-05-06 14:07 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: Aditya Mahajan @ 2011-05-06 13:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
The following gives an error:
\setupbackend[export=yes]
\starttext test \stoptext
! LuaTeX error
...minimals/texmf-context/tex/context/base/util-prs.lua:125: bad argument
#2 to 'lpegmatch' (string expected, got boolean).
system > tex > error on line 0 in file : LuaTeX error ...
<empty file>
<*> ./test
?
Any ideas on how to fix this?
Also, I looked at back-exp.mkiv and it appears that xhtml export is
possible. If so, what is the command to enable it. (I am guessing
\setupexport[export=yes, xhtml=yes] but cannot test it due to the above
error).
Aditya
___________________________________________________________________________________
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-06 13:39 Aditya Mahajan
@ 2011-05-06 14:07 ` Hans Hagen
2011-05-06 14:45 ` Aditya Mahajan
0 siblings, 1 reply; 20+ messages in thread
From: Hans Hagen @ 2011-05-06 14:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 6-5-2011 3:39, Aditya Mahajan wrote:
> \setupbackend[export=yes]
> \starttext test \stoptext
I'll fix it. You can set an xhtml file as well as some css.
\setupbackend[export=yes]
\setupbackend[export=yes,xhtml=yes]
\setupbackend[export=yes,xhtml=whatever.xhtml]
\setupbackend[export=yes,css={whatever.css,somemore.css}]
So, you can have dual output: pdf and xhtml. Normally the xml + css will
do but if you also want interactivity then you need the xhtml option
(adds some 'a' wrappers). I will also add an epub option for producing
those epub zip files.
I can send you an example (cld-mkvi) if needed that shows an example of
css hooked into such output. That manual starts with:
\setupbackend
[export=cld-mkiv-export.xml,
xhtml=cld-mkiv-export.xhtml,
css={cld-mkiv-export.css,mathml.css}]
There's an article in the eurotex proceedings about these issues. I
don't know if Mojca has put the presentation somewhere online.
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] 20+ messages in thread
* Re: Error with export=yes
2011-05-06 14:07 ` Hans Hagen
@ 2011-05-06 14:45 ` Aditya Mahajan
0 siblings, 0 replies; 20+ messages in thread
From: Aditya Mahajan @ 2011-05-06 14:45 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
On Fri, 6 May 2011, Hans Hagen wrote:
> On 6-5-2011 3:39, Aditya Mahajan wrote:
>> \setupbackend[export=yes]
>> \starttext test \stoptext
>
> I'll fix it. You can set an xhtml file as well as some css.
>
> \setupbackend[export=yes]
> \setupbackend[export=yes,xhtml=yes]
> \setupbackend[export=yes,xhtml=whatever.xhtml]
> \setupbackend[export=yes,css={whatever.css,somemore.css}]
Ah, thanks.
> So, you can have dual output: pdf and xhtml. Normally the xml + css will do
> but if you also want interactivity then you need the xhtml option (adds some
> 'a' wrappers). I will also add an epub option for producing those epub zip
> files.
That will be great.
> I can send you an example (cld-mkvi) if needed that shows an example of css
> hooked into such output. That manual starts with:
>
> \setupbackend
> [export=cld-mkiv-export.xml,
> xhtml=cld-mkiv-export.xhtml,
> css={cld-mkiv-export.css,mathml.css}]
Please do send the example.
> There's an article in the eurotex proceedings about these issues. I don't
> know if Mojca has put the presentation somewhere online.
I'll try to find that.
Aditya
___________________________________________________________________________________
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] 20+ messages in thread
end of thread, other threads:[~2011-05-09 20:01 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-09 17:05 Error with export=yes Reviczky, Adam
2011-05-09 17:30 ` Reviczky, Adam
2011-05-09 17:45 ` Reviczky, Adam
2011-05-09 20:01 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2011-05-09 2:57 Reviczky, Adam
2011-05-09 11:24 ` Hans Hagen
2011-05-09 11:32 ` Reviczky, Adam
2011-05-09 11:52 ` Hans Hagen
2011-05-09 12:53 ` Reviczky, Adam
2011-05-09 13:01 ` Hans Hagen
2011-05-09 15:12 ` Hans Hagen
2011-05-09 15:28 ` Reviczky, Adam
2011-05-09 16:48 ` Reviczky, Adam
2011-05-09 16:55 ` Wolfgang Schuster
2011-05-07 0:57 Reviczky, Adam
2011-05-07 10:24 ` Hans Hagen
2011-05-09 2:13 ` Reviczky, Adam
2011-05-06 13:39 Aditya Mahajan
2011-05-06 14:07 ` Hans Hagen
2011-05-06 14:45 ` Aditya Mahajan
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).