0.103.0 • Published 4 days ago

mathlive-tera v0.103.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 days ago

This is project forked from mathlive project

What is change in this repo?

  1. Ability to make macro like a digit. It can replace by placeholder #@
  2. Fix bug: Frac line not expand to full width.
  • Comment the line fracLine.width = Math.max(numerBox.width, denomBox.width); in genfrac.ts file
  • Comment the line this.width = rows.reduce((acc, row) => Math.max(acc, row.width), 0) in v-box.ts file
  1. Remove soundsDirectory and fontsDirectory and Plonk sounds
  2. Now marcos function can define a mapping value for arguments. It use to replace value of input args to new value to display in view.\ Example:\
    mf.current!.macros = {
                ...mf.current!.macros,
                conversion: {
                    args: 1,
                    def: '\\mathbf{#1}',
                    isImplicitArg: true,
                    argsMapping: {
                       value: 'newValueToDisplay'  
                   }
                },
            };
  3. Change scroll into caret behavior to "smooth". executeCommand "move" type now can auto scroll into caret.
  4. Add scroll commands. using executeCommand(['scroll', distance]) or executeCommand(['scrollTo', {left: 10, behavior: 'smooth'}])
  5. Define more default macros for support Calce
  6. Default mathfield focus function will run with preventFocus = true Changed in mathfield-private.ts
focus(options: FocusOptions | undefined = {preventScroll: true})
  1. Add scrollIntoCaret option in InsertOptions. This make sure the caret is always visible in input view npm
  1. Add custom document event mathlive-update-separator to notify that MathfieldElement global separator changed.

    Example:

    document.addEventListener("mathlive-update-separator", (event) => {
      // handler
    })
  1. Ignore import warming in nextjs project

    /** @type {import('next').NextConfig} */
    const nextConfig = {
      webpack: config => {
      config.ignoreWarnings = [
      { module: /src\/app\/component\/MathLiveComponent\.tsx/ },
      ];
      
          return config;
      }
    };
    
    export default nextConfig;
0.103.0

4 days ago

0.102.1

8 days ago

0.102.0

12 days ago

0.101.0

16 days ago

0.100.0

18 days ago

0.100.1

18 days ago

0.99.9

23 days ago

0.99.11

23 days ago

0.99.12

22 days ago

0.99.10

23 days ago

0.99.8

25 days ago

0.99.5

1 month ago

0.99.6

1 month ago

0.99.7

1 month ago

0.99.4

2 months ago

0.99.3

2 months ago

0.99.0

2 months ago

0.99.1

2 months ago

0.99.2

2 months ago

0.98.0

2 months ago

0.97.4

2 months ago

0.97.5

2 months ago

0.97.2

3 months ago

0.97.3

3 months ago

0.97.0

3 months ago

0.97.1

3 months ago

0.96.10

4 months ago

0.96.8

4 months ago

0.96.9

4 months ago

0.96.7

5 months ago

0.96.5

5 months ago

0.96.6

5 months ago

0.96.3

5 months ago

0.96.4

5 months ago

0.96.1

5 months ago

0.96.2

5 months ago

0.96.0

6 months ago

0.95.9

6 months ago

0.95.8

6 months ago

0.95.7

6 months ago

0.95.6

6 months ago

0.95.5

6 months ago