paperlib icon indicating copy to clipboard operation
paperlib copied to clipboard

[Feature Request] hope the thesis title supports simple latex formulas.

Open yym68686 opened this issue 2 months ago • 8 comments

As shown in the figure, the title of the list of papers displays the original LaTeX strings. However, the paper information bar on the right can correctly display LaTeX superscripts. image

yym68686 avatar Apr 23 '24 14:04 yym68686

see #359

it supports html. You can change this title to <sup>2</sup>

GeoffreyChen777 avatar Apr 23 '24 15:04 GeoffreyChen777

Thank you for your reply. Since LaTeX has performance issues, can we automatically replace the formatting such as superscripts and subscripts in the title with HTML format?

yym68686 avatar Apr 23 '24 15:04 yym68686

It can be easily achieved via an extension.

See https://github.com/Future-Scholars/paperlib-format-pubname-extension for some hints.

GeoffreyChen777 avatar Apr 23 '24 15:04 GeoffreyChen777

I attempted to use the configuration {"$^{": "<sup>", "}$": "</sup>"} in the plugin paperlib-format-pubname-extension, but it doesn't work and did not replace with superscripts as shown in the image:

image image

yym68686 avatar Apr 23 '24 16:04 yym68686

I mean you need to develop a new small extension. You can find some inspiration in the link I provided.

GeoffreyChen777 avatar Apr 23 '24 18:04 GeoffreyChen777

Okay, I understand. But I still hope that in the future, the original format of the paper title can be supported by default. Because I think it is a bit unsightly to only display the original LaTeX string at present.

yym68686 avatar Apr 23 '24 18:04 yym68686

I need to find a solution to solve the rendering bottleneck.

GeoffreyChen777 avatar Apr 23 '24 18:04 GeoffreyChen777

Looking forward to the rendering issue being resolved. This software is excellent!

yym68686 avatar Apr 23 '24 18:04 yym68686

implemented.

GeoffreyChen777 avatar May 08 '24 22:05 GeoffreyChen777