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
Anyhow,
\setupbackend[export=yes]
\definefontsynonym [Dingbats] [name:dingbats] [features=dingbats]
\starttext
Hello world!
(\getnamedglyphdirect{Dingbats}{a79})
(\getnamedglyphdirect{Dingbats*dingbats}{a79})
(\getglyphdirect{Dingbats*dingbats}{\number2756})
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})
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:
fontsnames font database has matching configuration
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
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.
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.
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,')
+
Am 09.05.2011 um 18:48 schrieb Reviczky, Adam:
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?
Do you set a value for the xhtml key?
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
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 },
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 ...
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
-
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
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),
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.
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 ...
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]
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=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
20 matches
Mail list logo