faqts : Computers : Software : Text processing : Word processors : PCTeX

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 7 people (100%) answered Yes
Recently 7 of 7 people (100%) answered Yes

Entry

TeX: LaTeX: PCTeX: Url: Create: How to: How to create a clickable url? [http://www / hyperref]

Mar 27th, 2005 07:38
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 27 March 2005 - 07:59 pm ----------------------

TeX: LaTeX: PCTeX: Url: Create: How to: How to create a clickable url? 
[http://www / hyperref]

---

Steps: Overview:

 1. -Create the following LaTeX program

--- cut here: begin --------------------------------------------------

\documentclass{article}

\usepackage[dvips, bookmarks, colorlinks=true, plainpages = false, 
citecolor = green, urlcolor = blue, filecolor = blue] {hyperref}

\begin{document}

\url{ http://www.faqts.com }

\end{ document }

--- cut here: end ----------------------------------------------------

 2. -Compile this LaTeX program in PCTeX

 3. -Convert it to PDF to see the clickable URL

---
---

Tested successfully on Microsoft Windows XP Professional, running
PCTeX v5.1,
after manually installing the
hyperref package.

---
---

Troubleshooting:

-If you get the error that 'hyperref.sty' is not found,
 then install the 'hyperref' package manually in PCTex.

---
---

-Spaces

 It is very important that you do
 not include spaces around your URL,
 otherwise your URL will be interpreted
 as a relative URL
 (=relative to the site where it is currently stored)

 ---

 e.g.

 <URL> http://www.faqts.com </URL>

 ---

 is interpreted like

 http://www.knud.info%20/http://www.faqts.com%20

 ---
 ---

 Thus you should not include spaces around
 your URL

 ---

 e.g.

 <URL>http://www.faqts.com</URL>

 ---

 is now correctly interpreted like

  http://www.faqts.com

---
---

Internet: see also:

---

TeX: LaTeX: Link: Overview: Can you give an overview of links?
http://www.faqts.com/knowledge_base/view.phtml/aid/34888/fid/775

----------------------------------------------------------------------