Fixes
- WebAssembly & initialization
- Fix TikZJax WebAssembly initialization issues.
- Fonts & symbol rendering
- Override DVI parser `machine.putText` to use split character code offsets from `tikzjax.js`.
- Map codes 0–9 starting at 161 to fix incorrect Γ rendering (was showing as Θ).
- Map codes 10–19 starting at 173 to resolve Ω and ⊗ collisions with soft hyphen.
- Layout & rendering
- Fix SVG clipping by switching to `position: relative` with `overflow: visible`.
- Adjust inline SVG behavior to prevent top-of-page clipping.
- Type compatibility
- Cast types to `unknown` in `TikzJaxLoader` and worker functions for compatibility.
- Error handling & cleanup
- Improve error handling across TikZ components.
- Remove unused dependencies and unnecessary console logs.
Features
- Package loading system
- Add robust dependency resolution in `loader.ts` for:
- `tikz-cd`
- `tikz-feynhand`
- `pgfcalendar`
- Ensure required libraries and keys load dynamically on demand.
- Rendering & layout improvements
- Enhance SVG bounding box calculation.
- Implement dynamic column width calculation.
- Improve row and column layout alignment and responsiveness.
- TikZ editor enhancements
- Add keyboard shortcut tooltips to sidebar buttons.
- Introduce thickness control slider for elements.
- Improve snapping system with modes:
- grid
- half
- none
- Add support for new shapes:
- circles
- rectangles
- triangles
- Improve TikZ code generation error handling.
Improvements
- Selection & editing UX
- Add lasso selection for multiple vertices in `CanvasGrid`.
- Support multi-element editing in `RightSidebar`.
- Refactor `TikzEditorModal` to handle multiple selected vertices.
- Enable batch updates for selected elements.
- Layout & styling
- Compact `.block-language-tikz` layout:
- margin: `1.5em 0` → `0.3em 0`
- padding: `1rem 0` → `0`
- Improve canvas controls and interaction styles.
- Component refactoring
- Refactor `CanvasGrid` to use template literals.
- Replace inline styles with `setCssStyles`.
- Improve `TikzCodec` node naming clarity.
- Improve `history manager` type safety with `EditorElement`.
- Use `window.setTimeout` in asset manager for better compatibility.
- Accessibility & UI polish
- Improve sidebar button titles and tooltips.
- Standardize live preview overlay button titles.
- Clean up modal styling and text consistency.
Documentation
- Revamp TeXcore plugin documentation:
- Clarify PDF export features and settings.
- Improve quick preview architecture explanation.
- Enhance equation search and autocomplete docs.
- Streamline snippets usage and transformations.
- Expand TikZ diagrams section with graphical editor guide.
- Improve getting started guide with clearer steps.
- Add navigation and configuration updates.
- Update plugin manifest descriptions for clarity.
2.4 KiB
Configuration Overview Matrix
TeXcore is highly customizable. Use this matrix to understand the setting groups and click the links to explore detailed configurations on the Settings Reference page.
Settings Group Matrix
The plugin settings are divided into five main categories. Below is an overview of what is in each section:
| Settings Category | One-Line Overview | Core Customization | Detailed Link |
|---|---|---|---|
| Numbering & Referencing | Adjust equation counting, prefixes, suffixes, and numbering styles. | Arabic/Roman numerals, tags display, and lazy numbering toggle. | Go to Section :octicons-arrow-right-16: |
| Autocomplete & Search | Customize editor triggers and math suggestions popups. | Suggestions trigger sequence, fuzzy/simple search method. | Go to Section :octicons-arrow-right-16: |
| PDF Export Options | Adjust layout geometry, titles, background, and header templates. | Orientation, print background toggle, outline heading depth. | Go to Section :octicons-arrow-right-16: |
| Advanced PDF Settings | Configure HTML page decoration headers/footers and sniper selections. | HTML variables class name mapping, CSS snippet filters. | Go to Section :octicons-arrow-right-16: |
| Snippet Macros | Manage custom LaTeX snippets inserted via command palette. | LaTeX template commands, custom snippet shortcuts. | Go to Section :octicons-arrow-right-16: |
Highlighted Settings
Explore settings key categories to customize your math publishing workspace:
-
:material-tune: Typographic Numbering
Change equation counter styles to Arabic (
1), uppercase Roman (I), or alphabetic (a). Append custom text likeEq.prefix or.suffix. -
:material-laptop: Dynamic Suggestions
Control whether autocomplete triggers via
\eqrefor another custom code. Toggle whether the suggestion list renders math or shows raw LaTeX syntax. -
:material-file-document-outline: Print Design
Customize output HTML headers/footers with variables such as page number, document date, and document title.