socmap / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

mapgae writer: left part of definition lists shouldn't always be emphasized #279

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $ echo -e "\`blah\`(1) blubb\n:    err" | pandoc --to=man

What is the expected output? What do you see instead?
Only "blah" should be emphasized, but instead "\`blah\`(1) blubb" is.

.TP
.B \f[B]blah\f[](1) blubb
err
.RS
.RE

should be

.TP
\f[B]blah\f[](1) blubb
err
.RS
.RE

What version of the product are you using? On what operating system?
pandoc 1.5.1.1

Please provide any additional information below.

Original issue reported on code.google.com by o...@tue.mpg.de on 20 Jan 2011 at 12:09

GoogleCodeExporter commented 8 years ago
I'm not sure this is a bug.  The man writer puts the whole "term" part of a 
definition list item in boldface.  This is the same default behavior you have 
in HTML and LaTeX definition lists.  I could change the default, but I don't 
see that the default is "wrong," and people may be relying on it...

In recent pandoc versions (1.6), the `blah` part is put in a non-proportional 
font, not boldface:

.TP
.B \f[C]blah\f[](1) blubb
err
.RS
.RE

Original comment by fiddloso...@gmail.com on 20 Jan 2011 at 8:14

GoogleCodeExporter commented 8 years ago
I agree. However, it's still a bit annoying that there is no way to force parts 
of the "term" to non-bold. Don't know if there's a good way to do this without 
changing the default.

Original comment by o...@tue.mpg.de on 24 Jan 2011 at 5:21