emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to avoid \title{} and \date{} in latex export
@ 2019-04-10 15:24 Flavio Leonardo Cavalcanti de Moura
  2019-04-11 19:32 ` Jeremie Juste
  0 siblings, 1 reply; 9+ messages in thread
From: Flavio Leonardo Cavalcanti de Moura @ 2019-04-10 15:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* How to avoid \title{} and \date{} in latex export
@ 2019-04-10 16:10 Flavio Leonardo Cavalcanti de Moura
  2019-04-10 18:30 ` Julius Dittmar
  2019-04-11  1:15 ` Leslie Watter
  0 siblings, 2 replies; 9+ messages in thread
From: Flavio Leonardo Cavalcanti de Moura @ 2019-04-10 16:10 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 858 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to avoid \title{} and \date{} in latex export
  2019-04-10 16:10 How to avoid \title{} and \date{} in latex export Flavio Leonardo Cavalcanti de Moura
@ 2019-04-10 18:30 ` Julius Dittmar
  2019-04-11  1:15 ` Leslie Watter
  1 sibling, 0 replies; 9+ messages in thread
From: Julius Dittmar @ 2019-04-10 18:30 UTC (permalink / raw)
  To: emacs-orgmode

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.
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to avoid \title{} and \date{} in latex export
@ 2019-04-10 21:27 Flavio Leonardo Cavalcanti de Moura
  2019-04-11  4:01 ` Nick Dokos
  0 siblings, 1 reply; 9+ messages in thread
From: Flavio Leonardo Cavalcanti de Moura @ 2019-04-10 21:27 UTC (permalink / raw)
  To: Julius.Dittmar, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]

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á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.
>
> >
>
>

[-- Attachment #2: Type: text/html, Size: 6085 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to avoid \title{} and \date{} in latex export
  2019-04-10 16:10 How to avoid \title{} and \date{} in latex export Flavio Leonardo Cavalcanti de Moura
  2019-04-10 18:30 ` Julius Dittmar
@ 2019-04-11  1:15 ` Leslie Watter
  1 sibling, 0 replies; 9+ messages in thread
From: Leslie Watter @ 2019-04-11  1:15 UTC (permalink / raw)
  To: Flavio Leonardo Cavalcanti de Moura, org-mode-email

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

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 there
> a way to prevent the addition of these lines?
>
> Best regards,
> Flávio.
>
>

-- 
Leslie H. Watter

[-- Attachment #2: Type: text/html, Size: 2291 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to avoid \title{} and \date{} in latex export
  2019-04-10 21:27 Flavio Leonardo Cavalcanti de Moura
@ 2019-04-11  4:01 ` Nick Dokos
  2019-04-11  7:26   ` Georgios Kaklamanos
  0 siblings, 1 reply; 9+ messages in thread
From: Nick Dokos @ 2019-04-11  4:01 UTC (permalink / raw)
  To: emacs-orgmode

Flavio Leonardo Cavalcanti de Moura <contato@flaviomoura.mat.br> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to avoid \title{} and \date{} in latex export
  2019-04-11  4:01 ` Nick Dokos
@ 2019-04-11  7:26   ` Georgios Kaklamanos
  0 siblings, 0 replies; 9+ messages in thread
From: Georgios Kaklamanos @ 2019-04-11  7:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 4042 bytes --]

Hi,

+1 for not supporting Elsevier.

Nonetheless, if you *have* to use this template, or if you encounter
similar issues with another one, I've used the following workaround in
the past:
- export just the body of the article (hitting C-b at the export frame)
- input that at your tex file using \input{}

Cheers,
Georgios

On 11/04/2019 06:01, Nick Dokos wrote:
> Flavio Leonardo Cavalcanti de Moura <contato@flaviomoura.mat.br> 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.
>>    
>>         >
>>
> 

-- 
------------------------------------------------------------------
Georgios Kaklamanos
Doctoral Student, e-Science Group, GWDG
mailto: georgios.kaklamanos@gwdg.de
Telefon: 0551 201-26803
------------------------------------------------------------------
GWDG - Gesellschaft für wissenschaftliche
Datenverarbeitung mbH Göttingen
Am Faßberg 11, 37077 Göttingen, Germany

WWW: www.gwdg.de    mailto: gwdg@gwdg.de
Phone: +49 (0) 551 201-1510
Fax:   +49 (0) 551 201-2150
------------------------------------------------------------------
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen
Handelsregister-Nr. B 598
------------------------------------------------------------------
Zertifiziert nach ISO 9001
------------------------------------------------------------------


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5358 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to avoid \title{} and \date{} in latex export
  2019-04-10 15:24 Flavio Leonardo Cavalcanti de Moura
@ 2019-04-11 19:32 ` Jeremie Juste
  2019-04-11 20:58   ` Flavio Leonardo Cavalcanti de Moura
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremie Juste @ 2019-04-11 19:32 UTC (permalink / raw)
  To: Flavio Leonardo Cavalcanti de Moura; +Cc: emacs-orgmode


Hello Flavio,

I believe you meant

#+OPTIONS:    date:nil title:nil

Notice the "s" at the end of option

Hope this helps,

Jeremie

Flavio Leonardo Cavalcanti de Moura <contato@flaviomoura.mat.br> writes:

> 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to avoid \title{} and \date{} in latex export
  2019-04-11 19:32 ` Jeremie Juste
@ 2019-04-11 20:58   ` Flavio Leonardo Cavalcanti de Moura
  0 siblings, 0 replies; 9+ messages in thread
From: Flavio Leonardo Cavalcanti de Moura @ 2019-04-11 20:58 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

Thank you very much for all answer and advices!

Best regards,
Flávio

On Thu, Apr 11, 2019 at 4:32 PM Jeremie Juste <jeremiejuste@gmail.com>
wrote:

>
> Hello Flavio,
>
> I believe you meant
>
> #+OPTIONS:    date:nil title:nil
>
> Notice the "s" at the end of option
>
> Hope this helps,
>
> Jeremie
>
> Flavio Leonardo Cavalcanti de Moura <contato@flaviomoura.mat.br> writes:
>
> > 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.
>

[-- Attachment #2: Type: text/html, Size: 1596 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-04-11 20:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-10 16:10 How to avoid \title{} and \date{} in latex export Flavio Leonardo Cavalcanti de Moura
2019-04-10 18:30 ` Julius Dittmar
2019-04-11  1:15 ` Leslie Watter
  -- strict thread matches above, loose matches on Subject: below --
2019-04-10 21:27 Flavio Leonardo Cavalcanti de Moura
2019-04-11  4:01 ` Nick Dokos
2019-04-11  7:26   ` Georgios Kaklamanos
2019-04-10 15:24 Flavio Leonardo Cavalcanti de Moura
2019-04-11 19:32 ` Jeremie Juste
2019-04-11 20:58   ` Flavio Leonardo Cavalcanti de Moura

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).