emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: hack writer <GNU@bookhacker.org>
To: emacs-orgmode@gnu.org
Subject: Omitting title in odt-export
Date: Tue, 21 Oct 2014 00:13:11 +0200	[thread overview]
Message-ID: <20141021001311.9c7b2bde27d0d8d9c9159e81@bookhacker.org> (raw)

Hi there,

I have problems omitting the OrgTitle from an exported odt-document. Through the following preamble in my .org-file I am able to omit most of the default title/author/etc. information at the beginning of the .odt-document:

#+ODT_STYLES_FILE: "/path/to/template.ott"
#+TITLE: 
#+DATE:
#+AUTHOR:
#+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline
#+OPTIONS: author:nil c:nil creator:comment d:(not LOGBOOK) date:nil e:t
#+OPTIONS: email:nil f:t inline:t num:t p:nil pri:nil stat:t tags:t
#+OPTIONS: tasks:t tex:t timestamp:t toc:t todo:t |:t
#+CREATOR: 
#+DESCRIPTION:
#+EXCLUDE_TAGS: noexport
#+KEYWORDS:
#+LANGUAGE: de
#+SELECT_TAGS: export
#+BEGIN_ODT
//
// .odt stuff in here
//
#+END_ODT

but there are still two empty paragraphs at the beginning of my file. When looking at the source code of the odt-file (content.xml) the empty paragraphs are

<text:p text:style-name="OrgTitle">
<text:title></text:title></text:p>
<text:p text:style-name="OrgTitle"/>

before my real text begins.

So how can I get rid of these empty paragraphs (I already tried things like title:nil but they didn't work)?

             reply	other threads:[~2014-10-20 22:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20 22:13 hack writer [this message]
2014-10-21 11:44 ` Omitting title in odt-export Nick Dokos
2014-10-21 22:49   ` hack writer

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=20141021001311.9c7b2bde27d0d8d9c9159e81@bookhacker.org \
    --to=gnu@bookhacker.org \
    --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).