From mboxrd@z Thu Jan 1 00:00:00 1970 From: Flavio Leonardo Cavalcanti de Moura Subject: Re: How to avoid \title{} and \date{} in latex export Date: Wed, 10 Apr 2019 18:27:49 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000786aea058633becc" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEKrD-0003Gd-F2 for emacs-orgmode@gnu.org; Wed, 10 Apr 2019 17:34:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEKlJ-00034d-Fz for emacs-orgmode@gnu.org; Wed, 10 Apr 2019 17:28:06 -0400 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:44115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hEKlI-00031L-Mo for emacs-orgmode@gnu.org; Wed, 10 Apr 2019 17:28:05 -0400 Received: by mail-lj1-x231.google.com with SMTP id h16so3451006ljg.11 for ; Wed, 10 Apr 2019 14:28:02 -0700 (PDT) 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: Julius.Dittmar@gmx.de, emacs-orgmode@gnu.org --000000000000786aea058633becc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Jilius, Thank you very much for your reply. It is a good idea, but the latex class I am using (entcs) has its own \title and \date, and by renewing the command I overwrite both... I am removing these lines by hand from the tex file generated by the export engine... but it is not nice. Any help is very much appreciated! Best regards, Fl=C3=A1vio. > Hi Fl=C3=A1vio, > > perhaps you could add something like (untested) > > #+LATEX_HEADER: \renewcommand{\title}[1]{} \renewcommand{\date}[1]{} > > to your org-file? It's not exactly what you asked for, but it might > > alleviate your problem. > > HTH, > > Julius > > Am 10.04.19 um 18:10 schrieb Flavio Leonardo Cavalcanti de Moura: > > > Hello, > > > > > > My org file uses a latex class that, after exporting, is in conflict wi= th > > > 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 >> there > > > a way to prevent the addition of these lines? > > > > > > Best regards, > > > Fl=C3=A1vio. > > > > > --000000000000786aea058633becc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Jilius,=C2=A0

Thank you very much for your reply. It is a good idea, but the latex = class I am using (entcs) has its own \title and \date, and by renewing the = command I overwrite both...=C2=A0

I am removing th= ese lines by hand from the tex file generated by the export engine... but i= t is not nice. Any help is very much appreciated!

= Best regards,=C2=A0
Fl=C3=A1vio.
=C2=A0
Hi=C2=A0 Fl=C3=A1vio,
perhaps you could add something like (untested)
#+LATEX_HEADER= : \renewcommand{\title}[1]{} \renewcommand{\date}[1]{}
to your org-file? It's not ex= actly what you asked for, but it might
alleviate your problem.
HTH,
Julius
Am 10.04.19 um 18:10 schrieb Flavio Leonardo Cavalca= nti de Moura:
> Hello,
= >
> My = org file uses a latex class that, after exporting, is in conflict with
> the lines \d= ate{} 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 there
> a way to prevent the addition of these li= nes?
>
> Best regard= s,
> Fl=C3= =A1vio.
><= /blockquote>
--000000000000786aea058633becc--