Bug 156965 - Localized numerals for math formulas
Summary: Localized numerals for math formulas
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: ⁨خالد حسني⁩
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-28 11:55 UTC by Hossein
Modified: 2023-09-28 14:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
PDF with a localized formula using a font with localized numerals (11.79 KB, application/pdf)
2023-08-28 11:55 UTC, Hossein
Details
ODT for the localized formula (non-standard font with localized numerals) (11.79 KB, application/vnd.oasis.opendocument.text)
2023-08-28 11:58 UTC, Hossein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2023-08-28 11:55:27 UTC
Created attachment 189195 [details]
PDF with a localized formula using a font with localized numerals

Description:
In many languages, one of the features of a non-English document which contains math formulas is to use localized numbers.

For example, in Persian (Farsi) language, using such localized numerals is a norm. But unfortunately many typesetting/office applications with the ability to write and edit formulas can not provide localized numerals. Neither LibreOffice, nor MS Word has such ability. On the other hand, LaTeX can do that.

In LibreOffice and MS Word, people overcome this limitation by using special fonts that has localized numerals in place of the normal western numerals. This non-standard approach has its drawbacks.

This is a feature request to have localized numbers using standard fonts. It should be possible to enable/disable this feature from "Tools > Options". Upon enabling, localized numbers should be used according to the language of the relevant context. For example, one may expect Persian numerals in a formula that falls inside a Persian language context.
Comment 1 Hossein 2023-08-28 11:58:26 UTC
Created attachment 189196 [details]
ODT for the localized formula (non-standard font with localized numerals)

This is the ODT file for the above PDF attachment using "B Nazanin" font. Please note that it is using a non-standard font that uses localized numerals specifically created for Persian (Farsi) language in place of western numerals.
Comment 2 ⁨خالد حسني⁩ 2023-09-28 14:08:28 UTC
WIP https://gerrit.libreoffice.org/c/core/+/157375