Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTF Rendering - Categorical vars rendered the opposite way #52

Open
xmarti6 opened this issue Sep 24, 2019 · 1 comment
Open

RTF Rendering - Categorical vars rendered the opposite way #52

xmarti6 opened this issue Sep 24, 2019 · 1 comment
Labels

Comments

@xmarti6
Copy link

xmarti6 commented Sep 24, 2019

Hi, awesome package! RTF seems to work quite well, but found a bug when rendering categorical variables. In the Lancet example for instance, the output generated in HTML5 for sex is:

sex : female 418 139(90.3%)

However, if I do copy/paste to this editor I get this, % and then counts:

sex : female 418 90.3139

Similarly, in the RTF generated, same result:

sex : female 418 90.3%(139)

I further missed the corresponding superscript in the chi symbol, and the footnote. But for the rest, the generated word/rtf doc is very nice and ressembles HTML5 very well!

Cheers

@spgarbet
Copy link
Owner

I'll look into this. I'm glad it worked for you. It's really amazing because I've ignored RTF for over a year and thought it was horribly broken at this point, and it was way down the list of priorities..

@spgarbet spgarbet added the bug label Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants