Menu

#164 Cyrillic characters in formulas are not displayed

v1.0_(example)
closed-fixed
nobody
None
5
2023-04-29
2023-03-12
Peter
No

Hello.
I use version 0.50.
I encountered the fact that the text typed in the middle of the formula is displayed only when it is typed in Latin.
Cyrillic characters are not displayed.
The construction \text{} .
For example, in the attached file is the same formula with the same text.
The first formula is Latin, the text is displayed.
The second formula is the same text, but in Cyrillic.
Only punctuation marks are displayed.
The system (I use OpenSUSE Tumbleweed) has the full texlive-scheme-full scheme installed.
In particular, the texlive-cyrillic package is also installed.
LO version 7.4.4.2, not flatpak.
In the LyX program, the \text{} construct displays the Cyrillic alphabet.
So what could be the problem?
Thank you.

1 Attachments

Discussion

  • Roland Baudin

    Roland Baudin - 2023-03-12

    Hi, you could look at the raw LaTeX code that is located in $home/.config/libreoffice/4/user/TexMaths/tmp/tmpfile.tex, to see if there is some problem (missing package? wrong preamble?) there.

     
  • Roland Baudin

    Roland Baudin - 2023-03-12

    This thread provides several solutions.
    I succeeded with your example using that one:
    1) Use LaTeX compiler in TexMaths
    2) Add these lines to the preamble:

    \usepackage[T2A]{fontenc}
    \usepackage[utf8]{inputenc}
    \usepackage[russian,english]{babel}
    
     
    👍
    1
    • Peter

      Peter - 2023-03-12

      Oh, thank you very much. It works. The question is closed.
      P.S.
      My Cyrillic is Ukrainian, not russian.
      Technically, of course, it doesn't affect anything, but...

       

      Last edit: Peter 2023-03-12
      • Roland Baudin

        Roland Baudin - 2023-03-12

        I'm glad to help a Ukrainian person!

         
        👍
        1
  • Roland Baudin

    Roland Baudin - 2023-04-29
    • status: open --> closed-fixed
     
  • Roland Baudin

    Roland Baudin - 2023-04-29

    Problem solved, so I close the bug.

     
    🎉
    1

Log in to post a comment.