emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* linebreak after tag of headline in ox-latex.el
@ 2013-10-18 12:34 Rasmus Rempling
  2013-10-19  7:08 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus Rempling @ 2013-10-18 12:34 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I export frequently minutes with todos with latex to pdf. I always 
include planning information, e.g.:

***** NEXT Check this :Rasmus:
DEADLINE: <2013-10-15 tis> SCHEDULED: <2013-10-15 tis>
+ some comments

After upgrading to (Org-mode version 8.2.1, GNU Emacs 23.4.1 ) the 
deadline and schedule is not linebreaked after the tag. This gives a 
unwanted output with all task information on the same line.

Without knowing if it is the most appropriate solution I propose adding 
\n in the last row of:

(defun org-latex-format-headline-default-function
(todo todo-type priority text tags)
"Default format function for a headline.
See `org-latex-format-headline-function' for details."
(concat
(and todo (format "{\\bfseries\\sffamily %s} " todo))
(and priority (format "\\framebox{\\#%c} " priority))
text
(and tags
(format "\\hfill{}\\textsc{%s}\n" (mapconcat 'identity tags ":")))))

, in order to get a better output of the task todo. I tried the above 
and compiled and got the output as I wanted. However, I don’t know if 
there are any inconvenience by doing so.

/rasmus rempling

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

* Re: linebreak after tag of headline in ox-latex.el
  2013-10-18 12:34 linebreak after tag of headline in ox-latex.el Rasmus Rempling
@ 2013-10-19  7:08 ` Nicolas Goaziou
  2013-10-31 14:18   ` Rasmus Rempling
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-10-19  7:08 UTC (permalink / raw)
  To: Rasmus Rempling; +Cc: emacs-orgmode

Hello,

Rasmus Rempling <4004aa@gmail.com> writes:

> I export frequently minutes with todos with latex to pdf. I always
> include planning information, e.g.:
>
> ***** NEXT Check this :Rasmus:
> DEADLINE: <2013-10-15 tis> SCHEDULED: <2013-10-15 tis>
> + some comments
>
> After upgrading to (Org-mode version 8.2.1, GNU Emacs 23.4.1 ) the
> deadline and schedule is not linebreaked after the tag. This gives
> a unwanted output with all task information on the same line.

I cannot reproduce this. Do you use some special class sectionning
format?


Regards,

-- 
Nicolas Goaziou

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

* Re: linebreak after tag of headline in ox-latex.el
  2013-10-19  7:08 ` Nicolas Goaziou
@ 2013-10-31 14:18   ` Rasmus Rempling
  0 siblings, 0 replies; 3+ messages in thread
From: Rasmus Rempling @ 2013-10-31 14:18 UTC (permalink / raw)
  To: Nicolas Goaziou, emacs-orgmode

Sorry for the delayed answer.

Yes, you are right, sort of. In my set-up, the todo ended up as a 
paragraph environment. I have changed my export class in order to export 
the todo as a subsection or subsubsection. This gives the correct 
result. My error is of course in line with the latex paragraph 
environment being a one-line. However, I used the same .cls file before 
the update and if I revert back to the earlier version the error is not 
produced.

/rasmus

On 10/19/2013 09:08 AM, Nicolas Goaziou wrote:
> Hello,
>
> Rasmus Rempling <4004aa@gmail.com> writes:
>
>> I export frequently minutes with todos with latex to pdf. I always
>> include planning information, e.g.:
>>
>> ***** NEXT Check this :Rasmus:
>> DEADLINE: <2013-10-15 tis> SCHEDULED: <2013-10-15 tis>
>> + some comments
>>
>> After upgrading to (Org-mode version 8.2.1, GNU Emacs 23.4.1 ) the
>> deadline and schedule is not linebreaked after the tag. This gives
>> a unwanted output with all task information on the same line.
> I cannot reproduce this. Do you use some special class sectionning
> format?
>
>
> Regards,
>

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

end of thread, other threads:[~2013-10-31 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-18 12:34 linebreak after tag of headline in ox-latex.el Rasmus Rempling
2013-10-19  7:08 ` Nicolas Goaziou
2013-10-31 14:18   ` Rasmus Rempling

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