From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Rempling <4004aa@gmail.com> Subject: linebreak after tag of headline in ox-latex.el Date: Fri, 18 Oct 2013 14:34:34 +0200 Message-ID: <52612ADA.1080303@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <4004aa@gmail.com>) id 1VX9GR-00027i-5w for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 08:34:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <4004aa@gmail.com>) id 1VX9GI-0008Q5-Pd for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 08:34:47 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:45287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <4004aa@gmail.com>) id 1VX9GI-0008Pv-IO for emacs-orgmode@gnu.org; Fri, 18 Oct 2013 08:34:38 -0400 Received: by mail-wi0-f173.google.com with SMTP id ey11so898627wid.6 for ; Fri, 18 Oct 2013 05:34:37 -0700 (PDT) Received: from [129.16.190.197] (dhcp-190197.eduroam.chalmers.se. [129.16.190.197]) by mx.google.com with ESMTPSA id jf2sm3134796wic.2.2013.10.18.05.34.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 05:34:36 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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