ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@yandex.ru>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: useexternaldocument with custom file type
Date: Thu, 23 Apr 2020 22:10:50 +0800	[thread overview]
Message-ID: <20200423141050.GI807@smoon.bkoty.ru> (raw)
In-Reply-To: <b3df3f96-753b-e8e7-62ff-5a6f08a23543@mailbox.org>


[-- Attachment #1.1: Type: text/plain, Size: 1330 bytes --]

Hello,
** Jan U. Hasecke <juh+ntg-context@mailbox.org> [2020-04-23 15:35:54 +0200]:

> Am 23.04.20 um 14:22 schrieb Vladimir Lomov:

>> Otherwise could you describe what exactly you want to achive?

> This works:

> \setupinteraction[state=start]
> \setupcolors[state=start]
> \starttext
> \goto{linkname}[file(target.pdf)]
> \stoptext

> This does not work:

> \setupinteraction[state=start]
> \setupcolors[state=start]
> \starttext
> \goto{linkname}[file(target.doc)]
> \stoptext

What do you mean "work" and "not work"?

Do you what to open a file by clicking on text in viewer? What application
should be used to open a file? Take a look on page I linked in previous
message.

> The PDF Viewer does not support the file type.

What "PDF Viewer"?

For example, I use different viewers: mupdf, zathura-pdf-mupdf (zathura with
mupdf pdf backend), okular, pdf-tools (emacs major mode). Some of application
(okular, for example) could preview many file types (ps, pdf, odt), while
other can't do that. It is up to application what to do (or actually, PDF
backend) on link.

Please see the page about '\goto' command, it was written for a reason!

> TIA
> juh

---
WBR, Vladimir Lomov

-- 
Virtue is not left to stand alone.  He who practices it will have neighbors.
		-- Confucius

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2020-04-23 14:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23  9:54 Jan U. Hasecke
2020-04-23 10:06 ` Wolfgang Schuster
2020-04-23 10:21   ` Jan U. Hasecke
2020-04-23 12:22     ` Vladimir Lomov
2020-04-23 13:35       ` Jan U. Hasecke
2020-04-23 14:10         ` Vladimir Lomov [this message]
2020-04-23 14:36           ` Jan U. Hasecke
2020-04-23 17:25             ` Henning Hraban Ramm
2020-04-23 17:48               ` Jan U. Hasecke

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=20200423141050.GI807@smoon.bkoty.ru \
    --to=lomov.vl@yandex.ru \
    --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).