Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: GA144 use cases Date: Sat, 05 Sep 2015 09:05:53 -0700 Organization: A noiseless patient Spider Lines: 23 Message-ID: <87613o26n2.fsf@jester.gateway.pace.com> References: <5a1458c0-a2b6-4f63-8ea0-57b7f19aa41f@googlegroups.com> <34f1f225-c6e9-47e7-91cb-ba225d5d9bca@googlegroups.com> <2015Sep3.123542@mips.complang.tuwien.ac.at> <2015Sep3.181126@mips.complang.tuwien.ac.at> <2015Sep4.100730@mips.complang.tuwien.ac.at> <2015Sep5.130637@mips.complang.tuwien.ac.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="4a8d07ad1a0f5884bbd8208f7dcd0e0f"; logging-data="19909"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189UocEuy2ca1hZJ19E5r0C" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:t0vRSVubcG9u7tUQ14hSX5VKWFQ= sha1:F044CAURCqsdiIBP7WWenhyFxfI= Xref: csiph.com comp.lang.forth:41763 anton@mips.complang.tuwien.ac.at (Anton Ertl) writes: > Even if you have a few paragraphs flowing around a figure, you just > need to reformat those, and can use the parallel-processed ones for > the majority of cases. TeX is essentially an imperative programming language, e.g. any paragraph might have a command that changes the font size. Of course that completely changes the formatting of the next paragraph. It can also set the equivalent of mutable variables and things like that, which could also affect the next paragraph. I've seen some large TeX documents like manuals organized into multiple files, e.g. one file per chapter. I guess those could be done in parallel. There is some kind of two-pass formatting system in LaTeX where the first pass figures out the page numbers of cross-references so the second pass can fill them in. I guess that can also be used to deal with page-numbering the second chapter. I'm not sure exactly how it is done. I could imagine some cases where there is a chance of getting a wrong page number, so for the final production copy, you might have to format serially to be sure. Metafont of course should parallelize nicely, first in computing the shapes of all the letters, then in rasterizing them.