After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666337 - Latex hyphenation hints added to normal words
Latex hyphenation hints added to normal words
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.4-SVN
Other All
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-12-16 01:41 UTC by Jason Goode
Modified: 2012-02-25 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jason Goode 2011-12-16 01:41:10 UTC
Hyphenation hints are being added to the initial capital letter of normal words.

Example doxygen markup in header:
\brief A Documented file.

Generated text:
\-A \-Documented file.  

Need to add additional check to the filterLatexString function in 
util.cpp

The variable pc initial value is null.
Current code:
if (!insideTabbing && 
	 ((c>='A' && c<='Z' && pc!=' ') || (c==':' && pc!=':') || (pc=='.' && isId(c)))
	 )
{
 t << "\\-";
}
added check if pc is null to stop hyphenation hint from being added.
if (!insideTabbing && 
	 ((c>='A' && c<='Z' && pc!=' ' && pc!='\0') || (c==':' && pc!=':') || (pc=='.' && isId(c)))
	 )
{
 t << "\\-";
}
Comment 1 Dimitri van Heesch 2011-12-26 14:35:28 UTC
Thanks Jason,

I'll include your fix in the next subversion update.
Comment 2 Dimitri van Heesch 2012-02-25 15:37:31 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.0. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.