Skip to content

Commit 3628627

Browse files
committed
Merge branch 'main' of github.com:quarto-dev/quarto-cli into main
2 parents 2d77379 + 962d83d commit 3628627

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/test-smokes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/[email protected]
5151
with:
5252
python-version: "3.x"
53-
cache: 'pip'
53+
cache: "pip"
5454

5555
- name: Python Dependencies
5656
run: |
@@ -66,7 +66,7 @@ jobs:
6666

6767
- name: Install Tinytex
6868
run: |
69-
quarto tools install tinytex
69+
quarto install tool tinytex
7070
7171
- name: Install Chrome
7272
uses: browser-actions/setup-chrome@latest

src/command/render/latexmk/latex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ async function runLatexCommand(
209209
const tex = await hasLatexDistribution();
210210
if (!tex) {
211211
info(
212-
"\nNo TeX installation was detected.\n\nPlease run 'quarto tools install tinytex' to install TinyTex.\nIf you prefer, you may install TexLive or another TeX distribution.\n",
212+
"\nNo TeX installation was detected.\n\nPlease run 'quarto install tool tinytex' to install TinyTex.\nIf you prefer, you may install TexLive or another TeX distribution.\n",
213213
);
214214
return Promise.reject();
215215
} else if (context.pkgMgr && context.pkgMgr.autoInstall) {

src/project/types/website/listing/website-listing-template.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,12 @@ export function templateJsScript(
516516
window['quarto-listing-loaded']();
517517
}
518518
});
519+
520+
window.addEventListener('hashchange',() => {
521+
if (window['quarto-listing-loaded']) {
522+
window['quarto-listing-loaded']();
523+
}
524+
})
519525
`;
520526
return jsScript;
521527
}

0 commit comments

Comments
 (0)