Releases: YouFoundJK/TeXcore
Release list
v0.0.3
What’s New in v0.0.2
-
Interactive TikZ Editor (Visual Diagram Builder)
- Graphical Editing Interface: Design TikZ diagrams visually using an integrated canvas instead of writing raw code from scratch.
- Shape Tooling: Create and manipulate common elements like lines, arrows, circles, rectangles, and triangles with ease.
- Live TikZ Code Generation: Automatically generates clean TikZ code in real-time as you edit diagrams.
- Keyboard Shortcut Tooltips: Every tool includes discoverable shortcuts for faster workflows.
- Thickness Control Slider: Easily adjust stroke widths and element thickness directly from the UI.
-
Precision Editing & Multi-Selection
- Lasso Selection: Select multiple vertices or elements at once using intuitive drag selection.
- Batch Editing: Apply shared style updates (color, thickness, etc.) across multiple selected elements simultaneously.
- Improved Selection Model: Refactored editor internals to support multi-element operations and cleaner state updates.
-
Advanced Snapping System
- Multiple Snapping Modes:
- Grid snapping for structured layouts
- Half-step snapping for finer control
- Free mode for unrestricted positioning
- Improved Alignment: Ensures consistent spacing and cleaner diagram geometry.
- Multiple Snapping Modes:
-
Major TikZ Rendering Improvements
- Accurate Symbol Rendering: Fixes incorrect glyph mappings (e.g. Γ, Ω, ⊗) caused by DVI parsing issues.
- Font Handling Overhaul: Uses corrected character offset mappings from TikZJax for consistent output.
- Robust Package Loading: Automatically resolves dependencies for advanced libraries like:
tikz-cdtikz-feynhandpgfcalendar
- Improved Error Handling: More resilient rendering pipeline for malformed or complex diagrams.
-
Enhanced Layout & Responsiveness
- Dynamic Column Sizing: Automatically adjusts diagram widths for better alignment in multi-diagram layouts.
- Improved Row Layout System: More consistent spacing and responsive structure across different screen sizes.
- Compact Rendering Mode: Reduced margins and padding for tighter, cleaner document layouts.
- SVG Clipping Fix: Prevents diagrams from being cut off at the top by adjusting overflow and positioning behavior.
-
UI & Performance Refinements
- Cleaner Component Architecture: Refactored core editor components (CanvasGrid, Sidebar, Modal) for maintainability and performance.
- Consistent Styling System: Replaced scattered inline styles with centralized style helpers.
- Improved Accessibility: Better tooltips, clearer button labels, and more consistent interaction feedback.
- Optimized Asset Handling: Improved compatibility and reliability using safer async loading patterns.
Full Changelog: 0.0.1...0.0.3
Usage
-
Update the plugin via Obsidian Community Plugins or manually replace:
main.jsmanifest.jsonstyles.css
-
Reload Obsidian to initialize the updated TikZ rendering engine and editor components.
-
Open the TikZ Editor:
- Use the command palette or UI entry point.
- Start building diagrams visually using the canvas tools.
-
Customize your editing workflow:
- Toggle snapping modes (grid / half / free).
- Adjust thickness and styles from the right sidebar.
- Use multi-selection for faster bulk edits.
-
Continue writing TikZ manually if preferred — rendering is now more accurate, faster, and supports more packages out-of-the-box.
v0.0.1
What’s New in v0.0.1
-
Equation Numbering & Smart Referencing
- Automatic Equation Tagging: Automatically detects and numbers LaTeX display math blocks configured with custom
% id: eq-xxxidentifier comments. - Flexible Numbering Styles: Supports multiple styles including Arabic (
1, 2, 3), Alphabetic (a, b, c/A, B, C), and Roman (i, ii, iii/I, II, III) numerals. - Auto-completion & Search: Type
\eqrefto summon fuzzy search suggestions listing equations in the active note. - Live Preview & Reading View Renderers: Custom CodeMirror 6 extensions and markdown post-processors display rendered tag indicators (
(1)) in both editing and reading views. - Page Preview Hovers: Patches Obsidian's native page-preview hover popups to show equation definitions when hovering over reference links.
- Automatic Equation Tagging: Automatically detects and numbers LaTeX display math blocks configured with custom
-
Integrated TikZJax Diagram Renderer
- Native TikZ Support: Write diagrams directly within
```tikzblocks without needing external compilers. - Offline-Capable Cache: Downloads and localizes the hefty offline TikZJax engine on first launch to ensure smooth functionality without constant network calls.
- Dark Mode Adaptation: Automatically post-processes SVG output and color attributes (e.g. converting
blackstrokes/fills tocurrentColor) to render cleanly across both light and dark Vault themes. - Row-Layout System: Provides structured multi-diagram row displays (
+tikzsyntax) in editing and reading views.
- Native TikZ Support: Write diagrams directly within
-
Advanced PDF Export Features
- Comprehensive Customization: Open a dedicated configuration modal to set page sizes, orientation, margins, custom headers, and footers.
- Svelte-Based Progress Tracking: Displays a beautiful rendering and compilation progress indicator during exports.
- Batch Folder Exporting: Recursively traverses folders to export multiple files in one action.
- Table of Contents (TOC) Generator: Generates a standard markdown
_TOC_.mdcontaining links to folder files to simplify larger documentation exports.
-
Workflow & Productivity Enhancements
- LaTeX Snippets Manager: Define frequently used LaTeX snippets in settings, automatically registering each as an Obsidian command ready for custom hotkey mapping.
- Custom Note Keybindings: Bind custom shortcuts to open selected
.mdnotes directly in a new tab. - Zotero Annotation Cleanup: Scans configured directories for duplicate
zotero://links and automatically purges duplicated annotation blocks to keep the active note neat. - Callout Alignment Helper: Includes a fixer command (
Fix callout equations in active note) to repair indentation mismatches that often break MathJax rendering inside callout call-outs.
-
Integrated Quick Preview
- Provides instant, rich previews of equations and link destinations directly within autocomplete list interfaces.
Full Changelog: https://github.com/YouFoundJK/ObsiTeXcore/commits/0.0.1
Usage
- Update or install the plugin via Obsidian Community Plugins (or manually place
main.js,manifest.json, andstyles.cssin.obsidian/plugins/obsitexcore/). - Enable the plugin and restart/reload Obsidian to ensure all editor extensions (such as equation numbering, hover popups, and TikZ renderers) load successfully.
- Configure your preferences under the ObsiTeXcore settings tab:
- Set up custom Zotero clean directories.
- Register your custom document shortcuts.
- Map hotkeys for your custom LaTeX snippets.
- Write equations using
$$...$$blocks, tag them using a% id: eq-namecomment before the closing$$, and reference them instantly using\eqref!