From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: How to highlight the LaTeX fragments inside orgmode Date: Tue, 21 Jun 2011 17:24:46 -0400 Message-ID: References: <8739j3j7v4.fsf@gmail.com> <4220.1308689343@alphaville.americas.hpqcorp.net> <87pqm6j3oo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=002215975bba265c2e04a63f7bca Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ8RG-0007OC-KY for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 17:24:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ8RE-0003wF-WC for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 17:24:50 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:59599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ8RE-0003w8-Ki for emacs-orgmode@gnu.org; Tue, 21 Jun 2011 17:24:48 -0400 Received: by wyg36 with SMTP id 36so181629wyg.0 for ; Tue, 21 Jun 2011 14:24:47 -0700 (PDT) In-Reply-To: <87pqm6j3oo.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: nicholas.dokos@hp.com, emacs-orgmode --002215975bba265c2e04a63f7bca Content-Type: text/plain; charset=ISO-8859-1 Thank you! P.S. Although this works, I still think for my purpose of just want to see the syntax of the LaTeX highlight, this "begin_src latex" might be a bit overkill. It would be nice the begin_latex have the option to do this job. Xin On Tue, Jun 21, 2011 at 5:05 PM, Eric Schulte wrote: > Xin Shi writes: > > > Thanks. Maybe it's just not working here. > > > > Also, I got this question every time: > > > > Evaluate this latex code block on your system? (y or n) > > > > Are there anyway to turn accept all? > > > > the following will disable this prompt > > (setq org-confirm-babel-evaluate nil) > > Best -- Eric > > > > > Xin > > > > > > > > On Tue, Jun 21, 2011 at 4:49 PM, Nick Dokos > wrote: > > > >> Xin Shi wrote: > >> > >> > > >> > However, I noticed something else is broken with the ob-latex: > >> > > >> > The C-c C-e d (export to PDF and open the PDF file) is no longer > working. > >> Maybe a bug in 7.5? > >> > > >> > >> Works fine here: Org-mode version 7.5 (baseline.324.ga0bc.dirty) > >> > >> Nick > >> > > -- > Eric Schulte > http://cs.unm.edu/~eschulte/ > --002215975bba265c2e04a63f7bca Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you!

P.S. =A0Although this works, I still think fo= r my purpose of just want to see the syntax of the LaTeX highlight, this &q= uot;begin_src latex" might be a bit overkill. It would be nice the beg= in_latex have the option to do this job.=A0

Xin


On Tue= , Jun 21, 2011 at 5:05 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
Xin Shi <shixin111@gmail.com> writes:

> Thanks. Maybe it's just not working here.
>
> Also, I got this question every time:
>
> Evaluate this latex code block on your system? (y or n)
>
> Are there anyway to turn accept all?
>

the following will disable this prompt

(setq org-confirm-babel-evaluate nil)

Best -- Eric

>
> Xin
>
>
>
> On Tue, Jun 21, 2011 at 4:49 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
>
>> Xin Shi <shixin111@gmail= .com> wrote:
>>
>> >
>> > However, I noticed something else is broken with the ob-latex= :
>> >
>> > The C-c C-e d (export to PDF and open the PDF file) is no lon= ger working.
>> Maybe a bug in 7.5?
>> >
>>
>> Works fine here: Org-mode version 7.5 (baseline.324.ga0bc.dirty) >>
>> Nick
>>

--

--002215975bba265c2e04a63f7bca--