From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new latex exporter questions Date: Sun, 20 May 2012 16:50:01 +0200 Message-ID: <87havadi06.fsf@gmail.com> References: <878vgnyvwk.fsf@okhotsk19.lowtem.hokudai.ac.jp> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SW7VI-0002sZ-6a for emacs-orgmode@gnu.org; Sun, 20 May 2012 10:53:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SW7VG-0000Ng-5G for emacs-orgmode@gnu.org; Sun, 20 May 2012 10:53:03 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:58966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SW7VF-0000Nc-Rw for emacs-orgmode@gnu.org; Sun, 20 May 2012 10:53:02 -0400 Received: by wgbds1 with SMTP id ds1so3144988wgb.30 for ; Sun, 20 May 2012 07:52:58 -0700 (PDT) In-Reply-To: <878vgnyvwk.fsf@okhotsk19.lowtem.hokudai.ac.jp> (Yagnesh Raghava Yakkala's message of "Sun, 20 May 2012 19:44:11 +0900") 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: Yagnesh Raghava Yakkala Cc: emacs-orgmode@gnu.org Hello, Yagnesh Raghava Yakkala writes: > I have file local variables like this > > # Local Variables: > # org-latex-to-pdf-process: ("pdflatex -interaction nonstopmode %b" "/usr/bin/bibtex %b" "pdflatex -interaction nonstopmode %b" "pdflatex -interaction nonstopmode %b") > # reftex-default-bibliography: ("/home/yagnesh/git/bib/") > # eval: (reftex-mode 1) > # org-inlinetask-export: nil > # org-e-latex-pdf-process: ("pdflatex -interaction nonstopmode %b" "/usr/bin/bibtex %b" "pdflatex -interaction nonstopmode %b" "pdflatex -interaction nonstopmode %b") > # org-e-latex-format-inlinetask-function: (lambda nil "") > # End: > > > - old exporter is running fine pdf processes fine, I get the citations and > bibliography. but new exporter is failing to export bibliography. I was not > sure how to debug this. I'm not sure about it. Could you provide an ECM for that? Also, is the LaTeX code produced by the exporter (with 'L') correct? > - new exportor asking for confirmation every time I re export to latex. > how can I stop that.? > > --8<---------------cut here---------------start------------->8--- > paper.tex changed on disk; really edit the buffer? (y, n, r or C-h) > --8<---------------cut here---------------end--------------->8--- I don't have that behaviour here. Maybe that's something in your config? > - I bound few variables using #+BIND:. exporter randomly asking for safety confirmation > about binding. ( I don't know why it is random) It should ask only once, the first time you export the buffer. Doesn't it? Anyway, you can customize `org-export-allow-BIND' to change this. > - Inline tasks., how can i stop exporting inline tasks.? you can see > above I tried to define `org-e-latex-format-inlinetask-function' and its not > working. Your `org-e-latex-format-inlinetask-function' is ill-defined (wrong number of arguments). You can try: #+begin_src emacs-lisp # org-e-latex-format-inlinetask-function: (lambda (&rest args) "") #+end_src or #+begin_src emacs-lisp # org-e-latex-format-inlinetask-function: ignore #+end_src or #+begin_src emacs-lisp #+BIND: org-e-latex-format-inlinetask-function ignore #+end_src You can also use filters to never export inlinetasks in e-latex bac-kend: #+begin_src emacs-lisp (defun my-ignore-inlinetask-filter (inlinetask backend info) (unless (eq back-end 'e-latex) inlinetask)) (add-to-list 'org-export-filter-inlinetask-functions 'my-ignore-inlinetask-filter) #+end_src Eventually, you can disable inlinetasks in _every_ back-end with: #+begin_src emacs-lisp (add-to-list 'org-export-filter-inlinetask-functions 'ignore) #+end_src Note that, in any case, `org-inlinetask-export' is ignored on purpose: there are already enough (and more consistent) ways to do it. Regards, -- Nicolas Goaziou