On Tue, Apr 20, 2010 at 4:48 PM, Eric Schulte wrote: > Sébastien Vauban writes: > > > Hi Eric, > > > > Eric S Fraga wrote: > >> it might be nice to have a worg page on snippets for org-mode? > > > > Sure. Or having them somewhere in the git directories... > > > > +1 for git directories. > Is there any progress on that? I just started with yasnippet and think they are quite handy. > > That way users who keep their Emacs config in git repos can add the > snippets as a submodule, and I can include the submodule in the literate > emacs-starter-kit [1]. > I got the yasnipet expansion working through your Starter Kit ( http://eschulte.github.com/emacs-starter-kit/starter-kit-org.html) and I realised that you have org-toggle-iimage-in-org in it - as far as I know, this does not exist any more in the newer versions of org (but it does not cause an error). Cheers, Rainer > > -- Eric > > > > > > >> I'm happy to contribute a few. > >> > >> figure: > >> #name : figure > >> # -- > >> #+attr_latex: width=$1\textwidth > >> [[file:$2.pdf]] > >> $0 > > > > Better use \linewidth instead of \textwidth. You will avoid bad > surprises. > > > > They are generally equivalent, but \linewidth is more often the real > width to > > consider: it is correctly adapted in column environments, itemized lists > and > > quotes, to cite a few. > > > > Seb > > Footnotes: > [1] http://eschulte.github.com/emacs-starter-kit/ > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: Rainer@krugs.de Skype: RMkrug Google: R.M.Krug@gmail.com