1. A method for generating a document layout using a computing device, the method comprising: receiving raw text, figures, references, and semantic information as input, wherein the semantic information further comprises information regarding which blocks of text correspond to particular figures, and which blocks of text correspond to particular references and does not include instructions for allocating or arranging text, figures, and references to pages of the document; for each page of the document: determining an allocation of text, figures, and references based at least on the received semantic information; determining a template for displaying the allocation assigned to the page; and scaling template fields to exhibit the text, figured, and references assigned to the page, wherein scaling the template fields comprises computing a template parameter vector that maximizes a probabilistic characterization of the one or more figures and white space dimensions of a template, wherein the allocation, template, and template parameter vector maximize a joint probability distribution associated with the conditional probabilities of a Bayesian network characterization of the independency structure of the allocation, template, and template parameter vector; and rendering the document with text, figures, and references allocated to each page within appropriate scaled template fields of the template selected for each page.
1. A method for generating a document layout using a computing device, the method comprising: receiving raw text, figures, references, and semantic information as input, wherein the semantic information further comprises information regarding which blocks of text correspond to particular figures, and which blocks of text correspond to particular references and does not include instructions for allocating or arranging text, figures, and references to pages of the document; for each page of the document: determining an allocation of text, figures, and references based at least on the received semantic information; determining a template for displaying the allocation assigned to the page; and scaling template fields to exhibit the text, figured, and references assigned to the page, wherein scaling the template fields comprises computing a template parameter vector that maximizes a probabilistic characterization of the one or more figures and white space dimensions of a template, wherein the allocation, template, and template parameter vector maximize a joint probability distribution associated with the conditional probabilities of a Bayesian network characterization of the independency structure of the allocation, template, and template parameter vector; and rendering the document with text, figures, and references allocated to each page within appropriate scaled template fields of the template selected for each page. 3. The method of claim 1 wherein determining the allocation further comprises limiting misplaced allocation of references to pages that are different from pages containing text and figures associated with the references.