diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-06-10 09:00:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-10 09:00:51 (GMT) |
commit | f8e784bc75a71910e3792452510f544909fe1d4a (patch) | |
tree | ee93d139638161660825f7eec72df080856ec472 /src | |
parent | 8f0fde6620dafc53f2932bd8510df602220961aa (diff) | |
parent | 509cf2db2304ee74e3fa1a580f33dbea3cdfca30 (diff) | |
download | Doxygen-f8e784bc75a71910e3792452510f544909fe1d4a.zip Doxygen-f8e784bc75a71910e3792452510f544909fe1d4a.tar.gz Doxygen-f8e784bc75a71910e3792452510f544909fe1d4a.tar.bz2 |
Merge pull request #752 from albert-github/feature/bug_782082
Bug 782082 - Czech/Slovak language documentation with tables from LaTeX to PDF is not possible
Diffstat (limited to 'src')
-rw-r--r-- | src/translator_cz.h | 8 | ||||
-rw-r--r-- | src/translator_sk.h | 10 |
2 files changed, 15 insertions, 3 deletions
diff --git a/src/translator_cz.h b/src/translator_cz.h index 7c61f58..9d6c489 100644 --- a/src/translator_cz.h +++ b/src/translator_cz.h @@ -96,7 +96,13 @@ class TranslatorCzech : public TranslatorAdapter_1_8_15 virtual QCString latexLanguageSupportCommand() { return "\\usepackage[T2A]{fontenc}\n" - "\\usepackage[czech]{babel}\n"; + "\\usepackage[czech]{babel}\n" + "\\usepackage{regexpatch}\n" + "\\makeatletter\n" + "% Change the `-` delimiter to an active character\n" + "\\xpatchparametertext\\@@@cmidrule{-}{\\cA-}{}{}\n" + "\\xpatchparametertext\\@cline{-}{\\cA-}{}{}\n" + "\\makeatother\n"; } // --- Language translation methods ------------------- diff --git a/src/translator_sk.h b/src/translator_sk.h index ec8af4b..9ee8252 100644 --- a/src/translator_sk.h +++ b/src/translator_sk.h @@ -41,8 +41,14 @@ class TranslatorSlovak : public TranslatorAdapter_1_8_15 { return "slovak"; } virtual QCString latexLanguageSupportCommand() - { return "\\usepackage[slovak]{babel}\n"; } - + { return "\\usepackage[slovak]{babel}\n" + "\\usepackage{regexpatch}\n" + "\\makeatletter\n" + "% Change the `-` delimiter to an active character\n" + "\\xpatchparametertext\\@@@cmidrule{-}{\\cA-}{}{}\n" + "\\xpatchparametertext\\@cline{-}{\\cA-}{}{}\n" + "\\makeatother\n"; + } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ |