From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [Babel] Arguments... Date: Wed, 01 Dec 2010 13:02:24 +0100 Message-ID: <80pqtllmzz.fsf@missioncriticalit.com> References: <804obvyas7.fsf@mundaneum.com> <87zktnphtx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, "Eric Schulte" wrote: > S=C3=A9bastien Vauban writes: >> The variables are not exported to HTML (and LaTeX?), making the readabil= ity >> of such a documented code a bit difficult. Feature or bug? > > The variable names should be exported to both HTML and LaTeX (when > org-export-latex-listings is set to true) when the following declaration > schema is used (at least they are for me). > > #+source: something(x=3D9) > #+begin_src emacs-lisp > x > #+end_src I confirm that variable names are not exported when they don't get a value, such as here: #+source: add-column-in-table(table, column, type, nullability) #+begin_src sql -- add column `$column' (if column does not exist yet) IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME =3D '$table' AND COLUMN_NAME =3D '$column') BEGIN ALTER TABLE $table ADD $column $type $nullability END #+end_src Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode