Wolfram Workbench 2.0 中的影子消息 [英] shadow message in Wolfram Workbench 2.0

查看:29
本文介绍了Wolfram Workbench 2.0 中的影子消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为带有 WB 2.0 的包编写文档.很多时候,当我使用文档工具面板创建链接或插入单元格时,我收到以下消息:

I am writing documentation for a package with WB 2.0. Very often, when I create links or insert cells using the documentation tools palette, I get the following message:

GlobalStyleNames::shdw: Symbol StyleNames 出现在多个上下文中 {Global,System};上下文 Global 中的定义可能会被其他定义遮蔽或被其他定义遮蔽.>>

GlobalStyleNames::shdw: Symbol StyleNames appears in multiple contexts {Global,System}; definitions in context Global may shadow or be shadowed by other definitions. >>

即使在我开始新的 Workbench - Mathematica 会话后,此消息也会出现.

This message appears even after I start a new session of Workbench - Mathematica.

除此之外,其他一切似乎都正常.文档页面似乎还可以,尽管我还没有进行构建".例如,链接按预期工作.

Except for this, everything else seems to work fine. The documentation pages seem ok, although I have not yet made a "Build". Links, for ex, work as expected.

你能解释一下我收到这条消息的原因以及如何解决吗?我应该在构建阶段遇到问题吗?

Can you explain why I get this message and how to fix it? Should I expect problems at the Build stage?

我能给出的唯一提示"(可能无关紧要)是我第一次创建符号页面(根据使用消息自动创建)时,WB 不知何故感到困惑",并包含了我的 Numerical 示例包的页面从 Wolfram Workbench 网站下载.我删除了这些符号页面并删除了与此 Numerical 包相关的任何链接/连接/扩展名,从那时起,除了上述消息外,一切似乎都正常.

The only "hint" I can give (maybe irrelevant) is that the first time I created the symbol pages (automatically from the usage messages), WB got "confused" somehow and included the pages for the Numerical sample package which I downloaded from the Wolfram Workbench web site. I erased these symbol pages and eliminated any link/connection/extension relating to this Numerical package and since then everything seems ok, except for the above message.

我只是对这个问题进行了进一步的试验,结果确实如此:

I just experimented a little further with this problem and this is exactly what happens:

  • 开始 WB 2.0
  • 在包资源管理器中,双击 .nb 文件,以便 MMA 作为默认编辑器自动启动(我使用 Workbench 站点上 CardDeck 示例包中的 CardDeck.nb 文件)
  • 在 MMA 中时,打开文档工具调色板
  • 点击示例教程页面按钮(或大多数其他按钮)

砰!我收到消息:GlobalStyleNames::shdw: Symbol StyleNames 出现在多个上下文中 {Global,System};上下文 Global 中的定义可能会被其他定义遮蔽或被其他定义遮蔽.>>

Bang! I get the message: GlobalStyleNames::shdw: Symbol StyleNames appears in multiple contexts {Global,System}; definitions in context Global may shadow or be shadowed by other definitions. >>

在消息窗口中.所以这个问题似乎与我的包文件没有特别的关系,而是以某种方式链接到 DocumentationTools 调色板.还有人有这个问题吗?安装是否损坏?

in the message window. So it seems that this problem is not related specifically to my package files, but is somehow linked to the DocumentationTools palette. Does anybody else have this problem? Is it a corrupted installation?

感谢您的帮助

推荐答案

您可以尝试通过属性、笔记本属性关闭特定笔记本的自动源加载.

You could try switching off the automatic source loading for specific notebooks via Properties, Notebook Properties.

这篇关于Wolfram Workbench 2.0 中的影子消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆