From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100653 Path: news.gmane.org!.POSTED!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: goto reference Date: Thu, 19 Apr 2018 09:37:10 +0200 Message-ID: <475DD316-7417-4E3C-9FC9-EE4C1EA2E812@ziggo.nl> References: <3B63A4DE-F606-4EE6-9B97-D70D6E7B3432@ziggo.nl> <5AD7A36B.1000409@gmail.com> <8081EBD2-4EBA-4EF5-AA08-F79A7DA8703E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Content-Type: multipart/mixed; boundary="===============5026080806153807962==" X-Trace: blaine.gmane.org 1524123358 14145 195.159.176.226 (19 Apr 2018 07:35:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2018 07:35:58 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 19 09:35:54 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f946k-0003aW-5a for gctc-ntg-context-518@m.gmane.org; Thu, 19 Apr 2018 09:35:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 310E162638C; Thu, 19 Apr 2018 09:37:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lh0rPukvt2HS; Thu, 19 Apr 2018 09:37:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id DF901626389; Thu, 19 Apr 2018 09:37:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 06D9F626389 for ; Thu, 19 Apr 2018 09:37:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L3Ee-zoqG7cq for ; Thu, 19 Apr 2018 09:37:21 +0200 (CEST) Original-Received: from smtpq4.mnd.mail.iss.as9143.net (smtpq4.mnd.mail.iss.as9143.net [212.54.34.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C6FCF626388 for ; Thu, 19 Apr 2018 09:37:11 +0200 (CEST) Original-Received: from [212.54.34.114] (helo=smtp6.mnd.mail.iss.as9143.net) by smtpq4.mnd.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1f947z-0002re-GK for ntg-context@ntg.nl; Thu, 19 Apr 2018 09:37:11 +0200 Original-Received: from 546a86c8.cm-12-3c.dynamic.ziggo.nl ([84.106.134.200] helo=[192.168.178.10]) by smtp6.mnd.mail.iss.as9143.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1f947z-0000a0-Cs for ntg-context@ntg.nl; Thu, 19 Apr 2018 09:37:11 +0200 In-Reply-To: <8081EBD2-4EBA-4EF5-AA08-F79A7DA8703E@gmail.com> X-Mailer: Apple Mail (2.3445.6.18) X-SourceIP: 84.106.134.200 X-Authenticated-Sender: havdmeer@ziggo.nl (via SMTP) X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=HPnt6Llv c=1 sm=1 tr=0 a=wCstmS+ZHA3zSJXjQC+ubA==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=Kd1tUaAdevIA:10 a=mZpwaWM1AAAA:8 a=pGLkceISAAAA:8 a=MiNTnEJAAAAA:8 a=YEMqx4UAAAAA:8 a=ACQCx6kCAAAA:8 a=xtERp6CFAAAA:8 a=a3nu-2BBAAAA:8 a=ae3R5aENJ5rvrnvKb_sA:9 a=o7AB2plpSTFM3-qr:21 a=JY4BvxHWLODrrrjV:21 a=QEXdDO2ut3YA:10 a=3YU6gTJndqSQ440ua6QA:9 a=rvYazb4qT79WOtcu:21 a=oFoI0mwKFipbMLIG:21 a=ge9toAKbKoinSSOy:21 a=_W_S_7VecoQA:10 a=ISYa5Sojvl8PbS4PXliW:22 a=LmrbSfiT3hecnSZifb5M:22 a=V0662LiR8DSfwiDagK97:22 a=Sab0UneHBzlWrQDlOuxD:22 a=ekCXXmE-vB8RPiJ3MEZb:22 none X-Ziggo-Spam-Status: No X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100653 Archived-At: --===============5026080806153807962== Content-Type: multipart/alternative; boundary="Apple-Mail=_5DC2D061-5773-4C60-A484-A872FBE35355" --Apple-Mail=_5DC2D061-5773-4C60-A484-A872FBE35355 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 The goto to the internet as given by Wolfgang works here too, but other = configurations do not. Please ascertain my observations from the test = given below. You should replace the absolute path by your own, of = course. Three cases are programmed: (1) Wolfgang=E2=80=99s (2) full path ftp:// access opens file but at last page opened (3) local path does not open and brings up an Alert Run from TeXShop and also directly in Preview and Adobe Reader with the = same results. Thanks in advance. dr. Hans van der Meer \starttext \currentdate-\currenttime\quad\ConTeXt-version=3D\contextversion\blank Testing directly from \ConTeXt:\blank \setupinteraction[state=3Dstart,color=3Dblue,style=3Ditalic] \goto{Beginners manual called with http:// opens in browser as = expected}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhas= h page=3D50)]\blank file test.pdf sits in the current directory.\blank \goto{click test.pdf page10 with ftp:///Users/... (full path given) = opens at last page opened not at page 10 in Apple's = Preview}[url(file:///Users/hansm/TeX/Test-tex/gotopdf/test.pdf\letterhash = page=3D10)]{\quad\bf Put your own path here!}\blank \goto{click test.pdf page10 with ftp://test.pdf (local path)) does not = open}[url(file://test.pdf\letterhash page=3D10)]\blank \stoptext > On 19 Apr 2018, at 02:07, Otared Kavian wrote: >=20 > Hi, >=20 > On my Mac, running MacOS High Sierra 10.13.5 Beta, the example given = by Wolfgang works fine: clicking on the link created by ConTeXt, from = within TeXShop, Safari opens that document on the desired page, that is = the physical page 58. >=20 > Best regards: OK >=20 >> On 18 Apr 2018, at 23:04, Hans van der Meer > wrote: >>=20 >> Thanks. But this seems not to work on my Macintosh. Not in Preview, = not in Adobe Reader.=20 >> Typesetting resulted in valid-url.pdf#page=3D55 but the document = opens at the last page remebered by the application. Are there other = Macintosh users who can confirm this is not working on those machines or = should I do something else? >>=20 >> dr. Hans van der Meer >>=20 >>=20 >>> On 18 Apr 2018, at 21:58, Wolfgang Schuster = > = wrote: >>>=20 >>> For documents on the web you can add #page=3D to the url. >>>=20 >>> \setupinteraction[state=3Dstart] >>>=20 >>> \starttext >>> \goto{Beginners = manual}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash = = page=3D58)] >>> \stoptext >>>=20 >>> Wolfgang >>>> Hans van der Meer 18. April 2018 um = 21:12 >>>> I have the following question about referencing. >>>>=20 >>>> With \goto{typeset_the_text}[url(file://a_file_location_to_goto = .pdf)] I can open a pdf from inside the = document that has been typeset. It would, however, be nice if I could = further specify on which page of the pdf to open. Is this possible? Or = is this a wish not to be fulfilled? >>>>=20 >>>> dr. Hans van der Meer >>>>=20 >>>>=20 >>>> = __________________________________________________________________________= _________ >>>> If your question is of interest to others as well, please add an = entry to the Wiki! >>>>=20 >>>> maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context = >>>> webpage : http://www.pragma-ade.nl / = http://context.aanhet.net >>>> archive : https://bitbucket.org/phg/context-mirror/commits/ = >>>> wiki : http://contextgarden.net >>>> = __________________________________________________________________________= _________ >>>=20 >>> = __________________________________________________________________________= _________ >>> If your question is of interest to others as well, please add an = entry to the Wiki! >>>=20 >>> maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context = >>> webpage : http://www.pragma-ade.nl / = http://context.aanhet.net >>> archive : https://bitbucket.org/phg/context-mirror/commits/ = >>> wiki : http://contextgarden.net >>> = __________________________________________________________________________= _________ >>=20 >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context = >> webpage : http://www.pragma-ade.nl / = http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ = >> wiki : http://contextgarden.net >> = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_5DC2D061-5773-4C60-A484-A872FBE35355 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 The = goto to the internet as given by Wolfgang works here too, but other = configurations do not. Please ascertain my observations from the test = given below. You should replace the absolute path by your own, of = course. Three cases are programmed:
(1) = Wolfgang=E2=80=99s
(2) full path ftp:// access = opens file but at last page opened
(3) local path = does not open and brings up an Alert
Run from = TeXShop and also directly in Preview and Adobe Reader with the same = results.

Thanks = in advance.

dr. Hans van der Meer


\starttext
\currentdate-\currenttime\quad\ConTeXt-version=3D\contextversio= n\blank
Testing directly from \ConTeXt:\blank
\setupinteraction[state=3Dstart,color=3Dblue,style=3Ditalic]
\goto{Beginners manual called with http:// opens in browser = as expected}[url(http://pragma-ade.com/general/manuals/mp-cb-en.pdf\letterhash page=3D50)]\blank
\goto{click test.pdf page10 = with ftp://test.pdf (local = path)) does not open}[url(file://test.pdf\letterhash = page=3D10)]\blank
\stoptext


On 19 Apr 2018, at 02:07, Otared Kavian <otared@gmail.com> = wrote:

Hi,

On my Mac, running MacOS High = Sierra 10.13.5 Beta, the example given by Wolfgang works fine: = clicking on the link created by ConTeXt, from within TeXShop, Safari = opens that document on the desired page, that is the physical page = 58.

Best = regards: OK

On 18 Apr 2018, at 23:04, Hans = van der Meer <havdmeer@ziggo.nl> wrote:

Thanks. But this seems = not to work on my Macintosh. Not in Preview, not in Adobe = Reader. 
Typesetting resulted in valid-url.pdf#page=3D55 but the = document opens at the last page remebered by the application. Are there = other Macintosh users who can confirm this is not working on those = machines or should I do something else?

dr. = Hans van der Meer


On 18 Apr 2018, at 21:58, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

= __________________________________________________________________________= _________
If your question is of interest to others as = well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

___________________________________________________= ________________________________
If your question is of = interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

___________________________________________________= ________________________________
If your question is of = interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_5DC2D061-5773-4C60-A484-A872FBE35355-- --===============5026080806153807962== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5026080806153807962==--