Description: Libre Office Writer does not support pasting test coming from AI chatbots containing LateX formulas. No, using addon TexMaths is NOT a solution. Try imagine pasting many questions rich of formulas from a conversation with a AI chatbot and save them into an ODF text document (*.odt) and you will understand picking up TexMaths for each formula is NOT a solution. LibreOffice writer needs to support pasting directly lateX rich content if it is to compete seriously with the incumbent commercial solution.. M$ Word supports it, tried at work. Even Thunderbird email client supports it, albeit with some minor problems Just try running the prompt provided below and paste the response into LibreOffice Writer Steps to Reproduce: 1.visit https://chat.mistral.ai/chat for example 2.Paste the following prompt (question to AI) Hi, can you show the Faraday formula to calculate the hydrogen generated (in liters /second) by an electrolysis reaction ? We know as variables the current, the molar volume (22.4 liters/mol, the molar fraction of hydrogen (equal to 2, see stoichiometry of water electrolysis reaction), Faraday Constant (96485 Coulomb/mol). 3.Select the text in the answer provided by the AI chatbot and paste it into LibreOffice Writer, then in Thunderbird new email. If you have it installed, try pasting even into M$ Word. See yourself the results. Actual Results: LibreOffice Writer document contains garbled LateX formulas, whereas Thunderbird email client or M$ Word capture the content which can be saved and stored with formulas looking perfect. Expected Results: It is desirable to obtain the same result as M$ Word: latex formulas perfectly rendered so the file can be saved (with a simple copy + paste operation) and consulted at a later time. Reproducible: Always User Profile Reset: Yes Additional Info: Try looking at the way Thunderbird mail client does it and try to copy the code/functionality into LibreOffice.
Created attachment 203876 [details] screenshots illustrating the problem
Comment on attachment 203876 [details] screenshots illustrating the problem zipped screenshots
+1
There are several reports and duplicates about using LaTeX (TeX) in the Math module, e.g. bug 119449. So this report should focus of import of text with embedded LaTeX to Writer. I support this feature request.
Created attachment 205138 [details] Firefox window with the AI chat I want to save into a LibreOffice Writer Mistral LeChat Firefox window with the AI chat I want to save into a LibreOffice Writer file
Created attachment 205139 [details] reference copy paste into M$ Word 2021 I provide for reference the result of copy paste the AI chat into M$ Word 2021
Created attachment 205140 [details] What LibreOffice Writer looks like instead Screenshot of copy pasting the AI chat containing LaTex formulas into LibreOffice Writer (formulas are garbled - see the correct expected way to handle it in the previous attachments M$ Word 2021)