emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Andrea <agiugliano91@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)]
Date: Thu, 12 May 2016 13:53:27 -0500	[thread overview]
Message-ID: <CA+M2ft8zzhfa6Jb5EoPcGxS73Sn6CtUPcGpqyAv50CJkV4Hd3A@mail.gmail.com> (raw)
In-Reply-To: <87twi343jk.fsf@freedom.localdomain>

On Thu, May 12, 2016 at 11:57 AM, Andrea <agiugliano91@gmail.com> wrote:
>
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
>
>      http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> Hello,
>
> I am a great fan of org mode, so thanks a lot for maintaining this wonder!
>
> The problem:
>
> when I try to export an org file to an org buffer/file, LaTex blocks are
> removed:
>
> the org file
> ---------------
> * Hello
> #+BEGIN_LaTeX
> hi I am latex
> #+END_LaTeX
> ---------------
> becomes
> ---------------
> # Created 2016-05-12 Thu 17:45
> #+TITLE:
> #+AUTHOR: Andrea
> * Hello
> ---------------

I believe this is due to the new syntax change for export blocks
announced a bit back. See:
- http://orgmode.org/cgit.cgi/org-mode.git/plain/etc/ORG-NEWS

Try this instead:

* Hello
#+BEGIN_export latex
hi I am latex
#+END_export

I get this in the resultant .tex:

\section{Hello}
\label{sec:org1f84eec}
hi I am latex
\end{document}


Best regards,
John

  reply	other threads:[~2016-05-12 18:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12 16:57 Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)] Andrea
2016-05-12 18:53 ` John Hendy [this message]
2016-05-12 18:57   ` Kaushal Modi
2016-05-12 19:16     ` John Hendy
2016-05-12 19:24       ` Kaushal Modi
2016-05-12 19:27         ` John Hendy
2016-05-13 15:45         ` Nicolas Goaziou
2016-05-16 15:31           ` Unique org version for dev builds? (Was: org -> org export ignores latex ..) Kaushal Modi
2016-05-12 21:41       ` Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)] Andrea
2016-05-12 22:00         ` Kaushal Modi
2016-05-12 22:23           ` Andrea
2016-05-12 22:27             ` Kaushal Modi
2016-05-12 22:44               ` Andrea

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=CA+M2ft8zzhfa6Jb5EoPcGxS73Sn6CtUPcGpqyAv50CJkV4Hd3A@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=agiugliano91@gmail.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).