使用 cshlpcmp 时 文件转化错误:
Section level="0"> tags may only contain <p style="comment"> and <section level="1"> tags.
Currently:- <p>Microsoft Word 10.0.2627;</p>
搞了一天明白了问题所在,是Microsoft Word 的问题 不在word 下写help,用文本编辑,不过太麻烦 晚上到 forum.newlc.com论坛去 找到一个相同的问题: 如下解决方法方法差不多
|
Author | Topic: Help in Using CS Help in Symbian 6.0 SDK (Read 442 times) |
| |||||||||||
| |||||||||||
到诺机亚网站 找了相关资料 Technical_Note_Symbian_OS_Known_Issues_In_Creating_CSHelp_v1_0_en
看到这么一段Known Issues
Creating the Rich Text Source File
A Rich Text Format (.rtf) file must be used for the source text of the CS Help file. Unfortunately, there is a problem when using certain versions of Microsoft Word to edit the source file. Word adds a tag that the CS Help compiler rejects and returns an error message. An example is shown in Figure 1.
Symbian OS: Known Issues In Creating Context-Sensitive Help 2 (4)
Technical Note Symbian OS: Known Issues In Creating Context-Sensitive Help
<Section level="0"> tags may only contain <p style="comment">
and <section level="1"> tags.
Currently:- <p>Microsoft Word 10.0.6612;</p>
Critical Error at C:/Symbian/7.0s/Series60_v20/epoc32/tools/cshlpcmp/perl/csptml
fl.pm line 487
Figure 1: Compilation error returned when using some versions of Microsoft Word
To solve this problem, an editor, such as Notepad, can be used to remove the offending tag. After opening the .rtf file in Notepad, a search for “Microsoft” should locate the superfluous text. An example of the tag is highlighted in Figure 2 — all of the highlighted text should be deleted.

Author 

Logged
1487



被折叠的 条评论
为什么被折叠?



