Double dash within <tt> or <code> is again (or still?) broken

Markus Geimer <[email protected]> Sat, 12 Apr 2014 18:49:35 +0200
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
Hi,

This issue has already been reported ten years ago in bugreport
https://bugzilla.gnome.org/show_bug.cgi?id=133418 and was marked
as resolved, however, I see this issue again/still with current
sources from git (just sync'ed my local copy).

Simply try something like
	<tt>--prefix</tt>
or
	<code>--prefix</code>
and you will get '&ndash;' in the HTML output and '--' in LaTeX
(should be '-\/-' to prevent getting the en-dash). Same applies
to the em-dash, though I assume that this is used less often in
<tt>/<code> environments.

On the other hand, the LaTeX output contains an unnecessary italic
correction for dashes between words. For example, 'so-called' is
typeset as 'so-\/called'.

Unfortunately, I couldn't yet figure out where things go wrong.
The output of '-d commentscan' already reports '--' or '&ndash;'
depending on the MARKDOWN_SUPPORT setting, however, the final
output is identical in both cases. Some hint where to start would
be very welcome.

Thanks,
Markus

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees