Complementos do Firefox
  • Extensões
  • Temas
    • para o Firefox
    • Dicionários e pacotes de idiomas
Iniciar sessão
Pré-visualização de LatexToCalc

LatexToCalc por Jeemi

Translate LaTeX text to calculator format. Now with MathJax to LaTeX conversion!

0 (0 revisões)0 (0 revisões)
Transferir o Firefox e obter a extensão
Transferir ficheiro

Metadados da extensão

Acerca desta extensão
LatexToCalc Chrome Extension v2.0
LatexToCalc is a powerful Chrome extension that simplifies working with mathematical formulas. It now includes two major features:
1. LaTeX to Calculator Converter - Translates LaTeX formulas into calculator-compatible syntax (TI-Nspire CX CAS or Speedcrunch)
2. MathJax to LaTeX Converter (NEW!) - Click on any MathJax equation to copy it as LaTeX

🚀 What's New in Version 2.0
• MathJax to LaTeX Support: Click on any MathJax equation on a webpage to instantly copy it as LaTeX
• Tabbed Interface: Clean, organized popup with separate tabs for each feature
• Feature Toggles: Enable or disable each feature independently
• Improved Performance: Optimized code structure with modular architecture
• Enhanced Compatibility: Better support for various math websites

📋 Features
LaTeX to Calculator Converter
• Translates LaTeX formulas to TI-Nspire or Speedcrunch syntax
• Keyboard shortcut: Ctrl + Shift + Z (customizable)
• Works with selected text, focused equations, or clipboard content
• Server-based translation for accuracy
• Customizable constants handling (Coulomb's constant, Euler's number, etc.)
MathJax to LaTeX Converter
• Click-to-copy functionality for MathJax equations
• Visual hover highlighting
• Supports both SVG and CHTML MathJax formats
• Works on any website with MathJax equations
• Special optimizations for kampus.sanomapro.fi

🎯 How to Use
LaTeX to Calculator
1. Select a LaTeX formula on any webpage, or copy it to your clipboard
2. Press Ctrl + Shift + Z (or your custom shortcut)
3. The translated formula is automatically copied to your clipboard
4. Paste it into your calculator
MathJax to LaTeX
1. Navigate to any webpage with MathJax equations
2. Hover over an equation to see the purple highlight
3. Click on the equation
4. The LaTeX code is automatically copied to your clipboard
5. You'll see a "Copied!" notification

⚙ Configuration
Calculator Settings
• TI-Nspire: Optimizes output for TI-Nspire CX CAS calculators (default)
• Speedcrunch: Formats output for Speedcrunch calculator
Constants Handling
• Constants: General toggle for mathematical constants
• k as Coulomb's constant: Treats 'k' as Coulomb's constant in equations
• e as Euler's number: Treats 'e' as Euler's number (≈2.71828)
• i as imaginary unit: Treats 'i' as the imaginary unit (√-1)
• g as gravity: Treats 'g' as the gravitational constant
Feature Toggles
• Enable/disable LaTeX to Calculator converter
• Enable/disable MathJax to LaTeX converter

🌐 Supported Websites
The extension has been tested and works perfectly with:
• math-demo.abitti.fi
• sanomapro.fi
• kampus.sanomapro.fi
• mafytaulukot.fi
• maol.otava.fi
• Any website using MathJax for equation rendering

🔧 Installation
From Chrome Web Store
1. Visit the Chrome Web Store page for LatexToCalc
2. Click Add to Chrome
3. The extension is ready to use!
From Source Code
1. Clone or download this repository
2. Open Chrome and go to chrome://extensions/
3. Enable "Developer mode" in the top-right corner
4. Click "Load unpacked" and select the LatexToCalc folder
5. The extension is now installed

⌨ Keyboard Shortcuts
• LaTeX to Calculator: Ctrl + Shift + Z (Windows/Linux) or Cmd + Shift + Z (Mac)
• To customize: Visit chrome://extensions/shortcuts

🐛 Troubleshooting
LaTeX to Calculator Issues
• Shortcut not working: Visit chrome://extensions/shortcuts to set/verify the shortcut
• Translation fails: Check your internet connection (server-based translation requires internet)
• No output: Ensure you have text selected or content in clipboard
MathJax to LaTeX Issues
• Equations not clickable: Refresh the page - the extension needs to detect MathJax elements
• No hover effect: Check if MathJax to LaTeX is enabled in settings
• Wrong output: Some complex equations may require manual adjustment

🔒 Privacy
• The extension only processes mathematical formulas
• LaTeX to Calculator sends formulas to our secure translation server
• MathJax to LaTeX works entirely locally in your browser
• No personal data is collected or stored
• All settings are saved locally in your browser

📝 Technical Details
Architecture
• Modular Design: Separate modules for each feature
• Namespace Isolation: Features don't interfere with each other
• Performance Optimized: Lazy loading and caching mechanisms
• Clean Code: Well-documented and maintainable codebase
File Structure
LatexToCalc/
├── manifest.json # Extension configuration
├── popup.html/js # Unified popup interface
├── content.js # Main content script
├── background.js # Service worker
├── config.js # Configuration constants
├── timing.js # Performance tracking
└── mathJaxToLatex/ # MathJax to LaTeX module
├── content-mjl.js # MathJax detection and conversion
├── translate.js # Core conversion logic
├── utils.js # Utility functions
├── config/ # Configuration files
└── modules/ # Conversion modules

🤝 Contributing
Contributions are welcome! Please feel free to submit issues or pull requests on our GitHub repository.

📄 License
This extension is provided as-is for educational and personal use.

👨💻 Author
Created by Otso Veisterä

📚 Version History
v2.0.1 (2025-09-23)
• Fixed: Allow typing in \cases and \matrix fields
• Added: Domain exclusion logic to disable MathJaxToLatex on specific domains
• Updated: Warmup expression, dynamic version display in popup, and settings separator
• Added: CONTRIBUTING.md with contribution guidelines
• Added: GNU GPL v3 License
• Updated: Issue templates
• Files updated: manifest.json (version bump), mathJaxToLatex/content-mjl.js, background.js, popup.html, popup.js, styles.css, mathJaxToLatex/config/settings.js, CONTRIBUTING.md, LICENSE, .github/ISSUE_TEMPLATE/
v2.0.0 (2025-09-04)
• Integrated MathJaxToLatex into the main extension
• Added tabbed interface and feature toggles
• Improved performance with modular architecture
• Refactored configuration settings and timing management
• Updated default settings to disable constants option
• Files updated: README.md, manifest.json, mathJaxToLatex/ (multiple files), popup.html, popup.js, background.js, config.js, content.js, timing.js
v1.5.0
• Initial public release
• LaTeX to Calculator conversion
• Support for TI-Nspire and Speedcrunch
• Customizable constants handling

🙏 Acknowledgments
Special thanks to all users who provided feedback and suggestions for improvements!
Avaliado em 0 por 0 avaliadores
Iniciar sessão para avaliar esta extensão
Não existem avaliações ainda

Avaliação de estrelas guardada

5
0
4
0
3
0
2
0
1
0
Ainda sem análises
Permissões e dados

Permissões necessárias:

  • Obter dados da área de transferência
  • Introduzir dados na área de transferência
  • Aceder aos seus dados para todos os sites

Permissões opcionais:

  • Aceder aos seus dados para todos os sites

Recolha de dados requerida, de acordo com o programador:

  • Conteúdo do website
Saber mais
Mais informação
Ligações do complemento
  • Copiar ID do complemento
Versão
2.0.1
Tamanho
108,68 KB
Última atualização
há 25 dias (30 de set de 2026)
Categorias relacionadas
  • Outro
Licença
Licença Pública Mozilla 2.0
Histórico de versões
  • Ver todas as versões
Adicionar à coleção
Reportar este complemento
Ir para a página inicial da Mozilla

Complementos

  • Acerca
  • Blogue de complementos do Firefox
  • Workshop de extensões
  • Central do programador
  • Políticas de programador
  • Blogue da comunidade
  • Fórum
  • Reportar um erro
  • Guia de análise

Transferir

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Compilações Mais Recentes

  • Nightly
  • Beta

Firefox para Negócios

  • Enterprise

Comunidade

  • Connect
  • Contribute
  • Developer

Seguir

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacidade
  • Cookies
  • Informação legal

Exceto onde anotado o contrário, o conteúdo neste site está licenciado sob a licença Creative Commons Atribuição-CompartilhaIgual v3.0 ou qualquer versão mais recente.