-
Notifications
You must be signed in to change notification settings - Fork 520
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
sim_article update #547
Comments
The template already use the
which will correctly load the style with natbib rticles/inst/rmarkdown/templates/sim/skeleton/WileyNJD-v2.cls Lines 2694 to 2696 in 8dd188a
And Line 571 in 8dd188a
However, it seems no one PR a new update of WJD template, so files are clearly out dated. So I can try updating the files included with the package. To confirm before doing the work, did you try them after downloading on the website ? Can you share how it should looks like ? I can't see the difference with the document we currently produce and an online published article https://onlinelibrary.wiley.com/doi/epdf/10.1002/sim.9916 Is this the reference part which has too much spacing ? i'll see if I can make a PR to test the new version available on website |
You should have the same output as me - I only used the default template for I'll push a PR with V5 updates, but you will need to adapt your article to it probably. |
It should be ok. I don't know why you don't ket the correct format. You should check you version.
By the way, check the indentation of your field in YAML. the screenshot shows that some are not correct. |
|
You can install the PR directly pak::pak("rstudio/rticles#548")
# or
remotes::install_github("rstudio/rticles#548") This will install the version from the PR. |
After having downloaded this and knitting I get the error: ! LaTeX Error: File `WileyNJD-v5.cls' not found. |
rticles works by providing format functions, but also resources that goes with it. Those resources are bundled in articles but in the same way they are supposed to be used with the original template. This implies that when you update to the new articles versions, you need to update the resources. To do that, you need to create a new template for There is no other way to update right now. But you experience makes me think of severals improvement we need to do probably
These improvement won't be made right away, but they can definitely be useful. |
Great. |
Awesome. So this means the PR works right ? |
Actually not, the latex appears to contain some errors, so I rolled back. It may be an issue with my system though. |
The PR has been merged as shown in this issue. You can now install directly from the repo pak::pak("rstudio/rticles")
remotes::install_github("rstudio/rticles") The test of compilation for the tempate Rmd are passing - if there is some other issue. Please open a new one and share what is not working for you. Thanks! |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
I have used the sim_article to create an article for Statistics in Medicine. However I have gotten the following feedback "...please ensure that the references are in the correct Statistics in Medicine style. We are now using the American Medical Association reference style".
Would it be possible to update the package so this new style is supported?
Details of the new template can be found at https://authorservices.wiley.com/author-resources/Journal-Authors/Prepare/new-journal-design.html?_gl=1*rfvm07*_gcl_au*MTAyNjA3NDI3OS4xNjkyMDk4MTM5
Br, Henrik
The text was updated successfully, but these errors were encountered: