ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* newbie problem with url's and newlines
@ 2000-06-18 12:42 Larissa Naber
  2000-06-18 15:33 ` Christopher G D Tipper
  0 siblings, 1 reply; 2+ messages in thread
From: Larissa Naber @ 2000-06-18 12:42 UTC (permalink / raw)


Hi!

Being a newbie on context use I ran into the following problems:

1) I want to include a WWW-link in a pdf file. I used 
   \useURL[aua][http://www.aua.at/]  and \from[aua] which resulted 
   in a link named http://www.aua.at/ - so far so good, but I would 
   like it to spell out "Austrian Airlines"  so I tried 
   \useURL[aua][http://www.aua.at/][Austrian Airlines] which didn't 
   change anything and
   \useURL[aua][Austrian Airlines][http://www.aua.at/] which resulted 
   in Netscape complaining that the relative url  
   "Austrian Airlineshttp://www.aua.at/"  was invalid.
   How do I go about it? Or is it impossible?

2) I must confess that I'm unable to produce a newline on request.
   I tried \newline and \line (as in analogon to \page and \column) 
   but it didn't work. (I am using the s-pre-01 presentation layout)

Thanks for your help in advance!

Larissa Naber


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: newbie problem with url's and newlines
  2000-06-18 12:42 newbie problem with url's and newlines Larissa Naber
@ 2000-06-18 15:33 ` Christopher G D Tipper
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher G D Tipper @ 2000-06-18 15:33 UTC (permalink / raw)


----- Original Message ----- 
From: "Larissa Naber" <naber@xphys.tuwien.ac.at>
To: <ntg-context@let.uu.nl>
Sent: Sunday, June 18, 2000 3:42 PM
Subject: newbie problem with url's and newlines

> 1) I want to include a WWW-link in a pdf file. I used 
>    \useURL[aua][http://www.aua.at/]  and \from[aua] which resulted 
>    in a link named http://www.aua.at/ - so far so good, but I would 
>    like it to spell out "Austrian Airlines"  so I tried 

Something like the following will do in the preamble

\useURL
  [aua]
  [http://www.aua.at/]
  []
  [\underbar{Austrian Airlines}]

Then \from[aua] in the body. I don't have the Dutch manual, so I can't tell you why there is an extra [] in there. The \underbar{} is of course optional.

> 2) I must confess that I'm unable to produce a newline on request.
>    I tried \newline and \line (as in analogon to \page and \column) 
>    but it didn't work. (I am using the s-pre-01 presentation layout)

\crlf does the trick (carriage-return/line-feed pair)

Greetings,
Christopher


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-18 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-18 12:42 newbie problem with url's and newlines Larissa Naber
2000-06-18 15:33 ` Christopher G D Tipper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).