jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Bug]: LateX export of tables does not inclued lines, only numbers #2840

Open tomtomme opened 1 month ago

tomtomme commented 1 month ago

JASP Version

0.19.0

What OS are you seeing the problem on?

Windows 10

Bug Description

Bug report from a colleauge from a workshop yesterday: "Export of tables to LaTex does not seem to work properly. At least no table lines were displayed, only the numbers in the cells."

Expected Behaviour

It should export the whole table structure, layout and design.

Steps to Reproduce

  1. export some table to LaTeX

Log (if any)

latex exported code from jasp descriptives table

%----- Requires booktabs package -----%
\usepackage{booktabs}

\begin{table}[h]
    \centering
    \caption{Deskriptive Statistik}
    \label{tab:deskriptiveStatistik}
    {
        \begin{tabular}{lrr}
            \toprule
             & adverts & sales  \\
            \cmidrule[0.4pt]{1-3}
            Gültig & $200$ & $200$  \\
            Fehlend & $0$ & $0$  \\
            Mittelwert & $614.412$ & $193.200$  \\
            Standardabweichung & $485.655$ & $80.699$  \\
            Minimum & $9.104$ & $10.000$  \\
            Maximum & $2271.860$ & $360.000$  \\
            \bottomrule
        \end{tabular}
    }
\end{table}
github-actions[bot] commented 1 month ago

@tomtomme, thanks for taking the time to create this issue. If possible (and applicable), please upload to the issue website (https://github.com/jasp-stats/jasp-issues/issues/2840) a screenshot showcasing the problem, and/or a compressed (zipped) .jasp file or the data file that causes the issue. If you would prefer not to make your data publicly available, you can send your file(s) directly to us, issues@jasp-stats.org

tomtomme commented 1 month ago

@shun2wang will this https://github.com/jasp-stats/INTERNAL-jasp/issues/2502#event-13677803673 also fix latex export?

shun2wang commented 1 month ago

no, this is another thing...