Re: [O] latex export of unnumbered sections

2013-03-05 Thread Sebastian Hofer
At Mon, 04 Mar 2013 21:21:54 +0100, Nicolas Goaziou wrote: > > Hello, > > Sebastian Hofer writes: > > > Is there a particular reason why unnumbered sections are exported to > > latex including the title in first (optional) argument if there is no > > * presen

Re: [O] preview latex fragment from source code buffer

2013-03-04 Thread Sebastian Hofer
At Mon, 04 Mar 2013 19:57:42 +0100, Bastien wrote: > > Hi Sebastian, > > Sebastian Hofer writes: > > > I missed the functionality to preview a latex fragment directly from > > the latex source buffer. Fortunately this functionality is trivial to > > add. I

[O] latex export of unnumbered sections

2013-03-04 Thread Sebastian Hofer
Is there a particular reason why unnumbered sections are exported to latex including the title in first (optional) argument if there is no * present? To clarify a bit: A sectioning structure like ("\\section{%s}" . "\\section*{%s}") gives rise to \section[title]{title} % numbered sectio

[O] preview latex fragment from source code buffer

2013-03-04 Thread Sebastian Hofer
I missed the functionality to preview a latex fragment directly from the latex source buffer. Fortunately this functionality is trivial to add. I've been using it for a while now and find it very convenient, so I suggest adding it to org. #+BEGIN_SRC (define-key org-src-mode-map "\C-c\C-x\C-l" 'o

[O] paredit/org problems

2013-03-02 Thread Sebastian Hofer
Hi all, I'm using some of the paredit [1] functionality in org-mode, e.g. the deleting pairs of (),[],{}, and so forth. Note that I don't have paredit-mode enabled but rather use paredit-backward-delete and others. Recently, deleting {} as one entity stopped working, but it still works for [] and

Re: [O] org-e-latex: ignoreheading is not working any more.

2013-01-10 Thread Sebastian Hofer
At Thu, 10 Jan 2013 19:44:32 +0100, Nicolas Goaziou wrote: > > Hello, > > Sebastian Hofer writes: > > > #+BEGIN_SRC emacs-lisp > > (defun my-e-latex-headline (headline contents info) > > (if (member "ignoreheading" (org-element-property :tags he

Re: [O] org-e-latex: ignoreheading is not working any more.

2013-01-09 Thread Sebastian Hofer
At Wed, 09 Jan 2013 16:17:06 +0100, Nicolas Goaziou wrote: > > Hello, > > Sebastian Hofer writes: > > > Using said code-snippet I get following error: > > > > funcall: Wrong number of arguments: (lambda (headline contents info) > > (if (member &quo

Re: [O] org-e-latex: ignoreheading is not working any more.

2013-01-08 Thread Sebastian Hofer
At Wed, 21 Nov 2012 14:21:25 +0100, Nicolas Goaziou wrote: > >> I have been using example setting suggested by Nicolas > >> (http://article.gmane.org/gmane.emacs.orgmode/55972) to tell exporter to > >> skip > There are only two changes: > > #+BEGIN_SRC emacs-lisp > (add-to-list 'org-e-latex-tran

Re: [O] [PATCH] latex export - title placement

2011-06-03 Thread Sebastian Hofer
At Fri, 03 Jun 2011 00:23:25 -0400, Nick Dokos wrote: > > Sebastian Hofer wrote: > > > At Thu, 02 Jun 2011 11:57:07 -0400, > > Nick Dokos wrote: > > > > > > > At Wed, 01 Jun 2011 18:05:28 -0400, > > > > Nick Dokos wrote: >

Re: [O] [PATCH] latex export - title placement

2011-06-02 Thread Sebastian Hofer
At Thu, 02 Jun 2011 11:57:07 -0400, Nick Dokos wrote: > > Sebastian Hofer wrote: > > > At Wed, 01 Jun 2011 18:05:28 -0400, > > Nick Dokos wrote: > > > > > > Thomas S. Dye wrote: > > > > > > > Sebastian Hofer writes: > > &

Re: [O] [PATCH] latex export - title placement

2011-06-02 Thread Sebastian Hofer
At Wed, 01 Jun 2011 19:55:51 -0400, Nick Dokos wrote: > > Nick Dokos wrote: > > > IIUC, the only remaining thing is the position of the \title etc macros > > in the preamble or the body (or both). > > > > There are three categories of LaTeX classes: the ones that implement > > Lamport's dictum

Re: [O] [PATCH] latex export - title placement

2011-06-02 Thread Sebastian Hofer
At Wed, 01 Jun 2011 18:05:28 -0400, Nick Dokos wrote: > > Thomas S. Dye wrote: > > > Sebastian Hofer writes: > > > > > Hi all, > > > > > > This patch addresses the problem of ambiguous conventions for the > > > placement of the title

Re: [O] [PATCH] latex export - title placement

2011-05-28 Thread Sebastian Hofer
I just now saw the FAQ entry on sending patches, sorry for that! I'm reposting the patch with the proper mime-type. Hope it's correct this time! Sebastian diff --git a/lisp/org-exp.el b/lisp/org-exp.el index d6ed193..e8086a6 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -618,6 +618,8 @@ t

[O] [PATCH] latex export - title placement

2011-05-28 Thread Sebastian Hofer
Hi all, This patch addresses the problem of ambiguous conventions for the placement of the title related macros (\author, \date,...) with respect to the main document body in different latex classes. It introduces the following changes: * org-exp.el: - added the following options: - tit

[O] latex-export bug?

2011-05-14 Thread Sebastian Hofer
I just noticed that escaping curly braces seems to be broken in latex export: \somecommand{argument} \somecommand{$somemath$} results in \somecommand{argument} \somecommand\{$somemath$\} This seems to be (relatively) new to me, and breaks some of my documents. Is this intended behaviour? If no

Re: [O] Title page in latex export

2011-04-22 Thread Sebastian Hofer
At Fri, 04 Mar 2011 10:45:08 -0500, Nick Dokos wrote: > > Suvayu Ali wrote: > > > > > I am trying to write my thesis as per my university style. It requires > > I use the \title{Thesis title} command before the > > > > \begin{document} > > ... > > \end{document} > > > > Is there any way to do

[Orgmode] placement of \title, \author,...

2010-11-28 Thread Sebastian Hofer
Hi, would it be possible to move the \title, \author, \date commands to after \begin{document}? This may sound like a stupid suggestion, but some classes (in particular revtex - the standard class for journals of the american physical society) throw errors otherwise. A possible patch is attache

[Orgmode] bug(?) in org-preview-latex-fragment

2010-11-28 Thread Sebastian Hofer
Hi all, it seems that org-preview-latex-fragment does not process \include{} commands in the LATEX_HEADER (while it does process \newcommand). It this supposed to be like that? If not, can it be changed or worked around somehow? TIA Sebastian Minimal example: test.org: ===

[Orgmode] Re: org-babel problem

2010-11-26 Thread Sebastian Hofer
For the record, I was having the exact same problem, just didn't have the time to post it. So it's not just you! I just deleted the babel directory now everything is fine again. git didn't even notice it was gone. Thanks for finding the culprit! Sebastian At Thu, 25 Nov 2010 22:04:22 +0100, Eri

[Orgmode] strike through display problem

2010-10-01 Thread Sebastian Hofer
Hi, I just found a little display bug (or a weirdness at least). The following text ${+}$ some text ${+}$ is displayed as struck-trough in org-mode (git checkout from some days ago). Note that ${A+}$ some text ${+}$ ${+}$ some text ${+A}$ both work fine. This may not be very common, still I th

[Orgmode] Re: latex export - skipping lvls breaks export

2010-06-22 Thread Sebastian Hofer
At Tue, 22 Jun 2010 15:06:08 +0200, Carsten Dominik wrote: > > > On Jun 22, 2010, at 2:51 PM, Robert Hennig wrote: > > > Sebastian Hofer wrote: > >> At Tue, 22 Jun 2010 11:51:30 +0200, > >> Giovanni Ridolfi wrote: > >>> Sebastian Hofer writes

[Orgmode] Re: latex export - skipping lvls breaks export

2010-06-22 Thread Sebastian Hofer
At Tue, 22 Jun 2010 11:51:30 +0200, Giovanni Ridolfi wrote: > > Sebastian Hofer writes: > > > I'm working on a customized latex-export-class for a CV. > nice! > > I noticed that if you skip a level in the outline structure > > (cf. example below) it is not

[Orgmode] latex export - skipping lvls breaks export

2010-06-21 Thread Sebastian Hofer
Hi, I'm working on a customized latex-export-class for a CV. I noticed that if you skip a level in the outline structure (cf. example below) it is not exported to latex. Is there a reason for this or could this be changed easily? If so I would appreciate it a lot! Example: * Section ** Subsect

[Orgmode] Re: Poll: Who is using these commands

2010-05-08 Thread Sebastian Hofer
On 08.05.10 11:14 Uhr, Carsten Dominik wrote: Hi everyone, I am wondering: How many of your are using these keys C-c C-f C-c C-b C-c C-n C-c C-p I don't use them. They are much too bothersom for me if I have to press them repeatedly. for navigation through the outline? These are first cl

[Orgmode] Re: Problem with sectioning function for LaTeX export

2010-04-29 Thread Sebastian Hofer
Oh, nevermind. I figured it out, (cons Heading (cons "\section[year]{%s}" "\section*[year]{%s}")) solves the problem. I guess I really need to learn more about the different types of sequences in lisp. Sorry for that. Cheers, Sebastian On 29.04.10 14:10 Uhr, Sebastian Hofe

[Orgmode] Re: Problem with sectioning function for LaTeX export

2010-04-29 Thread Sebastian Hofer
Hi Carsten, thanks for your reply! At Tue, 27 Apr 2010 17:44:07 +0200, Carsten Dominik wrote: > I think it must be > > ("Heading" "\section[year]{%s}" "\section*[year]{%s}") > > Note the %s for the heading, and also it i just one flat list of 3 > items. > > And yes, this is not too well docum

[Orgmode] Problem with sectioning function for LaTeX export

2010-04-18 Thread Sebastian Hofer
Hi all, I'm trying to write my own sectioning function for latex export of my CV. What it does is to read out some property of the given headline and pass it to a latex command: (defun my-org-cv-sectioning (lvl heading) (let ((year) (formatlist) (cleanheading (substring-no-pr