Closed cderv closed 1 year ago
You can try out my forked copy of rjtools, The web_only
param should work there as desired.
Closing as the type of article (pdf stub or html conversion) will be based on the body contents after the migration is completed. Accordingly, web_only
has been removed (still of course, available in the fork https://github.com/Abhi-1U/rjtools if needed..
I found that
web_only: true
in YAML (which should be the default if I am right fromrjournal_web_article
) is still producing a PDF for me.I understand though it should be skipped in some cases https://github.com/rjournal/rjtools/blob/0bbb1c7541fc18c193bc36244a48fcb039d9de7d/R/rj_web_article.R#L222-L223
but
render_pdf
does not seem to respectweb_only
https://github.com/rjournal/rjtools/blob/0bbb1c7541fc18c193bc36244a48fcb039d9de7d/R/rj_web_article.R#L135C20-L135C45Anyhow, you know better than me the code base, how to be sure to only produce HTML version which would be easier for me when I test stuff to compare with *distill ? thanks