Re: Underfull and Overfull warnings for URLs
Gavin Smith <[email protected]> Sat, 2 Nov 2024 09:30:10 +0000
| Newsgroups | gmane.comp.tex.texinfo.general |
|---|---|
| Message-ID | <ZyXxIui/MBvpSVsS@beigestar> |
On Fri, Nov 01, 2024 at 10:59:41PM +0100, R. Diez wrote: > > First of all, thanks for your quick response. > > > [...] > > There is not always a good place to break a URL. > > I do not know much about Textinfo etc., but I'll risk a naive question nevertheless. The documentation you linked states "TeX allows line breaking within URLs at only a few characters". Wouldn't it be better if the URL could be broken at an arbitrary position? That way, the length to cut could be made a function of some automatic fill factor, and wouldn't depend on where the URL happens to have some special break points. As you know from the manual, an arbitrary position to break an URL is given by @/. > > It may not be visually appealing to cut at a seemingly arbitrary position, but the alternative implementation often does not produce visually appealing results anyway. > I would imagine that a new version of the Texinfo tools will trickle down only after a few years. > > Is this space setting in \urefallowbreak something the user can tweak with the current version in most Linux distributions? Or is that a hard-coded value? It is hard-coded. Users can use a particular version of texinfo.tex by placing the file in the directory with the Texinfo source files.