all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Davor Cubranic <cubranic@stat.ubc.ca>
To: emacs-orgmode@gnu.org
Subject: Bug: Nesting of columns and itemized lists is reversed [7.5]
Date: Tue, 10 May 2011 15:05:46 -0700	[thread overview]
Message-ID: <51AB9E03-DA61-4BD4-B238-06179106B956@stat.ubc.ca> (raw)

[-- Attachment #1: Type: text/plain, Size: 2966 bytes --]

In a Beamer presentation, if I nest multiple columns within a list item,
the enclosing 'itemize' environment gets closed before the 'columns'
environment that it contains. See attached .org and the generated .tex

I'm running GNU Emacs 23 from MacPorts, with Org-mode 7.5 installed from
source I downloaded from the Orgmode website.

Davor Cubranic

------------------------------------------------------------------------



Emacs  : GNU Emacs 23.3.1 (x86_64-apple-darwin10.7.0, GTK+ Version 2.24.3)
of 2011-04-04 on toque.stat.ubc.ca
Package: Org-mode version 7.5

current state:
==============
(setq
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
org-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
org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe
                      org-babel-hide-result-toggle-maybe)
org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-export-first-hook '(org-beamer-initialize-open-trackers)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
org-mode-hook '(#[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-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks))
org-occur-hook '(org-first-headline-recenter)
org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
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-metadown-hook '(org-babel-pop-to-session-maybe)
org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t)
                     (ditaa org-export-blocks-format-ditaa nil)
                     (dot org-export-blocks-format-dot nil))
)

[-- Attachment #2: beamer-bug.org --]
[-- Type: application/octet-stream, Size: 1218 bytes --]

#+TITLE:     Foobar
#+AUTHOR:    Davor Cubranic
#+EMAIL:     stat.ubc.ca
#+DATE:      2011-05-10 Tue
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT:
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_FRAME_LEVEL: 2

#+BEAMER_HEADER_EXTRA: \usetheme{default}\usecolortheme{default}
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %8BEAMER_extra(Extra)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 :ETC

* Foobar

** Foo vs Bar
*** bar baz
**** Foo                                                        :BMCOL:B_block:
     :PROPERTIES:
     :BEAMER_col: .5
     :BEAMER_env: block
     :END:
     : foo := foo + 1
     : foo
**** Bar                                                    :BMCOL:B_block:
     :PROPERTIES:
     :BEAMER_col: .5
     :BEAMER_env: block
     :END:
     : bar := bar + 1
     : bar


[-- Attachment #3: beamer-bug.tex --]
[-- Type: application/octet-stream, Size: 1205 bytes --]

% Created 2011-05-10 Tue 14:53
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\providecommand{\alert}[1]{\textbf{#1}}

\title{Foobar}
\author{Davor Cubranic}
\date{2011-05-10 Tue}

\usetheme{default}\usecolortheme{default}
\begin{document}

\maketitle

\begin{frame}
\frametitle{Outline}
\setcounter{tocdepth}{3}
\tableofcontents
\end{frame}


\section{Foobar}
\label{sec-1}
\begin{frame}[fragile]
\frametitle{Foo vs Bar}
\label{sec-1_1}
\begin{itemize}

\item bar baz
\label{sec-1_1_1}%
\begin{columns}
\begin{column}{.5\textwidth}
\begin{block}{Foo}
\label{sec-1_1_1_1}

\begin{verbatim}
      foo := foo + 1
      foo
\end{verbatim}
\end{block}
\end{column}
\begin{column}{.5\textwidth}
\begin{block}{Bar}
\label{sec-1_1_1_2}

\begin{verbatim}
      bar := bar + 1
      bar
\end{verbatim}
\end{block}
\end{itemize} % ends low level
\end{column}
\end{columns}
\end{frame}

\end{document}

                 reply	other threads:[~2011-05-10 22:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51AB9E03-DA61-4BD4-B238-06179106B956@stat.ubc.ca \
    --to=cubranic@stat.ubc.ca \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.