Skip to content

Commit 9e30995

Browse files
committed
manuscript
1 parent 6c1e154 commit 9e30995

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

R/gdoc2qmd.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,11 @@ gdoc2qmd <- function(file
121121
dplyr::ungroup() %>%
122122
dplyr::mutate(group = case_when(
123123
grepl("#tbl", .data$value) ~ .data$name
124+
, grepl("Author|author", .data$value) ~ 0
124125
)) %>%
125-
tidyr::fill(.data$group, .direction = fill_table) %>%
126+
tidyr::fill(.data$group
127+
, .direction = "down"
128+
) %>%
126129
split(.$group) %>%
127130
purrr::map_dfr(~ bind_rows(tibble(name = NA, value = NA), .x)) %>%
128131
dplyr::mutate(across(.data$value, ~ ifelse(is.na(.), "\\newpage", .)))

inst/extdata/_extensions/scihub/design/labels.qmd

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,16 @@ gs <- "url" %>%
3131
3232
fb <- gs %>%
3333
range_read(ss = .,sheet = "fb")
34-
```
35-
36-
## Labels
3734
38-
```{r}
39-
#| eval: false
35+
#> Google fonts: https://fonts.google.com/
4036
4137
font <- c("Merriweather Sans", "Permanent Marker", "Tillana")
42-
4338
huito_fonts(font)
39+
```
4440

41+
## Labels
42+
43+
```{r}
4544
label <- fb %>%
4645
label_layout(size = c(5.2, 10)
4746
, border_color = "forestgreen"

0 commit comments

Comments
 (0)