From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Bug: Generation of pdf when using OPTIONS: H: faulty [7.9.2 (release_7.9.2-588-g8fb2cb @ /home/rkrug/.emacs.d/org-mode/lisp/)] Date: Fri, 16 Nov 2012 09:03:16 +0100 Message-ID: <50A5F344.4070103@gmail.com> References: <50A4F62D.5020604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZGtX-0005TL-Ol for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 03:03:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZGtU-00010Z-Ic for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 03:03:23 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:33714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZGtU-00010T-97 for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 03:03:20 -0500 Received: by mail-wi0-f171.google.com with SMTP id c10so3389871wiw.12 for ; Fri, 16 Nov 2012 00:03:19 -0800 (PST) In-Reply-To: <50A4F62D.5020604@gmail.com> 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: Rainer@krugs.de Cc: emacs-orgmode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Can somebody please confirm if this is a bug or caused by my setup? Thanks, Rainer On 15/11/12 15:03, Rainer M Krug wrote: > Hi > > When exporting the tree below (Linear Mixed Effect Models) as pdf, the some headers are omitted > when OPTIONS: H: is used. When this option is removed, the export is fine, but as expected the > fourth level headers are converted to lists, but I would like to have them as headers in the > toc. This worked in earlier versions of org, but unfortunately I can not tell you when it > changed. > > I attach the org file, tex and pdf > > Cheers, > > Rainer > > > #+OPTIONS: toc:5 #+OPTIONS: H:5 > > * Linear Mixed Effect Models Load the package nlme #+begin_src R # #+end_src > > ** Brunia laevis *** Height Clean old =dat.*= objects out #+begin_src R # #+end_src > > **** Define the "default" models #+begin_src R # #+end_src > > **** Fit a linear model as a baseline #+begin_src R # #+end_src > > **** Fit the lme for different random effects random intercept and slope #+begin_src R # > #+end_src > > only random intercept #+begin_src R # #+end_src > > > > Emacs : GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.13) of 2012-11-06 on dubnium, > modified by Debian Package: Org-mode version 7.9.2 (release_7.9.2-588-g8fb2cb @ > /home/rkrug/.emacs.d/org-mode/lisp/) > > current state: ============== (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point > org-babel-execute-safely-maybe) org-export-latex-packages-alist '(("" "color" t) ("" "listings" > t)) org-src-fontify-natively t org-plantuml-jar-path "/home/rkrug/jar/plantuml.jar" > org-export-kill-product-buffer-when-displayed t org-export-with-drawers nil org-ellipsis "? ? > ?" 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-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-confirm-babel-evaluate nil org-speed-command-hook > '(org-speed-command-default-hook org-babel-speed-command-hook) org-src-window-setup > 'current-window org-babel-pre-tangle-hook '(save-buffer) org-occur-hook > '(org-first-headline-recenter) org-structure-template-alist '(("lua" "#+begin_src lua \n > ?\n#+end_src" "\n\n") ("r" "#+begin_src R ?\n\n#+end_src" " lang=\"R\">\n\n") ("s" "#+BEGIN_SRC ?\n\n#+END_SRC" "\n\n") ("e" > "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE" "\n?\n") ("q" > "#+BEGIN_QUOTE\n?\n#+END_QUOTE" "\n?\n") ("v" "#+BEGIN_VERSE\n?\n#+END_VERSE" > "\n?\n") ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER" "
\n?\n
") ("l" > "#+BEGIN_LaTeX\n?\n#+END_LaTeX" "\n?\n") ("L" "#+LaTeX: " > "?") ("h" "#+BEGIN_HTML\n?\n#+END_HTML" " style=\"html\">\n?\n") ("H" "#+HTML: " "?") ("a" > "#+BEGIN_ASCII\n?\n#+END_ASCII") ("A" "#+ASCII: ") ("i" "#+INDEX: ?" "#+INDEX: ?") ("I" > "#+INCLUDE: %file ?" "")) 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-hide-leading-stars t org-capture-templates '(("p" "Problem to be logged in buffer" entry > (file+headline (buffer-file-name) "QUESTIONS") "* %?\n- revision :: %(symbol-name > (vc-working-revision (buffer-file-name (org-capture-get :original-buffer))))\n- state :: > %(symbol-name (vc-state (buffer-file-name (org-capture-get :original-buffer))))\n- link :: > %a \n- author :: Rainer M Krug, email: Rainer@krugs.de") ("c" "Changes to be logged in > buffer" entry (file+headline (buffer-file-name) "CHANGES") "* %T %? \n- revision :: > %(symbol-name (vc-working-revision (buffer-file-name (org-capture-get :original-buffer))))\n- > state :: %(symbol-name (vc-state (buffer-file-name (org-capture-get :original-buffer))))\n- > link :: %a \n- author :: Rainer M Krug, email: Rainer@krugs.de %n") ("t" "TODO to be > logged in buffer" entry (file+headline (buffer-file-name) "TODOs") "* TODO %?\n- revision :: > %(symbol-name (vc-working-revision (buffer-file-name (org-capture-get :original-buffer))))\n- > state :: %(symbol-name (vc-state (buffer-file-name (org-capture-get :original-buffer))))\n- > link :: %a \n- author :: Rainer M Krug, email: Rainer@krugs.de") ("T" "Todo to be logged > in Notes.org" entry (file+headline (concat org-directory "/Notes.org") "Tasks") "* TODO %?\n > %i\n %T\n %a") ("M" "Misc to be logged in Notes.org" entry (file+headline (concat org-directory > "/Notes.org") "Misc") "* %?\n %i\n %T\n %a") ("I" "Info to be logged in Notes.org" entry > (file+headline (concat org-directory "/Notes.org") "Information") "* %?\n %i\n %T\n %a") ("B" > "Things I can blog about to be logged in Notes.org" entry (file+headline (concat org-directory > "/Notes.org") "To Blog") "* %?\n %i\n %T\n %a") ("S" "Useful code snippets logged in > Programming.org" entry (file+headline (concat org-directory "/Programming.org") "Code > Snippet") "* %? %^g\n%T\n#+begin_src %^{Programming Language|R|R|C|elisp} > \n%i\n#+end_src\n%a") ) org-export-preprocess-before-normalizing-links-hook > '(org-remove-file-link-modifiers) org-ctrl-k-protect-subtree "ask" org-format-latex-options > '(:foreground default :background default :scale 1.3 :html-foreground "Black" :html-background > "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")) org-clock-out-hook > '(org-clock-remove-empty-clock-drawer) org-export-first-hook > '(org-beamer-initialize-open-trackers) org-mode-hook '((lambda nil (local-set-key "\357" (quote > org-mime-org-buffer-htmlize))) #[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 "~/Documents/orgfiles" > org-from-is-user-regexp "\\" 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-listings t > org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-metadown-hook > '(org-babel-pop-to-session-maybe) org-startup-indented t 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-babel-tangle-lang-exts > '(("latex" . "tex") ("emacs-lisp" . "el")) org-confirm-shell-link-function 'y-or-n-p ) > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCl8z4ACgkQoYgNqgF2egpdyQCfeJRfCAGPXa2gY01aCINmv86X misAn2EXQvIW+KS6NREg+nbw0YZSJqcg =168T -----END PGP SIGNATURE-----