From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Yagnesh Raghava Yakkala <hi@yagnesh.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: new latex exporter questions
Date: Sun, 20 May 2012 16:50:01 +0200 [thread overview]
Message-ID: <87havadi06.fsf@gmail.com> (raw)
In-Reply-To: <878vgnyvwk.fsf@okhotsk19.lowtem.hokudai.ac.jp> (Yagnesh Raghava Yakkala's message of "Sun, 20 May 2012 19:44:11 +0900")
Hello,
Yagnesh Raghava Yakkala <hi@yagnesh.org> 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
next prev parent reply other threads:[~2012-05-20 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-20 10:44 new latex exporter questions Yagnesh Raghava Yakkala
2012-05-20 14:50 ` Nicolas Goaziou [this message]
2012-05-20 17:49 ` Yagnesh Raghava Yakkala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87havadi06.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=hi@yagnesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.