* turning off subscripting
@ 2007-03-12 20:19 Eddward DeVilla
2007-03-12 20:31 ` Carsten Dominik
2007-03-13 16:37 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Eddward DeVilla @ 2007-03-12 20:19 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
I'm writing up a document that I'm going to export to html. I
have a lot of environment variables and paths with embedded
underscores. Is there a way to turn off the automatic subscripting?
I haven't found anything other than going back and inserting
backslashes all over the place which isn't really desirable.
Actually, I like the feature and I would prefer an option that
would make the optional curly braces less optional. So
$WORKING_RELEASE is unaltered and module_{base} gets subscripted.
Also, does anyone have any tips for making cut-n-paste-able
commands the document export pleasantly for regular browsers and yet
reasonable under lynx? Lines prefixed with ':' aren't working so well
in lynx. They don't indent and attempts to insert a blank line under
them fail.
So a document like this:
-------------------------------
* heading
- This is how you do it
:doit --like-so
- Then do this
:dothis --this-way
------------------------------
Comes out like this in lynx:
--------------------------------
1 heading
* This is how you do it
doit --like-so
* Then do this
dothis --this-way
---------------------------------
It looks nice in firefox.
Edd
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: turning off subscripting
2007-03-12 20:19 turning off subscripting Eddward DeVilla
@ 2007-03-12 20:31 ` Carsten Dominik
2007-03-13 16:37 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2007-03-12 20:31 UTC (permalink / raw)
To: Eddward DeVilla; +Cc: emacs-orgmode
On Mar 12, 2007, at 21:19, Eddward DeVilla wrote:
> Hi all,
>
> I'm writing up a document that I'm going to export to html. I
> have a lot of environment variables and paths with embedded
> underscores. Is there a way to turn off the automatic subscripting?
> I haven't found anything other than going back and inserting
> backslashes all over the place which isn't really desirable.
http://staff.science.uva.nl/~dominik/Tools/org/org.html#Export-options
Basically:
#+OPTIONS: ^:nil
>
> Actually, I like the feature and I would prefer an option that
> would make the optional curly braces less optional. So
> $WORKING_RELEASE is unaltered and module_{base} gets subscripted.
Not possible right now. Its either on or off.
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: turning off subscripting
2007-03-12 20:19 turning off subscripting Eddward DeVilla
2007-03-12 20:31 ` Carsten Dominik
@ 2007-03-13 16:37 ` Carsten Dominik
2007-03-13 17:42 ` Eddward DeVilla
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2007-03-13 16:37 UTC (permalink / raw)
To: Eddward DeVilla; +Cc: emacs-orgmode
On Mar 12, 2007, at 21:19, Eddward DeVilla wrote:
>
> Actually, I like the feature and I would prefer an option that
> would make the optional curly braces less optional. So
> $WORKING_RELEASE is unaltered and module_{base} gets subscripted.
After some thinking, I do find this a good idea. Lets make it work
like this:
#+OPTIONS: ^:nil never interpret ^ and _ as sub/superscript
#+OPTIONS: ^:t always do so
#+OPTIONS: ^:{} require braces for interpretation.
> Also, does anyone have any tips for making cut-n-paste-able
> commands the document export pleasantly for regular browsers and yet
> reasonable under lynx? Lines prefixed with ':' aren't working so well
> in lynx. They don't indent and attempts to insert a blank line under
> them fail.
Org-mode produces valid XHTML, so this is a problem of lynx.
Have you tried w3m? Also great for using inside Emacs.
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: turning off subscripting
2007-03-13 16:37 ` Carsten Dominik
@ 2007-03-13 17:42 ` Eddward DeVilla
0 siblings, 0 replies; 4+ messages in thread
From: Eddward DeVilla @ 2007-03-13 17:42 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
On 3/13/07, Carsten Dominik <dominik@science.uva.nl> wrote:
>
> On Mar 12, 2007, at 21:19, Eddward DeVilla wrote:
> After some thinking, I do find this a good idea. Lets make it work
> like this:
>
> #+OPTIONS: ^:nil never interpret ^ and _ as sub/superscript
> #+OPTIONS: ^:t always do so
> #+OPTIONS: ^:{} require braces for interpretation.
cool! :-)
> Org-mode produces valid XHTML, so this is a problem of lynx.
> Have you tried w3m? Also great for using inside Emacs.
No. I'll see if it works. Thanks
Edd
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-03-13 17:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-12 20:19 turning off subscripting Eddward DeVilla
2007-03-12 20:31 ` Carsten Dominik
2007-03-13 16:37 ` Carsten Dominik
2007-03-13 17:42 ` Eddward DeVilla
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).