emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-use-sub-superscripts not used in HTML export
@ 2017-01-31 14:20 Roland Everaert
  2017-01-31 21:55 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Everaert @ 2017-01-31 14:20 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

During HTML export, whatever is the value of org-use-sub-superscripts, the
undescore in the middle of a word is alway interpreted as subscript.

Example:

_F_irst _L_evel

In this case, if org-use-sub-superscripts has the value {} or nil, I would
expect to see the first letter of both words to be underlined.  However,
the rest of each word is displayed as a subscript and the leading _
character is displayed.

Is this variable for latex only?

Software Version:
GNU Emacs 25.1.1 (x86_64-unknown-cygwin) of 2016-09-17
Org mode version 9.0.4 (9.0.4-dist @
/cygdrive/c/Users/re/.emacs.d/site-lisp/org-9.0.4/lisp/)


Regards,

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

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

* Re: org-use-sub-superscripts not used in HTML export
  2017-01-31 14:20 org-use-sub-superscripts not used in HTML export Roland Everaert
@ 2017-01-31 21:55 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-01-31 21:55 UTC (permalink / raw)
  To: Roland Everaert; +Cc: emacs-orgmode

Hello,

Roland Everaert <reveatwork@gmail.com> writes:

> During HTML export, whatever is the value of org-use-sub-superscripts, the
> undescore in the middle of a word is alway interpreted as subscript.
>
> Example:
>
> _F_irst _L_evel
>
> In this case, if org-use-sub-superscripts has the value {} or nil, I would
> expect to see the first letter of both words to be underlined.  However,
> the rest of each word is displayed as a subscript and the leading _
> character is displayed.
>
> Is this variable for latex only?

Org does not support mid-word emphasis. So you cannot underline a part
of a word with usual emphasis markers.

Also, the variable used to control export of sub/superscripts is
`org-export-with-sub-superscripts'.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2017-01-31 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-31 14:20 org-use-sub-superscripts not used in HTML export Roland Everaert
2017-01-31 21:55 ` Nicolas Goaziou

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