Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Support postprocessing to bundle FirefoxOS Web app #510

fred-wang opened this Issue · 0 comments

2 participants


I've recently been using LaTeXML and bash scripts to generate (packaged) FirefoxOS Web apps. Such apps are essentially:

They can be installed on FirefoxOS, Android and Desktop: (in general apps are available from

So I believe that should be quite easy to use the work done for EPUB to support FirefoxOS Web apps, and that would be helpful for people willing to publish some apps in the "books" category of the FirefoxOS marketplace. Some issues I noticed:

  • Links in LaTeXML to the main index have the form "./" (without the page name), which shows the directory content in FirefoxOS web apps (similar to what happens for local files) and is probably not what people want. A solution is to use the form "./index.hml" (or "./index.xhml") instead.

  • Web apps don't have a "back" button, so there should not be a page where the user is "blocked" (this is a requirement for the app to pass the MarketPlace review). By default, LaTeXML has good navigation links, so that's not a problem. However, it is a problem for external links (for example the "generated by LaTeXML" link or other links with the href package). A solution proposed by the reviewer is to use target="_blank" on external links, so that they will be opened in the browser.

Other optional things:

  • Would be good to be able to bundle Web fonts too (#461)

  • Have some kind of "mobile UI". FYI, here is what I use:
    @namespace "";
    /* Update LaTeXML css style to get some kind of "mobile UI" /
    body {
    margin: 0;
    background: linear-gradient(45deg, #b50, #e80);
    .ltx_page_main {
    padding: 0;
    .ltx_page_header, .ltx_page_footer {
    border: 0;
    .ltx_page_header a[rel="up"] {
    font-size: 250%;
    .ltx_page_header a[rel!="up"] {
    font-size: 0.8em;
    .ltx_page_header a {
    color: white !important;
    .ltx_page_footer a {
    color: white !important;
    .ltx_page_logo {
    display: none;
    .ltx_page_content {
    background: #ffc;
    padding: .5em;
    Links */
    a, a:visited {
    color: blue;
    a:hover {
    color: red;

  • support receipt verification for paid app (

@dginev dginev added this to the Future milestone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.