From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrea.rossetti@gmail.com Subject: Bug: Customization of "Org Export Latex Hyperref Options Format" ignored [8.2 (8.2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20130919/)] Date: Sat, 21 Sep 2013 18:58:12 +0200 Message-ID: <84wqmanmcb.fsf@LAPTOP-ANDREA.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNQVf-0002H5-OR for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 12:58:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNQVb-0003B2-0T for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 12:58:19 -0400 Received: from mail-ee0-x231.google.com ([2a00:1450:4013:c00::231]:42179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNQVa-0003At-LD for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 12:58:14 -0400 Received: by mail-ee0-f49.google.com with SMTP id d41so853424eek.22 for ; Sat, 21 Sep 2013 09:58:12 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello everyone, option "Org Export Latex Hyperref Options Format" (aka org-export-latex-hyperref-options-format) seems to have no effect on my latex exports, i.e. the latex pramble always contains this same text: =========================================== \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Emacs 24.3.1 (Org mode 8.2)}} =========================================== May I please ask if this is reproducible on your installation as well, or if it's just me. Thanks in advance, kindest regards. Andrea https://github.com/thesoftwarebin ============================================= How to reproduce: 1) check that option "Org Latex With Hyperref" is enabled 2) create a simple example.org file: * hello ** blah ** bleah * end 3) export to latex buffer (C-c C-e l L), look at the \hypersetup{...} lines 4) close the *Org LATEX Export* buffer with C-x k 5) add text "blah" somewhere in the value of option "Org Export Latex Hyperref Options Format" 6) export again to latex buffer (C-c C-e l L) 7) \hypersetup{...} lines should have changed accordingly to changes made in step 3), but they don't change for me ============================================= Emacs : GNU Emacs 24.3.1 (i386-mingw-nt6.1.7600) of 2013-03-17 on MARVIN Package: Org-mode version 8.2 (8.2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20130919/) current state: ============== (setq 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-function org-drill-optimal-factor-matrix '((2 (2.2199999999999998 . 2.277) (1.9000000000000001 . 2.065) (2.04 . 2.195)) (1 (1.96 . 3.58) (2.08 . 3.86) (2.2199999999999998 . 3.725) (2.04 . 3.59) (2.36 . 3.86) (2.1799999999999997 . 3.72) (1.7000000000000002 . 3.44)) ) org-export-with-drawers nil org-export-copy-to-kill-ring t org-export-date-timestamp-format "%Y-%m-%d" org-beamer-column-view-format "%45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt)" org-export-with-tags 'not-in-toc org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-export-latex-hyperref-options-format "\\hypersetup{\n pdfkeywords={%s},\n pdfsubject={%s},\n pdfcreator={blah: %s}}\n" org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m org-drill) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-export-with-sub-superscripts '{} org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-default-notes-file "~/.emacs.d/org/notes.org" org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}\n[DEFAULT-PACKAGES]\n[PACKAGES]\n[EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ) org-export-backends '(beamer html icalendar latex md rss) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-enforce-todo-dependencies t org-export-first-hook '(org-beamer-initialize-open-trackers) org-mode-hook '(org-drill-add-cloze-fontification #[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-directory "~/.emacs.d/org" org-beamer-outline-frame-options "" org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-metadown-hook '(org-babel-pop-to-session-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-confirm-shell-link-function 'yes-or-no-p )