emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* mixing emphasis fails
@ 2010-06-23 12:58 Robert Hennig
  2010-06-23 19:36 ` Scot Becker
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Hennig @ 2010-06-23 12:58 UTC (permalink / raw)
  To: Org Mode

Dear Orgmode-List,

I was trying to mixing different Emphasis styles and failed badly.
or example:
An italic markup in a bold one:

*This sentence /is/ bold*.

The bold markup will succeed, but the italic will not, in all exports
(html, latex) it will be left as '/it/'.

The only fix for this I came up with was:

#+BEGIN_HTML
<b>This sentence <i>is</i> bold</b>
#+END_HTML
#+BEGIN_LaTeX
\textbf{This sentence \emph{is} bold}
#+END_LaTeX

which is not very at all...
Thank you for your advices,

yours
Robert Hennig

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

* Re: mixing emphasis fails
  2010-06-23 12:58 mixing emphasis fails Robert Hennig
@ 2010-06-23 19:36 ` Scot Becker
  0 siblings, 0 replies; 2+ messages in thread
From: Scot Becker @ 2010-06-23 19:36 UTC (permalink / raw)
  To: Robert Hennig; +Cc: Org Mode


[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]

I think that this is a 'known' issue, and not easy to get right.  One thing
you can try (and report back, since I've meant to do it to try to solve this
very problem), is to customize org-emphasis-regexp-components.  If I'm not
mistaken, it exists to help users troubleshoot this kind of thing.  It would
be great if we could manage to get this working.

Scot


On Wed, Jun 23, 2010 at 1:58 PM, Robert Hennig <robert.hennig@freylax.de>wrote:

> Dear Orgmode-List,
>
> I was trying to mixing different Emphasis styles and failed badly.
> or example:
> An italic markup in a bold one:
>
> *This sentence /is/ bold*.
>
> The bold markup will succeed, but the italic will not, in all exports
> (html, latex) it will be left as '/it/'.
>
> The only fix for this I came up with was:
>
> #+BEGIN_HTML
> <b>This sentence <i>is</i> bold</b>
> #+END_HTML
> #+BEGIN_LaTeX
> \textbf{This sentence \emph{is} bold}
> #+END_LaTeX
>
> which is not very at all...
> Thank you for your advices,
>
> yours
> Robert Hennig
>
> _______________________________________________
> 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
>

[-- Attachment #1.2: Type: text/html, Size: 1777 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2010-06-23 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23 12:58 mixing emphasis fails Robert Hennig
2010-06-23 19:36 ` Scot Becker

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