emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* toc isn't generated in a latex export
@ 2016-04-13 12:24 Sharon Kimble
  2016-04-13 12:48 ` John Hendy
  2016-04-13 16:23 ` Marcin Borkowski
  0 siblings, 2 replies; 4+ messages in thread
From: Sharon Kimble @ 2016-04-13 12:24 UTC (permalink / raw)
  To: org-mode-email

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]


I'm working on a file which is then exported to latex, and if I have -

#+OPTIONS: H:2 num:nil toc:t \n:nil ::t |:t ^:t f:t tex:t

the sections don't have leading numbers but there isn't a table of
contents.

What I'm looking for is no leading numbers but a table of contents. How
can I achieve this please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.92

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: toc isn't generated in a latex export
  2016-04-13 12:24 toc isn't generated in a latex export Sharon Kimble
@ 2016-04-13 12:48 ` John Hendy
  2016-04-13 17:34   ` Sharon Kimble
  2016-04-13 16:23 ` Marcin Borkowski
  1 sibling, 1 reply; 4+ messages in thread
From: John Hendy @ 2016-04-13 12:48 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

On Apr 13, 2016 07:25, "Sharon Kimble" <boudiccas@skimble.plus.com> wrote:
>
>
> I'm working on a file which is then exported to latex, and if I have -
>
> #+OPTIONS: H:2 num:nil toc:t \n:nil ::t |:t ^:t f:t tex:t
>
> the sections don't have leading numbers but there isn't a table of
> contents.
>

I think I've run into this as well but can't seem to find the post right
now. Here's a TeX.SE post that might help, though:
-
http://tex.stackexchange.com/questions/131950/turn-numbering-off-but-keep-table-of-contents-intact

John

> What I'm looking for is no leading numbers but a table of contents. How
> can I achieve this please?
>
> Thanks
> Sharon.
> --
> A taste of linux = http://www.sharons.org.uk
> TGmeds = http://www.tgmeds.org.uk
> Debian 8.4, fluxbox 1.3.7, emacs 25.0.92

[-- Attachment #2: Type: text/html, Size: 1276 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: toc isn't generated in a latex export
  2016-04-13 12:24 toc isn't generated in a latex export Sharon Kimble
  2016-04-13 12:48 ` John Hendy
@ 2016-04-13 16:23 ` Marcin Borkowski
  1 sibling, 0 replies; 4+ messages in thread
From: Marcin Borkowski @ 2016-04-13 16:23 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode-email


On 2016-04-13, at 12:24, Sharon Kimble <boudiccas@skimble.plus.com> wrote:

> I'm working on a file which is then exported to latex, and if I have -
>
> #+OPTIONS: H:2 num:nil toc:t \n:nil ::t |:t ^:t f:t tex:t
>
> the sections don't have leading numbers but there isn't a table of
> contents.
>
> What I'm looking for is no leading numbers but a table of contents. How
> can I achieve this please?

This is probably one of the most often asked question by Polish LaTeX
beginners - in Polish typography, we do want unnumbered
chapters/sections to appear in the ToC.  There is a special set of
classes (meant more or less as drop-in replacements for the standard
ones) which change a lot of things, and fix this issue, too.  Here is
the link to the CTAN package:
https://www.ctan.org/tex-archive/macros/latex/contrib/mwcls
It can be viewed as European versions of the standard LaTeX classes.

The drawback is that the manual is in Polish;-).

> Thanks
> Sharon.

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: toc isn't generated in a latex export
  2016-04-13 12:48 ` John Hendy
@ 2016-04-13 17:34   ` Sharon Kimble
  0 siblings, 0 replies; 4+ messages in thread
From: Sharon Kimble @ 2016-04-13 17:34 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

John Hendy <jw.hendy@gmail.com> writes:

> On Apr 13, 2016 07:25, "Sharon Kimble" <boudiccas@skimble.plus.com> wrote:
>>
>>
>> I'm working on a file which is then exported to latex, and if I have -
>>
>> #+OPTIONS: H:2 num:nil toc:t \n:nil ::t |:t ^:t f:t tex:t
>>
>> the sections don't have leading numbers but there isn't a table of
>> contents.
>>
>
> I think I've run into this as well but can't seem to find the post right now. Here's a TeX.SE post that might help, though:
> - http://tex.stackexchange.com/questions/131950/turn-numbering-off-but-keep-table-of-contents-intact
>
Thanks John, this is working extremely well.

For the records, this is what I'm using -

╭────
│#+OPTIONS: H:3 toc:t \n:nil ::t |:t ^:t f:t tex:t
│#+LaTeX: \setcounter{secnumdepth}{0}
│#+OPTIONS: toc:2 
╰────


Thanks
Sharon.

> John
>
>> What I'm looking for is no leading numbers but a table of contents. How
>> can I achieve this please?
>>
>> Thanks
>> Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.92

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-13 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-13 12:24 toc isn't generated in a latex export Sharon Kimble
2016-04-13 12:48 ` John Hendy
2016-04-13 17:34   ` Sharon Kimble
2016-04-13 16:23 ` Marcin Borkowski

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).