Subversion Repositories wimsdev

Rev

Rev 6097 | Blame | Compare with Previous | Last modification | View Log | RSS feed


Link towards another block: up to 4 arguments. <ul>
 <li>Argument 1: the name of the cited block. This can be a block of another
document, in this case this argument must be under the form <span class="tt wims_code_words">ser/bl</span>,
where <span class="tt wims_code_words">ser</span> is the serial number of the other document, and <span class="tt wims_code_words">bl</span>
the name of the block.<br/>
 If this argument is empty or equal to '.', it means the current block.
 </li><li>Argument 2 (optional): the title of the link. (This defaults to the title
 of the cited block.)
 </li><li>Argument 3 (optional): the position to go (anchor) in the cited block.
 </li><li>Argument 4 (optional): parameter string. Parameters should be of the form <span class="tt wims_code_words">parm1=...&parm2=...&parm3=...</span> Up to 20 parameters can be used. These parameters can then be used in the linked-to document, under the names of <span class="tt wims_code_words">\\parm1, \\parm2, ...</span>.
</li></ul>
<p>
For example, to add a link to the entry block (<span class="tt wims_code_words">main</span>) of this
document, it is enough to type <span class="tt wims_code_words">\\link{main}</span>, and the result is
\link{main}.
</p><p>
<a name="parmlink"></a>
Example of passing parameters: the command

<span class="tt wims_code_words">\\link{.}{try this one}{parmlink}{parm1=10&parm2=20}</span>

gives \link{.}{try this one}{parmlink}{parm1=10&parm2=20}</span>. Now \\parm1=\parm1, \\parm2=\parm2.
</p>