0.111.1 • Published 8 months ago

mathlive-tera v0.111.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months 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.111.1

8 months ago

0.110.0

9 months ago

0.111.0

9 months ago

0.109.2

12 months ago

0.107.4

1 year ago

0.107.5

1 year ago

0.106.1

1 year ago

0.108.0

12 months ago

0.104.0

1 year ago

0.106.0

1 year ago

0.107.0

1 year ago

0.107.1

1 year ago

0.109.0

12 months ago

0.107.2

1 year ago

0.109.1

12 months ago

0.107.3

1 year ago

0.105.0

1 year ago

0.103.0

1 year ago

0.102.1

1 year ago

0.102.0

1 year ago

0.101.0

1 year ago

0.100.0

1 year ago

0.100.1

1 year ago

0.99.9

1 year ago

0.99.11

1 year ago

0.99.12

1 year ago

0.99.10

1 year ago

0.99.8

1 year ago

0.99.5

1 year ago

0.99.6

1 year ago

0.99.7

1 year ago

0.99.4

1 year ago

0.99.3

1 year ago

0.99.0

1 year ago

0.99.1

1 year ago

0.99.2

1 year ago

0.98.0

1 year ago

0.97.4

1 year ago

0.97.5

1 year ago

0.97.2

1 year ago

0.97.3

1 year ago

0.97.0

1 year ago

0.97.1

1 year ago

0.96.10

1 year ago

0.96.8

2 years ago

0.96.9

1 year ago

0.96.7

2 years ago

0.96.5

2 years ago

0.96.6

2 years ago

0.96.3

2 years ago

0.96.4

2 years ago

0.96.1

2 years ago

0.96.2

2 years ago

0.96.0

2 years ago

0.95.9

2 years ago

0.95.8

2 years ago

0.95.7

2 years ago

0.95.6

2 years ago

0.95.5

2 years ago