Skip to main content

{Empty title}

2 replies [Last post]
Anonymous

This is from a WWP Knowledgebase article:
Purpose:
To enable users to include images in a Note type style such as Note,
Caution, Warning, or Tip.
Background

You can use the Macro tab in Publisher to define images that will appear
in Note type paragraph styles, such as Caution, Note, Warning, or Tip.
To do this, duplicate a base style such as body, then insert an HTML
tag in the Macro subtab of the new custom Paragraph style.

The following shows example code for the Macro subtab. It places the
image and text in a two-celled HTML table:

$BP70ParaMacroBegin;$DATA;$BP70ParaMacroEnd;

In JH, the image is not shown and there are extra ">" thrown in right
before the (broken) picture and after the table.
How would one modify this so it works properly in JavaHelp?

Israel Dalven
Documentation
CellGlide Ltd.
israeld@cellglide.com
tel. 09 8858580
cel. 055 290587

CellGlide is the leading provider of Telco-grade mobile traffic shaping
solutions that enable operators to deliver predictable, reliable, and
billable data services over mobile data networks. Using the CellGlide
GPRS Mobile Traffic Shaper, operators reap immediate ROI benefits by
employing service differentiation, mobile SLAs, rich media streaming,
and other 3G-like services using available 2.5 network infrastructure.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Paul Fussell

Israel,

The example doesn't use the standard HTML closing bracket for the


and
tags. Try substituting a simple '>' for '/>' in these tags and see if
that works. For example:


$BP70ParaMacroBegin;$DATA;$BP70ParaMacroEnd;

--Paul

At 04:27 AM 2/10/2004, Israel Dalven wrote:
>This is from a WWP Knowledgebase article:
>Purpose:
>To enable users to include images in a Note type style such as Note,
>Caution, Warning, or Tip.
>Background
>
>You can use the Macro tab in Publisher to define images that will appear
>in Note type paragraph styles, such as Caution, Note, Warning, or Tip.
>To do this, duplicate a base style such as body, then insert an HTML
> tag in the Macro subtab of the new custom Paragraph style.
>
>The following shows example code for the Macro subtab. It places the
>image and text in a two-celled HTML table:
>


>
>
>

>

>

>

>
>
> $BP70ParaMacroBegin;$DATA;$BP70ParaMacroEnd;
>

>


>
>In JH, the image is not shown and there are extra ">" thrown in right
>before the (broken) picture and after the table.
>How would one modify this so it works properly in JavaHelp?
>
>Israel Dalven
>Documentation
>CellGlide Ltd.
>israeld@cellglide.com
>tel. 09 8858580
>cel. 055 290587

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

David Knopf

Israel Dalven wrote:

>This is from a WWP Knowledgebase article:
>Purpose:
>To enable users to include images in a Note type style such as Note,
>Caution, Warning, or Tip.
>Background
>
>You can use the Macro tab in Publisher to define images that will appear
>in Note type paragraph styles, such as Caution, Note, Warning, or Tip.
>To do this, duplicate a base style such as body, then insert an HTML
> tag in the Macro subtab of the new custom Paragraph style.
>
>The following shows example code for the Macro subtab. It places the
>image and text in a two-celled HTML table:
>


>
>
>

>

>

>

>
>
> $BP70ParaMacroBegin;$DATA;$BP70ParaMacroEnd;
>

>


>
>In JH, the image is not shown and there are extra ">" thrown in right
>before the (broken) picture and after the table.
>How would one modify this so it works properly in JavaHelp?
>
>

When posting questions, please remember to post which version of
WebWorks, JavaHelp, and Word/FrameMaker you are using, etc.

The above code is designed for WebWorks Publisher 7 or WordHelp 1.0.

The most likely explanation for the missing image is that you did not
place the image file in your Support/images directory.

The most likely cause for the extraneous > is syntax error in the macro
itself, perhaps introduced when copying/pasting or typing the macro syntax.

Regards,

--

*David Knopf ~ Knopf Online ~ San Francisco*
mailto:david@knopf.com ~ http://www.knopf.com

Consulting & Training for Technical Communicators
RoboHelp ~ FrameMaker ~ WebWorks ~ Structured Authoring ~ XML
WebWorks Publisher Certified ~ Adobe Certified Expert: FrameMaker
Member, JavaHelp 2.0 Expert Group
Moderator, HATT, wwp-users & Techshoret

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.