/usr/share/doc/udo-doc-en/html/005008.html is in udo-doc-en 6.4.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!-- last modified on 2016/08/01 -->
<html lang="en">
<head>
<title>
The guide to UDO: Hypertext commands
</title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta name="Generator" content="UDO 6.4 PL1 for Linux">
<meta name="Author" content="Dirk Hagedorn">
<link rel="chapter" href="001.html" title="Introduction">
<link rel="chapter" href="opensrc.html" title="Open Source">
<link rel="chapter" href="003.html" title="Installation">
<link rel="chapter" href="004.html" title="Usage">
<link rel="chapter" href="005.html" title="The syntax of UDO">
<link rel="chapter" href="006.html" title="Tips & tricks">
<link rel="section" href="005001.html" title="A short example">
<link rel="section" href="005002.html" title="Basics">
<link rel="section" href="005003.html" title="Structuring">
<link rel="section" href="005004.html" title="Emphasising text">
<link rel="section" href="005005.html" title="Special characters">
<link rel="section" href="005006.html" title="Syllabification">
<link rel="section" href="005007.html" title="Images">
<link rel="section" href="005009.html" title="Miscellaneous">
<link rel="appendix" href="_a.html" title="Frequently asked questions">
<link rel="appendix" href="_b.html" title="Bugs">
<link rel="appendix" href="_c.html" title="Error messages">
<link rel="appendix" href="_d.html" title="This & that">
<link rel="appendix" href="_e.html" title="History">
<link rel="appendix" href="_f.html" title="Command index">
<link rel="start" href="index.html" title="Begin of the document">
<link rel="home" href="index.html" title="Begin of the document">
<link rel="contents" href="index.html#UDOTOC" title="Contents">
<link rel="toc" href="index.html#UDOTOC" title="Contents">
<link rel="first" href="001.html" title="Introduction">
<link rel="prev" href="005007.html" title="Images">
<link rel="previous" href="005007.html" title="Images">
<link rel="next" href="005009.html" title="Miscellaneous">
<link rel="last" href="_f016.html" title="---">
<link rel="copyright" href="aboutudo.html" title="UDO6">
</head>
<body>
<a href="index.html"><img src="udo_hm.gif" alt="Home" border="0" width="24" height="24"></a>
<a href="005.html"><img src="udo_up.gif" alt="The syntax of UDO" border="0" width="24" height="24"></a>
<a href="005007.html"><img src="udo_lf.gif" alt="Images" border="0" width="24" height="24"></a>
<a href="005009.html"><img src="udo_rg.gif" alt="Miscellaneous" border="0" width="24" height="24"></a>
<hr>
<h1><a name="Hypertext_20commands">Hypertext commands</a></h1>
<ul class="content">
<li><a href="#Labels">Labels</a></li>
<li><a href="#Links">Links</a></li>
<ul class="content">
<li><a href="#Internal_20links">Internal links</a></li>
<li><a href="#Internal_20links_20with_20images">Internal links with images</a></li>
<li><a href="#Internal_20links_20to_20pages">Internal links to pages</a></li>
<li><a href="#External_20links">External links</a></li>
</ul>
</ul>
<br>
<h3><a name="Labels">Labels</a></h3>
<p>Using the command <i><a href="_f00b.html#UDO__21label">!label</a></i> you can set labels inside the
source file. An example:
</p>
<blockquote>
<pre><a href="_f00b.html#UDO__21label">!label</a> example
</pre>
</blockquote>
<p>When converting to the hypertext formats Windows Help, HTML,
ST-Guide and Pure C Help UDO inserts references inside the text to
this label automatically. You can search for these labels inside the
search dialog of Windows Help.
</p>
<p>When you set the upper label you can jump from every position
where the word "example" is used to the position where you
used the label.
</p>
<p>Here a list how UDO converts a label for the hypertext formats:
</p>
<table>
<tr><td nowrap valign="top">HTML:</td><td valign="top"> <tt><a name="example"</a></tt>
</td></tr>
<tr><td nowrap valign="top">LaTeX:</td><td valign="top"> <tt>\label{example}</tt>
</td></tr>
<tr><td nowrap valign="top">Linuxdoc-SGML:</td><td valign="top"> <tt><label id="example"></tt>
</td></tr>
<tr><td nowrap valign="top">Pure-C-Help:</td><td valign="top"> <tt>sensitive("example")</tt> inside the header
</td></tr>
<tr><td nowrap valign="top">ST-Guide:</td><td valign="top"> <tt>@symbol ar example</tt>
</td></tr>
<tr><td nowrap valign="top">Turbo-Vision:</td><td valign="top"> <tt>.topic example</tt> inside the header
</td></tr>
<tr><td nowrap valign="top">WinHelp:</td><td valign="top"> <tt>#{\footnote # example}</tt>
</td></tr></table>
<br>
<p><b>Please note:</b> You shouldn't use special chars like commas,
semicolons, quotes or apostrophes inside the label text because some
formats have problems with these special characters. Please try to
avoid them. In most cases you can avoid them if you really want.
</p>
<h3><a name="Links">Links</a></h3>
<p>Sometimes you maybe want to set a link to other parts of the
current document or to other documents. To make it possible for you to
insert links UDO offers you the placeholders called
<i>(!link...)</i>, <i>(!xlink...)</i> and <i>(!plink...)</i>.
</p>
<p><b>Please note:</b> If you want to use a "(" or a
"]" inside a link you have to quote it with an exclamation
mark:
</p>
<blockquote>
<pre>Wrong: (!link [Brackets])] [Link])
Right: (!link [Brackets!]!)] [Link])
<a href="_f016.html#UDO_---">---</a>-
</pre>
</blockquote>
<ul class="content">
<li><a href="#Internal_20links">Internal links</a></li>
<li><a href="#Internal_20links_20with_20images">Internal links with images</a></li>
<li><a href="#Internal_20links_20to_20pages">Internal links to pages</a></li>
<li><a href="#External_20links">External links</a></li>
</ul>
<br>
<h4><a name="Internal_20links">Internal links</a></h4>
<p>Using the <i>(!link...)</i> command you can insert links to
parts of the current document. You can link to chapters, sections,
subsections, labels and aliases. The following list shows you how to
use the link command and how UDO converts it:
</p>
<blockquote>
<pre>UDO: (!link [a word] [the link])
HTML: <a href="file.htm#the link">a word</a>
LaTeX: a word (see \ref{the link})
ST-Guide: @{"a word" link "the link"}
WinHelp: {\uldb a word}{\v the_link}
Turbo: {a word:the_link}
else: a word (see "the link")
</pre>
</blockquote>
<p>The following example shows how to insert a link to my contact
addresses:
</p>
<blockquote>
<pre>If you want to register UDO,
please send (!link [me] [<a href="001005.html">Contact addresses</a>])
an email.
</pre>
</blockquote>
<p>... will be displayed this way:
</p>
<p>If you want to register UDO, please send <a href="001005.html">me</a> an email.
</p>
<p><b>Please note:</b>
</p>
<ol>
<li> You may use up to (!MAXLINKS) inside a paragraph. If you will use
more links UDO will print an error message.
<br>
</li>
<li> When converting to hypertext formats UDO checks if the link
destination exists. If it doesn't exits UDO prints an error message.
When converting to the other formats UDO doesn't check if the link
destination exists!
<br>
</li>
<li> LaTeX only allows it to link to aliases and labels.
<br>
</li>
</ol>
<h4><a name="Internal_20links_20with_20images">Internal links with images</a></h4>
<p>Especially for Windows Help and HTML there's existing the
<i>(!ilink...)</i> ("image link") commands. It is a
mixture of the <i>(!img...)</i> and <i>(!link...)</i> command that
allows to display "hyperimages". If you click an image you
will jump to another part of the current document.
</p>
<blockquote>
<pre>UDO: (!ilink [img] [text] [link])
WinHelp: {\uldb \{bmc img.bmp\}}{\v link}
HTML: <a href="link"><img src="img.gif" alt="text"></a>
else: like (!link [text] [link])
</pre>
</blockquote>
<p><b>Please note:</b>
</p>
<ol>
<li> UDO won't check if the images exist.
<br>
</li>
<li> By default UDO uses `<tt>.gif</tt>' as the suffix for images when
converting to HTML. You can use the command <i><a href="_f009.html#UDO__21html_img_suffix">!html_img_suffix</a></i>
to change the suffix.
<br>
</li>
<li> You may use up to (!MAXLINKS) inside a paragraph. If you will use
more links UDO will print an error message.
<br>
</li>
</ol>
<h4><a name="Internal_20links_20to_20pages">Internal links to pages</a></h4>
<p>Especially for LaTeX there's existing the <i>(!plink...)</i>
("page link") command:
</p>
<blockquote>
<pre>UDO: (!plink [link commands] [<a href="#Links">Links</a>])
LaTeX: link commands (see page \pageref{<a href="#Links">Links</a>})
else: link commands
</pre>
</blockquote>
<p>The following example shows how to insert a page like to the page
that contains my contact addresses:
</p>
<blockquote>
<pre>If you want to register UDO,
please send (!plink [me] [<a href="001005.html">Contact addresses</a>])
an email.
</pre>
</blockquote>
<p>... will be displayed this way:
</p>
<p>If you want to register UDO, please send me an email.
</p>
<p><b>Please note:</b>
</p>
<ol>
<li> You can only insert page links to labels and aliases, not to
chapters when converting to LaTeX.
<br>
</li>
<li> You may use up to (!MAXLINKS) inside a paragraph. If you will use
more links UDO will print an error message.
<br>
</li>
</ol>
<h4><a name="External_20links">External links</a></h4>
<p>With the <i>(!xlink...)</i> ("external link") command
you can insert links to (parts of) other documents, net sites or
hypertexts. The difference to the upper command: UDO doesn't adjust
special chars of the link destination. The tilde isn't a non-breaking
space in the link destination, too.
</p>
<blockquote>
<pre>UDO: (!xlink [UDO] [*:\udo.hyp])
ST-Guide: @{"UDO" link "*:\udo.hyp"}
UDO: (!xlink [Atari] [http://www.atari.com])
HTML: <A HREF="http://www.atari.com">Atari</A>
UDO: (!xlink [UDO] [Titel@d:/winhelp/udo.hlp])
WinHelp: {\uldb UDO}{\v Titel@d:/winhelp/udo.hlp}
else: UDO (or Atari)
</pre>
</blockquote>
<p>How to use external links inside an HTML file is descriped in the
following example:
</p>
<blockquote>
<pre>""(!xlink [Yahoo] [http://www.yahoo.com])<a href="_f016.html#UDO__21..">!..</a>""
<a href="_f00d.html#UDO__28_21nl_29">(!nl)</a>
""(!xlink [Web.De] [http://web.de])<a href="_f016.html#UDO__21..">!..</a>""
</pre>
</blockquote>
<p>... will be displayed this way:
</p>
<blockquote>
<p>"<a href="http://www.yahoo.com">Yahoo</a>..."
<br>"<a href="http://web.de">Web.De</a>..."
</p>
</blockquote>
<p><b>Please note:</b>
</p>
<ol>
<li> You have to use existing topic names for Windows Help. A topic
name must contain only numbers and characters form the alphabet. All
other characters will be converted by UDO.
<br>
</li>
<li> You should use `<tt>*:\</tt>' at the beginning of an external link
for the ST-Guide to tell it to look for the hypertext in all
directories you defined with <tt>PATHS</tt> in your
<tt>ST-GUIDE.INF</tt>.
<br>
</li>
<li> Using the switch called <i><a href="_f00d.html#UDO__21no_xlinks">!no_xlinks</a> [...]</i> you can
suppress the conversion of external links. This is useful if you wrote
a source file especially for HTML and you want to make a version for
Windows Help or ST-Guide, where the external file wouldn't make no
sense.
<br>
</li>
</ol>
<hr>
<a href="index.html"><img src="udo_hm.gif" alt="Home" border="0" width="24" height="24"></a>
<a href="005.html"><img src="udo_up.gif" alt="The syntax of UDO" border="0" width="24" height="24"></a>
<a href="005007.html"><img src="udo_lf.gif" alt="Images" border="0" width="24" height="24"></a>
<a href="005009.html"><img src="udo_rg.gif" alt="Miscellaneous" border="0" width="24" height="24"></a>
</body></html>
|