Re: [Orgmode] org-latex and figures

2011-01-28 Thread Eric S Fraga
"Thomas S. Dye" writes: [...] > > Hi Eric, > > Floats are tricky in LaTeX. agreed! > The two most frequent problems, in my > experience, are the "all the floats at the end" problem that bit > Andrea and the "small float on its own page" problem. The first of > these comes from not including [

Re: [Orgmode] org-latex and figures

2011-01-28 Thread Thomas S. Dye
On Jan 28, 2011, at 5:56 AM, Eric S Fraga wrote: Chris Malone writes: Hi Andrea, I'm inclined to agree with Tom - there is no default that will work in all instances. That being said, you can use an #ATTR_LATEX line to modify the placement for each image - see here: http://orgmode.org

Re: [Orgmode] org-latex and figures

2011-01-28 Thread Eric Schulte
Hi, This seems like it should be easily customizable. I've replaced the hardcoded "htb" values with `org-latex-default-figure-position' a new defcustom variable which can be customized to change this behavior. Please pull the latest from git, try it out and let me know if you run into any problem

Re: [Orgmode] org-latex and figures

2011-01-28 Thread Eric S Fraga
Chris Malone writes: > Hi Andrea, > > I'm inclined to agree with Tom - there is no default that will work in all > instances. That being said, you can use an #ATTR_LATEX line to modify the > placement for each image - see here: > http://orgmode.org/org.html#Images-in-LaTeX-export > > Alternative

Re: [Orgmode] org-latex and figures

2011-01-28 Thread Chris Malone
Hi Andrea, I'm inclined to agree with Tom - there is no default that will work in all instances. That being said, you can use an #ATTR_LATEX line to modify the placement for each image - see here: http://orgmode.org/org.html#Images-in-LaTeX-export Alternatively, (and this is very much a hack, wh

Re: [Orgmode] org-latex and figures

2011-01-27 Thread Thomas S. Dye
Hi Andrea, There is no default that will work in all situations. A default of [ptb] will typically generate some pages with just a figure and lots of white space. I make a lot of latex documents and I find the path of least resistance is to use a default of [htb!] and pay attention to t

[Orgmode] org-latex and figures

2011-01-27 Thread Andrea Crotti
I could not understand why on earth my pdf had all the images after the whole document. Then I found this: http://www.eng.cam.ac.uk/help/tpl/textprocessing/float_hint.html and found out that the default for a figure was \begin{figure}[ptb] while in the generated latex file from org I had \begin{