From: Nicolas G. <nic...@ne...> - 2005-05-27 09:04:32
|
On Friday 27 May 2005 10:36, gr...@us... wrote: > On Thu, 26 May 2005, Nicolas Girard wrote: > > Hi all, > > > > currently image & figure directives offer options to control the > > associated image's dimensions, when the output format is html; > > > > I've tried to use them but couldn't get to a satisfying result in LaTeX. > > Basically I need the generated LaTeX code of *some* images to be:: > > > > \includegraphics[angle=90,width=18cm]{img} > > > > instead of:: > > > > \includegraphics{img} > > > > > > Is there a way of achieving this ? > > there is scaling support in the latexwriter. > > do you need html and latex ? > I'm afraid I don't understand your question, but I can detail my needs: I'm currently generating reports of astrophysical simulations. Basically each simulation produces data; data is analyzed and as a result figures are created. With my toole I can associate comments (in ReST) on both data and figures. Finally a report in ReST is generated by putting together the title, some autogenerated tables & sections, inclusions of figures and comments. (this is a situation where ReST particularly rocks, by the way ;-) OK, now for the tricky point: - I'd like the final document to be outputted from pdflatex ; - as you know, pdflatex doesn't know about eps files, then my figures can't be in eps but in an oter format - the consequence is that I can't specify the dimensions & orientation of the figures in the associated files themselves, as it would be possible using eps; - some figures *must* take as much place as possible in an A4 page, and *must* have width > height - then, for these figures, I must at least specify that they should rotated ; as for their size, I'd need them to take as much place as possible, but the time will come soon when I'll want to precisely control the dimensions of some images in the document. I'm not sure if this helps, please tell me if you want any precisions. Cheers Nicolas |