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

Help file displaying incorrectly #13

Open
taylorjwright opened this issue Aug 20, 2022 · 3 comments
Open

Help file displaying incorrectly #13

taylorjwright opened this issue Aug 20, 2022 · 3 comments

Comments

@taylorjwright
Copy link

Not sure if it's just me but the help file doesn't seem to display properly (the curly braced content is still displayed rather than being formatted). Apparently it might be because SMCL doesn't like long lines of text (https://www.statalist.org/forums/forum/general-stata-discussion/general/1418403-stata-help-file-not-displayed-correctly).

Incorrect Display:

incorrect_display

I've modified the Stata help file so that it displays correctly on my machine but I don't want to do a PR if it's only an issue on my end! Happy to put mine up if it's not just me though.

Corrected Display:

corrected_display
.

@lilijiang123
Copy link

I also met this problem, and don not know how to fix it.

@FedFabFrat
Copy link

I have the same issue!

@AI-economist
Copy link

@lilijiang123 @FedFabFrat I had the same issue with the help file not displaying cleanly. The issue I found was in the first line of the bartik_weight SMCL help file. There is some empty space after "{smcl}" in the 1st line of the SMCL document of bartik_weight. I have attached the image of the space I am referring to.
smclissue

Just remove that little space on the 1st line of the SMCL file and save the document. It solved the issue for me. In case you are wondering how to edit the help file of "bartik_weight", here are the steps. Open Stata Do-File editor. From the do-file editor open the bartik_weight SMCL help file. It showuld open in your do-file. Then just remove the little space in the 1st line after "{smcl}". And re-save the document. Close your stata and re-open. And type "help bartik_weight". This should solve the issue.

Happy coding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants