From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: HTML export of latex typesetting.. Date: Sun, 28 Nov 2010 20:56:09 +0100 Message-ID: <87sjylmdd2.wl%dmaus@ictsoc.de> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0959121403==" Return-path: Received: from [140.186.70.92] (port=49049 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMnMM-0005Rz-4H for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:56:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMnMK-0003gP-Qo for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:56:29 -0500 Received: from mailout110.xlhost.de ([213.202.242.110]:57999 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMnMK-0003gH-Iu for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:56:28 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Madhu Rao Cc: emacs-orgmode@gnu.org --===============0959121403== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Nov_28_20:56:08_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Nov_28_20:56:08_2010-1 Content-Type: text/plain; charset=US-ASCII 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 --pgp-sign-Multipart_Sun_Nov_28_20:56:08_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkzys9gACgkQma24O1pEeOZGsQEAqltUWsn+i64WnBJ7SByGsrwR DDgwO3QiBzaNNGkT3UwBAJ9dB+uN0iX94wLQ9yrhvQ5dfIlouNvaCyw6Ej5cM/ku =MQn7 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Nov_28_20:56:08_2010-1-- --===============0959121403== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0959121403==--