Proektsoftbg / Calcpad

Free and open source software for mathematical and engineering calculations.
https://calcpad.eu
MIT License
358 stars 43 forks source link

A strange docx file output bug due to ordered list #314

Open idealkindom opened 4 months ago

idealkindom commented 4 months ago

The Calcpad code is listed as follows:

"Reproduction of docx output due to ordered list 'sd '

    '
  1. test a problem

  2. '
  3. test another problem

  4. '
  5. test a serious problem

  6. '
When output a docx file,it pop up a message of error.However, the file has been created. MS word will fail to open it, while the Libre Writer can open it but with all the list lost. What's suprising is that OnlyOffice could open and display all the listed item txt, but the number of list is lost.

This problem is very easy to reproduce.

idealkindom commented 4 months ago

If the code given above is distored because I did not pasted it correctly, then here is a backup: "Reproduction of docx output due to ordered list 'sd '<ol> '<li><h4>test a problem</h4></li> '<li><h4>test another problem</h4></li> '<li><h4>test a serious problem</h4></li> '</ol>

Proektsoftbg commented 4 months ago

Hi! Thank you for reporting this. I will try it. I suppose that ordered list is just not supported by the convertor, but I will check it out. If not, it will be easy to add it.

idealkindom commented 4 months ago

It looks like OnlyOffice is most suitable to read docx output by Calcpad.So interesting.

在 2024-06-05 22:51:56,"Ned Ganchovski" @.***> 写道:

Hi! Thank you for reporting this. I will try it. I suppose that ordered list is just not supported by the convertor, but I will check it out. If not, it will be easy to add it.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>