vim and LaTeX do Ancient Rig Veda Wisdom together!

Ғылым және технология

See the magic of my personal designated text editor and document compiler! I was transcribing a old type-written manuscript on Indo-European grammar, and realized there was a good opportunity for a learning moment to everyone interested in vim and LaTeX.
---
Give me money: PayPal.me/LukeMSmith
Ask a question: luke@lukesmith.xyz
Get my configs: github.com/LukeSmithxyz
See my website: lukesmith.xyz

Пікірлер: 74

  • @off-by-one
    @off-by-one Жыл бұрын

    Hi Luke, To put every word on its own line like you do in the glossary, I would do it like this: - Visual-select all lines of the text you copied under the Glossary section - :'

  • @Electrux
    @Electrux7 жыл бұрын

    "Sanskrit" not "sanksrit" ( in the first page title )

  • @goblinking9846
    @goblinking98467 жыл бұрын

    Watching 'tutorials' by you are really great and infomative, wondering if you were able to do more of them?

  • @SteelHorseRider74
    @SteelHorseRider746 жыл бұрын

    I am using vi since SuSE 4.2 and HP-UX 10 somewhere in back the 90's - but your videos inspire me to learn even moar vi stuff - as it shows me my non-knowledge!! Great job! Head on with this, please!! :D

  • @xgf122
    @xgf1226 жыл бұрын

    In language I speak as my native, veda means science in English :D and knowledge is vedomosť, funny how those words survived.

  • @cleric2680
    @cleric26807 жыл бұрын

    Wow thanks man very useful for indexing

  • @Sir1us1
    @Sir1us16 жыл бұрын

    2 things: Xetex(unicode ready latex that also supports custom fonts) tesseract3 (can probably digitize the article)

  • @JonathanHodgson
    @JonathanHodgson7 жыл бұрын

    Great video, thanks. I tend to use search commands a lot more then macros if I can. Not because they are better, just because I find them easier. For example, is have written something like s/\ / /g to swap spaces for new lines. Often in vim, you could ask 20 people how they do something and they'll all give different answers

  • @AflahBhari
    @AflahBhari7 жыл бұрын

    I wonder if it's possible to write out the glossary first, assign some sort of pneumonic for each word and then write out the text section using the pnuemonics. Especially in cases where there might be a lot of repetition and you want to avoid having to write out the excape sequences etc.

  • @MrRafaelSencio
    @MrRafaelSencio7 жыл бұрын

    Awesome!

  • @Jesus24horasTV
    @Jesus24horasTV5 жыл бұрын

    Hi Luke. Could you teach how to write/print hebrew characters in Latex (beamer)??

  • @PraecorLoth970
    @PraecorLoth9706 жыл бұрын

    Out of curiosity, why do you not use utf8 and inputenc, or xelatex in this case? Would that not be easier than having to write all the accents in that way? Or is that a function of your keyboard not having an easy way of writing á, é, etc?

  • @miyalys
    @miyalys6 жыл бұрын

    Good video! A tiny tip, but :norm $xx works too, no need to go to the end of the line twice. :-)

  • @shigwig9751
    @shigwig97517 жыл бұрын

    Hey Luke can u make a video on the li reboot process for x220 when the li reboot comes out

  • @HXBHYxSyAgCRkQddy
    @HXBHYxSyAgCRkQddy7 жыл бұрын

    that bar looks good

  • @reverseila4363
    @reverseila43634 жыл бұрын

    Nice!

  • @hectorcoronel4283
    @hectorcoronel42837 жыл бұрын

    This is actually cool.

  • @devin8577
    @devin85777 жыл бұрын

    Hey Luke! Been a fan of your videos for a while; I remember being subscribed to you when you had under 1k subs, but I see that your channel has exploded since then. Your video on the topic of distro hopping definitely kept me rooted with Arch for a while (definitey helped me get more comfortable with the CLI, learn to get my hands dirty when something breaks, and master Google-fu when I can't find a solution using my own knowledge and experience). However, I've since switched to Xubuntu 16.04 as I'm now enrolled in school. Anyway, I was wondering if you'd be interested in doing a podcast or something similar in the future? (I'd like to start making some videos this year, but I must admit I don't have any equipment other than my laptop. Will probably make GNU/Linux gaming videos, videos recommending free/libre music, etc.) I know making videos with me will do nothing to raise your popularity, but you seem like a chill guy who'd be fun to chat with. Hope life's been treating you well.

  • @ankurgupta8030
    @ankurgupta80307 жыл бұрын

    Curious if you ever made a video on the Latex macro which allows you to double space to the next entry: or if it is posted anywhere. Thanks!

  • @LukeSmithxyz

    @LukeSmithxyz

    7 жыл бұрын

    Just add this to your vimrc: inoremap /"_c4l You can check my vimrc on my Github for more.

  • @ankurgupta8030

    @ankurgupta8030

    7 жыл бұрын

    Awesome, thanks!

  • @Universedarkghosts
    @Universedarkghosts6 жыл бұрын

    You are actually more based than I originally expected. Truly patrician.

  • @lifebarier
    @lifebarier3 жыл бұрын

    What if there were duplicate words? Any macro to remove duplicates?

  • @Nifarol
    @Nifarol7 жыл бұрын

    what are the advantages of not using unicode for you?

  • @shroomer3867
    @shroomer386711 ай бұрын

    Average AI engineer dedicating months into creating an AI that can parse texts vs. the Chad vim user doing so effortlessly in a matter of days

  • @ketzerm8672
    @ketzerm86725 жыл бұрын

    Holy fucking shit! that macro was amazing! God damn, consider me converted

  • @linusbjork623
    @linusbjork6236 жыл бұрын

    To Luke, Have you tried Troff yet?

  • @MoreChannelNoise
    @MoreChannelNoise7 жыл бұрын

    Could you do a vim video on getting out of jail ? for us noobs, vim can be frustrating, you are editing a file and some how you screwed it up and don't know how to get back to the original. OR you somehow managed to save the changed file when you didn't mean to, is the original file lost forever?

  • @skysaan7018
    @skysaan70185 жыл бұрын

    i dont know how far youve gottten with the transcribing stuff, but you could feed those scanned images and get CSV outputs through a Github tensorflow OCR code

  • 7 жыл бұрын

    Why don't you use UTF-8 source instead the escape sequences, it might be faster to type and look more readable in source... Vim and LaTeX with proper package can handle that just fine. (My language actually belongs to indo-european group so I had to deal with it while writing my thesis :) )

  • @Pumpkin-Link

    @Pumpkin-Link

    5 жыл бұрын

    dont know about you, but im brazillian and most of the time i dont need to do anything. gnome-terminal and vim both come with unicode support out of the box. the defaullt monospaced fonts that come with every linux distro usually has all the necessary characters too. and if you want to use xterm or rxvt, they have a special unicode version which most people already install anyway. the only thing luke would need to do was to remap the keyboard to something like US-international and type with the dead keys and alt gr. of course im assuming luke uses qwerty, if he happens to use something like colemak it gets even easier as it has mnemonics for the diacritics

  • @JohnDoe-rx9tk
    @JohnDoe-rx9tk7 жыл бұрын

    Also Luke, you are transcribing it directly and not using any OCR?

  • @LukeSmithxyz

    @LukeSmithxyz

    7 жыл бұрын

    I've never had good results from those kinds of things, especially considering I plan on transcribing it "abstractly" in LaTeX macros so I can use it in new ways.

  • @desktorp

    @desktorp

    7 жыл бұрын

    Isn't OCR horribly inefficient or has that changed in recent years? Been a long time since I've tried it.

  • @TechRageLinux

    @TechRageLinux

    7 жыл бұрын

    david esktorp in my profession, OCR has improved. One of a few resource I use and recommend from my University is ABBYY Fine Reader 12. This is an advanced ocr software that lets you get very detailed in Optical Character Recognition.

  • @SethMulti
    @SethMulti7 жыл бұрын

    For whatever reason the audio cut out a few times. Could be my end but, you should watch back on the video to see if it was your recording. Keep up the good work.

  • @LukeSmithxyz

    @LukeSmithxyz

    7 жыл бұрын

    Yeah I actually noticed this and did some repairs. I've been having problems with ALSA when my CPU gets intensive, not sure what went wrong.

  • @sweeler

    @sweeler

    7 жыл бұрын

    noticed that too, other than that great upload

  • @desktorp

    @desktorp

    7 жыл бұрын

    xruns; is ALSA set to 44kHz or 48kHz ..? In my experience (despite kernelboy claims that rt scheduling is today, sufficiently 'built-in') the stock kernel continues to do a horrible job of giving rt/preempt/lowlatency priority to audio streams. The stock kernel will basically never prioritize anything the way you want. It just drops whatever it wants and that will invariably end up being the audio stream.

  • @BenTheMiller
    @BenTheMiller7 жыл бұрын

    Have you tried temple os?

  • @abdelouery4114
    @abdelouery41147 жыл бұрын

    Which font are you using in your terminal?

  • @LukeSmithxyz

    @LukeSmithxyz

    7 жыл бұрын

    tamsyn/tamzen

  • @lorenzoiannuzzi3937
    @lorenzoiannuzzi39376 жыл бұрын

    is it pronounced vedi vidi vichi or wedi widi wichi

  • @Azerth
    @Azerth6 жыл бұрын

    V E R Y

  • @cowlikenuts
    @cowlikenuts6 жыл бұрын

    What application launcher do you use? Rofi is gay and dmenu's kinda cool but yours look better tbqh.

  • @Benrob0329
    @Benrob03297 жыл бұрын

    Y u no post on Vidme anymore?

  • @LukeSmithxyz

    @LukeSmithxyz

    7 жыл бұрын

    vid.me is more of a backup ATM. There are only a couple videos which have been banned here that I need vid.me for, but apart from that I'm probably not going to use it as a main site until I get banned here.

  • @thomaslautenschlager7734

    @thomaslautenschlager7734

    7 жыл бұрын

    Luke Smith why would you get bannend here?

  • @m4iler685

    @m4iler685

    7 жыл бұрын

    Because hic sunt memei danki

  • @elonburgers5308
    @elonburgers53087 жыл бұрын

    >transcribing pajeet speak fvr what pvrpose? does it make javascript and c# easier if you speak pajeet?

  • @InNominePraxis

    @InNominePraxis

    7 жыл бұрын

    Luke likes hiking, makes poo with no loo easier

  • @JohnDoe-rx9tk

    @JohnDoe-rx9tk

    7 жыл бұрын

    He's a linguist

  • @raymondhill7837

    @raymondhill7837

    7 жыл бұрын

    This

  • @narayanaplaylists8589
    @narayanaplaylists85894 жыл бұрын

    Hare Krsna Prabu :), Im a Linux user. I love your channel. I hope to be able to learn Sanskrit one day 2 :). Your servant, ND

  • @lolvivo8783

    @lolvivo8783

    4 жыл бұрын

    He is he one of HKs?

  • @narayanaplaylists8589

    @narayanaplaylists8589

    4 жыл бұрын

    @@lolvivo8783 Yes :)

  • @lolvivo8783

    @lolvivo8783

    4 жыл бұрын

    @@narayanaplaylists8589 how d'u kw?

  • @narayanaplaylists8589

    @narayanaplaylists8589

    4 жыл бұрын

    @@lolvivo8783 Sorry I dont think Luki is. I am.

  • @lolvivo8783

    @lolvivo8783

    4 жыл бұрын

    @@narayanaplaylists8589 yep dint look like that. Some views are inline but lifestyle differences. Anyways HK.

  • @aidanlovelace2249
    @aidanlovelace22496 жыл бұрын

    Are you a bloody linguist?

  • @migtrewornan8085

    @migtrewornan8085

    4 жыл бұрын

    No a cunning one.

  • @ameynarkhede8264
    @ameynarkhede82647 жыл бұрын

    Nice setup but Ahhh Sanskrit in latin letters makes my eyes bleed. Btw my native language is derived from Sanskrit. I'm biased but Devanagari script is most accurate and unambiguous script I have ever seen.

  • @JohnDoe-rx9tk
    @JohnDoe-rx9tk7 жыл бұрын

    First

  • @elliotalderson9517
    @elliotalderson95172 ай бұрын

    based

Келесі