Package: emacs24-common
Version: 24.5+1-5
Severity: normal
Tags: newcomer

Exporting org to man (M-x org-man-export-to-man) does not properly handle 
line-breaks.
I suggest mofifying the function org-man-line-break.

Namely, change

(defun org-man-line-break (line-break contents info)
  "Transcode a LINE-BREAK object from Org to Man.
CONTENTS is nil.  INFO is a plist holding contextual information."
  ".br\n")

into

(defun org-man-line-break (line-break contents info)
  "Transcode a LINE-BREAK object from Org to Man.
CONTENTS is nil.  INFO is a plist holding contextual information."
  "\n.br\n")

PS: I noticed this problem in Version 24.4+1-5 installed on my system.
The file ox-man.el is the same in both versions:
mine (24.4+1-5) and the (newest as of 2015-12-16) Version 24.5+1-5.


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 
'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs24-common depends on:
ii  dpkg            1.17.26
ii  emacsen-common  2.0.8
ii  install-info    5.2.0.dfsg.1-6

emacs24-common recommends no packages.

Versions of packages emacs24-common suggests:
pn  emacs24-common-non-dfsg  <none>
ii  emacs24-el               24.4+1-5

-- no debconf information

Reply via email to