-
Notifications
You must be signed in to change notification settings - Fork 525
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
Issues in elsarticle template #295
Comments
I think you are adding more than one corresponding author. |
Regarding the Highlights, I reckon that for ELsevier you should upload that as a separate file. There is also a YAML section where you can choose for either "review" or a few other options. Maybe the one with the lines are another option. You would have to check the *.cls file avialble. Cheers, |
Thanks a lot for your help. In general, for formating adjustment, should I just look for .cls file to find the corresponding argument and add/edit in the YAML section at the beginning of the markdown file? If that's the trick, I think I could recover the format I did by latex template. Cheers, |
Hi Zheng, Honestly speaking, it also seems a bit complicated for me. In the YAML, basically you can provide instruction that will be then processed within the .cls file. How to be aware of all possible options, it is (I believe) a difficult thing for beginners and people that (as you and I) are keen to use R-Markdown for scientific writing. There are some instructions here: https://bookdown.org/yihui/bookdown/customization.html (which I am sure you already looked into). However, I reckon there is no way to run away from LaTeX (at a minimum at least). |
Thanks for the recommendations. I did read the bookdown chapters for YAML. I also tried to read the .cls code and found out to change the line space classoption should be 'review'. However, no matter how did I declare this in the header such as classoption: 'preprint', classoption: preprint , classoption: review and so on it just did not work. For the overlapped corresponding author and date, I don't know what's wrong, but it is not because I set two corresponding authors. In the .cls code, keyword should be declared as keyword but in practice, only keywords worked. I think I am going back to latex, really appreciate the work. |
Thanks a lot. I've looked at it last week. The thing is if I want to set
the options in YAML, I have to go through or search the right argument name
that is different from the original tex template. For example, for
documentclass option, I need to use "layout" to declare it in YAML. Seem
thing for "keywords" and "keyword". This means one needs to spend time
figuring out the right argument name. In the end, I found the time I spend
on this is more than I did for real context, last time I spent a whole
morning to find out why footnote is superimposed with coordinate author
info, but write nothing and even worse I did not solve it haha :).
I still think this package is a great good idea and will be more efficient
than latex when I get familiar with it, but time is running. I am still
using Rmd for thesis writing which doesn't have that strict formatting and
indeed much more convenient than Latex. Again, I really appreciate the
work.
Cheers
…On Wed, 8 Jul 2020 at 08:59, gtalckmin ***@***.***> wrote:
Thanks for the recommendations. I did read the bookdown chapters for YAML.
I also tried to read the .cls code and found out to change the line space
classoption should be 'review'. However, no matter how did I declare this
in the header such as classoption: 'preprint', classoption: preprint ,
classoption: review and so on it just did not work.
For the overlapped corresponding author and date, I don't know what's
wrong, but it is not because I set two corresponding authors.
In the .cls code, *keyword* should be declared as *keyword* but in
practice, only *keywords* worked.
I think I am going back to latex, really appreciate the work.
Hi Zheng,
I understand your frustration:
If you check your R library folder, you will find a template.tex that runs
all of these things:
win-library\3.6\rticles\rmarkdown\templates\mdpi_article\resources\template.tex
give it a look.
Cheers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#295 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHEYWCDYEWFLT4RY5M4I3G3R2RURZANCNFSM4OKIRZBQ>
.
|
@zhengchencai Sorry for all the trouble! @gtalckmin Thanks for the help! @cderv Could you reach out to the original contributor of this template and see if he/she could help? If not, I can probably take a look, although I can't promise to fix it. Thanks! |
Hi Yihui, Thanks for your reply. No trouble at all. I chose to use it since I like Rmd. It's just this template is not easy to follow. I understand this is a time-consuming task since there are many journals to include. Thanks again for the work. Btw, in the end, I even quit Latex, since most of my coauthors also switched to WORD which is now accepted by most of the journals and very easy to comment and revise. I guess I will come back to Rmd for thesis writing. Cheers |
@zhengchencai Thanks for your understanding! This issue looks pretty bad to me, and I do hope to get it fixed if possible, no matter if you still need it. |
Hi @cboettig, maybe you can also help on these issues ? Do the template needs some updating or just better documentation maybe ? |
It is definitely a great package, while some minor issues have to be fixed before it put into production environment. I have the same problem as @zhengchencai post. Besides, I would like to use the unified As
Currently, mostly works but the |
@mingsu The docx template in Pandoc are not as flexible as the This is not in the initial scope of this package but it could be in the future. I just think it would be a lot of work and we'll need to confirm that Pandoc offers all what is needed for this (as the conversion from md to docx is done by Pandoc) @zhengchencai Are the issue still here ? Did you try reuse the format and stumble upon the same problem ? Sorry for the delay. We did not get much help on this one so I may need to take the time to look into it. |
Hi Christophe, Thanks for replying. No sorry at all. I really appreciate this work and love bookdown. I would have spent more time figuring out the problem and feedback to you, however, in practice, I prefer to not spending too much time just learning how to write a paper with a cool tool that I like. Especially more and more of my co-authors are switching from Latex to WORD, which turns out easier to comment and revise than I thought. |
Thanks for the feedback. That is interesting ! We'll be happy to have feedback on word usage in #347 or another issue so that we can have all the relevant information to consider how to better support Docx workflow for articles using Rmd as source. Thanks ! |
Hi Christophe, Since you asked, I try to feedback on my limited experience if it could help. I just choose whichever tool is easier to use for me and respect all of them. Well, the journals (at least the ones I submitted to) in my field (neuroimaging) are now mostly supporting free format for the first submission. They only have general suggestions about which sections should be included and so on. A tiny convenience point from my experience on using WORD for submission is that the online system could automatically fill the abstract, authors and so on, whereas when I submitted the Latex version, it could not. I also only need to submit one file with figures in text for the convenience of reviewers, whereas submitting the latex version will need to upload the main text and figures one by one, and the final built PDF will have all figures in the end which the reviewers need to jump back and forth. I also once had the online PDF building system of the journal always provided low-resolution figures no matter which format (png, jpg, tiff...) I uploaded, but then I uploaded figures in WORD files (allowed by the journal), they all looked nice in the final built PDF. For the revision stage, each journal has a different format requirement, but then I can just easily change the WORD document to the format by a good afternoon, which I may need to spend the same amount of time using a Latex template because I will need to figure out how to use the template first (and the reality is we don't write to a journal every week, so we will need to repeat this process next time since we will forget how), and some general Latex code might conflict with the template which will always give me warnings and take more time to solve them. I think the main benefit of WORD is for reviewing with co-authors. Most people know how to use it, but commenting in Latex plain text is painful with all inline codes, and not everyone accepts to do it. If I send PDF to co-authors, I will have to find the corresponding line in Latex text one comment by one comment which is more frustrating than I thought. |
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. |
Hi there,
I converted my manuscript from latex version template into markdown because I really like the idea of rticles and want to insert figures and tables by r code instead of .png, however, the output is not exactly following elsarticle template. The main issues are
Left is markdown knit pdf, right is the pdf template provided by elsarticle latex package

By filing an issue to this repo, I promise that
I have fully read the issue guide at https://yihui.name/issue/.
I have provided the necessary information about my issue.
xfun::session_info('rticles')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rticles')
.I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: