emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John MacCallum <john.m@ccallum.com>
To: emacs-orgmode@gnu.org
Subject: Re: Export visible part of tree to latex
Date: Fri, 30 Dec 2011 14:51:31 -0800	[thread overview]
Message-ID: <7CCDCC49-95E2-4D97-8788-DD4463192EBD@ccallum.com> (raw)
In-Reply-To: <24250.1325278976@alphaville.dokosmarshall.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 <john.m@ccallum.com> 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

      reply	other threads:[~2011-12-30 22:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29 21:02 Export visible part of tree to latex John MacCallum
2011-12-30 19:23 ` John MacCallum
2011-12-30 21:02   ` Nick Dokos
2011-12-30 22:51     ` John MacCallum [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=7CCDCC49-95E2-4D97-8788-DD4463192EBD@ccallum.com \
    --to=john.m@ccallum.com \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).