emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is it possible to specify the starting number of headings at exporting
@ 2013-11-21 13:05 Yujie Wen
  2013-11-21 13:20 ` Jambunathan K
  2013-11-21 13:49 ` Nick Dokos
  0 siblings, 2 replies; 4+ messages in thread
From: Yujie Wen @ 2013-11-21 13:05 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org Mode

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

Hi, there,

  I am wondering whether it is possible to define the starting number of
headings when exporting org-mode files.

  The problem is that, I had a long Org file that I want to separate it
into several small ones, each will be exported to a HTML file. But if so,
every exported HTML will have the headings numbered from 1, while I prefer
the headings be numbered as if they are exported from one file, to show the
continuation of contents.

 I searched the Org document but didn't find anything useful. I would
appreciate very much If you have come across some similar requirement and
give me any guidance. Thanks!

Regards,
Yujie

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

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

* Re: Is it possible to specify the starting number of headings at exporting
  2013-11-21 13:05 Is it possible to specify the starting number of headings at exporting Yujie Wen
@ 2013-11-21 13:20 ` Jambunathan K
  2013-11-21 13:49 ` Nick Dokos
  1 sibling, 0 replies; 4+ messages in thread
From: Jambunathan K @ 2013-11-21 13:20 UTC (permalink / raw)
  To: Yujie Wen; +Cc: emacs-orgmode@gnu.org Mode


(info "(org) Include files")



Yujie Wen <yjwen.ty@gmail.com> writes:

> Hi, there,
>
> I am wondering whether it is possible to define the starting number of
> headings when exporting org-mode files.
>
> The problem is that, I had a long Org file that I want to separate it
> into several small ones, each will be exported to a HTML file. But if
> so, every exported HTML will have the headings numbered from 1, while
> I prefer the headings be numbered as if they are exported from one
> file, to show the continuation of contents.
>
> I searched the Org document but didn't find anything useful. I would
> appreciate very much If you have come across some similar requirement
> and give me any guidance. Thanks!
>
> Regards,
> Yujie

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

* Re: Is it possible to specify the starting number of headings at exporting
  2013-11-21 13:05 Is it possible to specify the starting number of headings at exporting Yujie Wen
  2013-11-21 13:20 ` Jambunathan K
@ 2013-11-21 13:49 ` Nick Dokos
  2013-11-21 22:03   ` Yujie Wen
  1 sibling, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2013-11-21 13:49 UTC (permalink / raw)
  To: emacs-orgmode

Yujie Wen <yjwen.ty@gmail.com> writes:

>   I am wondering whether it is possible to define the starting number
> of headings when exporting org-mode files.
>
>   The problem is that, I had a long Org file that I want to separate
> it into several small ones, each will be exported to a HTML file. But
> if so, every exported HTML will have the headings numbered from 1,
> while I prefer the headings be numbered as if they are exported from
> one file, to show the continuation of contents.
>

If you split the big org file into small ones, you can use #+INCLUDE to
put things back together. It does not do quite what you want - it'll
produce a single HTML file on export - but I for one don't really care
what the HTML file looks like, as long as I can edit convenienttly.

-- 
Nick

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

* Re: Is it possible to specify the starting number of headings at exporting
  2013-11-21 13:49 ` Nick Dokos
@ 2013-11-21 22:03   ` Yujie Wen
  0 siblings, 0 replies; 4+ messages in thread
From: Yujie Wen @ 2013-11-21 22:03 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org Mode

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

Hi, Jambunathan and Nick

  Yes, I prefer the separated org files be exported to several HTMLs, but
with continuous heading numbering. Not that re-including them and export
into one HTML. :) Thanks for your suggestions.

Yujie


2013/11/21 Nick Dokos <ndokos@gmail.com>

> Yujie Wen <yjwen.ty@gmail.com> writes:
>
> >   I am wondering whether it is possible to define the starting number
> > of headings when exporting org-mode files.
> >
> >   The problem is that, I had a long Org file that I want to separate
> > it into several small ones, each will be exported to a HTML file. But
> > if so, every exported HTML will have the headings numbered from 1,
> > while I prefer the headings be numbered as if they are exported from
> > one file, to show the continuation of contents.
> >
>
> If you split the big org file into small ones, you can use #+INCLUDE to
> put things back together. It does not do quite what you want - it'll
> produce a single HTML file on export - but I for one don't really care
> what the HTML file looks like, as long as I can edit convenienttly.
>
> --
> Nick
>
>
>

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

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

end of thread, other threads:[~2013-11-21 22:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-21 13:05 Is it possible to specify the starting number of headings at exporting Yujie Wen
2013-11-21 13:20 ` Jambunathan K
2013-11-21 13:49 ` Nick Dokos
2013-11-21 22:03   ` Yujie Wen

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).