ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: h h extern <pragma@wxs.nl>
Subject: Re: Re: LaTeX2ConTeXt : external links not work after recompiled
Date: Sun, 05 Dec 2004 21:33:27 +0100	[thread overview]
Message-ID: <41B37097.1010303@wxs.nl> (raw)
In-Reply-To: <m2brd9veqy.fsf@levana.de>

Patrick Gundlach wrote:
> Hello Quy, Thomas,
> 
> I have looked into your problematic document, and it looks as if the
> ConTeXt version in the tetex beta is broken in this respect.
> 
> --------------------------------------------------
> \setupcolors
>   [state=start]
> \setupinteraction
>   [state=start,color=blue]
> \useURL
> [contextsupport]
> [http://www.pragma-ade.com/]
> 
> \starttext
> Look at  \from[contextsupport]!
> 
> \stoptext
> --------------------------------------------------
> 
> compiles fine, but shows the same error: the hyperlink does not point
> to the website, but to the first page.

in core.ref.tex, patch:

\def\setouterlocation#1%
   {\ifundefined{\v!file:::#1}%
      \ifconditional\forceURLlocation
        \edef\otherURL{#1}%
        \let\otherfile\empty
      \else
        \let\otherURL\empty
        \edef\otherfile{#1}%
      \fi
    \else
      \let\doexternaldocument\setouterfilelocation
      \let\doexternalurl     \setouterfilelocation % <<< missing line
      \csname\v!file:::#1\endcsname
    \fi
    \setfalse\forceURLlocation
    \doifparentfileelse\otherfile
      {\let\otherURL\empty
       \let\otherfile\empty
       \global\let\otherlabel\empty
       \let\otherprefix\empty}
      {\xdef\otherlabel{#1}%
       \edef\otherprefix{#1::}}}

I need to rewrite this piece of code, currently there is some nasty overloading 
taking place (in order to safe hash entries i pack several things into one 
macro, which is used nested and which meaning gets overloaded)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

  parent reply	other threads:[~2004-12-05 20:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-04 16:14 VnPenguin
2004-12-04 16:32 ` Patrick Gundlach
2004-12-04 16:39   ` VnPenguin
2004-12-04 18:47 ` Adam Lindsay
2004-12-04 18:56   ` Patrick Gundlach
2004-12-04 19:04     ` VnPenguin
2004-12-04 19:39       ` Patrick Gundlach
2004-12-04 20:25         ` VnPenguin
2004-12-04 19:02   ` VnPenguin
2004-12-04 23:13 ` Patrick Gundlach
2004-12-05  9:12   ` Patrick Gundlach
2004-12-05 12:05     ` Taco Hoekwater
2004-12-05 20:37     ` h h extern
2004-12-05 20:31   ` h h extern
2004-12-05 20:33   ` h h extern [this message]
2004-12-05 23:32     ` VnPenguin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41B37097.1010303@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).