Emacs 💜 LaTeX

  Рет қаралды 5,914

karthink

karthink

Күн бұрын

Пікірлер: 37
@mnazaal
@mnazaal Ай бұрын
I dont think I've ever been this excited about a calculator
@NeroPawn
@NeroPawn Ай бұрын
The transition to the Calc segment until the next when it was revealed Calc was already live previewing the computations blown me away, I use Calc daily but my mind was fully focused on the speech, really well crafted.
@softwarevisualization1803
@softwarevisualization1803 Ай бұрын
This is awesome, and your cut from calc details back to LaTeX was hilarious.
@juraphj5140
@juraphj5140 Ай бұрын
Absolutely fantastic video! Equal parts informative and funny, seeing the latex-previews in the elfeed buffer blew my mind. Further, you MAY have convinced me to start trying to get comfortable with using calc, instead of whipping up a begin_src python block in org-mode whenever I need some quick-maths.... We shall see.
@viktorhabchak470
@viktorhabchak470 27 күн бұрын
Impressive wizardry, mr karthink.
@hooxenv9692
@hooxenv9692 Ай бұрын
this, like gptel, is brilliant. simple idea “what if one has latex preview…everywhere?” you don’t know you can’t live without it until you see it type of tech - looking forward to adopting this!
@BLXXCH
@BLXXCH Ай бұрын
I want that calc tutorial
@ivymuncher
@ivymuncher Ай бұрын
karthink my beloved
@randomsearches369
@randomsearches369 Ай бұрын
I like this type of flexing.
@HugoNobrega87
@HugoNobrega87 Ай бұрын
amazing work, well done and thanks!
@paulnelson4320
@paulnelson4320 Ай бұрын
fyi, re. "AUCTeX doesn't provide live previews", these are supported by the ELPA package preview-auto, which also works in any mode
@rudolf-adamkovic
@rudolf-adamkovic Ай бұрын
Cannot wait to see this mega-patch merged.
@muhammadaneeqasif572
@muhammadaneeqasif572 Ай бұрын
please make a video on calc
@notlarvi
@notlarvi Ай бұрын
very nice, immersive video. i saw the latex for the impatient article and didn't know it was you! at 2:00 you're showing off a cool graphic using the tikz package. I couldn't get it to work on my emacs, is it something upcoming in emacs 30?
@karthink
@karthink Ай бұрын
Tikz previews have been a problem -- you can find some fixes floating around stackoverflow and the like. In the new LaTeX preview system they Just Work, provided you include a \usepackage{tikzpicture} (or equivalent) in your header.
@notlarvi
@notlarvi Ай бұрын
@@karthink Oh yeah, I tried it and it works, thanks. I'm also having issues with typing cyrillic in math #+latex_header: \usepackage{amsmath} #+latex_header: \usepackage[utf8]{inputenc} #+latex_header: \usepackage[T2A]{fontenc} it renders but sometimes it overlaps and gives errors about characters not being in "nullfont"
@Nidish9644
@Nidish9644 Ай бұрын
I watched this this morning, sent it to a couple friends with a proud "do that with VSCode" message, had lunch, and sat down and set this up on my emacs. I wasted a lot of time figuring out exactly how to install the forked branch of org, but the payout is amazing! Things were also clashing with some customizations I had in place with the previous preview system. My setup was based on org-latex-impatient, org-fragtog, and some other miscellanies. The new preview system is amaazzing!! Thank you very much for this! Also, are you enabling org-latex-preview-auto-mode globally for it to work on comments in codes also?
@Nidish9644
@Nidish9644 Ай бұрын
I'm also getting this warning whenever I call org latex preview in a non-org buffer: Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer # (calc-mode) I know youtube is a strange place to ask for help, but I'm not on anything else :P
@karthink
@karthink Ай бұрын
@@Nidish9644 Preview support for other major modes is not part of the branch yet, we need to figure out the details of the integration interface. Preview support for Org mode should be feature complete though, you can use it freely in Org mode for now.
@Nidish9644
@Nidish9644 Ай бұрын
@@karthink Yeah in org-mode my experience is super seamless. Thank you! Also, have you looked at fixing previews while inside tables? I'm always annoyed by this if I make tables with a greek letter somewhere, then the org buffer just looks messed up.
@karthink
@karthink Ай бұрын
@@Nidish9644 Org tables are a bit of a mess and not easy to fix. There are no good solutions, but you could try github.com/casouri/valign
@Nidish9644
@Nidish9644 Ай бұрын
@@karthink Ah I see, thanks for the suggestion! I tried valign today and I noticed that it was slowing down general typing (even outside the tables!). I switched it off. The main thing that's appealing to me about org-latex-preview now is its speed, it looks nothing short of magical to me!
@TheLopsidedobject
@TheLopsidedobject Ай бұрын
I would love to see the code for the calc menu at 5:35. I want that in my config!
@karthink
@karthink Ай бұрын
github.com/karthink/calc-transient, but it's unfinished (PRs welcome). You might have better luck with the casual-calc package, which is actively maintained.
@stevechan5315
@stevechan5315 Ай бұрын
Your mind-map is so beauty, how do you make it?
@karthink
@karthink Ай бұрын
It was created in Inkscape.
@DucBanal
@DucBanal Ай бұрын
Great, now I want that two hour tutorial I will never see... Joke aside, tremendous job!
@bullpup1337
@bullpup1337 Ай бұрын
Fantastic! would have been great even if I had NOT been high.
@aaaaarsen
@aaaaarsen 25 күн бұрын
I'd love to be able to live-preview my beamer frames.. they tend to contain a lot of PGF/TikZ and overlays and other slow to compute stuff.. recompiling some of my presentation takes 6-12 seconds, so I'd love to be able to focus down a specific frame and render it quickly! I shall try doing so on some weekend (but if you beat me to it, LMK :-) ) A complication I can see is that my preamble is somewhat large and ewcommands various things I use often
@karthink
@karthink 25 күн бұрын
If you're using Org mode to create your beamer presentation, all of the above (and more) is already available. If you're editing LaTeX, support via this proposed patchset is experimental, but previews should already be available via AucTeX?
@aaaaarsen
@aaaaarsen 25 күн бұрын
@@karthink I was somehow unaware of AUCTeXes preview functionality! it seems to work, somewhat, but I need to keep tweaking it to get it to work right with tikzpicture it'd seem. thanks for sharing! I'll give your patchset a try also to see if it can be more live later
@priyanshukalal1195
@priyanshukalal1195 2 күн бұрын
What theme are you using?
@karthink
@karthink 2 күн бұрын
modus-operandi
@rauldurand
@rauldurand Ай бұрын
forget Latex.. The future is Typst
@FineWine-v4.0
@FineWine-v4.0 Ай бұрын
Now how about Rust ?
@valentinoslavkin6116
@valentinoslavkin6116 Ай бұрын
With what karthink has, it should be easy to integrate with any language, after all emacs knows the string and comment syntax of the compatible languages. But this is alpha-stage (using the new org-preview in other modes, not the org-preview itself) so it is not publicly available AFAIK
@b33lz3bubth
@b33lz3bubth Ай бұрын
holy shit, this is too much, i have to learn this, i need to do probability things.
Every LLM in Emacs, with gptel
17:56
karthink
Рет қаралды 15 М.
Fast, Async LaTeX Previews in Org Mode
13:13
karthink
Рет қаралды 9 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 24 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 52 МЛН
The Magic of RISC-V Vector Processing
16:56
LaurieWired
Рет қаралды 330 М.
Why I Choose Guix Over NixOS
9:13
System Crafters
Рет қаралды 17 М.
Emacs. But why?
51:20
(Bit-Mage)
Рет қаралды 6 М.
Stop using std::vector wrong
23:14
The Cherno
Рет қаралды 149 М.
Why I left Emacs
16:58
Joshua Blais
Рет қаралды 7 М.
Interview with an Emacs Enthusiast in 2023 [Colorized]
8:50
Programmers are also human
Рет қаралды 1,2 МЛН
tree-sitter explained
15:00
TJ DeVries
Рет қаралды 92 М.
TCP/IP for Programmers
3:03:31
Eli the Computer Guy
Рет қаралды 228 М.
Coding Adventure: Rendering Text
1:10:54
Sebastian Lague
Рет қаралды 745 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2 МЛН