Skip to content

Commit

Permalink
feat:增加高中第二册选择性必修数学A版书签
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyou committed Aug 30, 2023
1 parent e7850df commit acd7f84
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pep-ebook upgrade
- [x] 高中-第一册-选择性必修-数学B版 书签已更新完成可下载
- [x] 高中-第一册-选择性必修-数学A版 书签已更新完成可下载
- [x] 高中-第二册-选择性必修-数学B版 书签已更新完成可下载
- [x] 高中-第二册-选择性必修-数学A版 书签已更新完成可下载

- [ ] 并发请求用户选择选课url,加快生成pdf文件
- [ ] 书签的自动更新算法
Expand Down
1 change: 1 addition & 0 deletions internal/bookmark/bookmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ var Bookmark = map[string][]pdfcpu.Bookmark{
"高中/选择性必修/数学/第一册/B版": math_selective_compulsory.MathSelectiveCompulsoryFirstB,
"高中/选择性必修/数学/第一册/A版": math_selective_compulsory.MathSelectiveCompulsoryFirstA,
"高中/选择性必修/数学/第二册/B版": math_selective_compulsory.MathSelectiveCompulsorySecondB,
"高中/选择性必修/数学/第二册/A版": math_selective_compulsory.MathSelectiveCompulsorySecondA,
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,33 @@ var MathSelectiveCompulsorySecondB = []pdfcpu.Bookmark{
{PageFrom: 138, Title: "后记", Bold: true, Italic: true},
{PageFrom: 140, Title: "尾部封面", Bold: true, Italic: true},
}

var MathSelectiveCompulsorySecondA = []pdfcpu.Bookmark{
{PageFrom: 1, Title: "封面"},
{PageFrom: 5, Title: "本章引导"},
{PageFrom: 6, Title: "目录"},
{PageFrom: 7, Title: "第四章: 数列", Children: []pdfcpu.Bookmark{
{PageFrom: 8, Title: "4.1 数列的概念"},
{PageFrom: 16, Title: "阅读与思考 斐波拉数列"},
{PageFrom: 18, Title: "4.2 等差数列"},
{PageFrom: 33, Title: "4.3 等比数列"},
{PageFrom: 48, Title: "阅读与思考 中国古代数学家求数列和的方法"},
{PageFrom: 50, Title: "4.4 数学归纳法"},
{PageFrom: 59, Title: "本章小结4"},
{PageFrom: 60, Title: "复习参考题4"},
}},
{PageFrom: 64, Title: "第五章: 一元函数的导数及其应用", Children: []pdfcpu.Bookmark{
{PageFrom: 65, Title: "5.1 导数的概念及其意义"},
{PageFrom: 78, Title: "5.2 导数的运算"},
{PageFrom: 88, Title: "数学探究活动: 牛顿法---用导数方法求方程的近似解"},
{PageFrom: 90, Title: "5.3 导数在研究函数中的应用"},
{PageFrom: 106, Title: "信息技术应用 图形技术与函数性质"},
{PageFrom: 107, Title: "文献阅读与数学写作 微积分的创立与发展"},
{PageFrom: 108, Title: "本章小结5"},
{PageFrom: 109, Title: "复习参考题5"},
}},

{PageFrom: 111, Title: "部分中英文词汇索引", Bold: true, Italic: true},
{PageFrom: 112, Title: "后记", Bold: true, Italic: true},
{PageFrom: 114, Title: "尾部封面", Bold: true, Italic: true},
}
5 changes: 5 additions & 0 deletions internal/classification/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ var Paths = map[string][]UrlPath{
Pages: 140,
Remark: "B版",
},
{
QueryUrl: "https://book.pep.com.cn/1421001128201/files/mobile/%d.jpg?%d",
Pages: 114,
Remark: "A版",
},
},
"高中-必修-数学-第二册": {
{
Expand Down
4 changes: 2 additions & 2 deletions internal/constant/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const Logo = `
| |_) | | __/ | |_) | | __/ | |_) |
| .__/ \___| | .__/ \___| |_.__/
| | | |
|_| |_| Version:v1.0.9
|_| |_| Version:v1.0.10
`

const (
Version = "v1.0.9"
Version = "v1.0.10"
DefaultConfigPath = "./config/pep-ebook.yaml"
GithubRepo = "github.com/maogou/pep-ebook@latest"
GO111MODULE = "on"
Expand Down

0 comments on commit acd7f84

Please sign in to comment.