diff --git a/.Rbuildignore b/.Rbuildignore index 0c7f534c..2aa477a0 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,8 +9,7 @@ README.qmd man-roxygen Makefile .quarto -vignettes/.*\.qmd$ -vignettes/.*\.bib$ +vignettes/ docs/ docs .github diff --git a/altdoc/quarto_website.yml b/altdoc/quarto_website.yml index 462a8ad5..85d6660d 100644 --- a/altdoc/quarto_website.yml +++ b/altdoc/quarto_website.yml @@ -34,26 +34,26 @@ website: contents: - section: Tutorial contents: - - text: Tiny tables - file: vignettes/tinytable.qmd - - text: Format - file: vignettes/format.qmd - - text: Style - file: vignettes/style.qmd - - text: Group labels - file: vignettes/group.qmd - - text: Plots and images - file: vignettes/plot.qmd - - text: Themes - file: vignettes/theme.qmd - - text: Customization - file: vignettes/custom.qmd - - text: Notebooks - file: vignettes/notebooks.qmd - - text: FAQ - file: vignettes/faq.qmd - - text: Alternatives - file: vignettes/alternatives.qmd + - text: Tiny tables + file: vignettes/tinytable.qmd + - text: Format + file: vignettes/format.qmd + - text: Style + file: vignettes/style.qmd + - text: Group labels + file: vignettes/group.qmd + - text: Plots and images + file: vignettes/plot.qmd + - text: Themes + file: vignettes/theme.qmd + - text: Customization + file: vignettes/custom.qmd + - text: Notebooks + file: vignettes/notebooks.qmd + - text: FAQ + file: vignettes/faq.qmd + - text: Alternatives + file: vignettes/alternatives.qmd - text: "Tutorial (PDF)" file: vignettes/tinytable_tutorial.pdf - section: Functions diff --git a/vignettes/figures/gallery/gallery.sh b/vignettes/figures/gallery/gallery.sh new file mode 100755 index 00000000..b8d32d70 --- /dev/null +++ b/vignettes/figures/gallery/gallery.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Define the output GIF filename +output_gif="tinytable_gallery.gif" + +# Use ImageMagick to create an animated GIF from images starting with 'tinytable_gallery_' +# -delay is increased for a slower animation (e.g., 100 equals 1 second per frame) +# -resize option is used to fit images within a 1280x720 frame (16:9 aspect ratio) +# convert -delay 250 -loop 0 tinytable_gallery_*.png -resize 1250x690 -gravity center -extent 1280x720 "$output_gif" +# convert -delay 250 -loop 0 tinytable_gallery_*.png -resize 1000x500 -gravity center -extent 1025x576 "$output_gif" +convert -delay 200 -loop 0 tinytable_gallery_*.png -resize 1000x500 -gravity center -extent 1025x576 -layers Optimize -colors 128 "$output_gif" + +# Display a message when done +echo "Animated GIF created: $output_gif" diff --git a/vignettes/figures/gallery/tinytable_gallery_00.png b/vignettes/figures/gallery/tinytable_gallery_00.png new file mode 100755 index 00000000..9e6ce448 Binary files /dev/null and b/vignettes/figures/gallery/tinytable_gallery_00.png differ diff --git a/vignettes/figures/gallery/tinytable_gallery_01.png b/vignettes/figures/gallery/tinytable_gallery_01.png new file mode 100755 index 00000000..04973678 Binary files /dev/null and b/vignettes/figures/gallery/tinytable_gallery_01.png differ diff --git a/vignettes/figures/gallery/tinytable_gallery_02.png b/vignettes/figures/gallery/tinytable_gallery_02.png new file mode 100755 index 00000000..07de0df4 Binary files /dev/null and b/vignettes/figures/gallery/tinytable_gallery_02.png differ diff --git a/vignettes/figures/gallery/tinytable_gallery_03.png b/vignettes/figures/gallery/tinytable_gallery_03.png new file mode 100755 index 00000000..39791189 Binary files /dev/null and b/vignettes/figures/gallery/tinytable_gallery_03.png differ diff --git a/vignettes/figures/gallery/tinytable_gallery_04.png b/vignettes/figures/gallery/tinytable_gallery_04.png new file mode 100755 index 00000000..889cef25 Binary files /dev/null and b/vignettes/figures/gallery/tinytable_gallery_04.png differ diff --git a/vignettes/figures/gallery/tinytable_gallery_06.png b/vignettes/figures/gallery/tinytable_gallery_06.png new file mode 100755 index 00000000..a1a60321 Binary files /dev/null and b/vignettes/figures/gallery/tinytable_gallery_06.png differ diff --git a/vignettes/figures/gallery/tinytable_gallery_07.png b/vignettes/figures/gallery/tinytable_gallery_07.png new file mode 100755 index 00000000..48b981d0 Binary files /dev/null and b/vignettes/figures/gallery/tinytable_gallery_07.png differ diff --git a/vignettes/figures/spider.png b/vignettes/figures/spider.png new file mode 100755 index 00000000..a017a78f Binary files /dev/null and b/vignettes/figures/spider.png differ diff --git a/vignettes/figures/spider_long.png b/vignettes/figures/spider_long.png new file mode 100755 index 00000000..559e6af5 Binary files /dev/null and b/vignettes/figures/spider_long.png differ diff --git a/vignettes/figures/squirrel.png b/vignettes/figures/squirrel.png new file mode 100755 index 00000000..5b11d688 Binary files /dev/null and b/vignettes/figures/squirrel.png differ diff --git a/vignettes/figures/tinytable_logo.png b/vignettes/figures/tinytable_logo.png new file mode 100755 index 00000000..9e6ce448 Binary files /dev/null and b/vignettes/figures/tinytable_logo.png differ diff --git a/vignettes/figures/tinytable_logo.svg b/vignettes/figures/tinytable_logo.svg new file mode 100755 index 00000000..c7f16e0b --- /dev/null +++ b/vignettes/figures/tinytable_logo.svg @@ -0,0 +1,59 @@ + + + + + + + + + tinytable + + diff --git a/vignettes/figures/tinytable_logo_notext.png b/vignettes/figures/tinytable_logo_notext.png new file mode 100755 index 00000000..1ee18de8 Binary files /dev/null and b/vignettes/figures/tinytable_logo_notext.png differ diff --git a/vignettes/figures/tinytable_logo_notext.svg b/vignettes/figures/tinytable_logo_notext.svg new file mode 100644 index 00000000..694d8edc --- /dev/null +++ b/vignettes/figures/tinytable_logo_notext.svg @@ -0,0 +1,52 @@ + + + + + + + + + + diff --git a/vignettes/figures/tinytable_logo_notext_white.png b/vignettes/figures/tinytable_logo_notext_white.png new file mode 100644 index 00000000..0747f762 Binary files /dev/null and b/vignettes/figures/tinytable_logo_notext_white.png differ diff --git a/vignettes/plot.qmd b/vignettes/plot.qmd index f0feb46e..2c45b7bb 100644 --- a/vignettes/plot.qmd +++ b/vignettes/plot.qmd @@ -35,8 +35,8 @@ dat <- data.frame( ) img <- c( - "../figures/spider.png", - "../figures/squirrel.png" + "figures/spider.png", + "figures/squirrel.png" ) tt(dat) |>