From: Rasmus Rempling <4004aa@gmail.com>
To: emacs-orgmode@gnu.org
Subject: linebreak after tag of headline in ox-latex.el
Date: Fri, 18 Oct 2013 14:34:34 +0200 [thread overview]
Message-ID: <52612ADA.1080303@gmail.com> (raw)
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
next reply other threads:[~2013-10-18 12:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 12:34 Rasmus Rempling [this message]
2013-10-19 7:08 ` linebreak after tag of headline in ox-latex.el Nicolas Goaziou
2013-10-31 14:18 ` Rasmus Rempling
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=52612ADA.1080303@gmail.com \
--to=4004aa@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).