From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhihao Ding Subject: Re: :EXPORT tags in property drawer not recognised in org 8.3 Date: Mon, 5 Oct 2015 09:49:22 +0100 Message-ID: References: <87mvw5vtdv.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114128acfd7fbf0521579621 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj1SW-0005JC-SD for emacs-orgmode@gnu.org; Mon, 05 Oct 2015 04:49:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj1SV-00067Y-Sg for emacs-orgmode@gnu.org; Mon, 05 Oct 2015 04:49:24 -0400 Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:35858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj1SV-00067U-L2 for emacs-orgmode@gnu.org; Mon, 05 Oct 2015 04:49:23 -0400 Received: by laddr2 with SMTP id dr2so3604936lad.3 for ; Mon, 05 Oct 2015 01:49:22 -0700 (PDT) In-Reply-To: <87mvw5vtdv.fsf@gmx.us> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org --001a114128acfd7fbf0521579621 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Rasmus. After some exploration I realised that I can't have empty lines or comment lines (by #) between :PROPERTIES: and :END: - I used to have blocks of :EXPORT_ for different things. Once I remove those I get the right export as before. This is fixed for me now. Thanks, Zhihao On 29 September 2015 at 21:54, Rasmus wrote: > Hi Zhihao, > > Zhihao Ding writes: > > > Dear Org experts, > > > > I am having some problems with exporting in org 8.3.1. I've been using > > :PROPERTIES to control export of a heading, e.g. > > > > :PROPERTIES: > > :EXPORT_LaTeX_HEADER+: \usepackage{array} > > :EXPORT_LaTeX_HEADER+: \usepackage{tikz} > > :EXPORT_LATEX_HEADER+: \usepackage{geometry} > > :EXPORT_TITLE: title > > :EXPORT_FILE_NAME: file.pdf > > :END: > > > > However I realised that they are not correctly recognised in the latex > > output. Any advice? > > > Could you be more specific about what is wrong? In a quick test I got the > requested packages and title. > > Could you try 8.3.2 or master to see if the problem persists. > > Thanks, > Rasmus > > -- > =E3=83=84 > > > --=20 Regards, Zhihao Ding --001a114128acfd7fbf0521579621 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Rasmus. After some exploration I realised that I ca= n't have empty lines or comment lines (by #) between=C2=A0:PROPERTIES: and=C2=A0:END: - I used to have block= s of :EXPORT_ for different things. Once I remove those I get the right exp= ort as before. This is fixed for me now.=C2=A0

Thanks,=C2=A0
Zhihao

O= n 29 September 2015 at 21:54, Rasmus <rasmus@gmx.us> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Hi Zhihao,

Zhihao Ding <zhihao.ding@gmail.= com> writes:

> Dear Org experts,
>
> I am having some problems with exporting in org 8.3.1. I've been u= sing
> :PROPERTIES to control export of a heading, e.g.
>
> :PROPERTIES:
> :EXPORT_LaTeX_HEADER+: \usepackage{array}
> :EXPORT_LaTeX_HEADER+: \usepackage{tikz}
> :EXPORT_LATEX_HEADER+: \usepackage{geometry}
> :EXPORT_TITLE: title
> :EXPORT_FILE_NAME: file.pdf
> :END:
>
> However I realised that they are not correctly recognised in the latex=
> output. Any advice?


Could you be more specific about what is wrong? In a quick test I go= t the
requested packages and title.

Could you try 8.3.2 or master to see if the problem persists.

Thanks,
Rasmus

--
=E3=83=84





--
Regards,
Zhihao Ding
--001a114128acfd7fbf0521579621--