From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Kauffman Subject: Bug: Property inheritance in beamer export [7.4] Date: Wed, 9 Nov 2011 14:36:04 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROEsS-000183-KT for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 15:36:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROEsQ-0002Kq-WA for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 15:36:08 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:50795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROEsQ-0002Kd-L2 for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 15:36:06 -0500 Received: by bke17 with SMTP id 17so668386bke.0 for ; Wed, 09 Nov 2011 12:36:05 -0800 (PST) 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 I'd like to be able to set a global property which shrinks all text tofit in the allotted space; this is great for source examples. Aftersome experimentation I put #+PROPERTY: BEAMER_envargs [shrink] in the preamble and did (set-variable (quote org-use-property-inheritance) t nil) According to my understanding of the documentation, this should makeevery outline entry inherit the desired property, regardless of whetherit has a properties list itself. =A0After reloading the file, internallythis seems to work fine: I move to any heading and eval the followinglisp (org-entry-get (point) "BEAMER_envargs" 1) which gives the result "[shrink]" However, on exporting the org file to pdf through latex, the shrinkingdoes not seem to happen. The source code runs off the page. Is property inheritance not respected during export? Cheers,Chris ---ORG SETUP--- Emacs =A0: GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)=A0of 2011-04-04 on rothera, modified by DebianPackage: Org-mode version 7.4 current state:=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D(setq org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)=A0org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-files '("~/mypubs/worklog")=A0org-agenda-window-setup 'other-window=A0org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-export-latex-format-toc-function 'org-export-latex-format-toc-default=A0org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe =09 org-babel-hide-result-toggle-maybe)=A0org-src-mode-hook '(org-src-babel-configure-edit-buffer =09 org-src-mode-configure-edit-buffer)=A0org-confirm-shell-link-function 'yes-or-no-p=A0org-export-first-hook '(org-beamer-initialize-open-trackers)=A0org-agenda-before-write-hook '(org-agenda-add-entry-text)=A0org-use-property-inheritance t outline-mode-hook '((lambda nil =A0 =A0 =A0(local-set-key "\356" (quote outline-next-visible-heading)) =A0 =A0 =A0(local-set-key "\360" (quote outline-previous-visible-heading)) =A0 =A0 =A0(local-set-key (quote [f12]= ) (quote ck-outline-toggle))) =A0 =A0 )=A0org-babel-pre-tangle-hook '(save-buffer)=A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers =A0org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)=A0org-mode-hook '((lambda nil (local-set-key "=03d" (quote insert-date-heading)) =A0(local-set-key "=03=01" (quote org-agenda)) =A0(local-set-key "\232" (quote format-float-column)) =A0(local-set-key "=03e" (quote org-example)) =09 (local-set-key "=03v" (quote org-verbatim)) =A0(local-set-key "=03q" (quote org-quote)) (auto-fill-mode 1) =A0(setq org-agenda-window-setup (quote other-window))) #[nil "\300\301\302\303\304$\207" =09 [org-add-hook change-major-mode-hook org-show-block-all append local] =A0 5] #[nil "\300\301\302\303\304$\207" =A0 [org-add-hook change-major-mode-hook org-babel-show-result-all append =A0 =A0local] =09 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)=A0org-confirm-elisp-link-function 'yes-or-no-p=A0org-export-interblocks '((lob org-babel-exp-lob-one-liners) =A0(src org-babel-exp-inline-src-blocks))=A0org-occur-hook '(org-first-headline-recenter)=A0org-from-is-user-regexp "\\" org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)=A0org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc =09 org-beamer-auto-fragile-frames =09 org-beamer-place-default-actions-for-lists)=A0org-metadown-hook '(org-babel-pop-to-session-maybe)=A0org-export-blocks '((src org-babel-exp-src-blocks nil) =A0 =A0 (comment org-export-blocks-format-comment t) =A0 =A0 (ditaa org-export-blocks-format-ditaa nil) =A0 =A0 (dot org-export-blocks-format-dot nil))=A0) --=20 Karypis Research Group Dept. of Computer Science University of Minnesota