From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: info URL « open at point » patch
Date: Sun, 24 Jun 2018 18:21:20 +0000 [thread overview]
Message-ID: <AM6PR10MB1957577DC092A5880634F2B2844B0@AM6PR10MB1957.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <8336xct8v0.fsf@gnu.org>
What I want to do is to refer an HTML or PDF document from an Info document. So
I want the info browser to launch the web browser for it to open a
« file: » protocol document.
Here is the Texinfo source which I would like to use:
--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename svnbook.info
@settitle Manuel Subversion 1.8
@c %**end of header
@dircategory Archiving
@direntry
* SVN book: (svnbook). Gestion de versions avec Subversion
@end direntry
@node Top
@top SVN Book
@url{file:///c%3A/Program%20Files/CollabNet/Subversion%20Client/doc/svn-book-html-chunk/index.html,SVN book}
@bye
@c Lo
cal Variables:
@c compile-command: "makeinfo svnbook.texi && copy svnbook.info c:\\Nos_Programmes\\MinGW\\msys\\info\\"
@c End:
--8<----8<----8<----8<----8<-- end -->8---->8---->8---->8---->8----
Vincent.
De : Eli Zaretskii <eliz@gnu.org>
Envoyé : dimanche 24 juin 2018 19:03
À : Vincent Belaïche
Cc : emacs-devel@gnu.org; emacs-orgmode@gnu.org
Objet : Re: info URL « open at point » patch
> From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> CC: "emacs-devel@gnu.org" <emacs-devel@gnu.org>, "emacs-orgmode@gnu.org"
> <emacs-orgmode@gnu.org>
> Date: Sun, 24 Jun 2018 16:48:30 +0000
>
> To my understanding @xref works only for info links (node names or anchors, or qualified thereof where the
> qualificator is the info document name) --- maybe I am wrong, tell me if so --- but I want to refer to an HTML
> or PDF document.
No, Texinfo cross-references work in any format supported by Texinfo.
If your link should only appear in the HTML version, you could use the
@ifhtml..@end ifhtml conditional, and similarly with links that should
only appear in PDF (i.e. printed version) of the manual. There's also
@ifnotinfo etc.
So once again I don't think I understand the problem. Could you
perhaps elaborate, or show an actual example?
next prev parent reply other threads:[~2018-06-24 18:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-24 6:57 info URL « open at point » patch Vincent Belaïche
2018-06-24 14:31 ` Eli Zaretskii
2018-06-24 16:48 ` Vincent Belaïche
2018-06-24 16:49 ` Vincent Belaïche
2018-06-24 17:03 ` Eli Zaretskii
2018-06-24 18:21 ` Vincent Belaïche [this message]
2018-06-24 18:45 ` Eli Zaretskii
2018-06-24 20:34 ` Vincent Belaïche
2018-06-25 2:30 ` Eli Zaretskii
2018-06-26 5:19 ` Vincent Belaïche
2018-06-26 5:47 ` Vincent Belaïche
2018-06-26 14:34 ` Eli Zaretskii
2018-06-27 17:39 ` Vincent Belaïche
2018-06-27 18:11 ` Eli Zaretskii
2018-06-26 14:30 ` Eli Zaretskii
2018-06-24 14:46 ` Jean-Christophe Helary
2018-06-24 20:30 ` Vincent Belaïche
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM6PR10MB1957577DC092A5880634F2B2844B0@AM6PR10MB1957.EURPRD10.PROD.OUTLOOK.COM \
--to=vincent.b.1@hotmail.fr \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=emacs-orgmode@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).