emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] info URL « open at point » patch


From: Vincent Belaïche
Subject: Re: [O] info URL « open at point » patch
Date: Sun, 24 Jun 2018 18:21:20 +0000

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 <address@hidden>
Envoyé : dimanche 24 juin 2018 19:03
À : Vincent Belaïche
Cc : address@hidden; address@hidden
Objet : Re: info URL « open at point » patch
  

> From: Vincent Belaïche <address@hidden>
> CC: "address@hidden" <address@hidden>, "address@hidden"
>        <address@hidden>
> 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
@address@hidden 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?
    


reply via email to

[Prev in Thread] Current Thread [Next in Thread]