mtx-epub(1)

โœจ mtx-epub โ€” ConTeXt EPUB Helpers โœจ

okay bestie, so you know how ConTeXt has a whole lil crew of helper scripts? ๐Ÿ’– this is one of them โ€” it's mtx-epub, the ConTeXt EPUB Helpers situation, and it lives in the mtx-epub(1) manpage. it's giving "i make EPUBs and i make them cute." periodt.


๐ŸŒˆ SYNOPSIS ๐ŸŒˆ

mtxrun --script epub [ OPTIONS ...  ] [ FILENAMES ]

so you run it through mtxrun, with the script named epub, and then you can throw in some OPTIONS and some FILENAMES and it does its lil thing. lowkey elegant. ๐ŸŽ€


๐Ÿ’… DESCRIPTION ๐Ÿ’…

ConTeXt EPUB Helpers.

that's it. that's the whole description. iconic brevity fr fr โ€” the manpage said it once and we're saying it once. ๐Ÿซถ


๐Ÿ”ฅ OPTIONS ๐Ÿ”ฅ

  • --make โ€” create that epub zip file, bestie. it's giving "package it up and ship it." ๐Ÿ“ฆโœจ
  • --purge โ€” remove obsolete files. the digital declutter arc we all need tbh. ๐Ÿงน
  • --rename โ€” rename images to sane names. no more image_023_final_FINAL2.png energy. ๐Ÿ˜ญ๐Ÿ’€
  • --svgmath โ€” convert mathml to svg. math but make it vector. slay. ๐Ÿงฎ๐Ÿฆ‹
  • --svgstyle โ€” use the given tex style for svg generation (and heads up: this overloads the style in the specification, so it wins, no cap). ๐Ÿ‘‘
  • --all โ€” assume: --purge --rename --svgmath (for fast testing). it's the combo meal. ๐Ÿ“๐Ÿ”ฅ
ngl --all is literally just those three flags bundled together for quick test runs โ€” nothing more, nothing less, don't go inventing extra powers for it. ๐Ÿ™ˆ

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

want more info about ConTeXt and all the tools that come with it? the manpage says go here:


and that's the whole page, bestie ๐Ÿ’œ this was version 1.10, dated 01-01-2023, and it's part of the ConTeXt EPUB Helpers lineup. go forth and make some EPUBs, you absolute main character. ๐ŸŽ€โœจ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from