Skip to content

Commit

Permalink
Deploying to gh-pages from @ 6eee87b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jun 29, 2024
1 parent 919a00c commit e95adf8
Show file tree
Hide file tree
Showing 44 changed files with 1,406 additions and 1,399 deletions.
4 changes: 2 additions & 2 deletions CITATION.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,15 @@ <h1>Citation</h1>

Arel-Bundock V (????). _tinytable: Simple and Configurable Tables in
'HTML', 'LaTeX', 'Markdown', 'Word', 'PNG', 'PDF', and 'Typst'
Formats_. R package version 0.3.0.17,
Formats_. R package version 0.3.0.18,
&lt;https://vincentarelbundock.github.io/tinytable/&gt;.

A BibTeX entry for LaTeX users is

@Manual{,
title = {tinytable: Simple and Configurable Tables in 'HTML', 'LaTeX', 'Markdown', 'Word', 'PNG', 'PDF', and 'Typst' Formats},
author = {Vincent Arel-Bundock},
note = {R package version 0.3.0.17},
note = {R package version 0.3.0.18},
url = {https://vincentarelbundock.github.io/tinytable/},
}</code></pre>

Expand Down
25 changes: 18 additions & 7 deletions NEWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,22 +359,24 @@ <h2 id="toc-title">On this page</h2>
<h1>News</h1>
<section id="development" class="level2">
<h2 class="anchored" data-anchor-id="development">Development</h2>
<p>General:</p>
<ul>
<li>Improved documentation.</li>
<li><code>format_tt(markdown=TRUE)</code> escapes groups and notes when <code>i</code> and <code>j</code> are <code>NULL</code>.</li>
<li><code>plot_tt()</code>: The <code>height</code> argument is now respected in Markdown and Word documents.</li>
<li><code>group_tt()</code> allows 0 and duplicates in <code>i</code> argument for labels in the first row and consecutive labels.</li>
<li>Headers are now styled and formatted when <code>i=NULL</code>.</li>
<li><code>colnames(x)&lt;-NULL</code> works on a <code>tinytable</code> object.</li>
<li><code>format_tt(num_big_mark)</code> applies to integer columns.</li>
<li>Print row names in the first column by calling <code>options(tinytable_tt_rownames=TRUE)</code>. Thanks to <a href="https://github.com/rsbivand"><span class="citation" data-cites="rsbivand">@rsbivand</span></a> for Issue <a href="https://github.com/vincentarelbundock/tinytable/issues/264">#264</a>.</li>
<li>Improved documentation.</li>
<li><code>save_tt("pdf")</code> gets new global options:
</ul>
<p>HTML:</p>
<ul>
<li><code>options(tinytable_save_pdf_clean = TRUE)</code></li>
<li><code>options(tinytable_save_pdf_engine = "xelatex")</code></li>
</ul></li>
<li>Simplify JS functions in HTML documents. Avoid nesting full HTML documents inside Quarto output.</li>
<li>Remove polyfill JS.</li>
<li>Remove polyfill JS because of security issues.</li>
</ul>
<p>LaTeX:</p>
<ul>
<li><code>theme_tt("tabular")</code> no longer uses <code>tabularray</code> or <code>booktabs</code>. Only relies on basic LaTeX packages.</li>
</ul>
<p>Typst:</p>
<ul>
Expand All @@ -383,6 +385,15 @@ <h2 class="anchored" data-anchor-id="development">Development</h2>
<li><code>group_tt()</code> supports <code>indent</code> argument.</li>
<li>No more gutters when <code>group_tt(j)</code> and <code>style_tt(background)</code></li>
</ul>
<p>New global options:</p>
<ul>
<li><code>save_tt("pdf")</code>:
<ul>
<li><code>options(tinytable_save_pdf_clean = TRUE)</code></li>
<li><code>options(tinytable_save_pdf_engine = "xelatex")</code></li>
</ul></li>
<li><code>options(tinytable_tt_rownames=TRUE)</code>: Print row names in the first column by calling. Thanks to <a href="https://github.com/rsbivand"><span class="citation" data-cites="rsbivand">@rsbivand</span></a> for Issue <a href="https://github.com/vincentarelbundock/tinytable/issues/264">#264</a>.</li>
</ul>
<p>Bugs:</p>
<ul>
<li><code>replace</code> does not work in LaTeX with <code>format_tt(quarto=TRUE)</code>. Thanks to <a href="https://github.com/cbgoodman"><span class="citation" data-cites="cbgoodman">@cbgoodman</span></a> for Issue <a href="https://github.com/vincentarelbundock/tinytable/issues/263">#263</a>.</li>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ <h2 class="anchored" data-anchor-id="first-steps">First steps</h2>
</section>
<section id="tutorial" class="level2">
<h2 class="anchored" data-anchor-id="tutorial">Tutorial</h2>
<p>The <code>tinytable</code> 0.3.0.17 tutorial will take you much further. It is available in two formats:</p>
<p>The <code>tinytable</code> 0.3.0.18 tutorial will take you much further. It is available in two formats:</p>
<ul>
<li><a href="https://vincentarelbundock.github.io/tinytable/vignettes/tinytable_tutorial.pdf">Tutorial (PDF)</a></li>
<li>Tutorial (HTML):
Expand Down
134 changes: 67 additions & 67 deletions man/format_tt.html

Large diffs are not rendered by default.

158 changes: 79 additions & 79 deletions man/group_tt.html

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions man/rbind2-tinytable-tinytable-method.html
Original file line number Diff line number Diff line change
Expand Up @@ -494,24 +494,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
};
</script>
<script>
function styleCell_tinytable_hpa7o2uhya273rf7e0wk(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_gzauu3vz6xzv6xx38ji2");
function styleCell_tinytable_qs6k6rdpzdob59ek4zg1(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_jpgm4lyu8atdfy2jtszv");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_gzauu3vz6xzv6xx38ji2');
var table = document.getElementById('tinytable_jpgm4lyu8atdfy2jtszv');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_tinytable_hpa7o2uhya273rf7e0wk(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_gzauu3vz6xzv6xx38ji2");
function spanCell_tinytable_qs6k6rdpzdob59ek4zg1(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_jpgm4lyu8atdfy2jtszv");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -540,19 +540,19 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

window.addEventListener('load', function () {
const cellStyles = [
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_5hh0j5h7zrt3p08wbhhr'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_hs9ktygjboe1rvnqfqmq'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_hpa7o2uhya273rf7e0wk('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_qs6k6rdpzdob59ek4zg1('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_5hh0j5h7zrt3p08wbhhr, .table th.tinytable_css_5hh0j5h7zrt3p08wbhhr { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_hs9ktygjboe1rvnqfqmq, .table th.tinytable_css_hs9ktygjboe1rvnqfqmq { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_gzauu3vz6xzv6xx38ji2" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_jpgm4lyu8atdfy2jtszv" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -628,24 +628,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
};
</script>
<script>
function styleCell_tinytable_h8rcwsd6gxslp1pv37de(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_j7neqiqig1ynmenocqr7");
function styleCell_tinytable_c4450fapksxen61yoa6t(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_qamin9gp7w34bl4yygl0");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_j7neqiqig1ynmenocqr7');
var table = document.getElementById('tinytable_qamin9gp7w34bl4yygl0');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_tinytable_h8rcwsd6gxslp1pv37de(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_j7neqiqig1ynmenocqr7");
function spanCell_tinytable_c4450fapksxen61yoa6t(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_qamin9gp7w34bl4yygl0");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -674,19 +674,19 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

window.addEventListener('load', function () {
const cellStyles = [
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_16m59qwm59eed625q0hk'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_ini7pjwwfmgo1sh9imfd'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_h8rcwsd6gxslp1pv37de('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_c4450fapksxen61yoa6t('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_16m59qwm59eed625q0hk, .table th.tinytable_css_16m59qwm59eed625q0hk { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_ini7pjwwfmgo1sh9imfd, .table th.tinytable_css_ini7pjwwfmgo1sh9imfd { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_j7neqiqig1ynmenocqr7" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_qamin9gp7w34bl4yygl0" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -763,24 +763,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
};
</script>
<script>
function styleCell_tinytable_lhxt8yt1f3shn090v20e(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_cx7p7cr92vyrxdl0ye8p");
function styleCell_tinytable_ado7m0lj4dichvf8nnrb(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_4zet6rp595gq4oo0q1d3");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_cx7p7cr92vyrxdl0ye8p');
var table = document.getElementById('tinytable_4zet6rp595gq4oo0q1d3');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_tinytable_lhxt8yt1f3shn090v20e(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_cx7p7cr92vyrxdl0ye8p");
function spanCell_tinytable_ado7m0lj4dichvf8nnrb(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_4zet6rp595gq4oo0q1d3");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -809,19 +809,19 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

window.addEventListener('load', function () {
const cellStyles = [
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_7jzh7g0dxi3g3odmy3qx'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_tambs6h819nx233sbwkt'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_lhxt8yt1f3shn090v20e('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_ado7m0lj4dichvf8nnrb('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_7jzh7g0dxi3g3odmy3qx, .table th.tinytable_css_7jzh7g0dxi3g3odmy3qx { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_tambs6h819nx233sbwkt, .table th.tinytable_css_tambs6h819nx233sbwkt { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_cx7p7cr92vyrxdl0ye8p" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_4zet6rp595gq4oo0q1d3" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -891,24 +891,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
};
</script>
<script>
function styleCell_tinytable_x9oze9kmuotpdmjomare(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_f3b5zjun3mq0zit0dyiq");
function styleCell_tinytable_dheuopq2aheh8niygdra(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_php4ymu2bpd1tmerbm2y");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_f3b5zjun3mq0zit0dyiq');
var table = document.getElementById('tinytable_php4ymu2bpd1tmerbm2y');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_tinytable_x9oze9kmuotpdmjomare(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_f3b5zjun3mq0zit0dyiq");
function spanCell_tinytable_dheuopq2aheh8niygdra(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_php4ymu2bpd1tmerbm2y");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -937,19 +937,19 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

window.addEventListener('load', function () {
const cellStyles = [
{coords: [[0, 0], [0, 1], [0, 2]], class: 'tinytable_css_4xb3amc8drf06nedvprb'},
{coords: [[0, 0], [0, 1], [0, 2]], class: 'tinytable_css_hun11n592cqwaywtpgi2'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_x9oze9kmuotpdmjomare('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_dheuopq2aheh8niygdra('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_4xb3amc8drf06nedvprb, .table th.tinytable_css_4xb3amc8drf06nedvprb { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_hun11n592cqwaywtpgi2, .table th.tinytable_css_hun11n592cqwaywtpgi2 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_f3b5zjun3mq0zit0dyiq" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_php4ymu2bpd1tmerbm2y" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down
Loading

0 comments on commit e95adf8

Please sign in to comment.