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.

2 points

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.

permalink
report
reply
3 points

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!

permalink
report
reply
1 point

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
4 points

I have completely abandoned latex for typst at this point.

permalink
report
reply
2 points

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

permalink
report
parent
reply
1 point

I’m not familiar, what’s Quarto?

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
2 points

Thank you for sharing, typst looks awesome.

permalink
report
parent
reply
13 points

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”.

permalink
report
reply
3 points

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

permalink
report
parent
reply
4 points
*

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.

permalink
report
parent
reply
3 points
*

“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.

permalink
report
parent
reply
9 points

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

permalink
report
parent
reply
3 points

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

permalink
report
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

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 members of the community for any reason.
  • 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, and wants to interject for a moment. You can stop now.

 

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 fork-bomb your computer.

Community stats

  • 6.7K

    Monthly active users

  • 1.1K

    Posts

  • 24K

    Comments