Commit 9d1c6f6f authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Merge pull request #249 from albert-github/feature/bug_latex_single_quotes

LaTeX problem with 2 consecutive single quotes
parents 200b828e 0cb39b4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -298,7 +298,7 @@ static struct htmlEntityInfo

  // doxygen extension to the HTML4 table of HTML entities
  { SYM(tm),       "\xe2\x84\xa2", "&trade;",    "<trademark/>",         "&#8482;",       "\\texttrademark{}",      "(TM)",   "\\'99",       { "trademark",  DocSymbol::Perl_symbol  }},
  { SYM(apos),     "'",            "'",          "'",                    "&apos;",        "'",                      "'",      "'",           { "\\\'",       DocSymbol::Perl_string  }},
  { SYM(apos),     "'",            "'",          "'",                    "&apos;",        "\\textquotesingle{}",    "'",      "'",           { "\\\'",       DocSymbol::Perl_string  }},

  // doxygen commands represented as HTML entities
  { SYM(BSlash),   "\\",           "\\",         "\\",                   "\\",            "\\textbackslash{}",      "\\\\",   "\\\\",        { "\\\\",       DocSymbol::Perl_string  }},
+2 −0
Original line number Diff line number Diff line
@@ -6502,6 +6502,8 @@ void filterLatexString(FTextStream &t,const char *str,
                   break;           
        case '"':  t << "\\char`\\\"{}";
                   break;
        case '\'': t << "\\textquotesingle{}";
                   break;

        default:   
                   //if (!insideTabbing && forceBreaks && c!=' ' && *p!=' ')