Skip to content

Commit

Permalink
Make link-citations: true the default
Browse files Browse the repository at this point in the history
  • Loading branch information
wjschne committed May 16, 2024
1 parent c08f41b commit af4caf7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions _extensions/apaquarto/_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ contributes:
execute:
echo: false
citeproc: false
link-citations: true
fig-cap-location: top
tbl-cap-location: top
cap-location: top
Expand Down
3 changes: 2 additions & 1 deletion changelog.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ engine: knitr

# Version 4.2.0 (2024-05-16)

- [#67](https://github.com/wjschne/apaquarto/issues/67) Setting `no-ampersand-parenthetical: true` will replace the ampersand in both parenthetical and narrative (in text) citations.
- [#67](https://github.com/wjschne/apaquarto/issues/67) Setting `no-ampersand-parenthetical: true` will replace the ampersand in both parenthetical and narrative (in text) citations.
- Make `link-citations: true` the default. Can be set to `link-citations: false` in YAML.


# Version 4.1.0 (2024-05-13)
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ <h1>Future Version Wishlist</h1>
<h1>Version 4.2.0 (2024-05-16)</h1>
<ul>
<li><a href="https://github.com/wjschne/apaquarto/issues/67">#67</a> Setting <code>no-ampersand-parenthetical: true</code> will replace the ampersand in both parenthetical and narrative (in text) citations.</li>
<li>Make <code>link-citations: true</code> the default. Can be set to <code>link-citations: false</code> in YAML.</li>
</ul>
</section>
<section id="version-4.1.0-2024-05-13" class="level1">
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ <h4 class="anchored" data-anchor-id="an-existing-file">An existing file</h4>
});
</script>
</div> <!-- /content -->
<script>var lightboxQuarto = GLightbox({"openEffect":"zoom","selector":".lightbox","closeEffect":"zoom","loop":false,"descPosition":"bottom"});
<script>var lightboxQuarto = GLightbox({"loop":false,"descPosition":"bottom","selector":".lightbox","openEffect":"zoom","closeEffect":"zoom"});
window.onload = () => {
lightboxQuarto.on('slide_before_load', (data) => {
const { slideIndex, slideNode, slideConfig, player, trigger } = data;
Expand Down
8 changes: 4 additions & 4 deletions docs/writing.html
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ <h2 data-anchor-id="importing-figures-with-markdown">Importing Figures with Mark
<span id="cb11-4"><a href="#cb11-4" aria-hidden="true" tabindex="-1"></a> fig-alt="A mediation model in which A causes B, and B causes C." </span>
<span id="cb11-5"><a href="#cb11-5" aria-hidden="true" tabindex="-1"></a> apa-note="Variable A indirectly causes Variable C."</span>
<span id="cb11-6"><a href="#cb11-6" aria-hidden="true" tabindex="-1"></a> }</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div id="fig-myimportedimage" class="quarto-float quarto-figure quarto-figure-center FigureWithNote" data-apa-note="Variable A indirectly causes Variable C." alt="A path diagram in which A causes B, and B causes C." data-custom-style="FigureWithNote">
<div id="fig-myimportedimage" class="quarto-float quarto-figure quarto-figure-center FigureWithNote" alt="A path diagram in which A causes B, and B causes C." data-apa-note="Variable A indirectly causes Variable C." data-custom-style="FigureWithNote">
<figure class="quarto-float quarto-float-fig figure">
<figcaption class="quarto-float-caption-top quarto-float-caption quarto-float-fig" id="fig-myimportedimage-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<div class="FigureTitle" data-custom-style="FigureTitle">
Expand Down Expand Up @@ -739,7 +739,7 @@ <h1>Tables in Code Chunks</h1>
<span id="cb12-11"><a href="#cb12-11" aria-hidden="true" tabindex="-1"></a><span class="in"> flextable() %&gt;% </span></span>
<span id="cb12-12"><a href="#cb12-12" aria-hidden="true" tabindex="-1"></a><span class="in"> theme_apa() </span></span>
<span id="cb12-13"><a href="#cb12-13" aria-hidden="true" tabindex="-1"></a><span class="in">```</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div id="tbl-mytable" class="cell quarto-float quarto-figure quarto-figure-center" data-ft.align="left" data-apa-note="A note below table">
<div id="tbl-mytable" class="cell quarto-float quarto-figure quarto-figure-center" data-apa-note="A note below table" data-ft.align="left">
<figure class="quarto-float quarto-float-tbl figure">
<figcaption class="quarto-float-caption-top quarto-float-caption quarto-float-tbl" id="tbl-mytable-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<div class="FigureTitle" data-custom-style="FigureTitle">
Expand All @@ -751,7 +751,7 @@ <h1>Tables in Code Chunks</h1>
</figcaption>
<div aria-describedby="tbl-mytable-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<div class="cell-output-display">
<div class="tabwid tabwid_left"><style>.cl-6e7d0854{}.cl-6e73b2fe{font-family:'Times New Roman';font-size:11pt;font-weight:normal;font-style:normal;text-decoration:none;color:rgba(0, 0, 0, 1.00);background-color:transparent;}.cl-6e774e14{margin:0;text-align:center;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);padding-bottom:5pt;padding-top:5pt;padding-left:5pt;padding-right:5pt;line-height: 2;background-color:transparent;}.cl-6e776e8a{width:0.75in;background-color:transparent;vertical-align: middle;border-bottom: 0.75pt solid rgba(0, 0, 0, 1.00);border-top: 0.75pt solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-6e776e8b{width:0.75in;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-6e776e94{width:0.75in;background-color:transparent;vertical-align: middle;border-bottom: 0.75pt solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}</style><table data-quarto-disable-processing="true" class="cl-6e7d0854"><thead><tr style="overflow-wrap:break-word;"><th class="cl-6e776e8a"><p class="cl-6e774e14"><span class="cl-6e73b2fe">Letters</span></p></th><th class="cl-6e776e8a"><p class="cl-6e774e14"><span class="cl-6e73b2fe">Numbers</span></p></th></tr></thead><tbody><tr style="overflow-wrap:break-word;"><td class="cl-6e776e8b"><p class="cl-6e774e14"><span class="cl-6e73b2fe">A</span></p></td><td class="cl-6e776e8b"><p class="cl-6e774e14"><span class="cl-6e73b2fe">1</span></p></td></tr><tr style="overflow-wrap:break-word;"><td class="cl-6e776e8b"><p class="cl-6e774e14"><span class="cl-6e73b2fe">B</span></p></td><td class="cl-6e776e8b"><p class="cl-6e774e14"><span class="cl-6e73b2fe">2</span></p></td></tr><tr style="overflow-wrap:break-word;"><td class="cl-6e776e94"><p class="cl-6e774e14"><span class="cl-6e73b2fe">C</span></p></td><td class="cl-6e776e94"><p class="cl-6e774e14"><span class="cl-6e73b2fe">3</span></p></td></tr></tbody></table></div>
<div class="tabwid tabwid_left"><style>.cl-7dd6c8de{}.cl-7dce4092{font-family:'Times New Roman';font-size:11pt;font-weight:normal;font-style:normal;text-decoration:none;color:rgba(0, 0, 0, 1.00);background-color:transparent;}.cl-7dd196b6{margin:0;text-align:center;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);padding-bottom:5pt;padding-top:5pt;padding-left:5pt;padding-right:5pt;line-height: 2;background-color:transparent;}.cl-7dd1af0c{width:0.75in;background-color:transparent;vertical-align: middle;border-bottom: 0.75pt solid rgba(0, 0, 0, 1.00);border-top: 0.75pt solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-7dd1af0d{width:0.75in;background-color:transparent;vertical-align: middle;border-bottom: 0 solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}.cl-7dd1af16{width:0.75in;background-color:transparent;vertical-align: middle;border-bottom: 0.75pt solid rgba(0, 0, 0, 1.00);border-top: 0 solid rgba(0, 0, 0, 1.00);border-left: 0 solid rgba(0, 0, 0, 1.00);border-right: 0 solid rgba(0, 0, 0, 1.00);margin-bottom:0;margin-top:0;margin-left:0;margin-right:0;}</style><table data-quarto-disable-processing="true" class="cl-7dd6c8de"><thead><tr style="overflow-wrap:break-word;"><th class="cl-7dd1af0c"><p class="cl-7dd196b6"><span class="cl-7dce4092">Letters</span></p></th><th class="cl-7dd1af0c"><p class="cl-7dd196b6"><span class="cl-7dce4092">Numbers</span></p></th></tr></thead><tbody><tr style="overflow-wrap:break-word;"><td class="cl-7dd1af0d"><p class="cl-7dd196b6"><span class="cl-7dce4092">A</span></p></td><td class="cl-7dd1af0d"><p class="cl-7dd196b6"><span class="cl-7dce4092">1</span></p></td></tr><tr style="overflow-wrap:break-word;"><td class="cl-7dd1af0d"><p class="cl-7dd196b6"><span class="cl-7dce4092">B</span></p></td><td class="cl-7dd1af0d"><p class="cl-7dd196b6"><span class="cl-7dce4092">2</span></p></td></tr><tr style="overflow-wrap:break-word;"><td class="cl-7dd1af16"><p class="cl-7dd196b6"><span class="cl-7dce4092">C</span></p></td><td class="cl-7dd1af16"><p class="cl-7dd196b6"><span class="cl-7dce4092">3</span></p></td></tr></tbody></table></div>
</div>
</div>
</figure>
Expand Down Expand Up @@ -1392,7 +1392,7 @@ <h1>Appendices</h1>
});
</script>
</div> <!-- /content -->
<script>var lightboxQuarto = GLightbox({"closeEffect":"zoom","loop":false,"selector":".lightbox","descPosition":"bottom","openEffect":"zoom"});
<script>var lightboxQuarto = GLightbox({"loop":false,"closeEffect":"zoom","descPosition":"bottom","openEffect":"zoom","selector":".lightbox"});
window.onload = () => {
lightboxQuarto.on('slide_before_load', (data) => {
const { slideIndex, slideNode, slideConfig, player, trigger } = data;
Expand Down

0 comments on commit af4caf7

Please sign in to comment.