Re: [O] linebreak after tag of headline in ox-latex.el

2013-10-31 Thread Rasmus Rempling

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 400...@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,






Re: [O] linebreak after tag of headline in ox-latex.el

2013-10-19 Thread Nicolas Goaziou
Hello,

Rasmus Rempling 400...@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



[O] linebreak after tag of headline in ox-latex.el

2013-10-18 Thread Rasmus Rempling

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