Re: [O] export to latex, make-backup-files, vc-make-backup-files

2019-06-24 Thread Uwe Brauer
> Uwe Brauer writes: > Those are the setting I have. > Why not? If it's under VC, why do you need emacs to make backups for you? But only some of my files are, most of them are not under VC, so if I set this variable globally to nil, no backups for files which are not under VC control smime

Re: [O] export to latex, make-backup-files, vc-make-backup-files

2019-06-24 Thread Nick Dokos
Uwe Brauer writes: >> Uwe Brauer writes: > >> FWIW, I tried a set-up with git (I don't have mercurial available) and I > cannot >> reproduce this. > >> I'm not using numbered backups but the two variables you mention are set > the >> same way for me. Here's what I did: > >

Re: [O] export to latex, make-backup-files, vc-make-backup-files

2019-06-22 Thread Uwe Brauer
> Uwe Brauer writes: > FWIW, I tried a set-up with git (I don't have mercurial available) and I cannot > reproduce this. > I'm not using numbered backups but the two variables you mention are set the > same way for me. Here's what I did: Do you have really make-backup-files

Re: [O] export to latex, make-backup-files, vc-make-backup-files

2019-06-22 Thread Uwe Brauer
> Uwe Brauer writes: Thanks for you response. > FWIW, I tried a set-up with git (I don't have mercurial available) and I cannot > reproduce this. > I'm not using numbered backups but the two variables you mention are set the > same way for me. Here's what I did: A wait what

Re: [O] export to latex, make-backup-files, vc-make-backup-files

2019-06-21 Thread Nick Dokos
Uwe Brauer writes: > Hi > > The following kills me. > > I have set > > make-backup-files t, > vc-make-backup-files nil > > I am in a directory which is under version control (mercurial). > > The file test.org and test.tex are *both* under VC control. > > However when I export test.org to test.t

Re: [O] export to latex, make-backup-files, vc-make-backup-files

2019-06-21 Thread Fraga, Eric
On Friday, 21 Jun 2019 at 17:22, Uwe Brauer wrote: > Do you have any idea how to avoid the creation of the backup files, > without setting the make-backup-files variable globally to nil. I can only suggest that you might be able to make that variable local to the .tex file using some hook? I have

Re: [O] export to latex, make-backup-files, vc-make-backup-files

2019-06-21 Thread Uwe Brauer
>>> "FE" == Fraga, Eric writes: > On Friday, 21 Jun 2019 at 14:24, Uwe Brauer wrote: >> I even set in my orgfile >> >> #+BEGIN_SRC emacs-lisp >> (set (make-local-variable 'make-backup-files) nil) >> #+END_SRC > but this will not affect the setting of that variable for the .tex file, > only

Re: [O] export to latex, make-backup-files, vc-make-backup-files

2019-06-21 Thread Fraga, Eric
On Friday, 21 Jun 2019 at 14:24, Uwe Brauer wrote: > I even set in my orgfile > > #+BEGIN_SRC emacs-lisp > (set (make-local-variable 'make-backup-files) nil) > #+END_SRC but this will not affect the setting of that variable for the .tex file, only the current org file where you execute this lisp

[O] export to latex, make-backup-files, vc-make-backup-files

2019-06-21 Thread Uwe Brauer
Hi The following kills me. I have set make-backup-files t, vc-make-backup-files nil I am in a directory which is under version control (mercurial). The file test.org and test.tex are *both* under VC control. However when I export test.org to test.tex say twice the files test.tex and t

Re: [O] Export to LaTeX buffer (solved)

2018-06-08 Thread Hoffmann, Jobst
Answering myself: just installed emacs 26.1 from Fedora 28 and the problem is gone! Am Freitag, den 16.03.2018, 18:29 + schrieb Hoffmann, Jobst: > Am Mittwoch, den 14.03.2018, 14:57 +0100 schrieb Nicolas Goaziou: > > "Hoffmann, Jobst" writes: > > > > > make: Org mode version 9.1.7 (release_

Re: [O] Export to LaTeX buffer

2018-03-16 Thread Hoffmann, Jobst
Am Mittwoch, den 14.03.2018, 14:57 +0100 schrieb Nicolas Goaziou: > "Hoffmann, Jobst" writes: > > > make: Org mode version 9.1.7 (release_9.1.7-516-gbc7b24.dirty => > >^ > > /usr/share/emacs/site-lisp/org) > > Could your local cha

Re: [O] Export to LaTeX buffer

2018-03-14 Thread Nicolas Goaziou
"Hoffmann, Jobst" writes: > make: Org mode version 9.1.7 (release_9.1.7-516-gbc7b24.dirty => ^ > /usr/share/emacs/site-lisp/org) Could your local changes interfere with the export process? > I'm quite desperated, do you have an ide

Re: [O] Export to LaTeX buffer

2018-03-13 Thread Hoffmann, Jobst
Am Montag, den 12.03.2018, 20:53 +0100 schrieb Nicolas Goaziou: > "Hoffmann, Jobst" writes: > > > I'm using Fedora with a packaged emacs and an .rpm package emacs- > > commons, which contains beside other packages that I use the org > > files > > in a directory org. > > > > On the load path ther

Re: [O] Export to LaTeX buffer

2018-03-12 Thread Samuel Wales
On 3/12/18, Nicolas Goaziou wrote: > This looks like a mixed installation. "turn-on-orgstruct" does not exist > in master branch, which you seem to be using. > > I suggest making sure you properly load Org from the git repository > instead of some other location. in addition, i find it useful to

Re: [O] Export to LaTeX buffer

2018-03-12 Thread Nicolas Goaziou
Hello, "Hoffmann, Jobst" writes: > The org-mode manual version Release 9.1.6 (release 9.1.6-567-gbb5e79) > says on page 159, that export of an org file to a LaTeX buffer is doneby C-c > C-e l L. > > This ends in a message > > "Autoloading failed to define function turn-on-orgstruct" > > A litt

[O] Export to LaTeX buffer

2018-03-12 Thread Hoffmann, Jobst
Hello to all users of this list, this is my first posting. The org-mode manual version Release 9.1.6 (release 9.1.6-567-gbb5e79) says on page 159, that export of an org file to a LaTeX buffer is doneby C-c C-e l L. This ends in a message "Autoloading failed to define function turn-on-orgstruct

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread Sharon Kimble
John Kitchin writes: > I don't think that it is possible for the snippet I sent to remove the the > parentheses as they are not part of the link.  > > You can either replace them all interactively with a regexp, e.g. > > #+BEGIN_SRC emacs-lisp > (goto-char (point-min)) > (query-replace-regexp "(

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread John Kitchin
I don't think that it is possible for the snippet I sent to remove the the parentheses as they are not part of the link. You can either replace them all interactively with a regexp, e.g. #+BEGIN_SRC emacs-lisp (goto-char (point-min)) (query-replace-regexp "(\\(cite:.*\\))" "\\1") #+END_SRC That

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread Sharon Kimble
John Kitchin writes: > You can try this: > > * Build :noexport: > > Put this heading in your file, and run this block. > > #+BEGIN_SRC emacs-lisp > (flet ((org-ref-format-cite (keyword desc format) "")) > (org-latex-export-to-latex)) > #+END_SRC > > It will temporarily redefine the cite export f

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread John Kitchin
You can try this: * Build :noexport: Put this heading in your file, and run this block. #+BEGIN_SRC emacs-lisp (flet ((org-ref-format-cite (keyword desc format) "")) (org-latex-export-to-latex)) #+END_SRC It will temporarily redefine the cite export function. It appears it replaces them with a

[O] export to latex but *not* export the citations

2018-01-19 Thread Sharon Kimble
I'm writing a document which currently has 408 pages and over a 1,000 footnotes, and with a size of 1.1 mbs. I'm exporting it to latex using 'org-latex-export-to-latex' and am now wondering is it possible to export it *and* omit the citations? The citations currently are showing in the org-mode s

Re: [O] Export to Latex without \author{}

2015-06-26 Thread Rasmus
Lei Zhe writes: > I am trying to export a beamer from org-mode with my own \author > command defined. > But when I export, org-mode always generates another \author after my > \author, which destroys the author list. > I tried: > 1. #+author: > 2. #+bind: latex-export-with-author "" > 3. move #+a

[O] Export to Latex without \author{}

2015-06-26 Thread Lei Zhe
Dear orgers, I am trying to export a beamer from org-mode with my own \author command defined. But when I export, org-mode always generates another \author after my \author, which destroys the author list. I tried: 1. #+author: 2. #+bind: latex-export-with-author "" 3. move #+author before my auth

Re: [O] Export to Latex, multi-line headlines

2014-10-07 Thread Rasmus
hy...@lactose.homelinux.net (hymie!) writes: > In our last episode, the evil Dr. Lacto had captured our hero, > Thorsten Jolitz , who said: >>hy...@lactose.homelinux.net (hymie!) writes: >> > >>> *** This is a very long line which is way too long to fit on a single line >>> so I have it brok

Re: [O] Export to Latex, multi-line headlines

2014-10-07 Thread hymie!
In our last episode, the evil Dr. Lacto had captured our hero, Thorsten Jolitz , who said: >hy...@lactose.homelinux.net (hymie!) writes: > >> *** This is a very long line which is way too long to fit on a single line >> so I have it broken up into smaller lines so that I can read it >> bu

Re: [O] Export to Latex, multi-line headlines

2014-10-07 Thread Thorsten Jolitz
hy...@lactose.homelinux.net (hymie!) writes: > *** This is a very long line which is way too long to fit on a single line > so I have it broken up into smaller lines so that I can read it > but still have the indentation lined up, so it's obvious (to me) that > this is all designed to

[O] Export to Latex, multi-line headlines

2014-10-07 Thread hymie!
So the more I use orgmode, the more I'm enjoying it. I'm now learning how to export my notes into LaTeX and/or PDF. (I'm a TeX user, so I don't know all of the intricacies of LaTeX, but I can manage if I have to.) Anyway, to the question. When I have a long line in my notes, I keep it formatted

Re: [O] export to latex without labels

2014-07-19 Thread Eric Abrahamsen
"Salome Soedergran" writes: > Hi Eric, > > Eric Abrahamsen writes: >> The error message is telling you that the wrong number of arguments were >> passed to your filter function. If you look at the doctoring of >> org-export-filter-final-output-functions, you'll see that functions in >> this filt

Re: [O] export to latex without labels

2014-07-19 Thread Salome Soedergran
Hi Eric, Eric Abrahamsen writes: > The error message is telling you that the wrong number of arguments were > passed to your filter function. If you look at the doctoring of > org-export-filter-final-output-functions, you'll see that functions in > this filter are passed three arguments (note the

Re: [O] export to latex without labels

2014-07-19 Thread Nick Dokos
Eric Abrahamsen writes: > "Salome "Södergran\"" writes: > >> Hello experts, >> >> I've been fiddling around for a while now with the following problem: >> >> When I export something from org to latex I get plenty of \labels >> that I never refer to. I'd like to get rid of all those labels. >> ..

Re: [O] export to latex without labels

2014-07-19 Thread Eric Abrahamsen
Eric Abrahamsen writes: > "Salome "Södergran\"" writes: > >> Hello experts, >> >> I've been fiddling around for a while now with the following problem: >> >> When I export something from org to latex I get plenty of \labels that I >> never refer to. I'd like to get rid of all those labels. >> I

Re: [O] export to latex without labels

2014-07-19 Thread Eric Abrahamsen
"Salome "Södergran\"" writes: > Hello experts, > > I've been fiddling around for a while now with the following problem: > > When I export something from org to latex I get plenty of \labels that I > never refer to. I'd like to get rid of all those labels. > I found some code [1] that uses a hoo

[O] export to latex without labels

2014-07-19 Thread Salome =?iso-8859-1?Q?S=F6dergran
Hello experts, I've been fiddling around for a while now with the following problem: When I export something from org to latex I get plenty of \labels that I never refer to. I'd like to get rid of all those labels. I found some code [1] that uses a hook that does not work in orgmode anymore. So

Re: [O] Export to LaTeX and Beamer

2013-07-17 Thread Suvayu Ali
On Wed, Jul 17, 2013 at 10:47:12PM +0200, Julien Cubizolles wrote: > Hi Ali (am I right in assuming that's your first name ?) > > Suvayu Ali writes: > > > Here is an older version of the function: > > > > (defun my-org-export-remove-tagged-headlines (tag) > >(save-excursion > > (goto-c

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 11:40:34AM +0200, Suvayu Ali wrote: > On Mon, Jul 15, 2013 at 11:15:16AM +0200, Julien Cubizolles wrote: > > (defun jc-ignore-headline (contents backend info) > > "Ignore headlines with tag `ignoreheading'." > > (if (eq backend 'latex) (message contents) > > contents

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 11:15:16AM +0200, Julien Cubizolles wrote: > The following message is a courtesy copy of an article > that has been posted to gmane.emacs.orgmode as well. > > Suvayu Ali writes: > > > > There is none, but you can use filters to achieve this. Take a look > > here: > >

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Julien Cubizolles
Suvayu Ali writes: > There is none, but you can use filters to achieve this. Take a look > here: > > Do note, as the comment says, I have not tested it extensively. I tried it (evaled the following) (defun jc-ignore-head

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 10:21:07AM +0200, Julien Cubizolles wrote: > Suvayu Ali writes: > > > > Sounds a bit clumsy; are you aware of subtree export[1]? However I'm > > not sure if you can export the same headline with different backends > > with subtree export. > > Subtree export won't do it:

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Julien Cubizolles
Suvayu Ali writes: > Sounds a bit clumsy; are you aware of subtree export[1]? However I'm > not sure if you can export the same headline with different backends > with subtree export. Subtree export won't do it: it's the whole org-file I need to export. It's for a course I'm giving: I need the

Re: [O] Export to LaTeX and Beamer

2013-07-13 Thread Suvayu Ali
Hello Julien, On Thu, Jul 11, 2013 at 11:41:45PM +0200, Julien Cubizolles wrote: > I need to export different parts of an org file with different LaTeX > classes, one of which is a beamer style. > > I've come up with the following solution: manually switching the > LATEX_CLASS for each export, an

[O] Export to LaTeX and Beamer

2013-07-11 Thread Julien Cubizolles
I need to export different parts of an org file with different LaTeX classes, one of which is a beamer style. I've come up with the following solution: manually switching the LATEX_CLASS for each export, and using SELECT_TAGS to choose which headings to export. For the following file * First sect

Re: [O] export to LaTeX with TOC but without numbers

2013-06-05 Thread Eric S Fraga
Andreas Leha writes: [...] > That's why I would prefer to follow Nick's suggestion. Yes, Nick's suggestion is straightforward and should work very well for what you want. -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_8.0.3-193-g334581

Re: [O] export to LaTeX with TOC but without numbers

2013-06-05 Thread Andreas Leha
Eric Abrahamsen writes: > Andreas Leha writes: > >> Hi Eric, >> >> Eric S Fraga writes: >> >>> Andreas Leha writes: Eric S Fraga writes: >>> >>> [...] >>> > There are workarounds but they involve using latex directly (to add > entries to a TOC basically). I am aware of

Re: [O] export to LaTeX with TOC but without numbers

2013-06-05 Thread Andreas Leha
Nick Dokos writes: > Andreas Leha writes: > >>> Instead of adding toc entries, you can use latex to delete section >>> numbers: >>> >>> #+LATEX_HEADER: \setcounter{secnumdepth}{0} >>> ... >>> >>> The problem might be that the sections are not numbered in the TOC >>> either. But if you don't care

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Eric Abrahamsen
Andreas Leha writes: > Hi Eric, > > Eric S Fraga writes: > >> Andreas Leha writes: >>> Eric S Fraga writes: >> >> [...] >> There are workarounds but they involve using latex directly (to add entries to a TOC basically). >>> >>> I am aware of that. Sorry for being unclear. I would l

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Nick Dokos
Andreas Leha writes: >> Instead of adding toc entries, you can use latex to delete section >> numbers: >> >> #+LATEX_HEADER: \setcounter{secnumdepth}{0} >> ... >> >> The problem might be that the sections are not numbered in the TOC >> either. But if you don't care about that, this is certainly s

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Andreas Leha
Hi Nick, Nick Dokos writes: > Andreas Leha writes: > >> Hi Eric, >> >> thanks for your answer. >> >> Eric S Fraga writes: >> >>> Andreas Leha writes: >>> Hi all, How can I export to LaTeX with the combined effect of toc:t and num:nil? Setting num:nil results in an emp

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Andreas Leha
Hi Eric, Eric S Fraga writes: > Andreas Leha writes: >> Eric S Fraga writes: > > [...] > >>> There are workarounds but they involve using latex directly (to add >>> entries to a TOC basically). >> >> I am aware of that. Sorry for being unclear. I would like to automate >> exactly that. >> >>

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Nick Dokos
Andreas Leha writes: > Hi Eric, > > thanks for your answer. > > Eric S Fraga writes: > >> Andreas Leha writes: >> >>> Hi all, >>> >>> How can I export to LaTeX with the combined effect of toc:t and num:nil? >>> >>> Setting num:nil results in an empty TOC. >>> >>> I guess, I am looking for a way

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Eric S Fraga
Andreas Leha writes: > Eric S Fraga writes: [...] >> There are workarounds but they involve using latex directly (to add >> entries to a TOC basically). > > I am aware of that. Sorry for being unclear. I would like to automate > exactly that. > > I use several LaTeX export classes and I would

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Andreas Leha
Hi Eric, thanks for your answer. Eric S Fraga writes: > Andreas Leha writes: > >> Hi all, >> >> How can I export to LaTeX with the combined effect of toc:t and num:nil? >> >> Setting num:nil results in an empty TOC. >> >> I guess, I am looking for a way to automatically add >> #+begin_latex >>

Re: [O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Eric S Fraga
Andreas Leha writes: > Hi all, > > How can I export to LaTeX with the combined effect of toc:t and num:nil? > > Setting num:nil results in an empty TOC. > > I guess, I am looking for a way to automatically add > #+begin_latex > \addcontentsline{toc}{}{} > #+end_latex > to the exported document.

[O] export to LaTeX with TOC but without numbers

2013-06-04 Thread Andreas Leha
Hi all, How can I export to LaTeX with the combined effect of toc:t and num:nil? Setting num:nil results in an empty TOC. I guess, I am looking for a way to automatically add #+begin_latex \addcontentsline{toc}{}{} #+end_latex to the exported document. Regards, Andreas

Re: [O] Export <> to latex

2012-03-02 Thread Markus Grebenstein
Dear Nick, that is even more than enough ;-) Thanks a lot! That solves quite a bit of preoblems for me. I tried to put the anchor in the line of the headline itself and it worked in orgmode but was not exported as I expected. Best, Markus Am 02.03.2012 21:23, schrieb Nick Dokos: Markus Gr

Re: [O] Export <> to latex

2012-03-02 Thread Nick Dokos
Markus Grebenstein wrote: > Dear List, > > I am regularly running into problems with internal links to headings, > since my document meanwhile is 200pp+ long and I tend to change > headings. > > Since I loose the ability to jump to the heading, I do not like to use > the classic latex approach

[O] Export <> to latex

2012-03-02 Thread Markus Grebenstein
Dear List, I am regularly running into problems with internal links to headings, since my document meanwhile is 200pp+ long and I tend to change headings. Since I loose the ability to jump to the heading, I do not like to use the classic latex approach using \label. I am wondering why ancho

Re: [O] Export to LaTeX class beamer

2011-04-29 Thread Daniel Bausch
Hello John, search for allowframebreak, a LaTeX beamer option. Maybe this will fit your needs. For org-mode this may be placed in org-beamer-frame-default-options. However, when it is present, you will not be able to use overlays anymore. Daniel Am Mittwoch, 27. April 2011, 11:01:40 schrieb T

[O] Export to LaTeX class beamer

2011-04-27 Thread Tait John
Hi When I export to class beamer, much of the content can be pushed off the bottom of the slide. Other than restricting the amount of content under headings, is there a simple way of allowing the content to spill onto the next slide? Thanks John ***

[O] export to latex broken

2011-03-01 Thread suvayu ali
Hi, I think this commit broke latex export. $ git log -1 1f78ceb commit 1f78cebdf46b2d9c435312c3fbcad05986e21cc3 Author: Nicolas Goaziou Date: Mon Feb 28 11:04:46 2011 +0100 org-latex: fix export with various values for `org-list-ending-method' * lisp/org-latex.el (org-export-latex-l