Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
LatexToCalc 预览

LatexToCalc 作者: Jeemi

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

0(0 条评价)0(0 条评价)
3 个用户3 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
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!
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 获取剪贴板数据
  • 输入数据到剪贴板
  • 访问您在所有网站的数据

可选权限:

  • 访问您在所有网站的数据

根据开发者所述,必要的数据收集:

  • 网站内容
详细了解
更多信息
附加组件链接
  • 复制附加组件 ID
版本
2.0.1
大小
108.68 KB
上次更新
2 个月前 (2026年9月30日)
相关分类
  • 其他
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

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

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。