sawhney17 / logseq-pdf-export

MIT License
107 stars 6 forks source link

Render Error in underbrace Math Environment #34

Open oscarmohr opened 1 year ago

oscarmohr commented 1 year ago

Hi, thank you for this cool plugin, exactly what I needed and works very well, but I noticed an error recently.

Expected Behaviour

When writing math, the \underbrace Tex environment gets rendered wrong, expected is (as in this screenshot from logseq) that the brace is as wide as the math expression the brace is to embrace:

Expected Output

Current Behaviour

but what gets printed when printing with retained formatting is: Incorrect Output

Reproducing the issue

  1. Write a math expression containing an \underbrace as shown in the screenshot
  2. Export to pdf with the printing with retained formatting button

System information

App Version: 0.8.12 Git Revision: a1b731a Platform: Mozilla/5.0 (X11 Linux x86_64) AppleWebKit/537.36 (KHTML like Gecko) Logseq/0.8.12 Chrome/102.0.5005.167 Electron/19.1.8 Safari/537.36 Language: en-US

Plugin Version: 2.2.7