# 桌面版词典可以考虑用 chm 格式

**URL:** <https://forum.freemdict.com/t/topic/15917>\
**Category:** 软件经验交流展望\
**Created:** [2022 年10 月 3 日 04:16 UTC](https://forum.freemdict.com/t/topic/15917 "2022-10-03T04:16:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 04:16 UTC](https://forum.freemdict.com/t/topic/15917/1 "2022-10-03T04:16:25Z")

</div>

以前的编程手册都是用.chm格式，感觉在PC上比电子词典软件好用多了，“索引”相当于字典，“搜索”就是全文检索，还可以做书签和多层目录结构，所以我觉得与其花时间费劲改善GD上，不如写个脚本把mdx直接转换成 .chm，啥软件都不需要点开就能查，直接unzip就可以改CSS。当然这个格式有些过时，太花哨的一些JS特性可能不支持。具体怎么做 chm 我也只知道个大概，无急迫需要所以近期没有研究计划。纯技术建议，不要骂我想白嫖。

---

<div class="post-metadata">

作者： ![Vim](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/vim/32/8408_2.png) [@Vim](https://forum.freemdict.com/u/Vim)\
发布日期： [2022 年10 月 3 日 04:52 UTC](https://forum.freemdict.com/t/topic/15917/2 "2022-10-03T04:52:48Z")

</div>

被时代抛弃的东西就不要再去捡了。

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 04:58 UTC](https://forum.freemdict.com/t/topic/15917/3 "2022-10-03T04:58:13Z")

</div>

要说年纪那mdx 也是有些年纪了，而且对付象 mdx这样简单的数据结构，.chm 绰绰有余

要说完全被抛弃也不至于，现在python手册还提供 .chm 格式下载呢

---

<div class="post-metadata">

作者： ![zambast](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/z/67e7ee/32.png) [@zambast](https://forum.freemdict.com/u/zambast)\
发布日期： [2022 年10 月 3 日 05:38 UTC](https://forum.freemdict.com/t/topic/15917/5 "2022-10-03T05:38:20Z")

</div>

要说mdx这格式也挺烂的，但还是甩chm几条街  
再说所谓的啥软件都不需要那也是因为windows集成了chm阅读器。  
除了程序员因为惯性还在用这个，以及一些历史悠久的软件依照惯性还用chm做帮助文档，谁还用这个。哪怕是程序员，现在也喜欢用在线文档了。

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 05:50 UTC](https://forum.freemdict.com/t/topic/15917/6 "2022-10-03T05:50:57Z")

</div>

mdx那么简单，不存在甩谁的问题吧

windows集成了chm阅读器，你用和不用它都在那。

在线版对手册制作者来说易更新且多一事不如少一事，所以很多不再提供chm，并不是chm本身怎么差

---

<div class="post-metadata">

作者： ![atauzki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/atauzki/32/1365_2.png) [@atauzki](https://forum.freemdict.com/u/atauzki)\
发布日期： [2022 年10 月 3 日 05:53 UTC](https://forum.freemdict.com/t/topic/15917/7 "2022-10-03T05:53:16Z")

</div>

实用性=0  
照你这么讲，我下一个mdict也差不多

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 05:54 UTC](https://forum.freemdict.com/t/topic/15917/8 "2022-10-03T05:54:48Z")

</div>

不需要额外软件，可全文检索，可加书签，可做多层目录结构。这不能说实用性=0吧

---

<div class="post-metadata">

作者： ![atauzki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/atauzki/32/1365_2.png) [@atauzki](https://forum.freemdict.com/u/atauzki)\
发布日期： [2022 年10 月 3 日 05:56 UTC](https://forum.freemdict.com/t/topic/15917/9 "2022-10-03T05:56:04Z")

</div>

全文检索是要自己做的，书签谁还没有啊，多层目录技术文档还很有用，但在词典里没用

---

<div class="post-metadata">

作者： ![Vim](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/vim/32/8408_2.png) [@Vim](https://forum.freemdict.com/u/Vim)\
发布日期： [2022 年10 月 3 日 05:56 UTC](https://forum.freemdict.com/t/topic/15917/10 "2022-10-03T05:56:54Z")

</div>

> [@surfactant](#):
>
> 不需要额外软件

win 10及以上版本，如果不安装额外的软件，是无法直接查看chm文档的，打开是空白。

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 05:57 UTC](https://forum.freemdict.com/t/topic/15917/11 "2022-10-03T05:57:29Z")

</div>

全文检索不需要自己做，直接检索所有的html啊。而且它的字头是用的每个html中定义的关键字，还是不错。多层目录对有些可看可查的材料，还是有用的，字典软件就不行了要在每个页面上加一系列跳转这不太好。

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 05:58 UTC](https://forum.freemdict.com/t/topic/15917/12 "2022-10-03T05:58:47Z")

</div>

我的win10好像没装过额外的软件啊？不过有些很老的chm是好像打开有点问题，新的在用的都好的

---

<div class="post-metadata">

作者： ![Vim](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/vim/32/8408_2.png) [@Vim](https://forum.freemdict.com/u/Vim)\
发布日期： [2022 年10 月 3 日 06:02 UTC](https://forum.freemdict.com/t/topic/15917/13 "2022-10-03T06:02:26Z")

</div>

查阅了一下，大意是，CHM中可能会用到的一些协议存在安全漏洞，默认禁止显示，需要设置才能查阅。

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 06:03 UTC](https://forum.freemdict.com/t/topic/15917/14 "2022-10-03T06:03:02Z")

</div>

这个问题很早就存在了，似乎没有那么严重。我也不记得当初是不是搞过这个问题。

---

<div class="post-metadata">

作者： ![karx](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/karx/32/90668_2.png) [@karx](https://forum.freemdict.com/u/karx)\
发布日期： [2022 年10 月 3 日 06:13 UTC](https://forum.freemdict.com/t/topic/15917/17 "2022-10-03T06:13:23Z")

</div>

精简版，好复古的词，上次听说好像还是装盗版XP的年代

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 06:15 UTC](https://forum.freemdict.com/t/topic/15917/18 "2022-10-03T06:15:42Z")

</div>

第一次听说win10还有精简版

---

<div class="post-metadata">

作者： ![amob](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/amob/32/14630_2.png) [@amob](https://forum.freemdict.com/u/amob)\
发布日期： [2022 年10 月 3 日 06:16 UTC](https://forum.freemdict.com/t/topic/15917/19 "2022-10-03T06:16:30Z")

</div>

吻妻专注于win10和不忘初心win10就是精简版，挺后悔装精简版，功能缺了不少，只能保证基本使用  
PE系统更不用说都是精简版的

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 06:25 UTC](https://forum.freemdict.com/t/topic/15917/21 "2022-10-03T06:25:31Z")

</div>

“不忘初心win10” 名字取得有意思

---

<div class="post-metadata">

作者： ![Vim](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/vim/32/8408_2.png) [@Vim](https://forum.freemdict.com/u/Vim)\
发布日期： [2022 年10 月 3 日 06:26 UTC](https://forum.freemdict.com/t/topic/15917/22 "2022-10-03T06:26:06Z")

</div>

回到顶楼主题，问题是CHM最多只能称为电子书，而不能称为严格意义上的电子词典。电子词典的一大优势是可以联合多个词典一起查询。否则，也可以考虑纸质词典，很多方面纸质词典并不差。

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 06:27 UTC](https://forum.freemdict.com/t/topic/15917/23 "2022-10-03T06:27:51Z")

</div>

你说的不能多词典查询是个问题，是不是把几本词典的每个词条html直接扔进同一个chm里面就行了猜测问题应该不大，不过大杂烩是不太好。一本手册，成千上万个API，说是词典也不算错。

---

<div class="post-metadata">

作者： ![surfactant](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/dbc845/32.png) [@surfactant](https://forum.freemdict.com/u/surfactant)\
发布日期： [2022 年10 月 3 日 06:30 UTC](https://forum.freemdict.com/t/topic/15917/25 "2022-10-03T06:30:34Z")

</div>

只在 \<\>[https://msdn.itellyou.cn/](https://msdn.itellyou.cn/)\<\>这里下过系统和office，其它地方没敢下

[下一页](https://forum.freemdict.com/t/topic/15917.md?page=2)
