Awkee / pandoc

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

Support monospace in HTML input and troff man output #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. echo '<code>test</code>' | pandoc -f html -t latex
2. echo '<tt>test</tt>' | pandoc -f html -t latex
3. echo '<code>test</code>' | pandoc -f html -t man

What is the expected output? What do you see instead?

1. \verb!test!    
This is right. It could also be \texttt{test}

2. test           
The HTML-tag <tt> is ignored. Expected output: same as 1.

3. \f[B]test\f[]  
This is wrong, bold is not monospace. Expected output is one of:

\fCtest\fP

\f[C]test\f[]  

.fam C
test
.fam

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

pandoc 1.5.1.1

Please provide any additional information below.

See http://www.gnu.org/software/groff/manual/html_node/Font-Families.html

Original issue reported on code.google.com by siehea...@googlemail.com on 14 Jul 2010 at 10:40

GoogleCodeExporter commented 9 years ago
Fixed in 8757da76b0e4c26f722ac4742689739b2b5dfb08

Original comment by fiddloso...@gmail.com on 14 Jul 2010 at 5:59