At Sun, 21 Nov 2010 18:36:27 +0000 (UTC), Madhu Rao wrote: > > Ahmed Fasih 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{\\([^}]+\\)}" "\\1")) (add-hook 'org-export-html-final-hook 'my/replace-latex-markup) HTH, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de