rstudio / rticles

LaTeX Journal Article Templates for R Markdown
https://pkgs.rstudio.com/rticles/
1.46k stars 516 forks source link

Template for CEUR WS (Computer Science) #501

Open mfhepp opened 1 year ago

mfhepp commented 1 year ago

Hi,

it would be great to have an rticles template for the new CEUR Workshop format:

https://ceurws.wordpress.com/2020/03/31/ceurws-publishes-ceurart-paper-style/

CEUR WS is used by very many (> 3100 and counting) Computer Science workshops (see list of past proceedings).

Materials:

  1. GitHub Repository with Templates
    • Could also be included as a Git subrepository
  2. Template from Overleaf
  3. Instructions

By filing an issue to this repo, I promise that

I understand that my issue may be closed if I don't fulfill my promises.

cderv commented 1 year ago

Thanks for the idea! Happy to review any PR and help to add such template in the repo

mfhepp commented 1 year ago

Thanks! As I am not using RStudio (just working on making RTicles usable for plain Pandoc toolchains), I can`t develop a PR with reasonable learning effort.

But I can tell you that basically the Pandoc TeX template from https://github.com/greenelab/covid19-review.git works fine with a few tweaks and standard settings for Pandoc. You just need to have the ceurart package in a place available via the TEXINPUTS environment variable.

Maybe someone from @greenescientist could help here? /CC @rando2 @agitter

Or the Manubot people; I think it would in any case be good to build a bridge from Manubot to RStudio/Quarto format libraries. /CC @dhimmel

One caveat: I did not get 2-column CEUR working so far; I think it related to an incompatibility between longtable and 2-column layouts, as described in this issue.

Hope that helps.

cderv commented 1 year ago

Thanks for the context. That helps understand.

But I can tell you that basically the Pandoc TeX template from greenelab/covid19-review.git works fine with a few tweaks

I did not found a template for Pandoc there. Did I miss it ?

I think it would in any case be good to build a bridge from Manubot to RStudio/Quarto format libraries.

I am learning about Manubot. I'll have a look.

RStudio/Quarto format libraries

I'll definitely consider this formats for our Quarto extensions that live elsewhere: https://github.com/quarto-journals/ Doc is here: https://quarto.org/docs/journals/ and it is not tied to R. Much more related to Pandoc system (with Templates and Lua). You should have a look.

I am definitely interested if you already made some rticles format from the Package available for Pandoc toolchain only. Pluggin that with Quarto will definitely help bringing more feature without any R dependencies.

agitter commented 1 year ago

I did not found a template for Pandoc there. Did I miss it ?

There is a lot in that repository. It hosts a custom Manubot-based workflow that generates html, pdf, docx, and tex outputs. The TeX files are in https://github.com/greenelab/covid19-review/tree/master/build/assets. That template was customized for some variables we were setting with Manubot so it may not work immediately in a general case unless @mfhepp has found that it does.

it would in any case be good to build a bridge from Manubot to RStudio/Quarto format libraries

That is a bigger discussion topic and one we're definitely interested in engaging in. We (the Manubot team) created https://github.com/manubot/manubot/issues/332 to start looking into this but haven't invested any time into testing Quarto or reading the docs yet. An initial question for @cderv is whether Quarto can use Pandoc filters implemented in Python or if some customization would be needed to make them compatible Quarto extensions.

We should probably move that discussion to another issue and keep this one focused on the template.

cderv commented 1 year ago

That is a bigger discussion topic and one we're definitely interested in engaging in. We (the Manubot team) created https://github.com/manubot/manubot/issues/332 to start looking into this but haven't invested any time into testing Quarto or reading the docs yet. An initial question for @cderv is whether Quarto can use Pandoc filters implemented in Python or if some customization would be needed to make them compatible Quarto extensions.

Cool ! Please feel free to ask any question you have while investigating using our Discussion board at https://github.com/quarto-dev/quarto-cli/discussions

Regarding the question, yes Python filter building on JSON representation (https://pandoc.org/filters.html) should be supported as well as Lua filter. If not, then I believe we should allow it as this is Pandoc feature. But it should work.

Happy to continue discussion there.

VladimirAlexiev commented 1 year ago

Official locations of the CEUR-WS Latex templates (https://ceur-ws.org/Vol-XXX/):