ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] epub-mkiv-demo.tex and Calibre 's epub reader
@ 2025-01-13 20:59 garulfo
  2025-01-16 15:33 ` [NTG-context] " Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: garulfo @ 2025-01-13 20:59 UTC (permalink / raw)
  To: ntg-context

Hi all,

With Debian, I created a /bin/mudraw
$ cat /bin/mudraw
#!/bin/sh
mutool draw "$@"

trying to compile the demo file:

context epub-mkiv-demo.tex
mtxrun --script epub --images epub-mkiv-demo.tex
mtxrun --script epub --make   epub-mkiv-demo

the demo stopped just after by trying to open the file with Calibre 's epub reader :

calibre, version 7.24.0
ERREUR : Error in message handler: Erreur inconnue

Traceback (most recent call last):
    at IframeClient.handle_message (userscript:viewer.js:17726:21)
    at IframeBoss.display (userscript:viewer.js:29200:13)
    at unserialize_html (userscript:viewer.js:18491:33)
TypeError: Cannot read properties of null (reading 'tag_map')


Any clue ?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: epub-mkiv-demo.tex and Calibre 's epub reader
  2025-01-13 20:59 [NTG-context] epub-mkiv-demo.tex and Calibre 's epub reader garulfo
@ 2025-01-16 15:33 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2025-01-16 15:33 UTC (permalink / raw)
  To: ntg-context

On 1/13/2025 9:59 PM, garulfo@azules.eu wrote:
> Hi all,
> 
> With Debian, I created a /bin/mudraw
> $ cat /bin/mudraw
> #!/bin/sh
> mutool draw "$@"
> 
> trying to compile the demo file:
> 
> context epub-mkiv-demo.tex
> mtxrun --script epub --images epub-mkiv-demo.tex
> mtxrun --script epub --make   epub-mkiv-demo
> 
> the demo stopped just after by trying to open the file with Calibre 's epub reader :
> 
> calibre, version 7.24.0
> ERREUR : Error in message handler: Erreur inconnue
> 
> Traceback (most recent call last):
>      at IframeClient.handle_message (userscript:viewer.js:17726:21)
>      at IframeBoss.display (userscript:viewer.js:29200:13)
>      at unserialize_html (userscript:viewer.js:18491:33)
> TypeError: Cannot read properties of null (reading 'tag_map')
> 
> 
> Any clue ?

not really ... at some point we need to lok into what the latest epub 
specifications are because last time i looked at it it was a bit of a 
inconsistent mess (verdor/application specific and such)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2025-01-16 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-13 20:59 [NTG-context] epub-mkiv-demo.tex and Calibre 's epub reader garulfo
2025-01-16 15:33 ` [NTG-context] " 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).