Urgent.News

What's breaking now, across thousands of outlets.

Tech

Understanding Org's LaTeX previews

The article discusses the development of a new preview system for LaTeX math in Org mode, a feature that has existed for decades but was previously considered "barely usable." The author, Tecosaur, and the writer of the article decided to rewrite the feature from the ground up, aiming to provide near-WYSIWYG feedback while retaining Emacs' text-first, extensible, and composable properties.

The new preview system is not much code, but it contains many moving pieces and interacts with various parts of Emacs. The author explains the goals and design of the library, as well as some relevant aspects of the Emacs API and tips for writing similar features. However, the article is not an exhaustive demo, user manual, or tutorial.

The article is intended for readers interested in understanding the technical details of the new LaTeX preview feature in Org mode. It covers the implementation of the code, relevant notes on Emacs' API, other Org features related to LaTeX preview generation, CLI commands associated with the process, and their output. The author also provides a 13-minute demo video for those who want a better idea of the new capabilities.

The article highlights the importance of real-time feedback when editing LaTeX snippets in Emacs, as it significantly improves the user's experience. The author notes that web LaTeX editors like Overleaf do not provide this feature out of the box, which is surprising given their target audience of novice LaTeX users. The author also mentions that org-latex-preview can technically work anywhere in Emacs and every major-mode, but it is not yet there for everyone.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at karthinks.com →

More in Tech

How to Compress a Video Online for Free: Reduce MP4 File Size

If you're not technical: use the free online tool If you're not a technical person and you're looking for a free way to make a video smaller, use my online video compressor .

  • Online video compressor tool shrinks file size without tech skills
  • FFmpeg re-encodes locally for customized compression approach
  • Duration, bitrate, and resolution impact final compressed size

Edge Cases in a Waist-to-Height Ratio Calculator: Units, Rounding, and Boundaries

Waist-to-height ratio (WHtR) looks like the easiest calculator you could write: divide one number by another. It's also a good example of how a "trivial" calculator goes wrong in production.

  • JavaScript module converts input to inches for consistency
  • EPS value accounts for floating-point inaccuracies
  • Module rounds down to 0.5-inch tape resolution

Running classic MU Online Season 6 in the browser and on mobile

If you played MU Online back around 2005, you probably remember the setup: downloading a patchy archive, running main.exe , and praying legacy DirectX drivers wouldn't crash.

  • MU Online Season 6 playable in browser and mobile via OpenMU project
  • OpenMU uses C# reimplementation and Babylon.js WebGL engine for rendering
  • Project optimizes assets, handles network bridge, and offers mobile-friendly features

More from Sunday 1 November →