Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

官网文档中的Latex符号没有正确渲染

Open lcy-seso opened this issue 8 years ago • 4 comments

PaddlePaddle 官网文档中存在 Latex 符号没有正确渲染的问题: http://www.paddlepaddle.org/docs/develop/models/nce_cost/README.html

上面文章中希腊字母omega没有正确渲染: image

同样问题也存在于 operator 文档中: http://www.paddlepaddle.org/docs/develop/documentation/zh/operators.html#permalink-160-linear_chain_crf

在上面的文档中,希腊字母 alpha 也没有被正确的渲染。 image

lcy-seso avatar Dec 19 '17 02:12 lcy-seso

@lcy-seso 可以提到paddlepaddle.org repo下,很快就会回复和修复的。

luotao1 avatar Dec 19 '17 02:12 luotao1

@lcy-seso When converting md files to html files, the md files go through pymdownx.escapeall so every char after a \ gets escaped. This process, however, removes all the \ from latex code. For example, \omega becomes omega. We will have some discussion within the team to figure out what's the best approach to resolve this issue. Thanks.

jetfuel avatar Dec 19 '17 22:12 jetfuel

@lcy-seso We just released a new www.paddlepaddle.org that will fix this issue for Models. Once Models repo updates its code, the content will get re-generated and you should see the Latex symbols in Models. Thanks

jetfuel avatar Dec 19 '17 23:12 jetfuel

Thank you for fixing this.

lcy-seso avatar Dec 20 '17 01:12 lcy-seso