Emacs 💜 LaTeX

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 40

  • @NeroPawn
    @NeroPawn 3 місяці тому +18

    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.

  • @davidduncan3921
    @davidduncan3921 17 днів тому

    "Like" does not describe how I feel about this instructional video. You did an amazing job creating this video and I am very grateful!

  • @mnazaal
    @mnazaal 3 місяці тому +6

    I dont think I've ever been this excited about a calculator

  • @softwarevisualization1803
    @softwarevisualization1803 3 місяці тому +8

    This is awesome, and your cut from calc details back to LaTeX was hilarious.

  • @hooxenv9692
    @hooxenv9692 3 місяці тому +1

    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!

  • @juraphj5140
    @juraphj5140 3 місяці тому +1

    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.

  • @ichaa3tech
    @ichaa3tech 6 днів тому

    control guys at it again. great vid.

  • @lachlanstewart9314
    @lachlanstewart9314 10 днів тому

    6:03 Great energy, subscribed

  • @HugoNobrega87
    @HugoNobrega87 3 місяці тому +2

    amazing work, well done and thanks!

  • @ivymuncher
    @ivymuncher 3 місяці тому +4

    karthink my beloved

  • @viktorhabchak470
    @viktorhabchak470 2 місяці тому

    Impressive wizardry, mr karthink.

  • @BLXXCH
    @BLXXCH 3 місяці тому +8

    I want that calc tutorial

  • @notlarvi
    @notlarvi 3 місяці тому

    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  3 місяці тому

      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 3 місяці тому

      @@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"

  • @randomsearches369
    @randomsearches369 3 місяці тому +11

    I like this type of flexing.

  • @muhammadaneeqasif572
    @muhammadaneeqasif572 3 місяці тому +2

    please make a video on calc

  • @DucBanal
    @DucBanal 3 місяці тому

    Great, now I want that two hour tutorial I will never see... Joke aside, tremendous job!

  • @rudolf-adamkovic
    @rudolf-adamkovic 3 місяці тому

    Cannot wait to see this mega-patch merged.

  • @paulnelson4320
    @paulnelson4320 3 місяці тому +1

    fyi, re. "AUCTeX doesn't provide live previews", these are supported by the ELPA package preview-auto, which also works in any mode

  • @TheLopsidedobject
    @TheLopsidedobject 3 місяці тому +1

    I would love to see the code for the calc menu at 5:35. I want that in my config!

    • @karthink
      @karthink  3 місяці тому +2

      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.

  • @Nidish9644
    @Nidish9644 3 місяці тому +2

    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 3 місяці тому

      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  3 місяці тому +1

      @@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 3 місяці тому

      @@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  3 місяці тому

      @@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 3 місяці тому

      @@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!

  • @priyanshukalal1195
    @priyanshukalal1195 Місяць тому

    What theme are you using?

    • @karthink
      @karthink  Місяць тому +1

      modus-operandi

  • @stevechan5315
    @stevechan5315 3 місяці тому +2

    Your mind-map is so beauty, how do you make it?

    • @karthink
      @karthink  3 місяці тому +1

      It was created in Inkscape.

  • @aaaaarsen
    @aaaaarsen 2 місяці тому

    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  2 місяці тому +1

      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 2 місяці тому

      @@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

  • @bullpup1337
    @bullpup1337 3 місяці тому

    Fantastic! would have been great even if I had NOT been high.

  • @rauldurand
    @rauldurand 3 місяці тому +2

    forget Latex.. The future is Typst

  • @FineWine-v4.0
    @FineWine-v4.0 3 місяці тому +1

    Now how about Rust ?

    • @valentinoslavkin6116
      @valentinoslavkin6116 3 місяці тому

      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 2 місяці тому

    holy shit, this is too much, i have to learn this, i need to do probability things.