Hello, A figure is exported to LaTeX with markup like below. ,---- | \begin{figure}[htb] | \centerline{\includegraphics[scale=0.8]{./time-series.png}} | \caption{\label{fig:bt}Weekly Business Transaction over Past Two Years} | \end{figure} `---- How can I replace [htb] with [H] (during the export itself?) It is required by "float" package to ensure that floats appear where I want them to appear. Is there an option that controls that? Thanks, -- Manish
No, there is no such option yet.......
- Carsten
On Jan 19, 2009, at 5:10 PM, Manish wrote:
> Hello,
>
> A figure is exported to LaTeX with markup like below.
>
> ,----
> | \begin{figure}[htb]
> | \centerline{\includegraphics[scale=0.8]{./time-series.png}}
> | \caption{\label{fig:bt}Weekly Business Transaction over Past Two
> Years}
> | \end{figure}
> `----
>
> How can I replace [htb] with [H] (during the export itself?) It is
> required by "float" package to ensure that floats appear where I want
> them to appear. Is there an option that controls that?
>
> Thanks,
> --
> Manish
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> On Jan 19, 2009, at 5:10 PM, Manish wrote: > >> Hello, >> >> A figure is exported to LaTeX with markup like below. >> >> ,---- >> | \begin{figure}[htb] >> | \centerline{\includegraphics[scale=0.8]{./time-series.png}} >> | \caption{\label{fig:bt}Weekly Business Transaction over Past Two Years} >> | \end{figure} >> `---- >> >> How can I replace [htb] with [H] (during the export itself?) It is >> required by "float" package to ensure that floats appear where I want >> them to appear. Is there an option that controls that? On Tue, Jan 20, 2009 at 2:48 AM, Carsten Dominik wrote: > No, there is no such option yet....... No problem. Since I only want H all the time, I have modified org-export-latex.el in a local git branch. I should be able to maintain my patch on top of your updates quite easily. Git is good. :) -- Manish
On Jan 20, 2009, at 3:33 AM, Manish wrote: >> On Jan 19, 2009, at 5:10 PM, Manish wrote: >> >>> Hello, >>> >>> A figure is exported to LaTeX with markup like below. >>> >>> ,---- >>> | \begin{figure}[htb] >>> | \centerline{\includegraphics[scale=0.8]{./time-series.png}} >>> | \caption{\label{fig:bt}Weekly Business Transaction over Past Two >>> Years} >>> | \end{figure} >>> `---- >>> >>> How can I replace [htb] with [H] (during the export itself?) It is >>> required by "float" package to ensure that floats appear where I >>> want >>> them to appear. Is there an option that controls that? > > On Tue, Jan 20, 2009 at 2:48 AM, Carsten Dominik wrote: >> No, there is no such option yet....... > > No problem. Since I only want H all the time, I have modified > org-export-latex.el in a local git branch. > > I should be able to maintain my patch on top of your updates quite > easily. Git is good. :) There is even an Org-mode FAQ about this very issue. http://orgmode.org/worg/org-faq.php#keeping-local-changes-current-with-Org-mode-development - Carsten