The command make4ht -uxf odt File.tex runs incorrectly
Posted: Sat Dec 17, 2022 10:32 pm
When I issue the command make4ht -uxf odt File.tex, the \vec directive of tex is mapped into an arrow followed by the variable name rather than putting the arrow over-top of the variable name. This is a huge mistake. Vectors are represented in LibreOffice writer using a sort of hypertext markup language - not as a separate font or anything. Is there something I need to tell the process to teach it how to do the conversion correctly, or is it that I need some macro post-process which I don't really want.
The system of equation-representing in LO Writer does not make it easy to edit the .odt file. I want the vectors to be displayed properly.
This is all with the pdf file coming out fine, no problems with it. Can we fix this bug in the document converter? Is someone able to do that? I need to be able to convert my .tex scientific files into .odt format, a seemingly trivial task.
By the way, I can handedit the "rightarrow" in the process into a vec and get the vector to display but the arrow is too tiny. So if writing a macro, how could it get a nicer-looking arrow.
I can do that:
{ rightarrow i} vec i (brackets aren't needed)
When I put overrightarrow in, it maps that to an arrow also. So this seems like a bug. It needs to be fixed, so I'm now classifying it as a bug. The system of conversion should NOT look at the \vec directive or the \overrightarrow directive and do anything different than draw an overarrow or a vector.
Perhaps this will take some reading of the source code for Libre Office Writer, I don't know maybe the OLE app is a bit confusing for the conversion process until it's taught how to do it better.
The system of equation-representing in LO Writer does not make it easy to edit the .odt file. I want the vectors to be displayed properly.
This is all with the pdf file coming out fine, no problems with it. Can we fix this bug in the document converter? Is someone able to do that? I need to be able to convert my .tex scientific files into .odt format, a seemingly trivial task.
By the way, I can handedit the "rightarrow" in the process into a vec and get the vector to display but the arrow is too tiny. So if writing a macro, how could it get a nicer-looking arrow.
I can do that:
{ rightarrow i} vec i (brackets aren't needed)
When I put overrightarrow in, it maps that to an arrow also. So this seems like a bug. It needs to be fixed, so I'm now classifying it as a bug. The system of conversion should NOT look at the \vec directive or the \overrightarrow directive and do anything different than draw an overarrow or a vector.
Perhaps this will take some reading of the source code for Libre Office Writer, I don't know maybe the OLE app is a bit confusing for the conversion process until it's taught how to do it better.