lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hyphenation of programming language identifiers


From: Ludovic Courtès
Subject: Re: hyphenation of programming language identifiers
Date: Mon, 18 Aug 2008 11:11:30 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Hi,

address@hidden (Jeff Kingston) writes:

> Are there problems with allowing hyphenation of programming
> language identifiers at all?  What if the *default* behaviour
> is altered to allow hyphenation, with an option to turn it off?

It may be the case that some documents rely on the fact that programs
are not hyphenated and get automatically scaled down if they don't fit
on the page (although this could arguably be considered bad practice, as
the document may end up containing code fragments that all have a
different scale factor).

Besides, some languages, like Python, are indentation-sensitive.  Thus,
a hyphenated Python program is not valid Python code (which may be OK if
the reader is warned about hyphenation).

Thanks,
Ludovic.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]