emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: andrea.rossetti@gmail.com
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <84wqmanmcb.fsf@LAPTOP-ANDREA.i-did-not-set--mail-host-address--so-tickle-me> (raw)


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
 )

             reply	other threads:[~2013-09-21 16:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-21 16:58 andrea.rossetti [this message]
2013-09-30  0:14 ` proposed patch for org-export-latex-hyperref-options-format Andrea Rossetti
2013-09-30 10:13   ` Nicolas Goaziou
2013-09-30 18:16     ` Andrea Rossetti
2013-10-01 15:42       ` Nicolas Goaziou
2013-10-01 19:51         ` Andrea Rossetti

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=84wqmanmcb.fsf@LAPTOP-ANDREA.i-did-not-set--mail-host-address--so-tickle-me \
    --to=andrea.rossetti@gmail.com \
    --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).