Re: [O] heading numbering in LaTeX export?

2013-09-08 Thread Peter Salazar
That appears to work perfectly. Thank you so much! If I have 5 levels of heading, should I do it like this? #+LATEX_HEADER: \setcounter{secnumdepth}{0} #+LATEX_HEADER: \setcounter{tocdepth}{5} On Sun, Sep 8, 2013 at 1:54 AM, Nick Dokos ndo...@gmail.com wrote: Peter Salazar

Re: [O] heading numbering in LaTeX export?

2013-09-08 Thread Nick Dokos
Peter Salazar cycleofs...@gmail.com writes: That appears to work perfectly. Thank you so much!  If I have 5 levels of heading, should I do it like this?  #+LATEX_HEADER: \setcounter{secnumdepth}{0} #+LATEX_HEADER: \setcounter{tocdepth}{5} Yes, although IMO the TOC will be too busy with

Re: [O] heading numbering in LaTeX export?

2013-09-08 Thread John Hendy
On Sat, Sep 7, 2013 at 5:51 PM, Peter Salazar cycleofs...@gmail.com wrote: Thanks for the responses! John: Oh yes, of course. Sorry about that. inimal org file and config files are here. I had to make the org file long enough to make several pages, so the header displays. Here you go:

Re: [O] heading numbering in LaTeX export?

2013-09-08 Thread Peter Salazar
Ah, I see. Cool, then I will stick to {tocdepth}{3}. Thanks again! On Sun, Sep 8, 2013 at 7:47 AM, Nick Dokos ndo...@gmail.com wrote: Peter Salazar cycleofs...@gmail.com writes: That appears to work perfectly. Thank you so much! If I have 5 levels of heading, should I do it like this?

Re: [O] heading numbering in LaTeX export?

2013-09-07 Thread Richard Lawrence
Hi Peter, Peter Salazar cycleofs...@gmail.com writes: I have a LaTeX template I created for use with org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly for me except for one thing: it only works when I have

Re: [O] heading numbering in LaTeX export?

2013-09-07 Thread Rasmus
Richard Lawrence richard.lawre...@berkeley.edu writes: Hi Peter, Peter Salazar cycleofs...@gmail.com writes: I have a LaTeX template I created for use with org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly

Re: [O] heading numbering in LaTeX export?

2013-09-07 Thread Peter Salazar
Thanks for the responses! John: Oh yes, of course. Sorry about that. inimal org file and config files are here. I had to make the org file long enough to make several pages, so the header displays. Here you go: https://github.com/petersalazar/org-troubleshooting Rasmus: #+OPTIONS: num:0 is what

Re: [O] heading numbering in LaTeX export?

2013-09-07 Thread Peter Salazar
Thank you! That solution is very promising indeed. I see why it's quick and dirty though - it appears to be generation section numbers, but just making the numbers invisible, so that the headings are not flush with the left margin: http://i.imgur.com/G6drpmf.png Is there a solution to that, or

Re: [O] heading numbering in LaTeX export?

2013-09-07 Thread Nick Dokos
Peter Salazar cycleofs...@gmail.com writes: Thank you! That solution is very promising indeed.  I see why it's quick and dirty though - it appears to be generation section numbers, but just making the numbers invisible, so that the headings are not flush with the left margin:

[O] heading numbering in LaTeX export?

2013-09-06 Thread Peter Salazar
I have a LaTeX template I created for use with org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly for me except for one thing: it only works when I have heading numbering turned on. When I turn numbering off in

Re: [O] heading numbering in LaTeX export?

2013-09-06 Thread John Hendy
On Fri, Sep 6, 2013 at 2:43 PM, Peter Salazar cycleofs...@gmail.com wrote: I have a LaTeX template I created for use with org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly for me except for one thing: it only

Re: [O] Heading numbering in latex export

2012-09-28 Thread Suvayu Ali
Hello Vikas, On Fri, Sep 28, 2012 at 03:59:11AM +0530, Vikas Rawal wrote: #+STARTUP: hidestars #+TITLE: Title of my paper #+DATE: #+AUTHOR: Vikas Rawal #+COLUMNS: %25ITEM %TAGS %PRIORITY %T #+OPTIONS: H:3 toc:nil #+LATEX_CMD: xelatex #+LATEX_HEADER:

Re: [O] Heading numbering in latex export

2012-09-27 Thread Bastien
Hi Vikas, Vikas Rawal vikasli...@agrarianresearch.org writes: When I try to export the file to pdf via latex, I face a strange problem. When I export the file first time after opening it, the graph does not appear. When I do it again, the graph appears fine but Section numbers are messed up.

Re: [O] Heading numbering in latex export

2012-09-27 Thread Vikas Rawal
Can you provide a minimal reproducible example? Here is a sample file. If I export it twice, I have the problem. Vikas #+STARTUP: hidestars #+TITLE: Title of my paper #+DATE: #+AUTHOR: Vikas Rawal #+COLUMNS: %25ITEM %TAGS %PRIORITY %T #+OPTIONS: H:3 toc:nil #+LATEX_CMD: xelatex

Re: [O] Heading numbering in latex export

2012-09-27 Thread Bastien
Hi Vikas, Vikas Rawal vikasli...@agrarianresearch.org writes: I am using xelatex. There are following two lines in my org file #+LATEX_CMD: xelatex #+LATEX_HEADER: \setmainfont{Adobe Garamond Pro} I'm not using xelatex so I hope someone else can help. -- Bastien