# Texinfo manuals on A4 paper

Add these three commands in the appropriate `.texi` file after `@end titlepage`.

```@afourlatex
@setchapternewpage odd
```

The first command selects A4 paper with better margins than the `@afourpaper` command. The second command turns on page headers suitable for two-sided printing (duplex printing). The third command starts the next chapter on an odd page number. Continue reading Texinfo manuals on A4 paper

# TeX Live 2015 on FreeBSD

Revision 392534 of the FreeBSD ports tree added TeX Live 2015. In the process, `print/texlive-infra` was replaced with `print/texlive-tlmgr`.

If you already have TeX Live 2014 installed, e.g. `print/texlive-full`, then `print/texlive-base` conflicts with `print/texlive-texmf` and vice versa. Continue reading TeX Live 2015 on FreeBSD

# \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