[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Export visible part of tree to latex
From: |
John MacCallum |
Subject: |
Re: [O] Export visible part of tree to latex |
Date: |
Fri, 30 Dec 2011 14:51:31 -0800 |
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 <address@hidden> wrote:
>
>> Hi everyone,
>>
>> I just wanted to make sure my original questions / problems were
>> clearly stated since no one responded to my original email.
>>
>> 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).
>>
>> ...
>>> \section{head}
>>> \label{sec-1}
>>>
>>> \end{document}
>
> I can't reproduce it (Org-mode version 7.8.02 (release_7.8.02.57.g5cd52)).
> With your input file:
>
> --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---
>
> after C-c \ foo RET and C-c C-e v l, I get this in the .tex file:
>
> ,----
> | ...
> | \section{head}
> | \label{sec-1}
> | \subsection{topic 1 \textbf{:topic:}}
> | \label{sec-1-1}
> | \subsubsection{foo}
> | \label{sec-1-1-1}
> | \begin{itemize}
> |
> | \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}
> |
> | \item some other foo \textbf{:foo:}\\
> | \label{sec-1-2-1-1}%
> | \end{itemize} % ends low level
> | ...
> `----
>
> Nick