groff/troff: MUH MINIMALIST Documents

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

groff/troff is a UNIX utility for creating and type-setting documents in a style similar to the later LaTeX, but much more minimally. In this video, I give a basic intro to it.
lukesmith.xyz

Пікірлер: 367

  • @LukeSmithxyz
    @LukeSmithxyz3 жыл бұрын

    URGENT! Read this: lukesmith.xyz/deletion

  • @a0um

    @a0um

    Жыл бұрын

    It says “not found”

  • @sjuvanet

    @sjuvanet

    11 ай бұрын

    rip 404 nginx. pretty funny luke didn't custom nginx error code

  • @altaccount8749
    @altaccount87495 жыл бұрын

    If I may interject. The person you all have been referring to as Luke Smith is actually Gnu/Luke Smith or better yet Gnu layered on top of Luke Smith

  • @desktorp

    @desktorp

    5 жыл бұрын

    GNU Plus Luke Smith

  • @probably9085

    @probably9085

    5 жыл бұрын

    No, Richard, it's 'Luke Smith', not 'GNU+Luke Smith'.

  • @gayusschwulius8490

    @gayusschwulius8490

    4 жыл бұрын

    *tips fedora*

  • @pedrogonzalez5590

    @pedrogonzalez5590

    3 жыл бұрын

    @@xerneastrainer8111 Tips Debian

  • @vodam6970

    @vodam6970

    2 жыл бұрын

    @@pedrogonzalez5590 *wobbles my fat in respect*

  • @an2qzavok
    @an2qzavok5 жыл бұрын

    Plain text files is the next step, and you will be rediscovering pen and paper soon after that.

  • @blackrastafarian

    @blackrastafarian

    5 жыл бұрын

    Pictograph, anyone?

  • @yimoawanardo

    @yimoawanardo

    5 жыл бұрын

    blackrastafarian how about speaking and using your memory

  • @blackrastafarian

    @blackrastafarian

    5 жыл бұрын

    @@yimoawanardo i think emitting some sort of pheromone would be better.

  • @stefanRastocky

    @stefanRastocky

    5 жыл бұрын

    I think clay tables and straw are quite minimal. And summerian alphabet can be written using just the same shape!

  • @fallingintime

    @fallingintime

    5 жыл бұрын

    markdown

  • @sellus495
    @sellus4955 жыл бұрын

    Are you just procrastinating on writing your thesis?

  • @samerickson3469

    @samerickson3469

    5 жыл бұрын

    @@thewooque Honestly relatable.

  • @marksmod

    @marksmod

    5 жыл бұрын

    no

  • @johannesberger8641

    @johannesberger8641

    5 жыл бұрын

    @@thewooque 6 months? I'm 9 months in and still configuring ...

  • @Maksfulliling

    @Maksfulliling

    3 жыл бұрын

    Yes.

  • @jangronwald40

    @jangronwald40

    5 ай бұрын

    all of us will one day end up in this comment section

  • @Solarplexus0
    @Solarplexus05 жыл бұрын

    Officially giving up investing anymore time learning your newest minimal doc editor meme

  • @LukeSmithxyz

    @LukeSmithxyz

    5 жыл бұрын

    The inevitable conclusion is just writing everything in plaintext and using `pr` to format for printing.

  • @petewest3122
    @petewest31225 жыл бұрын

    groff > latex > R markdown > groff

  • @ahmedbob423

    @ahmedbob423

    5 жыл бұрын

    pen + paper > groff

  • @tennicktenstyl
    @tennicktenstyl5 жыл бұрын

    Editing pdf binary when?

  • @Shonicheck

    @Shonicheck

    3 жыл бұрын

    pdf is not a binary format though...

  • @highiqlevelirlezfukkingcla6597
    @highiqlevelirlezfukkingcla65975 жыл бұрын

    >not writing your thesis by hand

  • @MrHatoi
    @MrHatoi5 жыл бұрын

    _groff - front-end for the groff document formatting system_ Well that's very helpful.

  • @joseluisgerman1906
    @joseluisgerman19065 жыл бұрын

    This looks really useful for automatic document/report generation. Makes it look very easy to write scripts that output groff files based on software test/profiling/debugging/etc. I want to try it myself! Great video.

  • @HiPhish
    @HiPhish5 жыл бұрын

    There is also a technical reason for starting each sentence on a new line. When the last character of a line is the period ('.') groff will take that to mean that this is the end of a sentence and will insert extra space after the period. However, if the period appears in the middle of a line it will be understood to be just another character in the middle of a sentence. TeX does something similar, but the other way around. A period is always understood to be the end of a sentence, so if you want to typeset something like "Dear Mr. Smith" you would have to write it as "Dear Mr.~Smith" to tell TeX that the period is not the end of a sentence.

  • @desertdude540

    @desertdude540

    3 ай бұрын

    If you want to get really pedantic, TeX looks at the character before the period to decide how big the space should be. If it's an uppercase letter, TeX assumes it's an acronym or initialism and uses a regular space. If it's a lowercase letter, TeX assumes the period is ending a sentence and uses a quad space. (I forget what it does if it's anything else.) If you want the opposite behavior, you use "\@." instead of ".". A tie ("~") is the same as a regular space, but forbids line breaking at that point, so it can be used as an override where appropriate (e.g., in your example, "Mr.~Smith", where it's considered a typographical error to have a line break between the two).

  • @user-uj3ew6fm8r
    @user-uj3ew6fm8r5 жыл бұрын

    you memed me into using latex and then you memed me into using rmd and now you're memeing me into this the ultimate minimalism is using a pen and paper, who even needs vim

  • @trafficcone3620

    @trafficcone3620

    4 жыл бұрын

    No true minimalism is just thinking

  • @GenesiusOfWalsingham

    @GenesiusOfWalsingham

    Жыл бұрын

    @@trafficcone3620 No, true minimalism is not thinking at all.

  • @darukutsu

    @darukutsu

    9 ай бұрын

    ​@@GenesiusOfWalsingham.

  • @davidmaxwaterman
    @davidmaxwaterman5 жыл бұрын

    I wrote a paper at university in nroff, back in '85 or so.

  • @safalpiya3759

    @safalpiya3759

    3 жыл бұрын

    Can you recommended me some resources to learn groff? I can't seem to find them.

  • @finnianquail8881

    @finnianquail8881

    3 жыл бұрын

    @@safalpiya3759 troff.org

  • @romydrah5606
    @romydrah56065 жыл бұрын

    Thanks, just rewrote my CV in groff. So much nicer than all that word processor nonsense.

  • @Cobalt985

    @Cobalt985

    4 жыл бұрын

    @ass hole I just use Overleaf, makes it much easier to make emergency edits and work on computers that are not mine.

  • @vinpiazzo801

    @vinpiazzo801

    3 жыл бұрын

    ass hole wow yeah so much more efficient and hassle free than using Google Docs, lemme tell ya

  • @crix_h3eadshotgg992

    @crix_h3eadshotgg992

    Жыл бұрын

    based af

  • @patrickmckowen1154
    @patrickmckowen11545 жыл бұрын

    Yeeeees more groff tutorials!!! There's tons of Groff text-based tutorials but nothing on youtube.

  • @duffman6088
    @duffman60885 жыл бұрын

    Uncle Luke's manifesto when??

  • @nekoill
    @nekoill4 жыл бұрын

    C and Linux first caught my interest when I was in school, and I guess they won't stop haunting me to this very day, so I subbed feeling I can't avoid them for much longer. I don't know why, since I've always thought I was too stupid to really get the most out of them, but now KZread seems to have teamed up with my tormenters, so looks like I don't really have a say in the matter, lol. Yeah, 32 years of age is just the right time to get neck deep in the Unix-based OSs and programming, sure, why not.

  • @victornecromancer

    @victornecromancer

    3 жыл бұрын

    There's no better time to learn than now

  • @hectorcanizales5900

    @hectorcanizales5900

    2 жыл бұрын

    Are you on Linux rn ?

  • @nekoill

    @nekoill

    2 жыл бұрын

    @@hectorcanizales5900 yup, why wouldn't I be

  • @matyasmarkkovacs8336

    @matyasmarkkovacs8336

    Жыл бұрын

    It's never late to learn something new, if you are interested.

  • @harleyspeedthrust4013

    @harleyspeedthrust4013

    11 ай бұрын

    it's addicting bro. I used to use Windows and write my programs in vscode. One day I installed a server version of ubuntu in WSL for work and started using it. I installed/configured tmux, vim, and some other stuff, and now I can't get away from the terminal

  • @GrahamAtDesk
    @GrahamAtDesk5 жыл бұрын

    Back in the 1980's one of the most popular word processors (on MS-DOS) borrowed the idea of "dot commands". It was called WordStar. My dad raved about it. I used a similar shareware program called Word Fugue while I was still at high school. I could touch type at the time, and remember dot commands being a very efficient way to work. Your fingers never have to leave the keyboard's home row. Also slightly related, I discovered um this week. It's a note making tool for writing and then reading your own man pages in Markdown. They're converted to nroff automatically when you read them (so they really do work like man pages). Perfect for making notes about terminal-based software you're learning, and then quickly looking things up later. Available in the Arch AUR, and homebrew. Also on GitHub.

  • @seanld444
    @seanld4442 жыл бұрын

    After seeing all of these (admittedly cool) typesetting tools, I can't help but appreciate Org-mode even more every time. It's so elegant and functional when editing/reading the plaintext, and it has all the necessary outputs as well, and can even be routed through Groff or LaTex for rendering. I think it'll be a very long time before something tops Spacemacs and Org-mode for me.

  • @phillphall
    @phillphall3 жыл бұрын

    These videos are incredible. I installed arch, ran LARBS, and can follow exactly what's going on. Using groff now because I was to put off by laTex. Thanks for slinging great stuff like this. I haven't used windows or mac for two months now. They are almost completely unnecessary

  • @LukeSmithxyz
    @LukeSmithxyz5 жыл бұрын

    The growing groff/troff playlist: kzread.info/head/PL-p5XmQHB_JRe2YeaMjPTKXSc5FqJZ_km

  • @RajivLochanPanda

    @RajivLochanPanda

    4 жыл бұрын

    Groff cannot replace LaTeX, Luke! I tried using groff ms to write a report. I struggled to insert images to my document, a topic which you have not covered in any of your Groff videos. Converting png images to .eps and inserting them using .PSPIC degraded my image quality with limited resizing and placement options. And the ps and pdf document thus generated becomes bloated in size too! Inserting png and pdf files in LaTeX document is such a breeze and the size of the pdf still remains minimal! Groff is great for minimalistic pure text documents in my opinion.

  • @C6TTiX

    @C6TTiX

    4 жыл бұрын

    @@RajivLochanPanda Check out this link for an altenative: www.schaffter.ca/mom/mom-01.html

  • @mhellden
    @mhellden5 жыл бұрын

    I love your content, because you pick subjects that none other talks about (or is hard to get). Please continue with the good work.

  • @alcesmir
    @alcesmir5 жыл бұрын

    I tried groff way back. Didn't stay with it since writing math in groff (through the eqn preprocessor) is a huge pain compared to LaTeX.

  • @cosmojg

    @cosmojg

    5 жыл бұрын

    What's your current setup like? And what do you use it for? I was considering groff to write some physics papers, but you've convinced me to stick with LaTeX for now. I'm still looking for something better, though.

  • @g00zik97

    @g00zik97

    3 жыл бұрын

    to me writing equations in groff is much simpler and much clearer than writing them in latex.

  • @somercet1

    @somercet1

    Жыл бұрын

    @@cosmojg SIle is a LaTeX clone you might want to look into.

  • @Erel0
    @Erel05 жыл бұрын

    I had decided to learn troff. I never did it because I decided that at 3 am, and had forgotten about it the next morning... Thanks for reminding me!

  • @cannedeals
    @cannedeals5 жыл бұрын

    Yay I have been witing for this. Wanted to learn how to use it but was missing on understandable resources. Thank you Luke, you have been a positive force in my life.

  • @timh6088
    @timh60885 жыл бұрын

    Groff - The Ultimate IHNIDWYGOWYS* Editor! *I have no idea what you get or what you see

  • @oddbob6230
    @oddbob62305 жыл бұрын

    groff is ffrog backwards. Coincidence?

  • @bool2max

    @bool2max

    5 жыл бұрын

    ffmpeg's arch nemesis

  • @ethanjohn7638

    @ethanjohn7638

    5 жыл бұрын

    No, it's fforg

  • @decon-kh8hj

    @decon-kh8hj

    5 жыл бұрын

    @@ethanjohn7638 shhh!

  • @parallel4

    @parallel4

    5 жыл бұрын

    turning the groffs gay

  • @douwehuysmans5959

    @douwehuysmans5959

    5 жыл бұрын

    BattleGroffs

  • @Shorthouse061
    @Shorthouse0615 жыл бұрын

    >who uses postscript? printers eternally btfo

  • @LukeSmithxyz

    @LukeSmithxyz

    5 жыл бұрын

    Printers are sub-human.

  • @Pumpkin-Link

    @Pumpkin-Link

    5 жыл бұрын

    It's 2019, nobody actually prints anything

  • @Cobalt985

    @Cobalt985

    4 жыл бұрын

    @@Pumpkin-Link this comment really got better with age

  • @magnussorensen2565
    @magnussorensen25655 жыл бұрын

    Thank you for this. I'm writing an presentation in LaTeX/beamer. And one application I thought that groff could be useful is for producing the manuscript within the same LaTeX file. This is done by piping the LaTeX file out to grep and awk to search for a certain keyword that contains text to be parsed by groff. In that way, I produce the pdf that contains my manuscript from the same file as the presentation.

  • @IrizarryBrandon
    @IrizarryBrandon5 жыл бұрын

    Bravo, excellent video. I don't think I would've ever heard of this otherwise.

  • @apmcd47
    @apmcd47 Жыл бұрын

    I used troff decades ago. I tried to use groff a few years back and discovered I'd forgotten more about it than I ever knew! 😞 Maybe I should have another look.

  • @coolkiwi1581

    @coolkiwi1581

    Жыл бұрын

    The book, Unix in a Nutshell, is very helpful for GNU troff and over all with Linux as an operating system. I recommend reading it!

  • @apmcd47

    @apmcd47

    Жыл бұрын

    @@coolkiwi1581 Yes, I have it somewhere, along with old documentation about using troff. It's just finding the time ...

  • @tigerfish66
    @tigerfish665 жыл бұрын

    thanks for the groff intro, saving me time already with lots of things.......

  • @Clutter.monkey
    @Clutter.monkey5 жыл бұрын

    Sadly, Luke does not yet recognize the manifold blessings of Saint iGNUcious. In time he too will move to the GNU/Emacs operating system, or GNU PLUS EMACS as it is better known.

  • @Cobalt985

    @Cobalt985

    5 жыл бұрын

    I read the second half of this in Stallman's voice and it honestly sounds like something he'd say.

  • @Cobalt985

    @Cobalt985

    4 жыл бұрын

    @@MrGincone this better be ironic

  • @sebastianmestre8971

    @sebastianmestre8971

    4 жыл бұрын

    Nah. Emacs is bloated af

  • @Supertimegamingify

    @Supertimegamingify

    3 жыл бұрын

    @@Cobalt985 nice profile picture.

  • @seanld444

    @seanld444

    2 жыл бұрын

    @@sebastianmestre8971 Emacs is as bloated as you make it.

  • @KubrickFR
    @KubrickFR5 жыл бұрын

    I don't know what happened with your video, but I like VHS Luke! Nice video, gee-roff :) is a total discovery for me, thanks!

  • @hectorcanizales5900
    @hectorcanizales59002 жыл бұрын

    to any multilingual humans. UTF-8 characters need to be escaped. You can just add `-k` to the groff command.

  • @rationalraven8956
    @rationalraven89569 ай бұрын

    Wow, I wish I'd known about groff when I was in university. It's beautifully elegant how you can script exactly the way you want your document formatted. The imprecise tools in Microsoft Word always set off my OCD.

  • @thomasblackwell9507
    @thomasblackwell95072 жыл бұрын

    Alright! A ‘86 CE grad from the UA who enjoys your videos here! Keep it up! Go Cats!!!!

  • @Argletrough
    @Argletrough4 жыл бұрын

    I don't know if I already made a comment about this, but grog is a useful wrapper that will guess which macros you are using. By default it outputs the required command to standard output, but you can give it the --run argument to make it (unsurprisingly) run the command. For example, $ grog -Tpdf --run somedoc.ms > somedoc.pdf Or, $ grog -T pdf somedoc.ms groff -T pdf -s -t -p -ms somedoc.ms $ echo "Wow, thank you so much."

  • @Aaron-cr5rx
    @Aaron-cr5rx5 жыл бұрын

    I'd love to take my notes in that format, is there support for formatting syntax?

  • @robertbower9862
    @robertbower98625 жыл бұрын

    Question: Why did you pick the macro set you did? What are the advantages of one over the other? Thanks

  • @mitchell9959
    @mitchell99595 жыл бұрын

    wtf I started learning latex TODAY and now I get to regret it? Thanks Luke

  • @senantiasa
    @senantiasa3 жыл бұрын

    OMG, I love this!!!!!! Thanks a lot!

  • @pierrepirault9136
    @pierrepirault91363 жыл бұрын

    MIND BLOWN

  • @AlvinLee007
    @AlvinLee0075 жыл бұрын

    This feels like HTML for Microsoft Word. Intriguing! Eagerly awaiting for the next video on inserting pictures.♥

  • @magnusanderson6681

    @magnusanderson6681

    3 жыл бұрын

    Me, a zoomer: This feels like gopher for LaTeX

  • @ali-om4uv
    @ali-om4uv5 жыл бұрын

    Is there any minimal ms word Linux solution? Roughly 50% of my coworkers and my boss use word for papers. They rely heavily on the "follow changes " function. I would like to have a fully compatible Linux version. Preferably text only? I could convince them to stick to latex/markdown.

  • @adrianperez8695
    @adrianperez86955 жыл бұрын

    I recently started using Groff myself and am using the Mom macros. Have you tried that one? I find it to be a bit more complete than ms and yet still pretty small.

  • @cunjoz
    @cunjoz5 жыл бұрын

    I'm not shitting you. I'm translating an essay that i've written from my native language into English so i wanted to give it a shot writing it in mousepad and compiling it with pandoc. I've just started yesterday. And now you upload this ... oh well, i guess switching won't hurt.

  • @not_herobrine3752

    @not_herobrine3752

    Жыл бұрын

    its been three years, has your essay been translated yet

  • @cunjoz

    @cunjoz

    Жыл бұрын

    @@not_herobrine3752 lmao yeah but I didn't use groff

  • @aerialdude
    @aerialdude3 жыл бұрын

    If using groff to output html, would math equations etc. be formatted as image tags in the html (png perhaps?) or would it be something else like svg? I'm interested in potentially using this to generate web pages. Currently I'm using a static site generator, but math equations require a javascript library as a dependency to render them on the client-side. I'd like to avoid that dependency if possible, and got for something more lightweight and unix-y.

  • @burniehutjrs
    @burniehutjrs4 жыл бұрын

    What do you do/use to create editable files? I.e. if you needed to send a draft to a professor/colleague for their direct comments? Would you still create a pdf in groff? Thanks

  • @victornikolov537
    @victornikolov5375 жыл бұрын

    Nice. I expect the next one tomorrow :D

  • @timothyvandyke9511
    @timothyvandyke95114 жыл бұрын

    How did you keep a straight face with how many times you said "PP"?

  • @dersg1freak
    @dersg1freak5 жыл бұрын

    Everything was fine until i wanted the ℝ symbol U211D. I got stuck when it got to fonts, i found some resources but didnt really was more involved than i had hoped. I love it otherwise. Thanks for introducing me to it! :D I'd love to see more on groff. Cheers

  • @MarekKowalczyk
    @MarekKowalczyk5 жыл бұрын

    Excellent stuff! Keep it coming. Presentations in Troff pls.

  • @Omnihil777
    @Omnihil777 Жыл бұрын

    I'm oh-so-much on your train, ever was, completely my flavor of minimalism/GNUism/Unixism/Whateverism, sometimes I think we know each other for years. I even wrote my own obituary in the terminal ;) No, seriously, compatibility FTW. Plus: I learn everytime something new & fascinating when I click on your channel.

  • @bruno1807
    @bruno18075 жыл бұрын

    Is it any good for math expressions, index gen, reference listing?

  • @LukeSmithxyz

    @LukeSmithxyz

    5 жыл бұрын

    groff works with other unix utilities, the preprocessors I mention at the end of the video, to do just that. `refer` does references, `eqn` does math equations, etc.

  • @alenygam6048
    @alenygam60482 жыл бұрын

    tbh your most useful video to me was the markdown -> pdf with pandoc. It saved my butt for schoolwork.

  • @mlshenhua1
    @mlshenhua13 жыл бұрын

    next videos - Customizing groff/troff Macros and Other Basics - kzread.info/dash/bejne/nX6TtrqTcpetnZc.html&ab_channel=LukeSmith Your Brain Using REFER to do your bibliographies automatically in groff/troff - kzread.info/dash/bejne/q4iFxMuYdcKtqdY.html&ab_channel=LukeSmithLukeSmithVerified cmd: groff -ms sample.ms -Tpdf > sample.pdf preprocess for refer refer -p doc/bibliogragh sample.ms | groff -ms sample.ms -Tpdf > sample.pdf ----------------------------------------- ------ sample.ms---------------- ----------------------------------------- .SO macro.ms .TL title .AU author .AI college .NH num heading .NH 2 num heading .SH 2 no-num heading .PP paragraph .[ book .] ---- end ----------------------------- ------------------------------------- -------- macro.ms ----------- .de BL .UL "under line text" .. ----- end ------------------------

  • @altEFG
    @altEFG5 жыл бұрын

    That's very cool. I wish I had the need to type and compile something into neat PDFs.

  • @desktorp

    @desktorp

    5 жыл бұрын

    write a hit list

  • @thedragonrises6882

    @thedragonrises6882

    2 жыл бұрын

    @@desktorp > glowing intensifies

  • @desktorp

    @desktorp

    2 жыл бұрын

    @@thedragonrises6882 run me over with your dad's car

  • @yash1152
    @yash11522 жыл бұрын

    3:20 :filetype detect in vim 6:34 "soft breaks" in source help a lot in diff-ing them and other manipulations on them 8:51 "line initials"

  • @ramysami
    @ramysami5 жыл бұрын

    What is this desktop and how you use it?

  • @ivbit
    @ivbit5 жыл бұрын

    How do you compile foreign languages in groff? I'm trying to make a pdf out of russian groff document, but all russian letters turn into glibberish. -T utf8 makes no difference either.

  • @rchetype7029
    @rchetype70295 жыл бұрын

    Is groff any good for mathematical syntax and formatting?

  • @rchetype7029

    @rchetype7029

    5 жыл бұрын

    Answer: YES! Use eqn!

  • @broquestwarsneeder7617
    @broquestwarsneeder76175 жыл бұрын

    looks really cool

  • @moribundmurdoch
    @moribundmurdoch4 жыл бұрын

    Okay, stupid question here. Could I pretty much do all the same stuff that was done in the "vim" program with wordgrinder? Wordgrinder looks sexy.

  • @evertonc1448
    @evertonc14484 жыл бұрын

    Luke are you hoarding weapons in any way or form?

  • @pauls.5569
    @pauls.55695 жыл бұрын

    Thanks a lot for this introduction to groff. Another hidden unix gem. A bit off topic: what terminal font did you use in this screencast? Wasn't able to find it in your dotfiles. Looks like Monaco, but with slightly different shapes.

  • @pauls.5569

    @pauls.5569

    5 жыл бұрын

    Ok. It's Consolas with stylistic alternates. Looks very nice.

  • @dkresponder
    @dkresponder5 жыл бұрын

    Forget groff, use ed: “Ed is the standard text editor.” ?

  • @rodrigosouto9502

    @rodrigosouto9502

    4 жыл бұрын

    Nice try

  • @amoledzeppelin

    @amoledzeppelin

    5 ай бұрын

    Well, what prevents you from writing roff (groff, neatroff etc) documents in ed?

  • @goolaguser3702
    @goolaguser37025 жыл бұрын

    Important! I was struggling to get "ääkköset" working (unicode support). The solution is to use the preprocessor *preconv* or groff -k! Do not waste your time trying to find the encoding for your language and setting it in your text editor, use preconv!

  • @timothyvandyke9511
    @timothyvandyke95115 жыл бұрын

    RS and RE "raise start, raise end" ??? Cuz indent is kinda like raising the text? It's a stretch, but it's how I'll remember it

  • @mohammadesmaili7716
    @mohammadesmaili77162 жыл бұрын

    hi every one i have problem i want use groff for persian but when i get output not good how can i fix this ?

  • @VictorsVisuals
    @VictorsVisuals6 ай бұрын

    Thank you!

  • @only4win708
    @only4win7085 жыл бұрын

    Thank you Luke for interesting videos! I have one problem with this one to setup correctly. How do you get .ms document output to pdf with latin characters like Ö or Ä?

  • @LukeSmithxyz

    @LukeSmithxyz

    5 жыл бұрын

    Run groff with the -k option. That will handle most Latin characters with diacritics.

  • @only4win708

    @only4win708

    5 жыл бұрын

    @@LukeSmithxyz Thank you very much Luke! It worked like a charm!

  • @yimoawanardo
    @yimoawanardo5 жыл бұрын

    I actually like this

  • @ezioarno15
    @ezioarno155 жыл бұрын

    what font are you using?

  • @AzVidsPro
    @AzVidsPro5 жыл бұрын

    I love your videos Luke, but please tell me. I might not have gotten the point. But how is this better than using a normal word processor? Damn you have to put the bold words on a separate line, you have to compile after every change. can't you automate that it compiles every 2 seconds or so? And what if it does not compile in a really big doc, How long does it take to find the mistake(s)?

  • @NostraDavid2

    @NostraDavid2

    Жыл бұрын

    If you want to autocompile, the lazier way would be to write a "while true" loop with the Groff command, or abuse the "watch" command, which you normally use to track the output of a command, but you can use it for this too. watch -n 2 "groff -ms groff.ms -T pdf > groff.pdf" 2 is the waiting time between repeats and can be decimal (0.1) too. The quotes aren't necessary in this case, but are needed in some esoteric case where bash can't figure out if an option flag is part of watch or the command you're trying to pass to watch.

  • @worldhello1234
    @worldhello12345 жыл бұрын

    @0:55 Big does not necessarily mean bloated. You can either chose to install the whole texlive package or certain components.

  • @rexevan6714
    @rexevan67145 жыл бұрын

    I still find RMarkdown easier to write than groff. Still Glad that Luke make tutorial on this tho.

  • @rexevan6714

    @rexevan6714

    5 жыл бұрын

    Rmarkdown is Basicly just markdown + R code in it. Nothing special.

  • @gavinvales8928
    @gavinvales89285 жыл бұрын

    YEAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH BOOOOOOOOOOOOIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

  • @eugeniogonzato
    @eugeniogonzato3 жыл бұрын

    What do you think about AsciiDoctor ?

  • @hec0820
    @hec08204 жыл бұрын

    Are you still using it? Are you feel comfortable in the every day use?

  • @philiprhome3824
    @philiprhome38245 жыл бұрын

    hi dear luke ... i'm new to the subscriber ... i watched few of your videos and i have the pleasure to join your members community ... this is really the beauty of linux ... as much as it is basic as much as it is powerful and wonderful

  • @nelinearni

    @nelinearni

    5 жыл бұрын

    Are you having a stroke?

  • @philiprhome3824

    @philiprhome3824

    5 жыл бұрын

    @@nelinearni are you having trolling issues

  • @mcclonei4907

    @mcclonei4907

    5 жыл бұрын

    epic poo impression

  • @philiprhome3824

    @philiprhome3824

    5 жыл бұрын

    @@mcclonei4907 ????

  • @KubrickFR

    @KubrickFR

    5 жыл бұрын

    Now that you have discovered the comment section, welcome to the Luke Smith gang XD Don't be afraid, it's their way to be friendly!

  • @nickbejan4914
    @nickbejan49145 жыл бұрын

    Nice! Thanks!

  • @PiniCheyni
    @PiniCheyni4 жыл бұрын

    When I tried to export with the pdf and the second command `groff -ms groff.ms > groff.ps` | `groff -ms groff.ms -T pdf > groff.pdf`, I get errors like 'groff: can't find 'DESC' file groff: fatal error: invalid device 'pdf''. Has any one encountered similar issues ?

  • @itdepends604
    @itdepends6043 жыл бұрын

    What is the reason you don't suggest editing in html/css, especially if you already know how to.

  • @sujeewa8067
    @sujeewa80673 жыл бұрын

    Geez thanks man!

  • @Dm-ni7ti
    @Dm-ni7ti4 жыл бұрын

    So I installed Groff then did vim Groff.ms and started typing. It was not number, wouldn’t let me type at first, switched file type and wouldn’t compile . What’s up?

  • @errrzarrr
    @errrzarrr5 жыл бұрын

    Can I export to PDF from MD (Markdown) ?

  • @adriansrfr
    @adriansrfr5 жыл бұрын

    Don't know many professors that will be happy without .doc or .docx. Can it convert or output .doc?

  • @MrDominosify
    @MrDominosify5 жыл бұрын

    Luke what is the font that you use in terminal?

  • @elkenbuild5996

    @elkenbuild5996

    5 жыл бұрын

    its inconsolata

  • @IAmTheWoodmeister
    @IAmTheWoodmeister3 жыл бұрын

    I am really new to Linux so could you tell me why this is an advantage over something like a GUI text editor? You mentioned something about extensibility. Forgive my ignorance. Lol

  • @-FAFO-

    @-FAFO-

    3 жыл бұрын

    Some people in linux just like typing fucking everything they do, basically. I can't see how this would be any quicker than me pressing enter or tab a few times to format things as i want them in a gui, but i guess some people have certain specific use cases (or mental problems) preventing them from using what we've all mostly accepted as a better way, lol. I keed, but yeah

  • @mkaeterna9161
    @mkaeterna91615 жыл бұрын

    This is the purest expression of chaddery I have ever witnessed.

  • @mitchellsnaith6373
    @mitchellsnaith63735 жыл бұрын

    One day you’ll come along to org-mode.

  • @jonathanahumada1045
    @jonathanahumada10455 жыл бұрын

    hi. What if im on macOS and there is no pdf device on my groff build ?. I tried to search for `gropdf` on Homebrew but there where no results. Any idea?

  • @LukeSmithxyz

    @LukeSmithxyz

    5 жыл бұрын

    Try outputting to postscript (i.e. not including any device option), then pipe it through the ps2pdf program if you have it.

  • @jonathanahumada1045

    @jonathanahumada1045

    5 жыл бұрын

    @@LukeSmithxyz Yes, so it seems. Thanks man, you the best.

  • @recency_bias
    @recency_bias5 жыл бұрын

    So how do I make it show \int_{a}^{b}x^2dx$ ? (Quickly searches interweb... oh you already did a video on that).

  • @whatthef911
    @whatthef9115 жыл бұрын

    I write all my documents in GNU ed.

  • @PiotrKaznowski
    @PiotrKaznowski5 жыл бұрын

    Have you succeed to use groff → pdf with characters other than in standard English charset?

  • @Knirin

    @Knirin

    Жыл бұрын

    Preconv is the tool for dealing with non ascii characters. If you need soliem use it first then preconv.

  • @borisradulov4251
    @borisradulov42515 жыл бұрын

    FINALLY A VIDEO ABOUT AUTISM

  • @anthonymarin5165
    @anthonymarin51655 жыл бұрын

    can it compile itself while writing so i don't have to save and recompile to see the pdf?

  • @rodrigosouto9502

    @rodrigosouto9502

    4 жыл бұрын

    Put a while before the compile command

  • @srijansingh7190
    @srijansingh71905 жыл бұрын

    Can't we simply use markdown with Groff to generate PDF?

  • @KingHerring
    @KingHerring5 жыл бұрын

    your panel is BLOTE

  • @LukeSmithxyz

    @LukeSmithxyz

    5 жыл бұрын

    your comment is BLOTE

  • @desktorp

    @desktorp

    5 жыл бұрын

    en.wikipedia.org/wiki/Bl%C3%B3t

  • @duffman6088

    @duffman6088

    5 жыл бұрын

    muh minimalism

  • @red13emerald

    @red13emerald

    4 жыл бұрын

    david esktorp You’re Dísablót

Келесі