emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leslie Watter <leslie@watter.net>
To: Flavio Leonardo Cavalcanti de Moura <contato@flaviomoura.mat.br>,
	org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: How to avoid \title{} and \date{} in latex export
Date: Wed, 10 Apr 2019 22:15:09 -0300	[thread overview]
Message-ID: <CAKoz4g=HZdzdy5SmjUcFpaPtJYkokmPJQn0-xr+UPiwPC_LQtQ@mail.gmail.com> (raw)
In-Reply-To: <CAOsg_PRyhgWYPA=sgT8mVAGyOQ4mC4wv806f3vV-zzthMa5q8A@mail.gmail.com>

[-- 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 --]

  parent reply	other threads:[~2019-04-11  1:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
  -- 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKoz4g=HZdzdy5SmjUcFpaPtJYkokmPJQn0-xr+UPiwPC_LQtQ@mail.gmail.com' \
    --to=leslie@watter.net \
    --cc=contato@flaviomoura.mat.br \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).