Home

WebWorks Publisher Cookbook code samples

Examples:

116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138

Troubleshooting

Example 116
<body>
<font face="Verdana,Arial,Helvetica,sans serif">
Example 117
</font>
</body>

      
Example 118
<font $UMFont;>$TABLECELL;</font>
Example 119
<font face="Arial,Helvetica,sans-serif">$TABLECELL;</font>

      

      

      
Example 120
.CellBody
{ color: #000000; font-size: 12px; font-style: normal; font-weight: normal; margin-left: 0em; margin-top: 0em; margin-bottom: 0em; text-align: left; text-indent: 0em; text-decoration: none; white-space: normal; font-family: Verdana, Arial, Helvetica}

      
Example 121
.Body
          { color: #000000;
            font-size: 12pt; font-style: normal; ... 
Example 122
@SET_ATTR(top_$AUTOTAG;,true);

      
Example 123
<a href="$IF_ATTR_EXISTS($LINKFILE;,top_$LINKTAG;,$BPLinkFile;,$BPLinkFile;#$LINKTAG;);">\

      
Example 124
...
@SET_GLOBAL(mapids, $GET_GLOBAL(mapids);  <mapID target="$BBTarget;" url="$IF_ATTR_EXISTS
($LINKFILE;,top_$LINKTAG;,$LINKFILE(html, name);,$LINKFILE(html,name);#$LINKTAG;);" /> <!-- $BPTOCFormat; -->
...

      
Example 125
...
@SET_GLOBAL(mapids,
  $GET_GLOBAL(mapids);  <mapID target="$BBTarget;" url="$IF_ATTR_EXISTS($LINKFILE;,top_$LINKTAG;, $LINKFILE(html, name);,$LINKFILE(html, name);
#$LINKTAG;);" />
);\

      
Example 126
<p $BPBlockAttributes;>
  <a name="$AUTOTAG;">
$BPNumberAndData;</a>\
</p>

      

      
Example 127
@SET_GLOBAL(keywords_current, $DATA["\\\\\\\\", "\\WWPbackslash"]["\\\\<", "\\WWPlt"]["\\\\>", "\\WWPgt"]["\\\\:", "\\WWPcolon"]["\\\\;", "\\WWPsemi"];);\
@SET_GLOBAL(keywords_current, $GET_GLOBAL(keywords_current)["<[^>]+>", ""]["[:; ]", ", "];);\
@SET_GLOBAL(keywords_current, $GET_GLOBAL(keywords_current)["\\\\WWPbackslash", "\\"]["\\\\WWPlt", "<"]["\\\\WWPgt", ">"]["\\\\WWPcolon", ":"]["\\\\WWPsemi", ";"];);\
@SET_GLOBAL(keywords_current, $APPLYCHARMAPS($GET_GLOBAL(keywords_current);););\
\
@SET_GLOBAL(keywords_$PAGENUMBER;, $IF_GLOBAL_EXISTS(keywords_$PAGENUMBER;, $GET_GLOBAL(keywords_$PAGENUMBER;);\, $GET_GLOBAL(keywords_current);, $GET_GLOBAL(keywords_current);););
Example 128
<b weight="5"/>
<em weight="5"/>
<i weight="5"/>
<strong weight="5"/>
Example 129
<li $BPBlockAttributes; />
  <a name="$AUTOTAG;"> </a>\
$DATA;

      
Example 130
<th align="left" valign="top">$TABLECELL;</th>

      
Example 131
<th align="left" valign="top" colspan="$CELLCOLSPAN;" rowspan="$CELLROWSPAN;">$TABLECELL;</th>

      
Example 132
<td valign="top">$TABLECELL;</td>

      
Example 133
<td valign="top" colspan="$CELLCOLSPAN;" rowspan="$CELLROWSPAN;">$TABLECELL;</td>

      

      
Example 134
<table border="1" cellpadding="5" cellspacing="0" width="80%">
  <caption>$TABLETITLE;</caption>
$DATA;\
</table>
Example 135
["[ ][0-9]+-[0-9xviXVI]+$",""]
Example 136
["[ ][0-9|A-Z]+-[0-9xviXVI]+$",""]

      

      

      
Example 137
@SET_GLOBAL(tocpara, $DATA(raw)["Chapter [0-9]+|Appendix [A-Z]+:",""]["[ \t\r\n]+|<br />", " "]["[ ]+$", ""]["\"",""];);\
$UMTOCFilter;

      

      

      

      

      
Example 138
$IF_EQUAL($DATA(number)[".\t",""];, 1,
  <ol type="1">,

      

      

      

      

      

      

Top of page

Copyright © 2001 Scriptorium Publishing Services.
These code samples correspond to examples provided in The WebWorks Publisher Cookbook. Cookbook owners may use this code for their WebWorks Publisher projects.