apachecn / apachecn/opencv-doc-zh

在线文档公式出错

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
585
Forks
143
PR merge metrics
No merged PRs in 30d

Description

首先文档里面很多的公式都是前面的人打出来的公式截图, 例如[3.2图像操作](https://opencv.apachecn.org/#/docs/4.0.0/3.2-tutorial_py_image_arithmetics) 公式都是截图出来的,

后续章节有些使用的是在线的公式编辑系统然后添加的链接,

因为较多公式, 所以使用的是 Markdown 自带的公式功能, 并在 [index.html](https://github.com/apachecn/opencv-doc-zh/blob/master/index.html) 中添加了 mathjax 的在线渲染功能,
```html


```
---
问题发现
在 [opencv harris](https://opencv.apachecn.org/#/docs/4.0.0/5.2-tutorial_py_harris) 角点检测的界面, 通过链接点击进去 文档的 能看到公式显示

![image](https://user-images.githubusercontent.com/12789460/67456525-a6ac0f80-f663-11e9-9371-77dbed336c13.png)

但是 对于左侧导航栏 点击目录的时候 进行章节查看的时候, 似乎只加载了当前页面,没有进行页面的渲染, 公式无法正常显示
![image](https://user-images.githubusercontent.com/12789460/67456551-bdeafd00-f663-11e9-8ad9-a3774c3736c1.png)

这里的公式不能正常显示, 出现了 , 必须要进行**页面刷新才能显示**,

求解决

Contributor guide

Open the contributing guide

Research direction

Start with index.html and reproduce the issue on the opencv harris page by opening it directly and then through the left navigation. Check how the MathJax script is loaded during navigation, and verify that formulas render without a full page refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.