From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Re: [Babel] Macro for begin_src? Date: Sun, 17 Oct 2010 18:56:32 +0200 Message-ID: References: <4BC91BA7.6050904@ccbr.umn.edu> <87ljcm75gv.wl%ucecesf@ucl.ac.uk> <87wrw2a3ch.fsf@mundaneum.com> <87vdbmw570.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0734129250==" Return-path: Received: from [140.186.70.92] (port=37442 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7WXE-0004kE-Ak for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 12:56:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7WXC-00047A-Ti for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 12:56:36 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:57200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7WXC-00046z-La for emacs-orgmode@gnu.org; Sun, 17 Oct 2010 12:56:34 -0400 Received: by pvf33 with SMTP id 33so19047pvf.0 for ; Sun, 17 Oct 2010 09:56:33 -0700 (PDT) In-Reply-To: <87vdbmw570.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: =?ISO-8859-1?Q?S=E9bastien_Vauban?= , emacs-orgmode@gnu.org --===============0734129250== Content-Type: multipart/alternative; boundary=001636e0a6d61f93ae0492d2f1db --001636e0a6d61f93ae0492d2f1db Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Apr 20, 2010 at 4:48 PM, Eric Schulte wrote= : > S=E9bastien 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=3D$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 list= s > 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 > --=20 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 --001636e0a6d61f93ae0492d2f1db Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Apr 20, 2010 at 4:48 PM, Eric Sc= hulte <schul= te.eric@gmail.com> wrote:
S=E9bastien Vauban <wxhgmqzgwmuf@spammotel.com> 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 quit= e handy.

=A0

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 yasnip= et expansion working through your Starter Kit=A0(http://eschulte.github.= com/emacs-starter-kit/starter-kit-org.html) and I realised that you hav= e=A0org-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
=A0

-- Eric

>
>
>> I'm happy to contribute a few.
>>
>> figure:
>> #name : figure
>> # --
>> #+attr_latex: width=3D$1\textwidth
>> [[file:$2.pdf]]
>> $0
>
> Better use \linewidth instead of \textwidth. You will avoid bad surpri= ses.
>
> They are generally equivalent, but \linewidth is more often the real w= idth to
> consider: it is correctly adapted in column environments, itemized lis= ts and
> quotes, to cite a few.
>
> Seb

Footnotes:
[1] =A0http://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 Excellen= ce for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch UniversityMain Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:= =A0 =A0 =A0 =A0 =A0=A0 +27 - (0)83 9479 042
Fax:=A0 =A0 =A0 =A0 =A0 =A0 = +27 - (0)86 516 2782
Fax:=A0 =A0 =A0 =A0 =A0 =A0 +49 - (0)321 2125 2244
email:=A0 =A0 =A0 =A0= =A0 Rainer@krugs.de

Skype:= =A0 =A0 =A0 =A0 =A0 RMkrug
Google:=A0 =A0 =A0 =A0=A0 R.M.Krug@gmail.com

--001636e0a6d61f93ae0492d2f1db-- --===============0734129250== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0734129250==--