From: "George N. White III" Date: 2003-11-17T10:22:02+09:00 Subject: Re: PDF output how-to ... On Fri, 7 Nov 2003, Useko Netsumi wrote: > Is there any example on how to format my photo(and some text description > such as title, description, location, and date/time) to a PDF file. This sort of task that requires a proper document layout program. There is a lot of information needed to lay out a PDF document, mainly to deal with fonts, so you are better off generating a source file that can be passed to a layout package. One that is both excellent and free is pdftex. There are good TeX distros for all widely used and other platforms. They all provide lots of examples and documentation, and are supported by a large user community. The most robust approach is to convert your image to PDF format (e.g., using gimp or ImageMagick) and then "place" the image in a document. > I'd like to be able to fit as much as possible in a page(approx. 3-4 > photos) but do not want to cross-page that is if it does not fit for the > whole pic, then go to the next page. > > Anyone has any tips on how to do it, perhaps some simple example on how > to do it in Ruby. Take a look at the example documents at http://www.pragma-ade.com, which were mostly generated using the ConTeXt macro package with pdftex. The input files are simple ASCII with markup codes to control the layout, and there is also support for XML. -- George N. White III Head of St. Margarets Bay, Nova Scotia, Canada