11. A computer program product comprising a computer-readable storage medium, the computer-readable storage medium comprising instructions for performing, when executed by a processor, a method for authoring documents, the method comprising: launching a pagination request while editing a user interface description document; paginating, via a pagination engine, the user interface description document for a plurality of device categories using an automatic real-time pagination algorithm that utilizes limitations associated with each device category to generate a plurality of page hierarchies of the user interface description document for the corresponding device categories to reflect the current editing status of the user interface description document, wherein paginating comprises splitting the user interface document into several pages, which gathered output is the same content as the original document; and displaying the plurality of page hierarchies corresponding to the plurality of device categories to a user, wherein each page hierarchy comprises a graphical tree structure representation of the paginated user interface description document showing the number of pages in the user description document and the arrangement of user interface elements on one or more of the pages for each device category with respect to the current editing status of the user interface description document.
11. A computer program product comprising a computer-readable storage medium, the computer-readable storage medium comprising instructions for performing, when executed by a processor, a method for authoring documents, the method comprising: launching a pagination request while editing a user interface description document; paginating, via a pagination engine, the user interface description document for a plurality of device categories using an automatic real-time pagination algorithm that utilizes limitations associated with each device category to generate a plurality of page hierarchies of the user interface description document for the corresponding device categories to reflect the current editing status of the user interface description document, wherein paginating comprises splitting the user interface document into several pages, which gathered output is the same content as the original document; and displaying the plurality of page hierarchies corresponding to the plurality of device categories to a user, wherein each page hierarchy comprises a graphical tree structure representation of the paginated user interface description document showing the number of pages in the user description document and the arrangement of user interface elements on one or more of the pages for each device category with respect to the current editing status of the user interface description document. 14. The computer program product of claim 11 , wherein the user interface description document comprises a markup language document.