Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make combinerMJlist more configurable #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Klortho
Copy link

@Klortho Klortho commented Apr 10, 2013

See also this pull request on MathJax: mathjax/MathJax#433

This change lets me use combineMJlist outside of a MathJax project directory, to create my own custom combined configuration file.

For example, I use it with the command line

$MJXDEV/combineMJlist $MJX mathjax-config-pubreader.lis .

The output lands in the current directory (".")

My ".lis" file is modified such that the first line gives the value to put in the "load complete" call at the end of the generated config file, and looks like this:

LOAD-COMPLETE-PATH: /corehtml/pmc/js/mathjax-config-pubreader.js
jax/input/MathML/config.js
jax/output/SVG/config.js
...
jax/output/SVG/autoload/mtable.js

    SVG: {
        scale: 90,
        linebreaks: {
            automatic: true,
            width: "container"
        }
    },
    showProcessingMessages: false,
    MathZoom: {
      styles: {
        "#MathJax_Zoom": {
          "background-color": "#eee",
          "position": "static",
          "overflow": "auto !important",
        },
        "#MathJax_ZoomFrame": {
          "max-width": "95%",
          "display": "block",
          "width": "99in",
          "left": "8px",
          "z-index": "1"
        }
      }
    }

@Klortho
Copy link
Author

Klortho commented Apr 10, 2013

Sorry I was a little hasty submitting this.
Please use this commit: Klortho@6be1361

See this compare view for all of the changes since when I forked: Klortho/MathJax-dev@f20e729...6be1361

@pkra
Copy link

pkra commented Mar 17, 2015

Oh dear, this never registered -- @Klortho is this still relevant?

(PS: And didn't we want to set up a chat about the zoom?)

@ghost
Copy link

ghost commented Mar 9, 2016

I'm not sure if people will understand what I write

@Klortho
Copy link
Author

Klortho commented Mar 11, 2016

My turn: oh dear, I never noticed your comment above. @pkra , if you guys are still using this tool, then yes, absolutely, this is still relevant. If not, then not. If you're moving to using a more standard packaging tool, then no.

@pkra
Copy link

pkra commented Mar 11, 2016

Funny how spam sometimes help.

Anyway.

Thanks for the follow-up, @Klortho! I suspect we'll continue to use these tools for 2.x, so we should revisit this.

ping @dpvc

GerHobbelt referenced this pull request in GerHobbelt/MathJax-dev Sep 19, 2018
switch glyphs for left and right single quotes for the typewriter font
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants