diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 9919efc92..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,4 +0,0 @@ -# These are supported funding model platforms - -open_collective: latex-workshop -custom: https://afdian.com/a/latex-workshop diff --git a/.github/workflows/texlive_on_linux.yml b/.github/workflows/texlive_on_linux.yml index ee65c2014..8aa7df721 100644 --- a/.github/workflows/texlive_on_linux.yml +++ b/.github/workflows/texlive_on_linux.yml @@ -1,7 +1,7 @@ name: TeX Live on Linux env: cache-version: v12 -on: [push, pull_request] +on: push permissions: contents: read diff --git a/.github/workflows/texlive_on_mac.yml b/.github/workflows/texlive_on_mac.yml index f1f013bec..c39d4ab55 100644 --- a/.github/workflows/texlive_on_mac.yml +++ b/.github/workflows/texlive_on_mac.yml @@ -1,14 +1,14 @@ name: TeX Live on macOS env: cache-version: v12 -on: [push, pull_request] +on: push permissions: contents: read jobs: macosx: - runs-on: macos-latest + runs-on: macos-13 timeout-minutes: 30 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/texlive_on_win.yml b/.github/workflows/texlive_on_win.yml index 268206836..529f51c26 100644 --- a/.github/workflows/texlive_on_win.yml +++ b/.github/workflows/texlive_on_win.yml @@ -1,7 +1,7 @@ name: TeX Live on Windows env: cache-version: v12 -on: [push, pull_request] +on: push permissions: contents: read diff --git a/CHANGELOG.md b/CHANGELOG.md index da76f2e41..a81f49d17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## [10.4.1] - 2024-09-20 + +### Fixed +- (#4397) When formatting a selection of `latex`, consider the leading spaces. +- (#4401) Tweaked macro suggestion order, prioritize `\(` and degrade starred macros. + +### Upgraded +- Upgrade to PDF.js 4.6.82 + +## [10.4.0] - 2024-09-18 + +### Added +- (#4379) Support `tex-fmt` as another LaTeX formatter. + - There are a few config item changes related to `latexindent`. + +### Fixed +- Macro suggestions filtered and sorted by both label and argument signature. +- (#4347) `--max-print-line` should be added to string when magic tex argument is present under MikTeX. +- (#4380) Wrong auto-completion after typing `\{`. + ## [10.3.2] - 2024-09-11 ### Fixed diff --git a/dev/editviewer.py b/dev/editviewer.py index de87e98f4..0070696a8 100644 --- a/dev/editviewer.py +++ b/dev/editviewer.py @@ -31,7 +31,7 @@ .replace('''this.removePageBorders = options.removePageBorders || false;''', '''this.removePageBorders = options.removePageBorders || true;''') \ .replace('''localStorage.setItem("pdfjs.history", databaseStr);''', '''// localStorage.setItem("pdfjs.history", databaseStr);''') \ .replace('''return localStorage.getItem("pdfjs.history");''', '''return // localStorage.getItem("pdfjs.history");''') \ - .replace('''this.setTitle(title);''', '''// this.setTitle(title);''') \ + .replace('''this.setTitle(title || url);''', '''// this.setTitle(title || url);''') \ .replace('''localStorage.setItem("pdfjs.preferences", JSON.stringify(prefObj));''', '''// localStorage.setItem("pdfjs.preferences", JSON.stringify(prefObj));''') \ .replace('''prefs: JSON.parse(localStorage.getItem("pdfjs.preferences"))''', '''prefs: undefined // JSON.parse(localStorage.getItem("pdfjs.preferences"))''') \ .replace('''(!event.shiftKey || window.chrome || window.opera)) {''', '''(!event.shiftKey || window.chrome || window.opera)) {\n if (window.parent !== window) {\n return;\n }''') \ diff --git a/dev/viewer/viewer.html.diff b/dev/viewer/viewer.html.diff index 2209f7a6d..8324be999 100644 --- a/dev/viewer/viewer.html.diff +++ b/dev/viewer/viewer.html.diff @@ -1,5 +1,5 @@ diff --git a/../../web/viewer.html b/../viewer/viewer.html -index badac98dc..bedfdd304 100644 +index 7c05f0ac5..4369c642c 100644 --- a/../../web/viewer.html +++ b/../viewer/viewer.html @@ -25,15 +25,17 @@ See https://github.com/adobe-type-tools/cmap-resources @@ -22,12 +22,12 @@ index badac98dc..bedfdd304 100644
-@@ -275,7 +277,7 @@ See https://github.com/adobe-type-tools/cmap-resources -