Coder Social home page Coder Social logo

mat101's Issues

How to restrict the mbx script to a subtree

If you add another flag -r to your mbx command, you can restrict so that you don't have to recompile all the images. Say you just worked on

<image xml:id="my-cool-image">
    <latex-image-code>
        ...
    </latex-image-code>
</image>

and you want to see how it looks in the SVG. Do this:

/path/to/mbx -vv -c latex-image -f svg -d images -r my-cool-image /path/to/index.mbx

You can use @xml:id of a chapter, section, etc., to just process the images in that subdivision.

How to get my updated mbx script before Rob pulls it

I was going to write a bunch of complicated git instructions, but do this instead:

Visit the raw version of my revision of the mbx script and copy the entire thing. Replace your file

/c/GitHubFiles/mathbook/user/mbx

with the text you just copied (replace the whole thing). You might want to back up your copy first:

cp /c/GitHubFiles/mathbook/user/mbx /c/GitHubFiles/mathbook/user/mbx.bak

Then try to build the images and let me know what happens! If everything seems to work nicely, including the cropping and the images are not blurry, then you should close the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.