I just ran across a video on how those work (through the History of Information website -- a dangerous timesink but an absolutely fascinating site).
The flow of matrices, keyboard, roman and italic typefaces, justification, casting, and return mechanism for the matrices (keyed by teeth) is absolutely fascinating. A study in mechanical logic.
Even the automated linotype -- via punched tape -- was only a bolted-on (literally) extension of the original.