From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Bug: org links do not work in some latex files [8.3.4 (8.3.4-34-gacfd41-elpaplus @ /home/oub/.emacs.d/elpa/org-plus-contrib-20160411/)] Date: Thu, 19 May 2016 16:19:58 +0000 Message-ID: <874m9u58b5.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3QgG-0002Qt-Q2 for emacs-orgmode@gnu.org; Thu, 19 May 2016 12:20:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3Qg8-0000PB-QR for emacs-orgmode@gnu.org; Thu, 19 May 2016 12:20:11 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:34830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3Qg7-0000On-T8 for emacs-orgmode@gnu.org; Thu, 19 May 2016 12:20:04 -0400 Received: by mail-wm0-x236.google.com with SMTP id r12so88004007wme.0 for ; Thu, 19 May 2016 09:20:02 -0700 (PDT) Received: from Gilgamesch (gilgamesch.quim.ucm.es. [147.96.12.99]) by smtp.gmail.com with ESMTPSA id lf9sm15178534wjc.44.2016.05.19.09.20.00 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 19 May 2016 09:20:00 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org hello Please look at the following example \documentclass[addpoints,12pt]{exam} \begin{document} % [[file:~/ALLES/tex/vorlesungen/HGBioQuim/Examen+geogebra/Examen2/README.o= rg::*Overview][Overview]] \begin{questions}=20=20 % [[file:~/ALLES/tex/vorlesungen/HGBioQuim/Examen+geogebra/Examen2/README.o= rg::*Overview][Overview]] \end{questions} `org-open-at-point' opens the first link, but not the one in the environment questions. regards Uwe Brauer=20 Emacs : GNU Emacs 25.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2016-01-19 Package: Org-mode version 8.3.4 (8.3.4-34-gacfd41-elpaplus @ /home/oub/.ema= cs.d/elpa/org-plus-contrib-20160411/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-entities-user '(("implies" "\\Rightarrow" t "⇒" "=3D>" "=3D>" "= =E2=87=92") ("iff" "\\iff" t "⇔" "<=3D>" "<=3D>" "=E2=87=94")) org-ref-cite-onclick-function 'org-ref-cite-click-helm outline-mode-hook '(hide-body) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-= maybe) org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-pretty-entities t org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-odt-preferred-output-format "doc" org-shiftleft-hook '(#[nil "\300\301!\207" [org-ref-swap-citation-link -1]= 2]) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-tog= gle-maybe org-babel-header-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-ref-show-biblinks org-cycle-hide-archived-subtrees or= g-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-ref-notes-function '(lambda (thekey) (let* ((results (org-ref-get-bibtex-key-and-file thekey)) (key (car results= )) (bibfile (cdr results))) (save-excursion (with-temp-buffer (insert-file-contents bibfile) (bibtex-set-dialect (parsebib-find-bibtex-dialect) t) (bibtex-searc= h-entry key) (org-ref-open-bibtex-notes)) ) ) ) org-ref-open-notes-function '(lambda nil (org-show-entry) (show-branches) = (show-children) (org-cycle (quote (64))) (recenter-top-bottom 0)) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-co= mmand-hook) org-export-with-toc nil org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-ref-insert-cite-function 'org-ref-helm-insert-cite-link org-ref-open-pdf-function 'org-ref-open-pdf-at-point org-odt-convert-processes '(("LibreOffice" "/opt/libreoffice4.3/program/soffice --headless --convert-to %f%x = %i") ) org-babel-pre-tangle-hook '(save-buffer) org-return-follows-link t org-occur-hook '(org-ref-show-biblinks org-first-headline-recenter) org-shiftright-hook '(#[nil "\300\301!\207" [org-ref-swap-citation-link 1]= 2]) org-latex-default-packages-alist '(("AUTO" "inputenc" t) ("T1" "fontenc" t= ) ("" "fixltx2e" nil) ("" "graphicx" t) ("" "grffile" t) ("" "longtable" nil) ("" "wrapfi= g" nil) ("" "rotating" nil) ("normalem" "ulem" t) ("" "amsmath" t) ("" "textcomp" t) ("" "amssymb" t) ("" "capt-of" nil) ("" "hyperref= " nil) ("" "a4wide" nil) ("" "comment" nil)) org-html-format-headline-function 'org-html-format-headline-default-functi= on org-structure-template-alist '(("d" "#+OPTIONS: d:nil\n") ("C" "#+begin_co= mment\n?\n#+end_comment") ("s" "#+begin_src matlab :results output\n\n#+end_src") ("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE") ("q" "#+BEGIN_QUOTE\n?\n#+END_QUOTE") ("v" "#+BEGIN_VERSE\n?\n#+END_VER= SE") ("V" "#+BEGIN_VERBATIM\n?\n#+END_VERBATIM") ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER") ("l" "#+BEGIN_LaTeX\n?\n#+END_L= aTeX") ("L" "#+LaTeX: ") ("h" "#+BEGIN_HTML\n?\n#+END_HTML") ("H" "#+ATTR_HTML: border=3D\"2\" rules=3D\"all\" frame=3D\"border\"") ("a" "#+BEGIN_ASCII\n?\n#+END_ASCII") ("A" "#+ASCII: ") ("i" "#+INDEX: = ?") ("I" "#+INCLUDE: %file ?")) org-html-table-default-attributes '(:border "2" :cellspacing "0" :cellpadd= ing "6" :rules "all" :frame "border") org-ref-clean-bibtex-entry-hook '(orcb-key-comma org-ref-replace-nonascii = orcb-& orcb-% org-ref-title-case-article orcb-clean-year orcb-key orcb-clean-doi orcb-clean-pages org-ref-sort-bibtex-entry) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-capture-templates '(("r" "Reply" entry (file+headline "~/Mail/TODO-ema= il.org" "Emails") "** REPLY %a %?" :gnus-attachments t) ("l" "EmacsLisp(headline)" entry (file+headline (expand-file-name (read-file-name "Name of file (curr dir;table forma= t)!: ")) "EmacsLisp") "* TODO %?, Link: %A") ("j" "Journal(datatree)" entry (file+datetree (expand-file-name (read-file-name "Name of file (curr dir;table forma= t)!: "))) "* %?\nEntered on %U\n %i\n %a") ("G" "Generic README.org file (table format)" table-line (file+headline (expand-file-name (read-file-name "Name of file (curr dir;table forma= t)!: ")) "Overview") "|%f| %U|%A|" :prepend t) ) org-latex-format-drawer-function '(lambda (name contents) contents) org-load-hook '(my-link-keys) org-format-latex-options '(:foreground default :background default :scale = 1 :html-foreground "Black" :html-background "Transparent" :html-scale 1 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")) org-highlight-latex-and-related '(latex) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-ref-insert-label-function 'org-ref-helm-insert-label-link org-agenda-include-diary t org-html-with-latex 'imagemagick org-mode-hook '(turn-on-diff-hl-mode my-org-keys turn-on-flyspell turn-on-= auto-capitalize-mode org-auctex-keys-minor-mode org-ref-org-menu #[nil "\300\301\302\303#\210\304\305\306\307#\207" [advice-add org-activate-bracket-links :after org-ref-make-org-link-ci= te-key-visible font-lock-add-keywords nil ((org-ref-match-next-cite-link (0 (quote org-ref-cite-face) t)) (org-ref-match-next-label-link (0 (quote org-ref-label-face) t)) (org-ref-match-next-ref-link (0 (quote org-ref-ref-face) t)) (org-ref-match-next-bibliography-link (0 (quote org-link) t)) (org-ref-match-next-bibliographystyle-link (0 (quote org-link) t))) t] 4] #[0 "\300\301\302\303#\207" [font-lock-add-keywords nil ((or-next-acronym-link (0 (quote org-ref-a= cronym-face) t))) t] 4] #[0 "\300\301\302\303#\207" [font-lock-add-keywords nil ((or-next-glossary-link (0 (quote org-ref-= glossary-face) t))) t] 4] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] = 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append = local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load) org-ref-insert-link-function 'org-ref-helm-insert-cite-link org-ref-insert-ref-function 'org-ref-helm-insert-ref-link org-time-stamp-custom-formats '("=C2=AB%d-%m-%Y %a=C2=BB" . "=C2=AB%d-%m-%= Y %a %H:%M=C2=BB") org-ascii-format-drawer-function '(lambda (name contents width) contents) org-format-latex-header "\\documentclass{article}\n\\usepackage[usenames]{= color}\n[PACKAGES]\n[DEFAULT-PACKAGES]\n\\pagestyle{empty} % do= not remove\n% The settings below are copied from fullpage.sty\n\\setlength= {\\textwidth}{\\paperwidth}\n\\addtolength{\\textwidth}{-3cm}\n\\setlength{= \\oddsidemargin}{1.5cm}\n\\addtolength{\\oddsidemargin}{-2.54cm}\n\\setleng= th{\\evensidemargin}{\\oddsidemargin}\n\\setlength{\\textheight}{\\paperhei= ght}\n\\addtolength{\\textheight}{-\\headheight}\n\\addtolength{\\textheigh= t}{-\\headsep}\n\\addtolength{\\textheight}{-\\footskip}\n\\addtolength{\\t= extheight}{-3cm}\n\\setlength{\\topmargin}{1.5cm}\n\\newtheorem{thm}{Theore= m}\n\\newtheorem{defn}{Definition}\n\\newtheorem{lem}{Lemma}\n\\newtheorem{= cor}{Corollary}\n\\newtheorem{rem}{Remark}\n\\newtheorem{bei}{}\n\\newtheor= em{prop}{Preposition}\n\\newcommand{\\setR}{{\\mathord{\\mathbb R}}}\n\\add= tolength{\\topmargin}{-2.54cm} " org-ref-default-bibliography '("/home/oub/tex/bib/bibgraf.bib") org-odt-format-drawer-function '(lambda (name contents) contents) org-gnus-prefer-web-links t org-display-custom-times t org-from-is-user-regexp "\\" org-ref-bibliography-notes '("/home/oub/tex/bib/notes.org") org-html-format-drawer-function '(lambda (name contents) contents) org-export-before-processing-hook '(f-ox-filter-table-column-del) org-odt-format-headline-function 'org-odt-format-headline-default-function org-metadown-hook '(org-babel-pop-to-session-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-ref-clean-bibtex-key-function '(lambda (key) (replace-regexp-in-string= ":" "" key)) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-ref-get-pdf-filename-function 'org-ref-get-pdf-filename org-babel-load-languages '((emacs-lisp . t) (R . t)) org-ref-insert-cite-key "C-c c" org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-confirm-shell-link-function 'yes-or-no-p )