From: Useko Netsumi <_no-spam_usenets@...> Date: 2003-11-17T10:22:08+09:00 Subject: Re: PDF output how-to ... Thank George, I'll take a look at them as you suggested. From your experience, is it easier to use it with or without PHP in mind? "George N. White III" wrote in message news:Pine.SGI.4.58.0311100842380.209471@montigo.bio.dfo.ca... > 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