Category Archives: TeX

\goodlinebreak in TeX and LaTeX

I am in great need of keeping long words set in teletype fonts on the same line of output in both TeX and LaTeX documents. Neither TeX nor LaTeX breaks the line ahead of teletype text when horizontal boxes overflow. The command \allowbreak exists in Plain TeX, and maybe it even existed in Basic TeX back in the late ’70s. Sadly that command doesn’t do what I want. Maybe I’m missing something vital. Continue reading \goodlinebreak in TeX and LaTeX

Solving conflicts between print/texlive-base and devel/tex-kpathsea

The 20141214 entry in ports/head/UPDATING says:

20141214:
AFFECTS: users of TeXLive
AUTHOR: hrs@FreeBSD.org

Several scripts in print/texlive-base have been moved to devel/tex-kpathsea. Upgrading them can fail because texlive-base depends on tex-kpathsea, and the new ex-kpathsea tries to install files which were installed by the old texlive-base. The following error message indicates this situation:

pkg-static: tex-kpathsea-6.2.0_1 conflicts with texlive-base-20140525_3 (installs files into the same place). Problematic file: /usr/local/bin/kpsewhere

To solve this problem, remove both of tex-kpathsea and texlive-base first and install the new versions:

# pkg delete -f tex-kpathsea texlive-base

The above is a bit drastic, at least for us who build our own ports. These two portupgrade commands gets the job done, albeit with some overhead:

portupgrade -fprv print/texlive-base
portupgrade -fprv devel/tex-kpathsea