At Sun, 21 Nov 2010 18:36:27 + (UTC),
Madhu Rao wrote:
Ahmed Fasih fasih.1 at osu.edu writes:
I have a few latex fragments - textbf{some text} in an org-mode file.
When I export to HTML, I see them as \textbf{some text}. Is there a way to
get them bold faced in the HTML export?
I use the org mode markup, *some text* which gets exported correctly
to both Latex and HTML. Hope this helps.
Thanks Ahmed. Actually, I need to do the following:
bold-face only a letter of a word. Ex: \textbf{E}macs. orgmode markup
does not work for this: *E*macs.
You might try to use a lisp functions that is run in
`org-export-html-final-hook'
Hook run at the end of HTML export, in the new buffer.
E.g.
(defun my/replace-latex-markup ()
Replace LaTeX markup like textbf with html tags.
(interactive)
(replace-regexp textbf{\\([^}]+\\)} strong\\1/strong))
(add-hook 'org-export-html-final-hook 'my/replace-latex-markup)
HTH,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
pgp0nJ3oICbWM.pgp
Description: PGP signature
___
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