From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to avoid \title{} and \date{} in latex export Date: Thu, 11 Apr 2019 00:01:06 -0400 Message-ID: <877ec1b37h.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEQuA-0007Zk-NI for emacs-orgmode@gnu.org; Thu, 11 Apr 2019 00:01:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEQu0-00058J-LK for emacs-orgmode@gnu.org; Thu, 11 Apr 2019 00:01:34 -0400 Received: from [195.159.176.226] (port=55778 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hEQtw-00054o-MV for emacs-orgmode@gnu.org; Thu, 11 Apr 2019 00:01:26 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hEQtp-00100H-Fv for emacs-orgmode@gnu.org; Thu, 11 Apr 2019 06:01:17 +0200 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: emacs-orgmode@gnu.org Flavio Leonardo Cavalcanti de Moura writes: > 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! If I were you, I would write it all using the article class, then once satisfied, I would export it to a latex file, make the necessay changes (article -> entcs, frontmatter included) and then process it through latex one final time. It is just not worth fighting against the peculiarities of the entcs class or trying to bring it into submission: it's just a badly written class. But I would also suggest that you consider publishing your paper in a different journal. Elsevier is a toxic publisher and is being boycotted by many prominent scientists. See http://thecostofknowledge.com/ and Timothy Gowers' blog: https://gowers.wordpress.com/category/elsevier/ > > Best regards,  > Flávio. >   > > Hi  Flávio, > > 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 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 there > > > a way to prevent the addition of these lines? > > > > > > Best regards, > > > Flávio. > > > > -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler