Skip to content

RJournal.sty: No section numbering #517

@zeileis

Description

@zeileis

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.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included 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').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • 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 version of the RJournal.sty shipped with rticles differs from the one shipped with rjtools regarding the section numbering. rticles has no section numbers while rjtools has. See line 106 in the files:

https://github.com/rstudio/rticles/blob/main/inst/rmarkdown/templates/rjournal/skeleton/RJournal.sty#L106
https://github.com/rjournal/rjtools/blob/main/inst/tex/RJournal.sty#L106

Apparently, the section numbering was added for the LaTeX/PDF version when setting up the HTML version for R Journal articles, see: rjournal/rjtools@c07c459

I'll also report this to the rjtools authors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions