commit | 3fc0e88555793c3fa0a931a331fba49a12f74c3d | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Tue Apr 03 16:06:41 2018 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Tue Apr 03 16:06:41 2018 -0400 |
tree | c6a1672edb4c777e1f96e150f2ee74cdaa8db2db | |
parent | 3465b50c07ff8c89dcd3098648be3ecc84ddb3be [diff] [blame] |
improve encoding for LaTeX table. #138
diff --git a/R/add_indent.R b/R/add_indent.R index ff54ea1..de6fc32 100644 --- a/R/add_indent.R +++ b/R/add_indent.R
@@ -31,7 +31,7 @@ # Add indentation for LaTeX add_indent_latex <- function(kable_input, positions) { table_info <- magic_mirror(kable_input) - out <- enc2utf8(as.character(kable_input)) + out <- solve_enc(kable_input) if (table_info$duplicated_rows) { dup_fx_out <- fix_duplicated_rows_latex(out, table_info)