From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Text attributes, exporting
Date: Tue, 6 Nov 2012 17:39:15 +0100 [thread overview]
Message-ID: <20121106163915.GB20216@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <CAFgFV9ONknnrp5Mi1Zs0n0KBaHYb39abbW-j6YoSKP8egW1Kdg@mail.gmail.com>
Hello Fabrice,
On Tue, Nov 06, 2012 at 04:14:10PM +0100, Fabrice Popineau wrote:
> Hi,
>
> Maybe this is a silly question but who knows.
> Htmlize is able to tag elemnts in src blocks and wrap them with classes.
> I'd like to be able to do it for normal text too.
>
> There is // ++ == ** but I would like to define personalized modifiers.
> There is also the ability to inline src blocks like :
> src_<language>{<body>}
>
> This is closer to what I would like. Something like
> class_<name>{<body>}
> that would get exported to \<name>{<body>}
> or to <div class="<name"> body </div> (LaTeX or HTML).
>
Maybe this is what you are looking for?
org-emphasis-alist is a variable defined in `org.el'.
Its value is (("*" bold "<b>" "</b>")
("/" italic "<i>" "</i>")
("_" underline "<span style=\"text-decoration:underline;\">" "</span>")
("=" org-code "<code>" "</code>" verbatim)
("~" org-verbatim "<code>" "</code>" verbatim)
("+"
(:strike-through t)
"<del>" "</del>"))
Documentation:
Special syntax for emphasized text.
Text starting and ending with a special character will be emphasized, for
example *bold*, _underlined_ and /italic/. This variable sets the marker
characters, the face to be used by font-lock for highlighting in Org-mode
Emacs buffers, and the HTML tags to be used for this.
For LaTeX export, see the variable `org-export-latex-emphasis-alist'.
For DocBook export, see the variable `org-export-docbook-emphasis-alist'.
Use customize to modify this, or restart Emacs after changing it.
GL
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2012-11-06 16:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-06 15:14 Text attributes, exporting Fabrice Popineau
2012-11-06 16:39 ` Suvayu Ali [this message]
2012-11-06 16:42 ` Nicolas Goaziou
2012-11-06 19:45 ` Fabrice Popineau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121106163915.GB20216@kuru.dyndns-at-home.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).