emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-export-as-html: Does not increment index values
@ 2010-05-11  5:38 chandan
  2010-05-11  7:20 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: chandan @ 2010-05-11  5:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,
    Consider the following org file:

* list
  1. First item.
#+BEGIN_SRC txt
Some text.
#+END_SRC
  2. Second item.
#+BEGIN_SRC txt
Some more text.
#+END_SRC

Exporting an org file with the above listed contents generates an HTML 
page with non-incrementing indicies for "First item" and "Second item". 
Both have "1" as their indicies.

I am using GNU/Emacs 23.2.

Regards,
chandan r

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

* Re: org-export-as-html: Does not increment index values
  2010-05-11  5:38 org-export-as-html: Does not increment index values chandan
@ 2010-05-11  7:20 ` Carsten Dominik
  2010-05-11  8:51   ` chandan
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-05-11  7:20 UTC (permalink / raw)
  To: chandan; +Cc: emacs-orgmode

Hi Chandan,

list structure is governed by indentation, so you need to indent the  
source code snippets.

- Carsten

On May 11, 2010, at 7:38 AM, chandan wrote:

> Hi all,
>   Consider the following org file:
>
> * list
> 1. First item.
> #+BEGIN_SRC txt
> Some text.
> #+END_SRC
> 2. Second item.
> #+BEGIN_SRC txt
> Some more text.
> #+END_SRC
>
> Exporting an org file with the above listed contents generates an  
> HTML page with non-incrementing indicies for "First item" and  
> "Second item". Both have "1" as their indicies.
>
> I am using GNU/Emacs 23.2.
>
> Regards,
> chandan r
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

* Re: org-export-as-html: Does not increment index values
  2010-05-11  7:20 ` Carsten Dominik
@ 2010-05-11  8:51   ` chandan
  0 siblings, 0 replies; 3+ messages in thread
From: chandan @ 2010-05-11  8:51 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Thanks a lot for the reply.

Carsten Dominik wrote:
> Hi Chandan,
>
> list structure is governed by indentation, so you need to indent the 
> source code snippets.
>
> - Carsten
>
> On May 11, 2010, at 7:38 AM, chandan wrote:
>
>> Hi all,
>>   Consider the following org file:
>>
>> * list
>> 1. First item.
>> #+BEGIN_SRC txt
>> Some text.
>> #+END_SRC
>> 2. Second item.
>> #+BEGIN_SRC txt
>> Some more text.
>> #+END_SRC
>>
>> Exporting an org file with the above listed contents generates an 
>> HTML page with non-incrementing indicies for "First item" and "Second 
>> item". Both have "1" as their indicies.
>>
>> I am using GNU/Emacs 23.2.
>>
>> Regards,
>> chandan r
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

end of thread, other threads:[~2010-05-11  8:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-11  5:38 org-export-as-html: Does not increment index values chandan
2010-05-11  7:20 ` Carsten Dominik
2010-05-11  8:51   ` chandan

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