Skip to content

Releases: YouFoundJK/TeXcore

Release list

v0.0.3

Choose a tag to compare

@github-actions github-actions released this 06 Jun 10:19

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.
  • 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-cd
      • tikz-feynhand
      • pgfcalendar
    • 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

  1. Update the plugin via Obsidian Community Plugins or manually replace:

    • main.js
    • manifest.json
    • styles.css
  2. Reload Obsidian to initialize the updated TikZ rendering engine and editor components.

  3. Open the TikZ Editor:

    • Use the command palette or UI entry point.
    • Start building diagrams visually using the canvas tools.
  4. 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.
  5. Continue writing TikZ manually if preferred — rendering is now more accurate, faster, and supports more packages out-of-the-box.

v0.0.1

Choose a tag to compare

@github-actions github-actions released this 05 Jun 12:52

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-xxx identifier 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 \eqref to 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.
  • Integrated TikZJax Diagram Renderer

    • Native TikZ Support: Write diagrams directly within ```tikz blocks 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 black strokes/fills to currentColor) to render cleanly across both light and dark Vault themes.
    • Row-Layout System: Provides structured multi-diagram row displays (+tikz syntax) in editing and reading views.
  • 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_.md containing 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 .md notes 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

  1. Update or install the plugin via Obsidian Community Plugins (or manually place main.js, manifest.json, and styles.css in .obsidian/plugins/obsitexcore/).
  2. Enable the plugin and restart/reload Obsidian to ensure all editor extensions (such as equation numbering, hover popups, and TikZ renderers) load successfully.
  3. 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.
  4. Write equations using $$...$$ blocks, tag them using a % id: eq-name comment before the closing $$, and reference them instantly using \eqref!