emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Two question about org-mode?
@ 2009-09-30  8:18 Water Lin
  2009-10-01  3:55 ` Sebastian Rose
  0 siblings, 1 reply; 3+ messages in thread
From: Water Lin @ 2009-09-30  8:18 UTC (permalink / raw)
  To: emacs-orgmode


First, I am using item list like this in my org file:
----------------
1. test
  1) test
  2) test
  3) test

2. test2

3. test3
----------------
I don't know why my webpage looks like this after exported:
----------------
1. test
  1. test
  2. test
  3. test

2. test2
---------------

Why the 1) 2) 3) can't keep the right parenthes in item list order?

The second question, I have some underline in my org text, like
-------
test_src
-------

When I export it to html page, it is converted to subscript characters.
How can I make org not to convert the underline?
-- 
Water Lin's blog: http://blog.waterlin.org
Email: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: Two question about org-mode?
  2009-09-30  8:18 Two question about org-mode? Water Lin
@ 2009-10-01  3:55 ` Sebastian Rose
  2009-10-01  5:27   ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Rose @ 2009-10-01  3:55 UTC (permalink / raw)
  To: Water Lin; +Cc: emacs-orgmode

Water Lin <WaterLin@ymail.com> writes:
> First, I am using item list like this in my org file:
> ----------------
> 1. test
>   1) test
>   2) test
>   3) test
>
> 2. test2
>
> 3. test3
> ----------------
> I don't know why my webpage looks like this after exported:
> ----------------
> 1. test
>   1. test
>   2. test
>   3. test
>
> 2. test2
> ---------------
>
> Why the 1) 2) 3) can't keep the right parenthes in item list order?


Because it's exported as simple XHTML. The list style is not
handmade. If it was, it would look like this:

 1. test
   1. 1) test
   2. 2) test
   3. 3) test


You could use styles:

ol li
{
  list-style-type:upper-roman;
}

li ol li
{
  list-style-type:decimal;
}


Result:


  I. test

     1. test
     2. test
     3. test





> The second question, I have some underline in my org text, like
> -------
> test_src
> -------
>
> When I export it to html page, it is converted to subscript characters.
> How can I make org not to convert the underline?


Quote the underscore with a backslash:

  test\_src



  Sebastian

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

* Re: Two question about org-mode?
  2009-10-01  3:55 ` Sebastian Rose
@ 2009-10-01  5:27   ` Bernt Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2009-10-01  5:27 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: emacs-orgmode, Water Lin

Sebastian Rose <sebastian_rose@gmx.de> writes:

> Water Lin <WaterLin@ymail.com> writes:
>> The second question, I have some underline in my org text, like
>> -------
>> test_src
>> -------
>>
>> When I export it to html page, it is converted to subscript characters.
>> How can I make org not to convert the underline?
>
>
> Quote the underscore with a backslash:
>
>   test\_src

or alternatively add

#+OPTIONS: ^:nil

to disable handling super and subscripts.

-Bernt

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

end of thread, other threads:[~2009-10-01  5:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30  8:18 Two question about org-mode? Water Lin
2009-10-01  3:55 ` Sebastian Rose
2009-10-01  5:27   ` Bernt Hansen

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