summaryrefslogtreecommitdiffstats
path: root/src/translator_cz.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-05-31 10:29:39 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-05-31 10:29:39 (GMT)
commit509cf2db2304ee74e3fa1a580f33dbea3cdfca30 (patch)
tree772313c0c421c49f817c70e0c3834f7f6cbaa36d /src/translator_cz.h
parent63696c08425fc1662c5e76280e3cc74fb3769d80 (diff)
downloadDoxygen-509cf2db2304ee74e3fa1a580f33dbea3cdfca30.zip
Doxygen-509cf2db2304ee74e3fa1a580f33dbea3cdfca30.tar.gz
Doxygen-509cf2db2304ee74e3fa1a580f33dbea3cdfca30.tar.bz2
Bug 782082 - Czech/Slovak language documentation with tables from LaTeX to PDF is not possible
Added commands as indicated to overrule \cline and \cmidrule due to problems with `-`
Diffstat (limited to 'src/translator_cz.h')
-rw-r--r--src/translator_cz.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/translator_cz.h b/src/translator_cz.h
index 056d0e4..40e6687 100644
--- a/src/translator_cz.h
+++ b/src/translator_cz.h
@@ -96,7 +96,13 @@ class TranslatorCzech : public Translator
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 -------------------