* new latex exporter questions
@ 2012-05-20 10:44 Yagnesh Raghava Yakkala
2012-05-20 14:50 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Yagnesh Raghava Yakkala @ 2012-05-20 10:44 UTC (permalink / raw)
To: emacs-orgmode
Hello Nicolas,
I am trying out new exporter,
I have file local variables like this
--8<---------------cut here---------------start------------->8---
# 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:
--8<---------------cut here---------------end--------------->8---
- 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.
- 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 bound few variables using #+BIND:. exporter randomly asking for safety confirmation
about binding. ( I don't know why it is random)
- 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.
Thank you very much.
--
ఎందరో మహానుభావులు అందరికి వందనములు
YYR
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: new latex exporter questions
2012-05-20 10:44 new latex exporter questions Yagnesh Raghava Yakkala
@ 2012-05-20 14:50 ` Nicolas Goaziou
2012-05-20 17:49 ` Yagnesh Raghava Yakkala
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2012-05-20 14:50 UTC (permalink / raw)
To: Yagnesh Raghava Yakkala; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: new latex exporter questions
2012-05-20 14:50 ` Nicolas Goaziou
@ 2012-05-20 17:49 ` Yagnesh Raghava Yakkala
0 siblings, 0 replies; 3+ messages in thread
From: Yagnesh Raghava Yakkala @ 2012-05-20 17:49 UTC (permalink / raw)
To: emacs-orgmode
Hello,
Nicolas Goaziou <n.goaziou@gmail.com> writes:
>> - 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?
It turns out I have an ARCHIVE tag for the bibliography node which is stopping
bib snippet in the exported tex file.
--8<---------------cut here---------------start------------->8---
* bibliography :ignoreheading:ARCHIVE:
\bibliographystyle{plain}
\bibliography{cld}
# blabla
--8<---------------cut here---------------end--------------->8---
I used your suggestion about ignoreheading from the other
discussion[1]. ARCHIVE tag is just to keep that node close while cycling.
now I set `org-export-with-archived-trees' to `t' and working fine. Thanks.
>> --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?
Could be. I will report to you I can create a ECM for 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).
>
True. your suggestions are working very well. Thanks again.
Footnotes:
[1] http://article.gmane.org/gmane.emacs.orgmode/55972
--
ఎందరో మహానుభావులు అందరికి వందనములు
YYR
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-20 17:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-20 10:44 new latex exporter questions Yagnesh Raghava Yakkala
2012-05-20 14:50 ` Nicolas Goaziou
2012-05-20 17:49 ` Yagnesh Raghava Yakkala
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.