Appearance of InternetSites in the bibliography

Feb 22, 2012 at 3:16 PM


I have a problem with the citation of InternetSites.

Generally I want the typographic alignment of the bibliography to be set to justification. The problem with internet sites is that word wrapping doesn't work with the URL. The URL usually is a quite long "word" and it will usually be placed in a second line. Hence the information in the first line will be stretched over the complete width. Thus it may happen that the spacings between the single word may become ridiculously large.

Is there a possibility either to word wrap the URL for example at one of the slashes or to set the typographic alignment to a left alignment for the source type InternetSite?

Thanks for your help!


Feb 22, 2012 at 7:20 PM

If you add the 's' option to %URL% variables, then the URL will be automatically split after a "/" if necessary. See also the documentation.

If you require more splitting then just after a '/', look for the line

<xsl:with-param name="afterChars" select="'/'"/>

Change the value inside the select to fit your needs. If you want to split after every character, you can leave the select blank: select="''".

Feb 23, 2012 at 7:39 AM

Thank you for the quick reply! Works perfectly!