From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leslie Watter Subject: Re: How to avoid \title{} and \date{} in latex export Date: Wed, 10 Apr 2019 22:15:09 -0300 Message-ID: References: Reply-To: leslie@watter.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000861414058636eb36" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEOJJ-0007dt-3P for emacs-orgmode@gnu.org; Wed, 10 Apr 2019 21:15:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEOJH-0007Xp-UY for emacs-orgmode@gnu.org; Wed, 10 Apr 2019 21:15:25 -0400 Received: from mail-it1-f179.google.com ([209.85.166.179]:56152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hEOJH-0007WJ-Jo for emacs-orgmode@gnu.org; Wed, 10 Apr 2019 21:15:23 -0400 Received: by mail-it1-f179.google.com with SMTP id y134so6858990itc.5 for ; Wed, 10 Apr 2019 18:15:22 -0700 (PDT) In-Reply-To: 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: Flavio Leonardo Cavalcanti de Moura , org-mode-email --000000000000861414058636eb36 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Flavio, If you export the whole file directly #+TITLE: should solve your problem. But if you export the subsection only, you'll better add the following to your properties drawer: ------- * My Section :PROPERTIES: :EXPORT_FILE_NAME: my-filename-that-has-a-different-name-than-the-section.pdf :EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil :EXPORT_TITLE: :EXPORT_AUTHOR: :EXPORT_DATE: :END: -------- org will then remove Title, author and date. Hope that helps. LEslie On Wed, Apr 10, 2019 at 1:11 PM Flavio Leonardo Cavalcanti de Moura < contato@flaviomoura.mat.br> wrote: > Hello, > > My org file uses a latex class that, after exporting, is in conflict with > the lines \date{} and \title{} automatically generated by orgmode latex > export. I already tried the following headings for the org file: > > 1. > #+TITLE: > #+DATE: > > 2. > #+TITLE: > #+option: date:nil > > 3. > #+option: title:nil date:nil > > But in all cases the lines > \title{} > \date{} > are in the tex file automatically generated by the export engine. Is ther= e > a way to prevent the addition of these lines? > > Best regards, > Fl=C3=A1vio. > > --=20 Leslie H. Watter --000000000000861414058636eb36 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Flavio,

= If you export the whole file directly
#+TITLE:
should solve your problem.

But if you export the= subsection only, you'll better add the following to your properties dr= awer:


-------
* My Sectio= n
:PROPERTIES:
:EXPORT_FILE_NAME: my-filename-that-has-a-d= ifferent-name-than-the-section.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <= ;:nil ^:nil
:EXPORT_TITLE:
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END= :
--------

org will then remove = Title, author and date.

Hope that helps.

LEslie


<= br>
On Wed,= Apr 10, 2019 at 1:11 PM Flavio Leonardo Cavalcanti de Moura <contato@flaviomoura.m= at.br> wrote:
Hello,=C2=A0

My org file uses a la= tex class that, after exporting, is in conflict with the lines \date{} and = \title{} automatically generated by orgmode latex export. I already tried t= he following headings for the org file:

1.=C2=A0
=C2=A0#+TITLE:
#+DATE:

2.=C2=A0=
#+TITLE:
#+option: date:nil

<= /div>
3.
#+option: title:nil date:nil
But in all cases the lines
\title{}
\date{= }
are in the tex file automatically generated by the export engin= e. Is there a way to prevent the addition of these lines?

Best regards,=C2=A0
Fl=C3=A1vio.



--
Leslie H. Watter
--000000000000861414058636eb36--