emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: nicholas.dokos@hp.com
Cc: Richard Stanton <stanton@haas.berkeley.edu>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: TODO items as part of an itemized list?
Date: Mon, 26 Mar 2012 19:41:11 +0200	[thread overview]
Message-ID: <87haxb2rbc.fsf@gnu.org> (raw)
In-Reply-To: <12719.1332364737@alphaville> (Nick Dokos's message of "Wed, 21 Mar 2012 17:18:57 -0400")

Hi Richard and Nick,

Nick Dokos <nicholas.dokos@hp.com> writes:

> Richard Stanton <stanton@haas.berkeley.edu> wrote:
>
>
>> Just one remaining problem, however. The exporter inserts a hard
>> line-break, "\\" after the first line of each of these \item entries. This
>> is fine when there is additional text for that item, but if the TODO item
>> is just one line, this results in unwanted extra white space being
>> inserted between the \item entries.
>> 
>
> Yes - unfortunately it is hardwired (line 1321 of org-latex.el).
> AFAICT, there is no good reason for it to be included, even with
> additional text for the item: if one wants it, then adding one
> explicitly to the org file works (although the other exporters might not
> like that). BTW, the html exporter also adds a hardwired <br/>.

I fixed the LaTeX exporter, it only includes the additional \\ when the
subtree has some content.

Thanks Richard for reporing this.

-- 
 Bastien

  reply	other threads:[~2012-03-26 17:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 19:27 LaTeX export - can't skip a heading level Richard Stanton
2012-03-20 19:31 ` TODO items as part of an itemized list? Richard Stanton
2012-03-20 23:44   ` Bastien
2012-03-21 20:40     ` Richard Stanton
2012-03-21 21:18       ` Nick Dokos
2012-03-26 17:41         ` Bastien [this message]
2012-03-21 21:43   ` Samuel Wales
2012-03-20 19:55 ` LaTeX export - can't skip a heading level Nick Dokos
2012-03-20 19:57   ` Richard Stanton
2012-03-20 20:30   ` Nick Dokos
2012-03-20 22:05     ` Achim Gratz
2012-03-20 23:24       ` Nick Dokos
2012-03-21  7:26         ` Achim Gratz
2012-03-21 12:12           ` Nick Dokos

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=87haxb2rbc.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --cc=stanton@haas.berkeley.edu \
    /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).