-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tikzpicture preview #1450
Comments
Update: No change yet, will do a bit more work on this soon. I've had some ideas about how to keep track of the same tikzpicture environment. |
Currently looking for tikz 'bits' that should be pulled out of the main document for generating the preview. Stuff like |
Update: Progress is being made! More details to come later. Shouldn't be too long before I start a PR. |
Nice work, it would be awesome if this worked for standalone tikz files referenced via I normally put my tikz files in a comon figures folder and input them into the document - the tikz files themselves aren't standalone since the document preamble sets up colours etc). |
I have the following preamble required to support tikz. Not sure how you'd detect the colour references though? As I mentioned above, as an option perhaps a magic to a template could be used with a default?
|
Thanks for the example preamble. I can try expanding the regex to get all those important bits. Here's a demo If you have any other samples, I'd appriciate them 😃 Re: |
I'm only just starting to use tikz, as I come across other stuff I'll upload. Although it'll be quite difficult to get everything from the preamble that might be used in a fragment since you can put equations for example which might depend on a define from the preamble. You may need to take the entire preamble? |
That's why my implementation has the setting |
Excellent, so it should work the same as gtikz / ktitz whihc is nice! |
ktikz looks like a decent comparison to what I want this to end up being as capable as. In my opinion the "tikz commands" part of my Snippets Pannel PR should also help make creating tikz figures easier. |
Now that LaTeX Utilities is unmaintained, would it be possible to recover TiZK previews in LaTeX Workshop? I think that this particular functionality should have never left, since TiKZ is more popular everyday. |
No. |
Hi All,
I had an idea earlier for previewing tikzpicturs — #1427 (comment) and I'm pleased to say I've actually made some progress towards it — tecosaur/LaTeX-Workshop/tikzpicture-codelense.
I'm not actually too far off, this is the current state of affairs
Looking for general feedback / ideas on this.
The text was updated successfully, but these errors were encountered: