* Bug: File Links [6.33x]
@ 2011-09-22 13:27 Edward N. Lewis
2011-09-22 22:07 ` Nick Dokos
0 siblings, 1 reply; 3+ messages in thread
From: Edward N. Lewis @ 2011-09-22 13:27 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 4991 bytes --]
To: emacs-orgmode@gnu.org
Subject: Bug: File Links [6.33x]
From: ed.lewis@enlewis.com (Edward N. Lewis)
--text follows this line--
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
<http://orgmode.org/manual/Feedback.html#Feedback>
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------
Links to external pdf files do not work in org-mode. Links do not export
properly
into PDF files. Links to web addresses and other file types such as text
files work fine, however.
To reproduce: create a link in your org file in any form,
e.g. [[file:/full_path/whatever.pdf]],
[[file:/full_path/whatever.pdf][Label for file]], file:whatever.pdf.
1) The link will not work from within org-mode.
2) The link will not be properly formatted when viewed in a PDF viewer
such as Adobe Acrobat Professional. To make the link work, the link's
properties have to be manually edited from within Adobe Acrobat/
Emacs : GNU Emacs 23.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.24.4)
of 2011-05-23 on x86-05.phx2.fedoraproject.org
Package: Org-mode version 6.33x
current state:
==============
(setq
org-export-with-sub-superscripts '{}
org-export-latex-date-format "%B %d, %Y"
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-export-latex-classes '(("article"
"
<file://\\documentclass[12pt]{article}\n\\setlength{\\parindent}{0pt}\n\\ren
ewcommand{\\familydefault}{\\sfdefault>
\\documentclass[12pt]{article}\n\\setlength{\\parindent}{0pt}\n\\renewcomman
d{\\familydefault}{\\sfdefault}"
(" <file://\\section{%s> \\section{%s}" . " <file://\\section*{%s>
\\section*{%s}")
(" <file://\\subsection{%s> \\subsection{%s}" . "
<file://\\subsection*{%s> \\subsection*{%s}")
(" <file://\\subsubsection{%s> \\subsubsection{%s}" . "
<file://\\subsubsection*{%s> \\subsubsection*{%s}")
(" <file://\\paragraph{%s> \\paragraph{%s}" . "
<file://\\paragraph*{%s> \\paragraph*{%s}")
(" <file://\\subparagraph{%s> \\subparagraph{%s}" . "
<file://\\subparagraph*{%s> \\subparagraph*{%s}"))
("report"
"
<file://\\documentclass[11pt]{report}\n\\usepackage[utf8]{inputenc}\n\\usepa
ckage[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepa
ckage{hyperref>
\\documentclass[11pt]{report}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1
]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{hy
perref}"
(" <file://\\part{%s> \\part{%s}" . " <file://\\part*{%s>
\\part*{%s}")
(" <file://\\chapter{%s> \\chapter{%s}" . " <file://\\chapter*{%s>
\\chapter*{%s}")
(" <file://\\section{%s> \\section{%s}" . " <file://\\section*{%s>
\\section*{%s}")
(" <file://\\subsection{%s> \\subsection{%s}" . "
<file://\\subsection*{%s> \\subsection*{%s}")
(" <file://\\subsubsection{%s> \\subsubsection{%s}" . "
<file://\\subsubsection*{%s> \\subsubsection*{%s}"))
("book"
"
<file://\\documentclass[11pt]{book}\n\\usepackage[utf8]{inputenc}\n\\usepack
age[T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepack
age{hyperref>
\\documentclass[11pt]{book}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{
fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{hype
rref}"
(" <file://\\part{%s> \\part{%s}" . " <file://\\part*{%s>
\\part*{%s}")
(" <file://\\chapter{%s> \\chapter{%s}" . " <file://\\chapter*{%s>
\\chapter*{%s}")
(" <file://\\section{%s> \\section{%s}" . " <file://\\section*{%s>
\\section*{%s}")
(" <file://\\subsection{%s> \\subsection{%s}" . "
<file://\\subsection*{%s> \\subsection*{%s}")
(" <file://\\subsubsection{%s> \\subsubsection{%s}" . "
<file://\\subsubsection*{%s> \\subsubsection*{%s}"))
)
org-mode-hook '(#[nil "\300\301\302\303\304$\207"
[org-add-hook change-major-mode-hook org-show-block-all
append local]
5]
)
org-confirm-elisp-link-function 'yes-or-no-p
org-occur-hook '(org-first-headline-recenter)
)
--
Edward N. Lewis, PE
PO Box 611
Worthington, MA 01098-0611
USA
+1 413-238-0109
<mailto:ed.lewis@enlewis.com> ed.lewis@enlewis.com
Edward N. Lewis, PE
PO Box 611
Worthington, MA 01098-0611
USA
+1 413-238-0109
ed.lewis@enlewis.com
[-- Attachment #2: Type: text/html, Size: 10306 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: File Links [6.33x]
2011-09-22 13:27 Bug: File Links [6.33x] Edward N. Lewis
@ 2011-09-22 22:07 ` Nick Dokos
2011-09-23 5:30 ` David Maus
0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2011-09-22 22:07 UTC (permalink / raw)
To: Edward N. Lewis; +Cc: nicholas.dokos, emacs-orgmode
Edward N. Lewis <ed.lewis1@verizon.net> wrote:
> Links to external pdf files do not work in org-mode. Links do not export properly
> into PDF files. Links to web addresses and other file types such as text files work fine, however.
>
> To reproduce: create a link in your org file in any form,
> e.g. [[file:/full_path/whatever.pdf]],
> [[file:/full_path/whatever.pdf][Label for file]], file:whatever.pdf.
>
> 1) The link will not work from within org-mode.
> 2) The link will not be properly formatted when viewed in a PDF viewer
> such as Adobe Acrobat Professional. To make the link work, the link's
> properties have to be manually edited from within Adobe Acrobat/
>
> Emacs : GNU Emacs 23.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.24.4)
> of 2011-05-23 on x86-05.phx2.fedoraproject.org
> Package: Org-mode version 6.33x
>
I cannot reproduce this with Org-mode version 7.7
(release_7.7.311.g0c099), so I'd suspect your 6.33 (which is quite old,
but unfortunately still ships with older versions of emacs). If you are
at all serious about using org-mode, you probably need to install the
7.7 release (or if you are willing to live on the edge, clone the git
repository and enjoy all the up-to-date features - and some breakages,
but ime, breakages get fixed quickly).
Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: File Links [6.33x]
2011-09-22 22:07 ` Nick Dokos
@ 2011-09-23 5:30 ` David Maus
0 siblings, 0 replies; 3+ messages in thread
From: David Maus @ 2011-09-23 5:30 UTC (permalink / raw)
To: nicholas.dokos; +Cc: Edward N. Lewis, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]
At Thu, 22 Sep 2011 18:07:25 -0400,
Nick Dokos wrote:
>
> Edward N. Lewis <ed.lewis1@verizon.net> wrote:
>
>
> > Links to external pdf files do not work in org-mode. Links do not export properly
> > into PDF files. Links to web addresses and other file types such as text files work fine, however.
> >
> > To reproduce: create a link in your org file in any form,
> > e.g. [[file:/full_path/whatever.pdf]],
> > [[file:/full_path/whatever.pdf][Label for file]], file:whatever.pdf.
> >
> > 1) The link will not work from within org-mode.
> > 2) The link will not be properly formatted when viewed in a PDF viewer
> > such as Adobe Acrobat Professional. To make the link work, the link's
> > properties have to be manually edited from within Adobe Acrobat/
> >
> > Emacs : GNU Emacs 23.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.24.4)
> > of 2011-05-23 on x86-05.phx2.fedoraproject.org
> > Package: Org-mode version 6.33x
> >
>
> I cannot reproduce this with Org-mode version 7.7
> (release_7.7.311.g0c099), so I'd suspect your 6.33 (which is quite old,
> but unfortunately still ships with older versions of emacs). If you are
> at all serious about using org-mode, you probably need to install the
> 7.7 release (or if you are willing to live on the edge, clone the git
> repository and enjoy all the up-to-date features - and some breakages,
> but ime, breakages get fixed quickly).
I cannot reproduce it with
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian
Org-mode version 6.33f (release_6.33f)
neither. The minimal Emacs initfile used:
,----
| (add-to-list 'load-path "~/projects/org-mode/org-mode/lisp")
| (add-to-list 'load-path "~/projects/org-mode/org-mode/contrib/lisp")
| (add-to-list 'load-path "~/projects/org-mode/org-mode/testing/")
| (require 'org-install)
| (require 'org)
`----
If I use C-c C-o on the links Org starts my PDF viewer (xpdf 3.02), if
I export the document with the link to PDF and open the result with
xpdf the exported link works, too.
What exactly happens if you try to open the link and which properties
do you have to modify to make the exported link working?
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-23 5:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-22 13:27 Bug: File Links [6.33x] Edward N. Lewis
2011-09-22 22:07 ` Nick Dokos
2011-09-23 5:30 ` David Maus
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).