Skip to content

Add cleanup action: "Make LaTeX ready: Escape $" #8673

@ThiloteE

Description

@ThiloteE

Problem:

  1. Want to prepare entries to be used with LaTeX
  2. Want to not start math-mode, but instead simply render $ character in my bibliography

Describe the solution you'd like

  • Add cleanup action that adds a backslash in front of $
  • Name this cleanup action: Make LaTeX ready: Escape $
  • Add to the documentation: Adds backslash to $ characters. \$ will be rendered by LaTeX as $ instead of starting math-mode. Do not use this cleanup action, if you have entries that require usage of LaTeX math-mode.

Additional context

  • Why not add this function to Make LaTeX ready: Cleanup or Make LaTeX ready: Unicode to LaTeX? Both allow the usage of math-mode, which is fine. This seems to be a zero-sum game and there is no heuristic that can find out if the user wants to use math-mode or simply render the $.

Related to #8490 (comment) and #8650

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions