Find out how to turn a 19th-century textile mill into luxury lofts while preserving its historic character—and discover what to consider before you begin.