From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy 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 Message-ID: References: <87twi343jk.fsf@freedom.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0vjn-0006uq-2Z for emacs-orgmode@gnu.org; Thu, 12 May 2016 14:53:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0vjk-0002CI-Ma for emacs-orgmode@gnu.org; Thu, 12 May 2016 14:53:29 -0400 Received: from mail-vk0-x241.google.com ([2607:f8b0:400c:c05::241]:33709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0vjk-0002C5-IS for emacs-orgmode@gnu.org; Thu, 12 May 2016 14:53:28 -0400 Received: by mail-vk0-x241.google.com with SMTP id s184so9379781vkb.0 for ; Thu, 12 May 2016 11:53:28 -0700 (PDT) In-Reply-To: <87twi343jk.fsf@freedom.localdomain> 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" To: Andrea Cc: emacs-orgmode On Thu, May 12, 2016 at 11:57 AM, Andrea 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