From mboxrd@z Thu Jan 1 00:00:00 1970 From: John MacCallum Subject: Re: Export visible part of tree to latex Date: Fri, 30 Dec 2011 14:51:31 -0800 Message-ID: <7CCDCC49-95E2-4D97-8788-DD4463192EBD@ccallum.com> References: <24250.1325278976@alphaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RglIW-0002fr-MK for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 17:51:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RglIV-0004rh-4u for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 17:51:36 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:54300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RglIU-0004rY-W0 for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 17:51:35 -0500 Received: by iacb35 with SMTP id b35so28293485iac.0 for ; Fri, 30 Dec 2011 14:51:33 -0800 (PST) In-Reply-To: <24250.1325278976@alphaville.dokosmarshall.org> 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 Thanks for the response, Nick. It looks like you have the variable org-show-hierarchy-above set to = 't'---if I set it to 't' on my machine, I get output that looks like = yours. Would you mind setting it to 'nil' and trying again? Thanks, JM On Dec 30, 2011, at 1:02 PM, Nick Dokos wrote: > John MacCallum wrote: >=20 >> Hi everyone, >>=20 >> I just wanted to make sure my original questions / problems were >> clearly stated since no one responded to my original email. >>=20 >> 1. I think there is a bug when exporting the visible part of the >> outline tree to a latex file (C-c C-e v l). Html export of the >> visible part works fine, but the behavior of the latex export is not >> the same (please see my original message below). >>=20 >> ... >>> \section{head} >>> \label{sec-1} >>>=20 >>> \end{document} >=20 > I can't reproduce it (Org-mode version 7.8.02 = (release_7.8.02.57.g5cd52)). > With your input file: >=20 > --8<---------------cut here---------------start------------->8--- > * head > ** topic 1 :topic: > *** foo > **** some foo :foo: > *** bar > **** some bar :bar: > ** topic 2 > *** foo > **** some other foo :foo: > *** bar > **** some other bar :bar: > --8<---------------cut here---------------end--------------->8--- >=20 > after C-c \ foo RET and C-c C-e v l, I get this in the .tex file: >=20 > ,---- > | ... > | \section{head} > | \label{sec-1} > | \subsection{topic 1 \textbf{:topic:}} > | \label{sec-1-1} > | \subsubsection{foo} > | \label{sec-1-1-1} > | \begin{itemize} > |=20 > | \item some foo \textbf{:foo:}\\ > | \label{sec-1-1-1-1}% > | \end{itemize} % ends low level > | \subsection{topic 2} > | \label{sec-1-2} > | \subsubsection{foo} > | \label{sec-1-2-1} > | \begin{itemize} > |=20 > | \item some other foo \textbf{:foo:}\\ > | \label{sec-1-2-1-1}% > | \end{itemize} % ends low level > | ... > `---- >=20 > Nick