this post was submitted on 11 Jul 2024
703 points (98.9% liked)

linuxmemes

22706 readers
2454 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     

    Context: LaTeX is a typesetting system. When compiling a document, a lot of really in-depth debugging information is printed, which can be borderline incomprehensible to anyone but LaTeX experts. It can also be a visual hindrance when looking for important information like errors.

    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 2 points 7 months ago

    A "hbox" in TeX is a horizontal box. In 99% cases when laying out text, it's a line of text. "Underfull hbox" means "I couldn't stretch the content of this line far enough, so it will look janky as f due to the increased spacing". "Overfull hbox" means "Well, I tried my best to hyphenate and line-terminate, but this word will stick out of the margin and will look stupid as f."

    Most of the time this is caused by a word that auto hyphenation can't deal with. You need to add a manual hyphenation exception. I can't remember how to do that, sorry, because it's been a while and also I'm mildly drunk, sorry.

    [–] [email protected] 3 points 7 months ago (2 children)

    Use entr it's a godsend! It watches when you write a buffer and then runs a command, which can be a script. Save your LaTeX often, and you never ger those errors!

    [–] [email protected] 1 points 7 months ago

    For vim users, there's also vimtex, which, on top of doing what entr does, has a "quick fixes" feature that basically creates a split with a concise list of errors that's much more readable than pdflatex (or similar) output

    [–] [email protected] 1 points 7 months ago

    Latexmk has built-in option to watch a Tex file and recompile upon changes.

    [–] [email protected] 5 points 7 months ago (2 children)

    I have completely abandoned latex for typst at this point.

    [–] [email protected] 2 points 7 months ago (1 children)

    I'm still waiting for Quarto and the R ecosystem to better support Typst.

    [–] [email protected] 1 points 7 months ago (1 children)

    I'm not familiar, what's Quarto?

    [–] [email protected] 2 points 7 months ago

    https://quarto.org is an open-source scientific and technical publishing system. You write markdown text and it converts it to HTML website, PDF article/book, word document and many other formats.

    [–] [email protected] 2 points 7 months ago

    Thank you for sharing, typst looks awesome.

    [–] [email protected] 13 points 7 months ago (1 children)

    If you work with LaTeX for five years and still have no idea what a hbox is or what that message means, you should not consider naming this "experience".

    [–] [email protected] 4 points 7 months ago (1 children)

    Ok, go on then, tell the class what underfull hbox is. And no googling!

    [–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (2 children)

    I already explained this in my post of yesterday in this thread. I've been the TeX admin at our university in my student times. I've been creating styles and \shipout macros. I know this stuff inside out. Heck, I've even read good parts of the source to understand some finer points.

    [–] [email protected] 4 points 7 months ago* (last edited 3 months ago)

    "Using LaTeX" and "programing with LaTeX" are very different things. For most people, LaTeX is a means to an end, for you LaTeX is your whole job. You're the exception, and exception can not be an example.

    [–] [email protected] 10 points 7 months ago (3 children)

    And you're expecting everyone to have this amount of experience?

    [–] [email protected] 1 points 7 months ago

    Well, you can use a tool, and acquire just enough knowledge to use it without too many accidents. And then simply give up on progressing any farther. Or you can keep digging into the mountain of knowledge to improve your skills farther and deeper. It is always your choice.

    [–] [email protected] 7 points 7 months ago

    But of course, how else could you describe yourself as having experience with TeX? /s

    I think our TeX savvy lemming here confuses a knowledge level in the expert/consultant sphere with "having experience".

    Having worked with LaTeX on and off for 15 years, and on occasions developing TeX macros (ie copy pasting stuff from stackoverflow and shotgun debugging it until it sorta works) and creating various graphics with PGF/TikZ, I would describe myself as having extended experience with the TeX environment. But I still can't tell you exactly what causes \hbox underfull without looking it up... Probably because it's never caused a failure to output my documents.

    [–] [email protected] 2 points 7 months ago

    Yes? Experience and skill are good things and should be encouraged!

    [–] [email protected] 3 points 7 months ago

    I'd rather use TeXmacs or LyX to avoid typing in obscure commands and whatnot

    [–] [email protected] 5 points 7 months ago (1 children)

    Thats why you should learn Ancient Egyptian

    [–] [email protected] 1 points 7 months ago

    APL, same difference.

    load more comments
    view more: next β€Ί