Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter units in part details not LaTeX #856

Open
Volkerti opened this issue Feb 3, 2025 · 0 comments
Open

Parameter units in part details not LaTeX #856

Volkerti opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Volkerti
Copy link

Volkerti commented Feb 3, 2025

Describe the bug
When looking at Part details, the parameter units are not shown in KaTeX / LaTeX formatting.

To Reproduce

  1. Create a part or edit an existing part parameter. For a resistor a common parameter is resistance in Ohms, the Greek Omega symbol.
  2. as unit enter "\Omega", as per KaTeX documentation in Tips&Tricks: https://katex.org/docs/supported.html
  3. save the changes and return to normal part view mode
  4. the unit for this parameter in column 'Value' is shown as '\Omega', not nicely in italics Serife font greek symbol.
  5. the 'Parameter' column shows it correctly with subscripts, etc.

Expected behavior
The screen should display the special character Omega instead of '\Omega'.

Screenshots
Image

Image

Server Side

  • Part-DB Version: Part-DB 1.15.1
  • PHP Version: PHP 8.3.15
  • Database Server: 10.11.6-MariaDB

Additional context
Part-DB is running in a docker container on a Synology Diskstation.

@Volkerti Volkerti added the bug Something isn't working label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant