qownnotes / scripts

QOwnNotes script repository
http://www.qownnotes.org
GNU General Public License v3.0
104 stars 79 forks source link

latex-math displaying rendered formula very wide #201

Closed terrifictable closed 1 year ago

terrifictable commented 1 year ago

Script name

latex-math

Script authors

@r00tr4v3n & @Aganel

Question

This is how a rendered markdown formula looks, the image itself is good, but its displayed very wide in the preview image

Output from the debug section in the settings dialog

Debug section data QOwnNotes Debug Information =========================== ## General Info **Current Date**: `So Sep 17 11:16:53 2023` **Version**: `23.8.2` **Build date**: `Aug 26 2023` **Build number**: `1050` **Platform**: `windows` **Operating System**: `Windows 10 Version 2009` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `GitHub Actions` **Qt Version (build)**: `5.15.2` **Qt Version (runtime)**: `5.15.2` **Portable mode**: `no` **Settings path / key**: `\HKEY_CURRENT_USER\Software\PBE\QOwnNotes` **Application database path**: `C:\Users\Sandbox\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite` **Application arguments**: `E:\haskell\lib\qownnotes\tools\QOwnNotes.exe` **Qt Debug**: `0` **Locale (system)**: `de_DE` **Locale (interface)**: `en` **Primary screen resolution**: `3440x1440` **Screen resolution(s)**: `3440x1440, 1024x600` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `2` **Calendar items**: `6` **Enabled scripts**: `5` ## Server Info **serverUrl**: `https://nextcloud.terrifictable.xyz` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `27.0.2.1` **appVersion**: *empty* ## Spellchecking **Enabled**: `false` **Selected language**: *empty* **Language codes**: *empty* **Language names**: *empty* **Application dictionaries path**: `C:\Users\Sandbox\AppData\Roaming\PBE\QOwnNotes\dicts` ## Note folders **currentNoteFolderId**: `3` ### Note folder `default` **id**: `3` **isCurrent**: `yes` **activeTagId**: `0` **localPath**: `F:\Nextcloud\Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `F:\Nextcloud\Notes\notes.sqlite` ### Note folder `Notes` **id**: `2` **isCurrent**: `no` **activeTagId**: `0` **localPath**: `F:\Notes\Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `F:\Notes\Notes\notes.sqlite` ### Note folder `F:/Notes` **id**: `4` **isCurrent**: `no` **activeTagId**: `0` **localPath**: `F:\Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `F:\Notes\notes.sqlite` ## Cloud connections ### Cloud connection `Neue Verbindung` **id**: `2` **isCurrent**: `no` **serverUrl**: *empty* **username**: *empty* **accountId**: *empty* ### Cloud connection `nextcloud.terrifictable.xyz` **id**: `1` **isCurrent**: `yes` **serverUrl**: `https://nextcloud.terrifictable.xyz` **username**: `terrific` **accountId**: *empty* **Nextcloud Deck boardId**: `0` **Nextcloud Deck stackId**: `0` ## Enabled scripts ### Script `Latex Math` **id**: `1` **path**: `C:\Users\Sandbox\AppData\Roaming\PBE\QOwnNotes\scripts\latex-math\latex-math.qml` **variablesJson**: ``` { "customPreamble": "\\newcommand{\\mycmd}[1]{\\bf \\underline{#1}}", "debug": true, "executable": "F:\\KLatexFormula-4.1.0\\bin\\klatexformula.exe", "formulaBgColor": "-", "formulaColor": "#000000", "formulaPrefix": "\\ ", "settingDPI": 600, "settingImageSize": 16, "usepackages": "amsmath,amssymb,amsfonts" } ``` **identifier**: `latex-math` **version**: `0.0.6` **minAppVersion**: `20.8.0` ### Script `Wiki Links` **id**: `2` **path**: `C:\Users\Sandbox\AppData\Roaming\PBE\QOwnNotes\scripts\wiki-links\wiki-links.qml` **variablesJson**: ``` { "wikilinksBackgroundColor": "#FFFF00", "wikilinksForegroundColor": "#ff832b", "wikilinksHideSubfolder": true, "wikilinksLowerCase": true, "wikilinksRemoveSpaces": true, "wikilinksReplaceSpacesSymbol": "-", "wikilinksSanitizeFilename": true } ``` **identifier**: `wiki-links` **version**: `0.0.1` **minAppVersion**: `20.6.0` ### Script `Toggle comment` **id**: `3` **path**: `C:\Users\Sandbox\AppData\Roaming\PBE\QOwnNotes\scripts\toggle-comment\toggle-comment.qml` **variablesJson**: *empty* **identifier**: `toggle-comment` **version**: `1.0` **minAppVersion**: `20.4.16` ### Script `Link titles` **id**: `5` **path**: `C:\Users\Sandbox\AppData\Roaming\PBE\QOwnNotes\scripts\link-titles\link-titles.qml` **variablesJson**: *empty* **identifier**: `link-titles` **version**: `0.0.1` **minAppVersion**: `20.6.0` ### Script `Image preview` **id**: `6` **path**: `C:\Users\Sandbox\AppData\Roaming\PBE\QOwnNotes\scripts\image-preview\image-preview.qml` **variablesJson**: ``` { "maxWidth": 640 } ``` **identifier**: `image-preview` **version**: `1.0.1` **minAppVersion**: `20.6.0` ## Settings **ActiveNoteHistoryItem** (NoteHistoryItem): `` **CloudConnection-1/nextcloudDeckEnabled** (QString): `true` **Debug/fakeOldVersionNumber** (QString): `false` **Debug/fileLogging** (QString): `false` **Editor/CurrentSchemaKey** (QString): `EditorColorSchema-8d6ccd0e-2fc2-4f8a-b05c-787f1a8d0317` **Editor/autoBracketClosing** (QString): `true` **Editor/autoBracketRemoval** (QString): `true` **Editor/centerCursor** (QString): `false` **Editor/disableCursorBlinking** (QString): `false` **Editor/editorWidthInDFMOnly** (QString): `true` **Editor/highlightCurrentLine** (QString): `true` **Editor/indentSize** (int): `4` **Editor/removeTrailingSpaces** (QString): `false` **Editor/showLineNumbers** (QString): `false` **Editor/useTabIndent** (QString): `false` **Editor/vimMode** (QString): `false` **FileDialog/LastPath** (QString): `F:/KLatexFormula-4.1.0/bin` **FileDialog/LastPath-NotePDFExport** (QString): `C:/Users/Sandbox` **FileDialog/LastPath-ScriptSettingsFile-latex-math-executable** (QString): `F:/KLatexFormula-4.1.0/bin` **LastUpdateCheck** (QDateTime): `2023-09-17T10:19:46.884` **MainWindow/geometry** (QByteArray): `` **MainWindow/mainToolBar.iconSize** (int): `24` **MainWindow/menuBarGeometry** (QByteArray): `` **MainWindow/noteTextEdit.code.font** (QString): `Courier New,11,-1,2,50,0,0,0,0,0` **MainWindow/noteTextEdit.font** (QString): `MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.code.font** (QString): `Courier New,9,-1,2,50,0,0,0,0,0` **MainWindow/noteTextView.font** (QString): `MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0` **MainWindow/noteTextView.ignoreCodeFontSize** (QString): `true` **MainWindow/noteTextView.refreshDebounceTime** (int): `600` **MainWindow/noteTextView.rtl** (QString): `false` **MainWindow/noteTextView.underline** (QString): `true` **MainWindow/noteTextView.useEditorStyles** (QString): `true` **MainWindow/noteTextView.useInternalExportStyling** (QString): `true` **MainWindow/showNotesFromAllNoteSubFolders** (QString): `false` **MessageBoxOverride/share-sync-information** (int): `1024` **MessageBoxOverride/windows-dark-mode** (int): `16384` **NoteFolder-2/NoteTabNameList** (QStringList): `Hello` **NoteFolder-2/NoteTabStickinessList** (QStringList): *empty* **NoteFolder-2/NoteTabSubFolderPathDataList** (QStringList): *empty* **NoteFolder-3/NoteTabNameList** (QStringList): `Latex` **NoteFolder-3/NoteTabStickinessList** (QStringList): *empty* **NoteFolder-3/NoteTabSubFolderPathDataList** (QStringList): *empty* **NoteHistory-2** (QVariantList): `` **NoteHistory-3** (QVariantList): `` **NoteHistoryCurrentIndex-2** (int): `6` **NoteHistoryCurrentIndex-3** (int): `6` **PiwikClientId** (QString): `` **Printer/NotePDFExportOrientation** (int): `0` **Printer/NotePDFExportPageSize** (int): `4` **ScriptRepositoryDialog/geometry** (QByteArray): `` **ScriptRepositoryDialog/mainSplitterState** (QByteArray): `` **SearchEngineId** (int): `0` **SettingsDialog/geometry** (QByteArray): `` **SettingsDialog/mainSplitterState** (QByteArray): `` **ShareDialog/geometry** (QByteArray): `` **ShowSystemTray** (QString): `true` **StartHidden** (QString): `false` **TodoDialog/geometry** (QByteArray): `` **TodoDialog/mainSplitterState** (QByteArray): `` **TodoDialog/showCompletedItems** (int): `0` **TodoDialog/showDueTodayItemsOnly** (int): `0` **TodoDialog/todoListSelectorSelectedItem** (QString): `Deck: Personal` **VersionDialog/geometry** (QByteArray): `` **WelcomeDialog/geometry** (QByteArray): `` **acceptAllExternalModifications** (QString): `false` **allowNoteEditing** (QString): `true` **allowOnlyOneAppInstance** (QString): `true` **appMetrics/disableAppHeartbeat** (QString): `false` **appMetrics/disableTracking** (QString): `false` **appMetrics/notificationShown** (QString): `true` **autoReadOnlyMode** (QString): `false` **autoReadOnlyModeTimeout** (int): `30` **automaticNoteFolderDatabaseClosing** (QString): `false` **checkSpelling** (QString): `false` **closeTodoListAfterSave** (QString): `false` **cryptoKey** (qlonglong): `` **currentNoteFolderId** (int): `3` **currentWorkspace** (QString): `74955c6d-878f-4bc7-9c74-3f2f7250fd10` **cursorWidth** (int): `1` **darkMode** (QString): `true` **darkModeColors** (QString): `true` **darkModeIconTheme** (QString): `true` **darkModeTrayIcon** (QString): `true` **defaultNoteFileExtension** (QString): `md` **demoNotesCreated** (QString): `true` **disableAutomaticUpdateDialog** (QString): `true` **disableSavedSearchesAutoCompletion** (QString): `false` **dockWasInitializedOnce** (QString): `true` **enableNoteTree** (QString): `true` **enableSocketServer** (QString): `true` **enableWebAppSupport** (QString): `false` **externalEditorPath** (QString): *empty* **fullyHighlightedBlockquotes** (QString): `false` **gitCommitInterval** (int): `30` **gitExecutablePath** (QString): *empty* **gitLogCommand** (QString): *empty* **guiFirstRunInit** (QString): `true` **ignoreAllExternalModifications** (QString): `false` **ignoreAllExternalNoteFolderChanges** (QString): `false` **ignoreNoteSubFolders** (QString): `^\.` **ignoredNoteFiles** (QString): *empty* **imageScaleDown** (QString): `false` **imageScaleDownMaximumHeight** (int): `1024` **imageScaleDownMaximumWidth** (int): `1024` **initialLayoutIdentifier** (QString): `minimal` **insertTimeFormat** (QString): *empty* **interfaceFontSize** (int): `11` **interfaceLanguage** (QString): `en` **interfaceStyle** (QString): `Windows` **internalIconTheme** (QString): `false` **itemHeight** (int): `15` **legacyLinking** (QString): `false` **localTrash/autoCleanupDays** (int): `30` **localTrash/autoCleanupEnabled** (QString): `true` **localTrash/supportEnabled** (QString): `true` **markdownHighlightingEnabled** (QString): `true` **navigationPanelAutoSelect** (QString): `true` **navigationPanelHideSearch** (QString): `false` **networking/ignoreSSLErrors** (QString): `true` **networking/proxyType** (int): `2` **newNoteAskHeadline** (QString): `false` **noteEditIsCentralWidget** (QString): `true` **noteFileExtensionList** (QStringList): `md, txt` **noteListPreview** (QString): `false` **noteSaveIntervalTime** (int): `10` **noteSubfoldersPanelDisplayAsFullTree** (QString): `true` **noteSubfoldersPanelHideSearch** (QString): `false` **noteSubfoldersPanelOrder** (int): `0` **noteSubfoldersPanelShowFullPath** (QString): `false` **noteSubfoldersPanelShowNotesRecursively** (QString): `false` **noteSubfoldersPanelShowRootFolderName** (QString): `true` **noteSubfoldersPanelSort** (int): `0` **notesPanelOrder** (int): `0` **notesPanelSort** (int): `1` **notesPath** (QString): `F:/Nextcloud/Notes` **notifyAllExternalModifications** (QString): `false` **overrideInterfaceFontSize** (QString): `false` **ownCloud/ignoreNonTodoCalendars** (QString): `true` **ownCloud/supportEnabled** (QString): `true` **ownCloud/todoCalendarBackend** (int): `3` **ownCloud/todoCalendarCalDAVPassword** (QString): `` **ownCloud/todoCalendarCalDAVServerUrl** (QString): *empty* **ownCloud/todoCalendarCalDAVUsername** (QString): *empty* **ownCloud/todoCalendarCloudConnectionId** (int): `1` **ownCloud/todoCalendarDisplayNameList** (QStringList): `Deck: Personal` **ownCloud/todoCalendarEnabledList** (QStringList): `Deck: Personal` **ownCloud/todoCalendarEnabledUrlList** (QStringList): `https://nextcloud.terrifictable.xyz/remote.php/dav/calendars/terrific/app-generated--deck--board-1/` **ownCloud/todoCalendarUrlList** (QStringList): `https://nextcloud.terrifictable.xyz/remote.php/dav/calendars/terrific/app-generated--deck--board-1/` **ownCloudInfo/appIsValid** (QString): `true` **ownCloudInfo/connectionErrorMessage** (QString): `Unknown error` **ownCloudInfo/notesPathExistsText** (QString): `yes` **ownCloudInfo/serverVersion** (QString): `27.0.2.1` **previousWorkspace** (QString): `initial` **recentNoteFolders** (QStringList): `F:/Notes` **restoreCursorPosition** (QString): `true` **restoreLastNoteAtStartup** (QString): `true` **restoreNoteTabs** (QString): `true` **savedSearches/noteFolder-2** (QStringList): `Note 2023-09-16T23.39.08, Note 2023-09-16T23.36.13` **savedSearches/noteFolder-3** (QStringList): `Note 2023-09-17T11.01.46` **showMatches** (QString): `true` **showMenuBar** (QString): `true` **showStatusBar** (QString): `true` **startInReadOnlyMode** (QString): `false` **systemIconTheme** (QString): `false` **taggingShowNotesRecursively** (QString): `false` **tagsPanelHideNoteCount** (QString): `false` **tagsPanelHideSearch** (QString): `false` **tagsPanelOrder** (int): `0` **tagsPanelSort** (int): `0` **todoCalendarSupport** (QString): `true` **toolbar/1/items** (QStringList): `action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionShow_Todo_List` **toolbar/1/name** (QString): `mainToolBar` **toolbar/1/title** (QString): `main toolbar` **toolbar/2/items** (QStringList): `actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote` **toolbar/2/name** (QString): `formattingToolbar` **toolbar/2/title** (QString): `formatting toolbar` **toolbar/3/items** (QStringList): `actionInsert_text_link, actionInsert_image, actionInsert_current_time` **toolbar/3/name** (QString): `insertingToolbar` **toolbar/3/title** (QString): `inserting toolbar` **toolbar/4/items** (QStringList): `action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note` **toolbar/4/name** (QString): `encryptionToolbar` **toolbar/4/title** (QString): `encryption toolbar` **toolbar/5/items** (QStringList): `actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size` **toolbar/5/name** (QString): `windowToolbar` **toolbar/5/title** (QString): `window toolbar` **toolbar/6/items** (QStringList): `action_Quit` **toolbar/6/name** (QString): `quitToolbar` **toolbar/6/title** (QString): `quit toolbar` **toolbar/size** (int): `6` **useNoteFolderButtons** (QString): `false` **useSoftWrapInNoteEditor** (QString): `true` **useUNIXNewline** (QString): `false` **versionSplitterSizes** (QByteArray): `` **webAppClientService/serverUrl** (QString): `wss://app.qownnotes.org` **webAppClientService/token** (QString): `` **webSocketServerService/bookmarksNoteName** (QString): `Bookmarks` **webSocketServerService/bookmarksTag** (QString): `bookmarks` **webSocketServerService/commandSnippetsNoteName** (QString): `Commands` **webSocketServerService/commandSnippetsTag** (QString): `commands` **webSocketServerService/port** (int): `22222` **workspace-74955c6d-878f-4bc7-9c74-3f2f7250fd10/name** (QString): `custom` **workspace-74955c6d-878f-4bc7-9c74-3f2f7250fd10/noteSubFolderDockWidgetVisible** (QString): `true` **workspace-74955c6d-878f-4bc7-9c74-3f2f7250fd10/windowState** (QByteArray): `` **workspace-initial/name** (QString): `Minimal` **workspace-initial/noteSubFolderDockWidgetVisible** (QString): `true` **workspace-initial/windowState** (QByteArray): `` **workspaces** (QStringList): `initial, 74955c6d-878f-4bc7-9c74-3f2f7250fd10` ## System environment **ALLUSERSPROFILE**: `C:\ProgramData` **APPDATA**: `C:\Users\Sandbox\AppData\Roaming` **ChocolateyInstall**: `E:\haskell\` **ChocolateyLastPathUpdate**: `133252050065546876` **ChocolateyToolsLocation**: `C:\tools` **CommonProgramFiles**: `C:\Program Files\Common Files` **CommonProgramFiles(x86)**: `C:\Program Files (x86)\Common Files` **CommonProgramW6432**: `C:\Program Files\Common Files` **COMPUTERNAME**: `DESKTOP-JIE7PIR` **ComSpec**: `C:\WINDOWS\system32\cmd.exe` **DokanLibrary1**: `C:\Program Files\Dokan\Dokan Library-1.4.0\` **DokanLibrary1_LibraryPath_x64**: `C:\Program Files\Dokan\Dokan Library-1.4.0\lib\` **DokanLibrary1_LibraryPath_x86**: `C:\Program Files\Dokan\Dokan Library-1.4.0\x86\lib\` **DriverData**: `C:\Windows\System32\Drivers\DriverData` **FPS_BROWSER_APP_PROFILE_STRING**: `Internet Explorer` **FPS_BROWSER_USER_PROFILE_STRING**: `Default` **GHCUP_INSTALL_BASE_PREFIX**: `D:\` **GOPATH**: `C:\Users\Sandbox\go` **HOMEDRIVE**: `C:` **HOMEPATH**: `\Users\Sandbox` **INTEL_DEV_REDIST**: `C:\Program Files (x86)\Common Files\Intel\Shared Libraries\` **JAVA_17**: `C:\Program Files\Eclipse Adoptium\jdk-17.0.2.8-hotspot` **JAVA_19**: `F:\.jdks\temurin-19.0.2` **JAVA_8**: `C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot` **JAVA_HOME**: `C:\Program Files\Eclipse Adoptium\jdk-17.0.2.8-hotspot` **LOCALAPPDATA**: `C:\Users\Sandbox\AppData\Local` **LOGONSERVER**: `\\DESKTOP-JIE7PIR` **LUA_DEV**: `E:\lua\5.1` **LUA_PATH**: `;;E:\lua\5.1\lua\?.luac` **MAVEN_HOME**: `F:\maven` **NUMBER_OF_PROCESSORS**: `12` **OneDrive**: `C:\Users\Sandbox\OneDrive` **OS**: `Windows_NT` **Path**: `E:\VMware\VMware Workstation\bin\;C:\Windows\System32;C:\Windows;C:\Windows\System32\OpenSSH;C:\brainfuck;C:\brainfuck\tcc;C:\brainfuck\x64db;C:\brainfuck\protoc\bin;C:\Users\Sandbox\AppData\Local\Programs\Git\usr\bin;F:\Elm-lang\0.19.1\bin;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;F:\msys64\mingw64\bin;C:\Program Files (x86)\Nmap;c.\Users\sandbox\documents;F:\CMake\bin;F:\ghidra_10.3_PUBLIC;F:\LLVM\bin;F:\maven\bin;F:\nim\bin;F:\nim;F:\Nmap;F:\PuTTY;F:\qemu;F:\qemu\qtemu;F:\SHADERed;F:\tools\ghc-9.6.1\bin;F:\tools\neovim\nvim-win64\bin;F:\tools\vim\vim90;E:\Arduino;E:\dnSpy;E:\haskell;E:\haskell\tools;F:\msys64\usr\bin;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;F:\nodejs\;C:\Program Files\Docker\Docker\resources;E:\haskell\lib\fzf\tools;C:\brainfuck\x64db\x64;E:\haskell\bin\;F:\.jdks\temurin-19.0.2\bin;C:\php;C:\Users\Sandbox\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Sandbox\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\;;C:\Program Files\Docker\Docker\resources\bin;F:\Go\bin;C:\Users\Sandbox\AppData\Local\ActiveState\StateTool\release\bin;C:\Users\Sandbox\scoop\shims;C:\Users\Sandbox\.cargo\bin;E:\Ruby31-x64\bin;C:\Users\Sandbox\AppData\Local\activestate\cache\bin;C:\Users\Sandbox\AppData\Local\ActiveState\StateTool\release;C:\Users\Sandbox\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Sandbox\AppData\Local\Programs\Python\Python39\;C:\Users\Sandbox\AppData\Local\Programs\Python\Python39-32\Scripts\;C:\Users\Sandbox\AppData\Local\Programs\Python\Python39-32\;C:\Program Files\Java\jre1.8.0_301;C:\Users\Sandbox\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Sandbox\AppData\Local\Programs\Git\cmd;C:\Users\Sandbox\AppData\Local\atom\bin;C:\Users\Sandbox\.dotnet\tools;E:\lua\5.1;E:\lua\5.1\clibs;C:\Users\Sandbox\Documents\nim-1.6.6\bin;C:\Users\Sandbox\.nimble\bin;C:\Users\Sandbox\AppData\Local\Gpg4win\..\GnuPG\bin;C:\Users\Sandbox\AppData\Local\JetBrains\Toolbox\scripts;C:\tools\neovim\nvim-win64\bin;C:\Users\Sandbox\AppData\Local\gitkraken\bin;C:\Users\Sandbox\AppData\Local\spicetify;C:\Users\Sandbox\AppData\Local\Keybase\;C:\Users\Sandbox\go\bin;C:\Users\Sandbox\AppData\Local\Programs\oh-my-posh\bin;C:\Users\Sandbox\AppData\Roaming\cabal\bin;C:\tools\ghc-9.6.1\bin;C:\tools\msys64;C:\Users\Sandbox\AppData\Roaming\npm;F:\Dr. Memory\bin\;C:\Users\Sandbox\go\bin` **PATHEXT**: `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW;.RB;.RBW;.wlua;.lexe` **POSH_THEMES_PATH**: `C:\Users\Sandbox\AppData\Local\Programs\oh-my-posh\themes` **PROCESSOR_ARCHITECTURE**: `AMD64` **PROCESSOR_IDENTIFIER**: `AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD` **PROCESSOR_LEVEL**: `23` **PROCESSOR_REVISION**: `0802` **ProgramData**: `C:\ProgramData` **ProgramFiles**: `C:\Program Files` **ProgramFiles(x86)**: `C:\Program Files (x86)` **ProgramW6432**: `C:\Program Files` **PSModulePath**: `C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules` **PUBLIC**: `C:\Users\Public` **RG_GPU_FRAMEWORK_ENGINE_RESOURCEDIR**: `C:\Program Files\Red Giant\RGFX` **RG_UNIVERSE_FRAMEWORK_RESOURCEDIR**: `C:\Program Files\Red Giant\RGFX` **SESSIONNAME**: `Console` **SystemDrive**: `C:` **SystemRoot**: `C:\WINDOWS` **TEMP**: `C:\Users\Sandbox\AppData\Local\Temp` **TMP**: `C:\Users\Sandbox\AppData\Local\Temp` **USERDOMAIN**: `DESKTOP-JIE7PIR` **USERDOMAIN_ROAMINGPROFILE**: `DESKTOP-JIE7PIR` **USERNAME**: `Sandbox` **USERPROFILE**: `C:\Users\Sandbox` **VBOX_MSI_INSTALL_PATH**: `C:\Program Files\Oracle\VirtualBox\` **windir**: `C:\WINDOWS` **_MSYS2_BASH**: `C:\tools\msys64\usr\bin\bash.exe` **_MSYS2_PREFIX**: `x86_64`

Relevant log output in the Log panel

[11:15:56] [scripting] [LaTex] clearing cache dir ...
[11:15:56] [scripting] [LaTex] true
[11:15:56] [scripting] [LaTex] got cmds: 1
[11:15:56] [scripting] [LaTex] exec1: "F:\KLatexFormula-4.1.0\bin\klatexformula.exe" -f "#000000" -b "-" --base64arg --preamble="XHVzZXBhY2thZ2V7YW1zbWF0aH1cdXNlcGFja2FnZXthbXNzeW1ifVx1c2VwYWNrYWdle2Ftc2ZvbnRzfVxuZXdjb21tYW5ke1xteWNtZH1bMV17XGJmIFx1bmRlcmxpbmV7IzF9fQ==" --base64arg --latexinput="XCBjXjIgPSBhXjIgKyBiXjI=" --dpi 600 --quiet 1 --output C:/Users/Sandbox/AppData/Local/PBE/QOwnNotes/cache/scripts/latex-math/c38b976179291debae5736a69803c024.png
[11:16:00] [scripting] [LaTex] remaining: 0
[11:16:00] [scripting] [LaTex] done
terrifictable commented 1 year ago

nvm, im just stupid some setting from image-preview set the width of images to 600 by default