emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: John MacCallum <john.m@ccallum.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Export visible part of tree to latex
Date: Fri, 30 Dec 2011 16:02:56 -0500	[thread overview]
Message-ID: <24250.1325278976@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from John MacCallum <john.m@ccallum.com> of "Fri, 30 Dec 2011 11:23:54 PST." <A869B12C-846B-414B-A122-7E5A8AF18287@ccallum.com>

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 21:03 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 [this message]
2011-12-30 22:51     ` John MacCallum

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=24250.1325278976@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=john.m@ccallum.com \
    /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).