Skip to content

.appendix not recognized when rendered in quarto pdf #244

@smzimbo-bayer

Description

@smzimbo-bayer

Hi,

When rendering my quarto document in R I am having issues with the appendix not being recognized by the Classes function even though it is recognized when rendered in HTML.

I am not sure if I need to upload a third party tool or something to do with the Quarto dashboard,
thankyou for all your help :)

`---
title: "quarto for problem"
editor: visual
author:
name: Sergio Mendes
email: [email protected]
format:
html:
default-image-extension: svg
toc: true # table of contents
toc-expand: false # static TOC
lot: true # list of tables
lof: true # list of figures
pdf:
default-image-extension: tex
documentclass: nature

section 1 {#sec-section-1}

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

appendix {#sec-appendix .appendix}

This tool can be an excellent way to improve vocabulary or practice for spelling bees. If an unfamiliar word appears, looking up the meaning will help students increase the number of words they know. Working with a partner, students can test each other on the spelling for the randomized words generated.

section 2 {#sec-section-2}

Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus.
`

example output with html:
Image

example output with pdf:
Image

r session info:
`
R version 4.4.2 (2024-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22621)

Matrix products: default

locale:
[1] LC_COLLATE=English_Europe.utf8 LC_CTYPE=English_Europe.utf8
[3] LC_MONETARY=English_Europe.utf8 LC_NUMERIC=C
[5] LC_TIME=English_Europe.utf8

time zone: Europe/Berlin
tzcode source: internal

attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base

other attached packages:
[1] DiagrammeR_1.0.11 ggplot2_3.5.1 tibble_3.2.1
[4] purrr_1.0.4 dplyr_1.1.4 stringr_1.5.1
[7] patRoon_2.3.3

loaded via a namespace (and not attached):
[1] utf8_1.2.4 generics_0.1.3 tidyr_1.3.1
[4] lattice_0.22-6 stringi_1.8.4 digest_0.6.37
[7] magrittr_2.0.3 RColorBrewer_1.1-3 evaluate_1.0.3
[10] grid_4.4.2 fastmap_1.2.0 Matrix_1.7-3
[13] cellranger_1.1.0 lobstr_1.1.2 jsonlite_1.9.1
[16] backports_1.5.0 promises_1.3.2 mgcv_1.9-1
[19] scales_1.3.0 Rdpack_2.6.3 cli_3.6.4
[22] shiny_1.10.0 rlang_1.1.5 crayon_1.5.3
[25] rbibutils_2.3 visNetwork_2.1.2 splines_4.4.2
[28] munsell_0.5.1 withr_3.0.2 yaml_2.3.10
[31] tools_4.4.2 parallel_4.4.2 checkmate_2.3.2
[34] colorspace_2.1-1 httpuv_1.6.15 vctrs_0.6.5
[37] R6_2.6.1 mime_0.13 lifecycle_1.0.4
[40] htmlwidgets_1.6.4 cluster_2.1.8.1 pkgconfig_2.0.3
[43] pillar_1.10.1 later_1.4.1 gtable_0.3.6
[46] data.table_1.17.0 glue_1.8.0 Rcpp_1.0.14
[49] xfun_0.51 tidyselect_1.2.1 rstudioapi_0.17.1
[52] knitr_1.50 farver_2.1.2 xtable_1.8-4
[55] nlme_3.1-168 htmltools_0.5.8.1 labeling_0.4.3
[58] rmarkdown_2.29 compiler_4.4.2 prettyunits_1.2.0
[61] readxl_1.4.5
`

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