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

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