Retain Numbering Labels of Math Equations, Subscript and Superscript Text during Word DOC to PDF Conversion using C# .NET

There were a few problems with version v20.1.0 of Words we discovered and could not find an explanation for the errors.

We encountered multiple instances of the follow types of errors:

  1. Mismatched numbering of labels.
  2. Super and subscripts not converted properly to the PDF and text running together around sup/subscripts.
  3. Layout problems with 2-column formatted papers with overlapping text or text being cut off

2020-05-27_15-51-19.png (71.8 KB)

I have sample word docs that allow you to reproduce the problems, in the attached zip. 4432547.zip (7.1 MB)

@larbster,

We have logged the following issues in our issue tracking system.

  • WORDSNET-20521: Mismatched numbering of labels in PDF
  • WORDSNET-20522: Super and subscripts not converted properly to the PDF

We will further look into the details of these issues and will keep you updated on the status. We apologize for your inconvenience.

After an initial test with the licensed latest (20.5) version of Aspose.Words for .NET, we were unable to reproduce this issue on our end. Please see the output PDF document generated on our end by using the following simple C# code:

C# Code:

Document doc = new Document("E:\\Temp\\275817.docx");
doc.Save("E:\\Temp\\20.5-275817.pdf");

So, we suggest you please upgrade to the latest version. Hope, this helps

Thanks so very much for looking at this. On the 3rd issue, we installed the latest version of Words and can confirm the output is the same as yours. The good news is that, as you say, the overlapping text is fixed in 20.5. The fix did create a new issue though - the math in the right column on Pg. 4, and the following equations 5, 17, 21-23, 27 and 29-30 are all now cut off after the first line of the equation. These are all equations that extend over one line or wrap in some way. Thanks again.
Andy

@larbster,

To address this new problem, we have logged the following issue in our issue tracking system.

  • WORDSNET-20555: Math Type 6.0 Equation Objects Truncated in PDF

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-20521) have been fixed in this Aspose.Words for .NET 20.7 update and this Aspose.Words for Java 20.7 update.

The issues you have found earlier (filed as WORDSNET-20555) have been fixed in this Aspose.Words for .NET 20.8 update and this Aspose.Words for Java 20.8 update.