emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to avoid \title{} and \date{} in latex export


From: Nick Dokos
Subject: Re: [O] How to avoid \title{} and \date{} in latex export
Date: Thu, 11 Apr 2019 00:01:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Flavio Leonardo Cavalcanti de Moura <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]