Skip to content

Commit

Permalink
Deploying to gh-pages from @ ff92584 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jun 29, 2024
1 parent 6d497bd commit 3ce71e1
Show file tree
Hide file tree
Showing 44 changed files with 1,387 additions and 1,382 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.16,
Formats_. R package version 0.3.0.17,
&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.16},
note = {R package version 0.3.0.17},
url = {https://vincentarelbundock.github.io/tinytable/},
}</code></pre>

Expand Down
9 changes: 7 additions & 2 deletions NEWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,20 @@ <h2 class="anchored" data-anchor-id="development">Development</h2>
<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>Typst: no more gutters when <code>group_tt(j)</code> and <code>style_tt(background)</code></li>
<li><code>save_tt("pdf")</code> gets new global options:
<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>Typst: <code>style_tt()</code> supports <code>align</code> for different rows and cells, rather than just whole columns.</li>
</ul>
<p>Typst:</p>
<ul>
<li><code>style_tt()</code> supports <code>align</code> for different rows and cells, rather than just whole columns.</li>
<li><code>style_tt()</code> supports <code>indent</code> argument.</li>
<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>Bugs:</p>
<ul>
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.16 tutorial will take you much further. It is available in two formats:</p>
<p>The <code>tinytable</code> 0.3.0.17 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
132 changes: 66 additions & 66 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_sn8o075y1bho28sk3r4z(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_9g63sxtsmxejlniphrwt");
function styleCell_tinytable_j3kb687c511acsy8rynh(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_7mh1vowpf41ta1eum9e8");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_9g63sxtsmxejlniphrwt');
var table = document.getElementById('tinytable_7mh1vowpf41ta1eum9e8');
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_sn8o075y1bho28sk3r4z(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_9g63sxtsmxejlniphrwt");
function spanCell_tinytable_j3kb687c511acsy8rynh(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_7mh1vowpf41ta1eum9e8");
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_6alx35covp2377dxqnoh'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_d2vpu1r67c7nlmkp7gwb'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_sn8o075y1bho28sk3r4z('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_j3kb687c511acsy8rynh('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_6alx35covp2377dxqnoh, .table th.tinytable_css_6alx35covp2377dxqnoh { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_d2vpu1r67c7nlmkp7gwb, .table th.tinytable_css_d2vpu1r67c7nlmkp7gwb { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_9g63sxtsmxejlniphrwt" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_7mh1vowpf41ta1eum9e8" 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_6arv67ujcb0tbwv8arit(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_h7d3qfxj7opo4042puhv");
function styleCell_tinytable_loyxip9656izkkwgnkca(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_hgv3necr3k5in0tyl17d");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_h7d3qfxj7opo4042puhv');
var table = document.getElementById('tinytable_hgv3necr3k5in0tyl17d');
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_6arv67ujcb0tbwv8arit(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_h7d3qfxj7opo4042puhv");
function spanCell_tinytable_loyxip9656izkkwgnkca(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_hgv3necr3k5in0tyl17d");
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_fpmqqcncv3yhrh1vlqwm'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_zjxs6q70i3quo83zg8v3'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_6arv67ujcb0tbwv8arit('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_loyxip9656izkkwgnkca('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_fpmqqcncv3yhrh1vlqwm, .table th.tinytable_css_fpmqqcncv3yhrh1vlqwm { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_zjxs6q70i3quo83zg8v3, .table th.tinytable_css_zjxs6q70i3quo83zg8v3 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_h7d3qfxj7opo4042puhv" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_hgv3necr3k5in0tyl17d" 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_hxntgz0owtszt7b5d2i2(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_rses0b95wh4y9lbfkwft");
function styleCell_tinytable_41b0vd9sl4pq218kronh(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_9vgcdh0x7c4xgz97hf3u");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_rses0b95wh4y9lbfkwft');
var table = document.getElementById('tinytable_9vgcdh0x7c4xgz97hf3u');
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_hxntgz0owtszt7b5d2i2(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_rses0b95wh4y9lbfkwft");
function spanCell_tinytable_41b0vd9sl4pq218kronh(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_9vgcdh0x7c4xgz97hf3u");
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_0feua5w8o1dthrm1v3qw'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_0qa0fusofezkbx7vux4t'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_hxntgz0owtszt7b5d2i2('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_41b0vd9sl4pq218kronh('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_0feua5w8o1dthrm1v3qw, .table th.tinytable_css_0feua5w8o1dthrm1v3qw { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_0qa0fusofezkbx7vux4t, .table th.tinytable_css_0qa0fusofezkbx7vux4t { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_rses0b95wh4y9lbfkwft" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_9vgcdh0x7c4xgz97hf3u" 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_6hl5a7itvl0bxago2ft1(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_kqpsqto0bgxzn0chh2b1");
function styleCell_tinytable_338qokymna7ypcfdjfs4(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_f8crm5nlehhmvt7sdr71");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_kqpsqto0bgxzn0chh2b1');
var table = document.getElementById('tinytable_f8crm5nlehhmvt7sdr71');
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_6hl5a7itvl0bxago2ft1(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_kqpsqto0bgxzn0chh2b1");
function spanCell_tinytable_338qokymna7ypcfdjfs4(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_f8crm5nlehhmvt7sdr71");
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_etybp9vy1h49422rku5s'},
{coords: [[0, 0], [0, 1], [0, 2]], class: 'tinytable_css_w6chf2o01ks374ocjrac'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_6hl5a7itvl0bxago2ft1('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_338qokymna7ypcfdjfs4('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_etybp9vy1h49422rku5s, .table th.tinytable_css_etybp9vy1h49422rku5s { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_w6chf2o01ks374ocjrac, .table th.tinytable_css_w6chf2o01ks374ocjrac { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_kqpsqto0bgxzn0chh2b1" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_f8crm5nlehhmvt7sdr71" 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
30 changes: 15 additions & 15 deletions man/theme_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -514,24 +514,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
};
</script>
<script>
function styleCell_tinytable_zu7kxygppauj6ujuz7d6(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_0gvmwavurbem68ofr5pc");
function styleCell_tinytable_6255m0dwq5q9zmfiy6eu(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_pdrxjzhkpxtilkg2m6l8");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_0gvmwavurbem68ofr5pc');
var table = document.getElementById('tinytable_pdrxjzhkpxtilkg2m6l8');
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_zu7kxygppauj6ujuz7d6(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_0gvmwavurbem68ofr5pc");
function spanCell_tinytable_6255m0dwq5q9zmfiy6eu(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_pdrxjzhkpxtilkg2m6l8");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -562,7 +562,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<style>
</style>
<div class="container">
<table class="table table-striped" id="tinytable_0gvmwavurbem68ofr5pc" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-striped" id="tinytable_pdrxjzhkpxtilkg2m6l8" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down Expand Up @@ -619,24 +619,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
};
</script>
<script>
function styleCell_tinytable_vgy22vswneibjb8hcwfr(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_gnnzyim99handpz1fw09");
function styleCell_tinytable_b1kk6brsigg675ufu9gx(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_7nr5w9j91rocyrc12yr4");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_gnnzyim99handpz1fw09');
var table = document.getElementById('tinytable_7nr5w9j91rocyrc12yr4');
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_vgy22vswneibjb8hcwfr(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_gnnzyim99handpz1fw09");
function spanCell_tinytable_b1kk6brsigg675ufu9gx(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_7nr5w9j91rocyrc12yr4");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -665,19 +665,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]], class: 'tinytable_css_vxqgmb1xx6vylagwt1g9'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3]], class: 'tinytable_css_bywmn1hm8ab1v0tswfcu'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_vgy22vswneibjb8hcwfr('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_b1kk6brsigg675ufu9gx('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_vxqgmb1xx6vylagwt1g9, .table th.tinytable_css_vxqgmb1xx6vylagwt1g9 { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_bywmn1hm8ab1v0tswfcu, .table th.tinytable_css_bywmn1hm8ab1v0tswfcu { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-striped" id="tinytable_gnnzyim99handpz1fw09" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-striped" id="tinytable_7nr5w9j91rocyrc12yr4" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down
Loading

0 comments on commit 3ce71e1

Please sign in to comment.