Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latex hyphenation hints added to normal words (Origin: bugzilla #666337) #4506

Closed
doxygen opened this issue Jul 2, 2018 · 0 comments
Closed

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity minor in component general for ---
Reported in version 1.7.4-SVN on platform Other
Assigned to: Dimitri van Heesch

On 2011-12-16 01:41:10 +0000, Jason Goode wrote:

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 << "\-";
}

On 2011-12-26 14:35:28 +0000, Dimitri van Heesch wrote:

Thanks Jason,

I'll include your fix in the next subversion update.

On 2012-02-25 15:37:31 +0000, Dimitri van Heesch wrote:

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.

@doxygen doxygen closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant